Le 28/08/2011 14:04, Andreas Mair a écrit :
> Hello,
>
> maybe you should also add a note that it doesn't work with 0.6.1+.
> But I don't think that's a good idea because 0.6 is quite old and
> 0.7.1 is the latest release (and Gentoo doesn't have 0.6 in Portage).
>
> I'd suggest to change the import to
>
> === SNIP  ===
> try:
>          from migrate.versioning.exceptions import DatabaseNotControlledError
> except:
>          from migrate.exceptions import DatabaseNotControlledError
> === SNAP ===
>
> so it first tries to import from the 0.6 module and if it fails it
> uses the current module structure. But maybe the other way round
> (first try the new module path) would be more future-looking.
>
> Best regards,
> Andreas
>
Hello,

I confirm that I also have this bug on gentoo and the above workaround 
solves the issue.
I still have some other problems that makes my pytrainer crash but I 
suspect some very ugly records in my database which is quite old (first 
record in 2007) and did undergoes many migrations till the beginning...

BR/
Pierre


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to