RE: [Freevo-users] Some (newbie?) problems...

2005-01-10 Thread John Molohan
Hello again,

Same as others - resend with {bug] etc. Please try and get these in asap as
Freevo 1.5.3 is due out this weekend and it would be great to include fixes
for these. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of HaJo Schatz
> Sent: 09 January 2005 16:49
> To: freevo-users@lists.sourceforge.net
> Subject: Re: [Freevo-users] Some (newbie?) problems...
> 
> 
> On Sat, 8 Jan 2005, HaJo Schatz wrote:
> 
> [...]
> > Screensaver crashing freevo?
> > 
> >
> > Whenever the screensaver kicks in playing a slideshow:
> >
> > "plugin.activate( 'freevoscreensaver', args=( 'fxd', 
> '/home/freevo/PicturePlayLists/Screensaver.fxd', 'image' ))"
> >
> > freevo will crash with:
> >
> [...]
> 
> Got one more which seems related -- when I play music, detach 
> mplayer and start a slideshow, it doesn't take long until the 
> slideshow crashes with a very similar error log:
> 
> Crash!
> Traceback (most recent call last):
>File 
> "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 
> 492, in ?
>  MainTread().run()
>File 
> "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 
> 352, in run
>  self.eventhandler(rc.get_event(True))
>File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 
> 149, in get_event
>  return get_singleton().get_event(blocking)
>File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 
> 488, in get_event
>  self.poll()
>File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 
> 466, in poll
>  self.callbacks.remove(c)
> ValueError: list.remove(x): x not in list
> 
> 
> I am really wondering -- I can't be the only one using this 
> scenario, am I? I tried to look a bit into the source but I 
> have to admit I need a crash-course in Python first before I 
> would even remotely understand what is going on there.
> 
> Maybe I should re-phrase my question: Anyone out there using 
> freevo 1.5.2 on Fedora Core 3?
> 
> Tnx,
> HaJo
> 
> PS: Are the developers of Freevo active on this list or 
> should I try to seek help on the devel-list instead?
> 
> 
> ---
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> 
> 


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


RE: [Freevo-users] Some (newbie?) problems...

2005-01-10 Thread John Molohan
Hi Hajo,

Please separate these problems into individual posts and resend them, add
[Bug] with a new description to the subject heading and include all relevant
info + tracebacks. 

Regards,

