Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 341003

Summary: Missing dateutil.parser in media-video/pyqtrailer-0.3.4-r1
Product: Gentoo Linux Reporter: Mike Thompson <dia>
Component: New packagesAssignee: Stanislav Ochotnicky (RETIRED) <sochotnicky>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Thompson 2010-10-14 16:26:41 UTC
I tried the new package pyqtrailer and got the following message:
mike@t400 ~ $ pyqtrailer
Traceback (most recent call last):
  File "/usr/bin/pyqtrailer-2.6", line 7, in <module>
    from pyqtrailer.main import PyTrailerWidget
  File "/usr/lib64/python2.6/site-packages/pyqtrailer/main.py", line 14, in <module>
    from qtcustom import *
  File "/usr/lib64/python2.6/site-packages/pyqtrailer/qtcustom/__init__.py", line 12, in <module>
    import dateutil.parser as dparser
ImportError: No module named dateutil.parser

I googled for "python dateutil.parser" and found a package called python-dateutil.  I looked in Portage and found a dev-python/python-dateutil, so I merged it.  This made the pyqtrailer work.

So, please add a dependency for dev-python/python-dateutil in the ebuild for media-video/pyqtrailer-0.3.4-r1 or dev-python/pytrailer-0.3.  I'm not a Python programmer, so I'm not completely sure which of the two packages needs this dependency.

Reproducible: Always

Steps to Reproduce:
1. emerge pyqtrailer (as root)
2. pyqtrailer (as user)
3.

Actual Results:  
Error message shown in description.

Expected Results:  
A working program :)

Fortunately there's an easy workaround:
emerge -1 dev-python/python-dateutil
Comment 1 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-10-20 13:21:48 UTC
Already fixed.

*** This bug has been marked as a duplicate of bug 340871 ***