Bug#630140: python-mecavideo: Pymecavideo fails at starting

2011-06-11 Thread Come
Package: python-mecavideo
Version: 5.5-3
Severity: important

Hi.

I would like to use pymecavideo for my studies but the software crashes when it
starts with this message:

Traceback (most recent call last):
  File /usr/bin/pymecavideo, line 3, in module
import pymecavideo.pymecavideo
  File /usr/lib/pymodules/python2.6/pymecavideo/pymecavideo.py, line 66, in
module
from cadreur import Cadreur, openCvReader
  File /usr/lib/pymodules/python2.6/pymecavideo/cadreur.py, line 30, in
module
from globdef import PYMECA_SHARE
  File /usr/lib/pymodules/python2.6/pymecavideo/globdef.py, line 106, in
module
os.mkdir(NEWVID_PATH)
OSError: [Errno 2] Aucun fichier ou dossier de ce type:
'/home/david/.local/share/data//pymecavideo/videos_recodees'

I understand that the software crashes  because of the prescence of '//' in the
path.
I've looked into /usr/share/pyshared/pymecavideo/globdef.py and even if  I
don't know  alot about python, I'm pretty sure that the failure is due to
theses 2 lines:

datalocation=os.path.join(%s%QDesktopServices.storageLocation(QDesktopServices.DataLocation),pymecavideo)
PATH = APP_DATA_PATH = datalocation

Indeed,  I've created the folder /home/david/.local/share/data/pymecavideo/ and
commented both lines above then I put
 PATH = APP_DATA_PATH = /home/david/.local/share/data/pymecavideo/

The software works fine.

If you need more information.
Debian sid 64 bits, python-mecavideo v 5.4.

