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

Python 2.6-2.7 setup issue #2

Open
kshcherban opened this issue Nov 26, 2013 · 2 comments
Open

Python 2.6-2.7 setup issue #2

kshcherban opened this issue Nov 26, 2013 · 2 comments

Comments

@kshcherban
Copy link

Hello,

I'm trying to setup pastgit on Centos 6.4, used both python 2.6 and latest python 2.7 (2.7.6) but paster setup-app not working.

When i run: paster setup-app config.ini i get import error from pylons.error

    ImportError: cannot import name error_template

Can you please explain if pastgit works only with python 3?

@mkmik
Copy link
Owner

mkmik commented Nov 26, 2013

No, its been developed a long time before python 3, it's probably some
other dependency. I'm not sure if I'll have time this week to take a look.
Let me know if you find a solution.
On Nov 26, 2013 9:50 AM, "Konstantin" notifications@github.com wrote:

Hello,

I'm trying to setup pastgit on Centos 6.4, used both python 2.6 and latest
python 2.7 (2.7.6) but paster setup-app not working.

When i run: paster setup-app config.ini i get import error

ImportError: cannot import name error_template

Can you please explain if pastgit works only with python 3?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@kshcherban
Copy link
Author

In pylons (1.0.1) that was installed as dependency there is no error_template function or class that is imported in pastgit/config/middleware.py
Seems like you developed pastgit for pylons below 0.9.7 version which is outdated now.

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