Temporary bin/lottanzb.py file not removed when distutilsextra fails in build_i18n.run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LottaNZB |
Fix Released
|
Medium
|
Severin H | ||
python-distutils-extra |
Fix Released
|
Undecided
|
Unassigned | ||
python-distutils-extra (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
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/
from lottanzb.core import App
File "/usr/local/
from lottanzb.core import App
ImportError: No module named core
[/code]
Any idea what I'm doing wrong here?
Thanks in advance!.
Changed in lottanzb: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → LottaNZB Development Team (lottanzb) |
status: | Confirmed → Triaged |
summary: |
- bin/lottanzb.py not removed when distutils fails in build_i18n.runn + bin/lottanzb.py not removed when distutils fails in build_i18n.run |
description: | updated |
Changed in lottanzb: | |
assignee: | LottaNZB Development Team (lottanzb) → nobody |
description: | updated |
description: | updated |
Changed in lottanzb: | |
status: | Triaged → Fix Committed |
milestone: | none → 0.5.3 |
assignee: | nobody → Severin Heiniger (lantash) |
Changed in lottanzb: | |
status: | Fix Committed → Fix Released |
Severin, do you mean the Python project with upstream? It looks like this bug description is incomplete as I can't see anything that indicates this is a Python bug.