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

I always get the issue "invalid syntax" when i start mp. #1179

Closed
MoritzFago opened this issue Jan 2, 2015 · 3 comments
Closed

I always get the issue "invalid syntax" when i start mp. #1179

MoritzFago opened this issue Jan 2, 2015 · 3 comments

Comments

@MoritzFago
Copy link

I am working on an Uberspace, it´s shared hosting. I only run pip install -r requirements.txt for setup, this is the trace:

Traceback (most recent call last):
  File "./mp", line 10, in <module>
    from mailpile.app import Main
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/__init__.py", line 1, in <module>
    import mailpile.app
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/app.py", line 8, in <module>
    import mailpile.defaults
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/defaults.py", line 16, in <module>
    from mailpile.config import PathDict
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/config.py", line 18, in <module>
    from mailpile.command_cache import CommandCache
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/command_cache.py", line 8, in <module>
    from mailpile.ui import Session, BackgroundInteraction
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/ui.py", line 27, in <module>
    import mailpile.commands
  File "/[HOMEDIR]/lib/python2.6/mailpile-0.4.0.dev20150102-py2.6.egg/mailpile/commands.py", line 1784
    with BLOCK_HTTPD_LOCK, Idle_HTTPD():
                         ^
@MoritzFago MoritzFago changed the title I always get the issue "invalid syctax" when i start mp. I always get the issue "invalid syntax" when i start mp. Jan 5, 2015
@maxfell
Copy link

maxfell commented Jan 9, 2015

Can you check what python version you are running? (type python -V in your command line). For me this issue occurred because I wasn't using Python 2.7.

See: #789

@ClashTheBunny
Copy link

Every other line of the stacktrace includes "python2.6" in the path, so the solution is the solution to #789.

@BjarniRunar
Copy link
Member

Yep, we're Python 2.7 only at the moment. See #160 for one proposed change to that. ;-)

Nobody's filed a bug for supporting older Pythons yet.

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

4 participants