Johnm. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of HaJo Schatz
> Sent: 08 January 2005 12:14
> To: freevo-users@lists.sourceforge.net
> Subject: [Freevo-users] Some (newbie?) problems...
> 
> Hi List,
> 
> Just gave freevo a first shot and must say I'm impressed! 
> However I've run into some (newbie?) issues I'm not able to 
> find an answer in the lists for. I'm running Freevo 1.5.2 
> (from freevo-1.5.2-1_fc2.rpm) on
> FC3 with python 2.3.4. Freevo runs on X with the VESA-driver 
> to output to TV on my ATI Radeon IGP. 
> 
> Would appreciate if you could comment on these:
> 
> How do I play a DVD/VCD
> ===
> 
> In fstab I have:
> /dev/hdc/media/cdrecorder   auto
> pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
> 0 0
> 
> and in a shell, I can mount DVDs/VCDs ok, also as the user 
> freevo is running as.
> When I put "ROM_DRIVES = None" into my local_conf.py, freevo 
> doesn't detect my drive at all, I can't see an entry under 
> "Watch a movie".
> 
> When I configure "ROM_DRIVES = [( '/dev/hdc', 
> '/media/cdrecorder', 'DVD' )]" instead, I see a "Drive DVD 
> (no disc)" entry under "Watch a Movie" no matter whether the 
> DVD was mounted or not beforehand, whether there is a disc in 
> the drive or not. If I select this entry, I always get a "No 
> action defined for this choice! [OK]" dialog-box.
> 
> "MMPYTHON_DEBUG=2 mminfo /media/cdrecorder/" shows the 
> correct structure of the DVD inserted...
> 
> I suspect there's some sort of bug in the CD-ROM handling as 
> I also get 1 or 2 bugs during startup which seem related:
> 
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py
> ", line 348, in move_tray
> s = ioctl(fd, CDROMCLOSETRAY)
> IOError: [Errno 22] Invalid argument
> Exception in thread Thread-2:
> Traceback (most recent call last):
>   File 
> "/usr/src/build/475206-i386/install/usr/lib/python2.3/threadin
> g.py", line 436, in __bootstrap
> self.run()
>   File 
> "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py
> ", line 741, in run
> if video.hash_fxd_movie_database() == 0:
>   File 
> "/usr/lib/python2.3/site-packages/freevo/video/__init__.py", 
> line 258, in hash_fxd_movie_database
> k = vfs.splitext(vfs.basename(info.files.fxd_file))[0]
> AttributeError: Container instance has no attribute 'files'
> 
> 
> 
> Screensaver crashing freevo?
> 
> 
> Whenever the screensaver kicks in playing a slideshow:
> 
> "plugin.activate( 'freevoscreensaver', args=( 'fxd', 
> '/home/freevo/PicturePlayLists/Screensaver.fxd', 'image' ))"
> 
> freevo will crash with:
> 
> Crash!
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 
> 492, in ?
> MainTread().run()
>   File 
> "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 
> 352, in runself.eventhandler(rc.get_event(True))
>   File 
> "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 
> 292, in eventhandler
> p.eventhandler(event=event)
>   File 
> "/usr/lib/python2.3/site-packages/freevo/plugins/freevoscreens
> aver.py", line 115, in eventhandler
> self.start_saver()
>   File 
> "/usr/lib/python2.3/site-packages/freevo/plugins/freevoscreens
> aver.py", line 159, in start_saver
> self.pl.play(arg=arg, menuw=self.menuw)
>   File "/usr/lib/python2.3/site-packages/freevo/playlist.py", 
> line 395, in play
> self.current_item.actions()[0][0](menuw=menuw)
>   File 
> "/usr/lib/python2.3/site-packages/freevo/image/imageitem.py", 
> line 129, in view
> if self.menuw.visible:
> AttributeError: 'NoneType' object has no attribute 'visible'
> 
> 
> The same fxd-file plays just fine in the "Look at pictures" section...
> 
> 
> MLDonkey-plugin delays exit
> ===
> 
> Dunno whether the author of the plugin is active on this 
> list, but when above plugin is activated, exiting freevo is 
> significantly delayed (sometimes

Re: [Freevo-users] Some (newbie?) problems...

2005-01-09 Thread HaJo Schatz
On Sat, 8 Jan 2005, HaJo Schatz wrote:
[...]
Screensaver crashing freevo?

Whenever the screensaver kicks in playing a slideshow:
"plugin.activate( 'freevoscreensaver', args=( 'fxd', 
'/home/freevo/PicturePlayLists/Screensaver.fxd', 'image' ))"
freevo will crash with:
[...]
Got one more which seems related -- when I play music, detach mplayer and 
start a slideshow, it doesn't take long until the slideshow crashes with a 
very similar error log:

Crash!
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 492, 
in ?
MainTread().run()
  File "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 352, 
in run
self.eventhandler(rc.get_event(True))
  File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 149, in 
get_event
return get_singleton().get_event(blocking)
  File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 488, in 
get_event
self.poll()
  File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 466, in poll
self.callbacks.remove(c)
ValueError: list.remove(x): x not in list

I am really wondering -- I can't be the only one using this scenario, am 
I? I tried to look a bit into the source but I have to admit I need a 
crash-course in Python first before I would even remotely understand what 
is going on there.

Maybe I should re-phrase my question: Anyone out there using freevo 1.5.2 
on Fedora Core 3?

Tnx,
HaJo
PS: Are the developers of Freevo active on this list or should I try to 
seek help on the devel-list instead?

---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Some (newbie?) problems...

2005-01-08 Thread HaJo Schatz
Hi List,

Just gave freevo a first shot and must say I'm impressed! However I've
run into some (newbie?) issues I'm not able to find an answer in the
lists for. I'm running Freevo 1.5.2 (from freevo-1.5.2-1_fc2.rpm) on
FC3 with python 2.3.4. Freevo runs on X with the VESA-driver to output
to TV on my ATI Radeon IGP. 

Would appreciate if you could comment on these:

How do I play a DVD/VCD
===

In fstab I have:
/dev/hdc/media/cdrecorder   auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
0 0

