Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOError - version.txt #13

Open
oppianmatt opened this issue May 19, 2015 · 1 comment
Open

IOError - version.txt #13

oppianmatt opened this issue May 19, 2015 · 1 comment

Comments

@oppianmatt
Copy link
Contributor

(venv)(venv) matt@Cronus[/Users/matt/Source/Pitchup.com]$ ./manage.py shell
Using settings: pitchup.settings.local
Traceback (most recent call last):
  File "./manage.py", line 17, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/core/management/base.py", line 280, in execute
    translation.activate('en-us')
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 130, in activate
    return _trans.activate(language)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 188, in activate
    _active.value = translation(language)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 177, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 159, in _fetch
    app = import_module(appname)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/djangotransifex/__init__.py", line 6, in <module>
    VERSION = open(_version_path).read().rstrip() #rstrip() removes newlines
IOError: [Errno 2] No such file or directory: '/Users/matt/Source/Pitchup.com/venv/lib/python2.7/site-packages/djangotransifex/version.txt'

directory doesn't have version.txt (must be missing from the pypi package). Also version file in github at https://github.com/jakul/django-transifex/blob/master/djangotransifex/version.txt lists 1.7

Pypi lists version 1.8

@jakul
Copy link
Owner

jakul commented May 26, 2015

@oppianmatt This should be fixed on PyPi now in version 0.1.9. Can you check it works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants