Pascal Schirrmann wrote:
> Hi, I start a new thread, the trouble I encounter has nothing to do with
>  the reencode2 plugin
>> First of all, I encounter a conflict with idlebar.encoding :
>>
>> At the end of the freevo startup (that is, when the 'wait bar is
>> nearly on the right of the screen, just before the main screen
>> display), freevo crashes :
>> Crash!
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 454, in ?
>>     MainMenu().getcmd()
>>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 168, in
>> getcmd
>>     menuw.pushmenu(mainmenu)
>>   File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 378, in
>> pushmenu
>>     self.refresh()
>>   File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 406, in
>> refresh
>>     skin.draw('menu', self, self.menustack[-1])
>>   File "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py",
>> line 526, in draw
>>     a.draw(settings, object, menu, style, type, self.force_redraw)
>>   File "/usr/lib/python2.4/site-packages/freevo/skins/main/area.py",
>> line 194, in draw
>>     self.update_content()
>>   File
>> "/usr/lib/python2.4/site-packages/freevo/skins/main/default_areas.py",
>> line 179, in update_content
>>     p.draw((self.widget_type, self.menuw), self)
>>   File
>> "/usr/lib/python2.4/site-packages/freevo/plugins/idlebar/encoding.py",
>> line 306, in draw
>>     osd.write_text(self.jobs, font, None, self.tx, y, self.textw,
>> self.font_h, 'center', 'center')
>>   File "/usr/lib/python2.4/site-packages/freevo/skins/main/area.py",
>> line 625, in drawstring
>>     x = content.x
>> AttributeError: 'NoneType' object has no attribute 'x'
>> Disabling the plugin let me go further :
> 
> | Only in basic, so none of the _BB skins will work. I think that
> | someone like Andrew Flegg can help with the BB skins, he knows quite a
> | bit about how they work. My view is that when the buttonbar plugin is
> | running then the skins should adapt to the new size.
> |
> | This seems to work for the idlebar.
> 
> 
> Well, I still encounter this trouble, using the blurr display.
> 
> I did some investigations :
> 
> My troubles come from skins/main/area.py around line 625 : there are
> made an assumption that content is ever set. But the next lines, we can
> see that for other tests, the program safely controls if content is set.

I don't quite see why you have a problem and I don't, it needs some
further inverstigating before I apply the patch.

> I did a small change who permit me to start the idlebar.plugin ... in
> the top of the screen, in the middle !

There is a small bug, which is if the detach audio plug-in is running it
overlaps the encoding server in the idlebar, not very nice.

> Use this change as a proof of concept, no more :-)
> 
> BTW, of can I byte compile a py in a pyc file ? Google didn't help me
> much this time (remember : I'm very bad in python !)

It's done automatically when either the program is run or you run python
setup.py install.

Cheers,
Duncan


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to