python: can't open file '/usr/lib/python2.6/site-packages/gmobilemedia/main.py': [Errno 2] No such file or directory

Bug #342732 reported by Fernando Miguel
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gmobilemedia (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gmobilemedia

i tried to run $ gmobilemedia and got:
python: can't open file '/usr/lib/python2.6/site-packages/gmobilemedia/main.py': [Errno 2] No such file or directory

$ apt-cache policy gmobilemedia Installed: 0.4+dfsg-6

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: gmobilemedia 0.4+dfsg-6
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: gmobilemedia
Uname: Linux 2.6.28-9-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

i've the same version and apear me this too..

Architecture: i386
DistroRelease: Ubuntu 9.04

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

still happend on last relaease, any solution for this bug??

Revision history for this message
infocla (infocla) wrote :

try ls /usr/share/pyshared/gmobilemedia/ | awk '{print $1}' | xargs -i sudo ln -s /usr/share/pyshared/gmobilemedia/{} /usr/lib/python2.6/site-packages/gmobilemedia/{}

Revision history for this message
infocla (infocla) wrote :

before create folder
sudo mkdir -p /usr/share/pyshared/gmobilemedia/

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

Hi!!, still happend .. no souch , when i try to make ln

Revision history for this message
infocla (infocla) wrote :

put everything in a row
ls /usr/share/pyshared/gmobilemedia/ | awk '{print $1}' | xargs -i sudo ln -s /usr/share/pyshared/gmobilemedia/{} /usr/lib/python2.6/site-packages/gmobilemedia/{}

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Bug 342732] Re: python: can't open file '/usr/lib/python2.6/site-packages/gmobilemedia/main.py': [Errno 2] No such file or directory

On Tuesday 12 May 2009 15:57:30 infocla wrote:
> put everything in a row

$ ls /usr/share/pyshared/gmobilemedia/ | awk '{print $1}' | xargs -i sudo ln -s /usr/share/pyshared/gmobilemedia/{} /usr/lib/python2.6/site-packages/gmobilemedia/{}
[sudo] password for bugabundo:
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/total': No such file or directory
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/-rw-r--r--': No such file or directory
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/-rw-r--r--': No such file or directory
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/-rw-r--r--': No such file or directory
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/-rw-r--r--': No such file or directory
ln: creating symbolic link `/usr/lib/python2.6/site-packages/gmobilemedia/-rw-r--r--': No such file or directory

--
Hi, I'm BUGabundo, and I am Ubuntu (whyubuntu.com)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net && Ubuntu LoCoTeam Portugal http://ubuntu-pt.org
Linux user #443786 GPG key 1024D/A1784EBB

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

yeah same for me

Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

I installed gmobilemedia from "Add/Remove" and ran into this bug. So I opened a terminal and typed this:

sudo ln -s /usr/lib/python2.6/dist-packages /usr/lib/python2.6/site-packages

And now gmobilemedia starts as it should :-)
Cheers,
Raoul Nicolas
http://nrw.free.fr

Steven (stebalien)
Changed in gmobilemedia (Ubuntu):
status: New → Confirmed
Revision history for this message
Steven (stebalien) wrote :

Simply changing: python /usr/lib/`pyversions -d`/site-packages/gmobilemedia/main.py "$@"
to: python /usr/lib/`pyversions -d`/dist-packages/gmobilemedia/main.py "$@"
in the debian/gmobielmedia.sh file in the deb source will fix this bug permanently.

Revision history for this message
Daniel Santibáñez Polanco (dansanti) wrote :

yeah coping, gmobilemedia folder from python2.6/dist-packages to python2.6/site-packages, gmobilemedia work so fine..

thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gmobilemedia - 0.4+dfsg-8

---------------
gmobilemedia (0.4+dfsg-8) unstable; urgency=low

  * Implement distutils based setup to install correctly (LP: #342732).
  * Bump standards to 3.8.2.

 -- Ubuntu Archive Auto-Sync <email address hidden> Thu, 25 Jun 2009 07:43:55 +0100

Changed in gmobilemedia (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
hola171@tiscali.it (hola171) wrote :

I have Ubuntu Jaunty and simply edit, with sudo gedit from terminal, the file /usr/bin/gmobilemedia:

from

python /usr/lib/`pyversions -d`/site-packages/gmobilemedia/main.py "$@"

to

python /usr/lib/`pyversions -d`/dist-packages/gmobilemedia/main.py "$@"

then saved it and then run it again: it runs correctly

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.