You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding a new projects, any pootle command to that project fails with pootle_fs.exceptions.FSFetchError: Error: Source directory does not exist.. A closer look reveals that there is no folder in the translations working path, and by manually adding the directory, the CLI tools seem to function.
Steps to reproduce:
Admin > Projects > Add Project
From CLI, execute a pootle fs fetch testproj and observe.
Results (Expected/Actual):
Actual
Traceback (most recent call last):
File "/home/pootle/pootle/env/bin/pootle", line 11, in <module>
sys.exit(main())
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 365, in main
run_app(project='pootle', django_settings_module='pootle.settings')
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/pootle/runner.py", line 346, in run_app
management.execute_from_command_line(command)
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/pootle/core/management/subcommands.py", line 164, in run_from_argv
return self.subcommands[known.subcommand]().run_from_argv(argv)
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/pootle/apps/pootle_fs/management/commands/fs_commands/fetch.py", line 16, in handle
self.get_fs(options["project"]).fetch()
File "/home/pootle/pootle/env/local/lib/python2.7/site-packages/pootle/apps/pootle_fs/localfs.py", line 51, in fetch
raise FSFetchError(e)
pootle_fs.exceptions.FSFetchError: Error: Source directory does not exist.
Expected
CLI tools expected to work properly with a newly created project.
After adding a new projects, any
pootle
command to that project fails withpootle_fs.exceptions.FSFetchError: Error: Source directory does not exist.
. A closer look reveals that there is no folder in the translations working path, and by manually adding the directory, the CLI tools seem to function.Steps to reproduce:
pootle fs fetch testproj
and observe.Results (Expected/Actual):
Actual
Expected
CLI tools expected to work properly with a newly created project.
Environment (i.e. 'pootle --version', DB, OS, Browser):
Pootle 2.9.0rc1 (Django 1.10.8, Translate Toolkit 2.2.5)
The text was updated successfully, but these errors were encountered: