Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21362 - [flumotion] fails to run, gives python errors

Attached to Project: Community Packages
Opened by Michael Wigren (wigren) - Wednesday, 20 October 2010, 11:37 GMT
Last edited by Jakob Gruber (schuay) - Sunday, 31 October 2010, 21:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Jakob Gruber (schuay)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When starting flumotion with "flumotion-manager -d 3 /etc/flumotion/managers/default/planet.xml" the program fails to run and gives these errors:

Traceback (most recent call last):
File "/usr/bin/flumotion-manager", line 46, in <module>
boot.boot(PROGRAM_PATH, gst=False, gtk=False, installReactor=False)
File "/usr/lib/flumotion/python/flumotion/common/boot.py", line 269, in boot
main = reflect.namedAny(path)
File "/usr/lib/flumotion/python/flumotion/twisted/reflect.py", line 54, in namedAny
topLevelPackage = __import__(trialname)
File "/usr/lib/flumotion/python/flumotion/common/package.py", line 58, in import_module
locals, fromlist)
File "/usr/lib/python2.7/ihooks.py", line 408, in import_module
m = self.load_tail(q, tail)
File "/usr/lib/python2.7/ihooks.py", line 490, in load_tail
raise ImportError, "No module named '%s'" % mname
ImportError: No module named 'flumotion.manager.main.main'

I believe this is due to the recent python update as the program started without errors with version 0.8.0-1


Additional info:
package version is 0.8.0-2
/etc/flumotion/managers/default/planet.xml contains:

<planet>


<manager name="sparoid">
<!--
<host></host>
<port></port>
<transport></transport>
<certificate></certificate>
-->
<!--
FIXME: would be nice if we find a way to have this be overridden by either
env var or cmd line option
<debug>5</debug>
-->
<component name="manager-bouncer" type="htpasswdcrypt-bouncer">
<property name="data"><![CDATA[
user:ZRQG7rv8uOLAo
]]></property>
</component>
</manager>

</planet>

flumotion's log since yesterday is attached


Steps to reproduce:

1) Configure flumotion following instructions from http://wiki.archlinux.org/index.php/Flumotion

2) run flumotion-manager -d 3 /etc/flumotion/managers/default/planet.xml
This task depends upon

Closed by  Jakob Gruber (schuay)
Sunday, 31 October 2010, 21:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  flumotion-0.8.0-4
Comment by Jakob Gruber (schuay) - Wednesday, 20 October 2010, 11:55 GMT
I had a look at this, and I can't make anything of it.
Here's a bugreport that might be related: https://bugzilla.redhat.com/show_bug.cgi?id=635390
Comment by Rémy Oudompheng (remyoudompheng) - Wednesday, 20 October 2010, 12:22 GMT
If I understand correctly, ihooks has been undocumented, deprecated for a long time, and Python 2.7 documentation says ihooks is deprecated in favor of imputil, which is itself also deprecated. I don't see any upstream bug report for Python 2.7 yet.
Comment by Jakob Gruber (schuay) - Tuesday, 26 October 2010, 11:09 GMT Comment by Lukas Fleischer (lfleischer) - Sunday, 31 October 2010, 00:21 GMT
There's an upstream patch now which, however, still doesn't completely solve our problem. After rebuilding the package with the patch applied, running `flumotion-manager` still fails with:

Traceback (most recent call last):
File "/usr/bin/flumotion-manager", line 46, in <module>
boot.boot(PROGRAM_PATH, gst=False, gtk=False, installReactor=False)
File "/usr/lib/flumotion/python/flumotion/common/boot.py", line 275, in boot
sys.exit(wrapped(sys.argv))
TypeError: 'module' object is not callable
Comment by Jakob Gruber (schuay) - Sunday, 31 October 2010, 17:29 GMT
Can somebody confirm that flumotion-0.8.0-4 works?
Comment by Michael Wigren (wigren) - Sunday, 31 October 2010, 20:38 GMT
It works here! There are no errors on start up and the stream works as expected.

Loading...