and in a shell, I can mount DVDs/VCDs ok, also as the user freevo is
running as.
When I put "ROM_DRIVES = None" into my local_conf.py, freevo doesn't
detect my drive at all, I can't see an entry under "Watch a movie".

When I configure "ROM_DRIVES = [( '/dev/hdc', '/media/cdrecorder',
'DVD' )]" instead, I see a "Drive DVD (no disc)" entry under "Watch a
Movie" no matter whether the DVD was mounted or not beforehand, whether
there is a disc in the drive or not. If I select this entry, I
always get a "No action defined for this choice! [OK]" dialog-box.

"MMPYTHON_DEBUG=2 mminfo /media/cdrecorder/" shows the correct
structure of the DVD inserted...

I suspect there's some sort of bug in the CD-ROM handling as I also
get 1 or 2 bugs during startup which seem related:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", line 
348, in move_tray
s = ioctl(fd, CDROMCLOSETRAY)
IOError: [Errno 22] Invalid argument
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/src/build/475206-i386/install/usr/lib/python2.3/threading.py", 
line 436, in __bootstrap
self.run()
  File "/usr/lib/python2.3/site-packages/freevo/plugins/rom_drives.py", line 
741, in run
if video.hash_fxd_movie_database() == 0:
  File "/usr/lib/python2.3/site-packages/freevo/video/__init__.py", line 258, 
in hash_fxd_movie_database
k = vfs.splitext(vfs.basename(info.files.fxd_file))[0]
AttributeError: Container instance has no attribute 'files'



Screensaver crashing freevo?


Whenever the screensaver kicks in playing a slideshow:

"plugin.activate( 'freevoscreensaver', args=( 'fxd', 
'/home/freevo/PicturePlayLists/Screensaver.fxd', 'image' ))"

freevo will crash with:

Crash!
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 492, in ?
MainTread().run()
  File "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 352, in 
runself.eventhandler(rc.get_event(True))
  File "/usr/local/lib/python2.3/site-packages/freevo/main.py", line 292, in 
eventhandler
p.eventhandler(event=event)
  File "/usr/lib/python2.3/site-packages/freevo/plugins/freevoscreensaver.py", 
line 115, in eventhandler
self.start_saver()
  File "/usr/lib/python2.3/site-packages/freevo/plugins/freevoscreensaver.py", 
line 159, in start_saver
self.pl.play(arg=arg, menuw=self.menuw)
  File "/usr/lib/python2.3/site-packages/freevo/playlist.py", line 395, in play
self.current_item.actions()[0][0](menuw=menuw)
  File "/usr/lib/python2.3/site-packages/freevo/image/imageitem.py", line 129, 
in view
if self.menuw.visible:
AttributeError: 'NoneType' object has no attribute 'visible'


The same fxd-file plays just fine in the "Look at pictures" section...


MLDonkey-plugin delays exit
===

Dunno whether the author of the plugin is active on this list, but
when above plugin is activated, exiting freevo is significantly
delayed (sometimes by several minutes), usually logged with this
error:

Unhandled exception in thread started by >
Traceback (most recent call last):
  File "/usr/src/build/475206-i386/install/usr/lib/python2.3/threading.py", 
line 451, in __bootstrap
  File "/usr/src/build/475206-i386/install/usr/lib/python2.3/threading.py", 
line 460, in __stop
  File "/usr/src/build/475206-i386/install/usr/lib/python2.3/threading.py", 
line 256, in notifyAll
  File "/usr/src/build/475206-i386/install/usr/lib/python2.3/threading.py", 
line 238, in notify
TypeError: 'NoneType' object is not callable


How to exclude sub-dirs in fxd-files?
=

Maybe this is more of a feature-request than an issue. I define
slideshows through an fxd file with say
".../mypics...". However, I also have a
"/mypics/.thumbnails" subdir which I would like to *NOT* be included
in the slideshow. Is there any way to exclude these ".thumbnails"
subdirectories?


Hope I don't have to learn coding in Python to get these solved ;-) ,
HaJo

-- 
HaJo Schatz <[EMAIL PROTECTED]>
http://www.HaJo.Net

PGP-Key:  http://www.hajo.net/hajonet/keys/pgpkey_hajo.txt



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
_