mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

ImportError ExtendedInterpolation #39

Closed simonsmiley closed 10 years ago

simonsmiley commented 10 years ago

Hi there, I just cloned the repo and ran make build which went fine. Trying to start the server I get "ImportError: cannot import name ExtendedInterpolation" I wonder if I'm doing something wrong... Using Debian 6 python2.7, python2.7-dev and python2.7-virtualenv are installed as required

rfk commented 10 years ago

Sounds like the same bug as https://bitbucket.org/ambv/configparser/issue/7/configparser-350b1-breaks-compatibilty so hopefully it will be fixed upstream shortly.

rfk commented 10 years ago

In the meantime, you could try this to downgrade the version of configparser in your install:

./local/bin/pip install -U configparser==3.3.0r2
simonsmiley commented 10 years ago

Thanks, that resolves the import issue. I did roll back to the latest release assuming, everything works...

sonytricoire commented 10 years ago

Hi,

On a QNAP NAS (ARM based), after building syncserver I faced the same error when I tried to run it. I tried the downgrade of configparser with no success, same import error.

I double check the configparser version installed with pip freeze, it's correct.

I'm really a newbie in python, is there an rebuild needed or something else ?

simonsmiley commented 10 years ago

did you run the command as specified above? if you left out "./local/bin/" chances are you ran the command systemwide and not in the virtualenv. If you did run it in the virtualenv, you could try going back a few commits (the last release)

sonytricoire commented 10 years ago

Thanks It works when I use the 1.5.0 tag.

rfk commented 10 years ago

In https://github.com/mozilla-services/syncserver/commit/f54cdaf545ba6ee5dd3d06fd318c1f756730896f I pinned the version of configparser to one that's known to work, this should let people build it while we wait for a fixed upstream release

rfk commented 10 years ago

This seems to be working out OK, I'm going to close the bug

jonassmedegaard commented 9 years ago

seems this was closed without reverting the pinning

rfk commented 9 years ago

updated to latest (fixed) configparser version in https://github.com/mozilla-services/syncserver/commit/7cc82ba7255b66e1b74e72c9ad8b8d88ece71f8a