lottanzb team mailing list archive
-
lottanzb team
-
Mailing list archive
-
Message #00178
[Bug 490985] Re: Temporary bin/lottanzb.py file not removed when distutilsextra fails in build_i18n.run
** Also affects: python-distutils-extra (Ubuntu)
Importance: Undecided
Status: New
--
Temporary bin/lottanzb.py file not removed when distutilsextra fails in build_i18n.run
https://bugs.launchpad.net/bugs/490985
You received this bug notification because you are a member of LottaNZB
Development Team, which is subscribed to LottaNZB.
Status in LottaNZB • Automated Usenet Client: Triaged
Status in Enhancements to Python's distutils: New
Status in “python-distutils-extra” package in Ubuntu: New
Bug description:
In auto.py, distutilsextra finds extensionless executable scripts which are Python files, and generates a temporary *.py alias, so that they get caught by intltool.
However, if the call to "build_i18n.build_i18n.run(self)" a few lines below fails for some reason, the temporary files will not be removed.
If the user then fixes the problem that caused build_i18n to fail and makes another attempt to install the application, the temporary files will also be installed.
It's probably possible to add a work-around to setup.py, but it would be a better idea to fix this upstream, with a nice "finally" block or something similar.
------------------
Hi, I'm pretty new to linux so if you can, please explain as simple as possible :)
I'm using Opensuse 11.2 x64.
Installed all dependencies, built it, and then when I run it I get this output:
[code]
lottanzb
Traceback (most recent call last):
File "/usr/local/bin/lottanzb", line 3, in <module>
from lottanzb.core import App
File "/usr/local/bin/lottanzb.py", line 3, in <module>
from lottanzb.core import App
ImportError: No module named core
[/code]
Any idea what I'm doing wrong here?
Thanks in advance!.
References