Hope you can fix this.
David Côme.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (987, 'unstable'), (985, 'stable'), (983, 'stable'), (500, 
'stable-updates'), (98, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mecavideo depends on:
ii  conkeror [www-browser] 0.9.3+git110602-1 keyboard focused web browser with 
ii  elinks [www-browser]   0.12~pre5-3.2+b1  advanced text-mode WWW browser
ii  epiphany-browser [www- 2.30.6-2  Intuitive GNOME web browser
ii  evince [postscript-vie 2.30.3-3  Document (PostScript, PDF) viewer
ii  ghostscript [postscrip 9.02~dfsg-2   interpreter for the PostScript lan
ii  gv [postscript-viewer] 1:3.7.2-1 PostScript and PDF viewer for X
ii  iceweasel [www-browser 3.5.19-2  Web browser based on Firefox
ii  links [www-browser]2.3~pre1-1+b1 Web browser running in text mode
ii  links2 [www-browser]   2.3~pre1-1+b1 Web browser running in both graphi
ii  lynx-cur [www-browser] 2.8.8dev.8-1  Text-mode WWW Browser with NLS sup
ii  opera [www-browser]11.11.2109A fast and secure web browser and 
ii  python 2.6.6-14  interactive high-level object-orie
ii  python-matplotlib  1.0.1-2   Python based plotting system in a 
ii  python-opencv  2.1.0-4   Python bindings for the computer v
ii  python-qt4 4.8.3-2+b1Python bindings for Qt4
ii  python-support 1.0.13automated rebuilding support for P
ii  shared-mime-info   0.90-1FreeDesktop.org shared MIME databa
ii  w3m [www-browser]  0.5.3-2+b1WWW browsable pager with excellent
ii  xdg-utils  1.1.0~rc1-2   desktop integration utilities from

Versions of packages python-mecavideo recommends:
ii  mencoder   3:1.0~rc4-0.1 MPlayer's Movie Encoder
ii  mplayer3:1.0~rc4-0.1 The Ultimate Movie Player For Linu
ii  vlc1.1.9-1+b1multimedia player and streamer

Versions of packages python-mecavideo suggests:
ii  transcode3:1.1.5-0.7 Utility to encode raw video/audio 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#630140: python-mecavideo: Pymecavideo fails at starting

2011-06-11 Thread Georges Khaznadar
Hello David, thank you for the report!

In my opinion, the double slash in the path does not matter (UNix
considers it as a simple slash: just try for example ls /home/david///.

However, the file globdef.py should create the directory APP_DATA_PATH
when it does not yet exist, mith a command mkdir -p in order to create
the whole chain of subdirectories when not available.

I shal fix it shortly.


Come a écrit :
 Package: python-mecavideo
 Version: 5.5-3
 Severity: important
 
 Hi.
 
 I would like to use pymecavideo for my studies but the software crashes when 
 it
 starts with this message:
 
 Traceback (most recent call last):
   File /usr/bin/pymecavideo, line 3, in module
 import pymecavideo.pymecavideo
   File /usr/lib/pymodules/python2.6/pymecavideo/pymecavideo.py, line 66, in
 module
 from cadreur import Cadreur, openCvReader
   File /usr/lib/pymodules/python2.6/pymecavideo/cadreur.py, line 30, in
 module
 from globdef import PYMECA_SHARE
   File /usr/lib/pymodules/python2.6/pymecavideo/globdef.py, line 106, in
 module
 os.mkdir(NEWVID_PATH)
 OSError: [Errno 2] Aucun fichier ou dossier de ce type:
 '/home/david/.local/share/data//pymecavideo/videos_recodees'
 
 I understand that the software crashes  because of the prescence of '//' in 
 the
 path.
 I've looked into /usr/share/pyshared/pymecavideo/globdef.py and even if  I
 don't know  alot about python, I'm pretty sure that the failure is due to
 theses 2 lines:
 
 datalocation=os.path.join(%s%QDesktopServices.storageLocation(QDesktopServices.DataLocation),pymecavideo)
 PATH = APP_DATA_PATH = datalocation
 
 Indeed,  I've created the folder /home/david/.local/share/data/pymecavideo/ 
 and
 commented both lines above then I put
  PATH = APP_DATA_PATH = /home/david/.local/share/data/pymecavideo/
 
 The software works fine.
 
 If you need more information.
 Debian sid 64 bits, python-mecavideo v 5.4.
 
 Hope you can fix this.
 David Côme.
 
 
 
 -- System Information:
 Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (987, 'unstable'), (985, 'stable'), (983, 'stable'), (500, 
 'stable-updates'), (98, 'experimental')
 Architecture: amd64 (x86_64)
 
 Kernel: Linux 2.6.39-1-amd64 (SMP w/2 CPU cores)
 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages python-mecavideo depends on:
 ii  conkeror [www-browser] 0.9.3+git110602-1 keyboard focused web browser 
 with 
 ii  elinks [www-browser]   0.12~pre5-3.2+b1  advanced text-mode WWW browser
 ii  epiphany-browser [www- 2.30.6-2  Intuitive GNOME web browser
 ii  evince [postscript-vie 2.30.3-3  Document (PostScript, PDF) viewer
 ii  ghostscript [postscrip 9.02~dfsg-2   interpreter for the PostScript 
 lan
 ii  gv [postscript-viewer] 1:3.7.2-1 PostScript and PDF viewer for X
 ii  iceweasel [www-browser 3.5.19-2  Web browser based on Firefox
 ii  links [www-browser]2.3~pre1-1+b1 Web browser running in text mode
 ii  links2 [www-browser]   2.3~pre1-1+b1 Web browser running in both 
 graphi
 ii  lynx-cur [www-browser] 2.8.8dev.8-1  Text-mode WWW Browser with NLS 
 sup
 ii  opera [www-browser]11.11.2109A fast and secure web browser 
 and 
 ii  python 2.6.6-14  interactive high-level 
 object-orie
 ii  python-matplotlib  1.0.1-2   Python based plotting system in 
 a 
 ii  python-opencv  2.1.0-4   Python bindings for the computer 
 v
 ii  python-qt4 4.8.3-2+b1Python bindings for Qt4
 ii  python-support 1.0.13automated rebuilding support for 
 P
 ii  shared-mime-info   0.90-1FreeDesktop.org shared MIME 
 databa
 ii  w3m [www-browser]  0.5.3-2+b1WWW browsable pager with 
 excellent
 ii  xdg-utils  1.1.0~rc1-2   desktop integration utilities 
 from
 
 Versions of packages python-mecavideo recommends:
 ii  mencoder   3:1.0~rc4-0.1 MPlayer's Movie Encoder
 ii  mplayer3:1.0~rc4-0.1 The Ultimate Movie Player For 
 Linu
 ii  vlc1.1.9-1+b1multimedia player and streamer
 
 Versions of packages python-mecavideo suggests:
 ii  transcode3:1.1.5-0.7 Utility to encode raw 
 video/audio 
 
 -- no debconf information
 
 
 

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70



signature.asc
Description: Digital signature