photo-upload doesn't work in 9.04 because of misplaced python modules.

Bug #378868 reported by Krzysztof Klimonda
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
photo-uploader (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: photo-uploader

Release of Ubuntu: 9.04
Package Version: 0.6-2
Expected Results: when I run photo-upload I'd love to see something more than a TraceBack..
Actual Results:
$ photo-upload
Traceback (most recent call last):
  File "/usr/bin/photo-upload", line 27, in <module>
    import phoupl
ImportError: No module named phoupl

That's because photo-uploader package installs only modules for Python 2.5 but uses generic #!/usr/bin/python interpreter.
Rebuilding a package fixes this issue.
a debdiff attached, tested on JJ. This bug is already fixed on KK as new package use python-shared to maintain python modules.

TEST CASE:
Just install package and try to run ``photo-upload''.

No package depends on photo-uploader so no regression will be introduced unless some people depend on current file hierarhy..

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: photo-uploader 0.6-2
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: photo-uploader
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

In my opinion the best way of fixing it would be to update package to 0.6-3 - the only changes in 0.6-3 were made to build process to fix this issue and some minor changes to debian/copyright file. I'm attaching a debdiff between 0.6-2 and 0.6-3,

I've built 0.6-3 locally and tested it.

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Also i'd like to point out that updating package to 0.6-3 instead of just rebuilding 0.6-2 is a better approach - patch is bigger but we maintain python2.5 compatibility.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in Karmic.

Changed in photo-uploader (Ubuntu):
status: New → Fix Released
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug. This issue has been fixed in newer versions of Ubuntu, and Jaunty is EOL, so I am closing this bug task.

Changed in photo-uploader (Ubuntu Jaunty):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.