On Tue, Oct 1, 2013 at 12:21 AM, Peter Bengtsson <[email protected]> wrote:
> I'm trying to run the latest HEAD of pootle and I run into this:
>
> Exception Type:         ImportError
> Exception Value:
>
> cannot import name __version__
>
> Exception Location:
> /Users/peterbe/dev/MOZILLA/VERBATIM/pootle/pootle/apps/pootle_app/views/index/about.py
> in view, line 32
>
>
> Naturally, if you open about.py
> https://github.com/translate/pootle/blob/master/pootle/apps/pootle_app/views/index/about.py
> you can see that in that same directory there's a file called
> translate.py which does not have `__version__`
> https://github.com/translate/pootle/blob/master/pootle/apps/pootle_app/views/index/translate.py

Thanks a lot for reporting this.

That import must be for
https://github.com/translate/translate/blob/master/translate/__version__.py
and not for 
https://github.com/translate/pootle/blob/master/pootle/apps/pootle_app/views/index/translate.py
Obviously an implicit relative import is done here. We will try to fix
this ASAP.


> Perhaps I'm running it wrong.
> I did a fresh git clone, ran `python pootle/runner.py start` after some
> init and syncdb.
>
> Just FYI, I have `translate==1.10.0` installed:
>  >>> from translate import __version__
>  >>> __version__.ver
> (1, 10, 0)

Bye

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to