----- Original Message -----
From: freevo-users-requ...@lists.sourceforge.net
To: freevo-users@lists.sourceforge.net
Sent: Sat, 25 Sep 2010 00:11:24 +0000 (UTC)
Subject: Freevo-users Digest, Vol 53, Issue 4

Send Freevo-users mailing list submissions to
        freevo-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/freevo-users
or, via email, send a message with subject or body 'help' to
        freevo-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        freevo-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freevo-users digest..."


Today's Topics:

   1. freevo remote volume does not work (Dana E Hoffman Jr)
   2. Insecure String Pickle when starting Recordserver (James Trietsch)
   3. Re: Insecure String Pickle when starting Recordserver
      (James Trietsch)
   4. Re: Insecure String Pickle when starting Recordserver
      (Elizabeth Dodd)
   5. Re: Insecure String Pickle when starting Recordserver
      (James Trietsch)
   6. Re: freevo remote volume does not work (Dan Schmidt)
   7. Re: freevo remote volume does not work (Alan)


----------------------------------------------------------------------

Message: 1
Date: Thu, 23 Sep 2010 18:44:00 +0000 (UTC)
From: Dana E Hoffman Jr <d...@fedoraunity.org>
Subject: [Freevo-users] freevo remote volume does not work
To: freevo-users@lists.sourceforge.net
Message-ID:
        <20566052.9511285267440817.javamail.r...@zimbra.cbccgroup.com>
Content-Type: text/plain; charset=utf-8

Hello all,
I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
with mplayer.
For some reason I can not get the remote volume up/down or mute when watching a 
movie in freevo.

When I play a movie with just mplayer my remote volume up/down mute works.
for some reason I can not get it working in freevo.

Any ideas or suggestions would be great
thanks
 



------------------------------

Message: 2
Date: Thu, 23 Sep 2010 22:08:14 -0700 (PDT)
From: James Trietsch <kero...@yahoo.com>
Subject: [Freevo-users] Insecure String Pickle when starting
        Recordserver
To: Freevo Users List <freevo-users@lists.sourceforge.net>
Message-ID: <631399.90821...@web38901.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Did some recent upgrades to Debian and I seem to have broken the recordserver. 
It throws an exception trying to load the previouslyRecorded.pickle:

2010-09-23 21:49:47,517 INFO     recordserver.py (275): Got ScheduledRecordings
(version 3).
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py",
line 1612, in <module>
    main()
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 1578, in main
    recordserver = RecordServer()
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 142, in __init__
    self.updateFavoritesSchedule()
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 1449, in updateFavoritesSchedule
    self.removeScheduledRecording(prog)
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 782, in removeScheduledRecording
    self.removeRecordingFromSchedule(prog)
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 474, in removeRecordingFromSchedule
    self.removeDuplicate(prog)
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 421, in removeDuplicate
    self.loadPreviouslyRecordedShows()
  File "/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
line 322, in loadPreviouslyRecordedShows
    self.previouslyRecordedShows = pickle.load(open(cacheFile, 'rb'))
ValueError: insecure string pickle
2010-09-23 21:49:47,563 WARNING  recordserver.py (1620): insecure string pickle

I'm researching the error as we speak, but I thought I'd throw it to the list 
and see if anyone had a quick fix. Obviously this isn't a killer error; I can 
dump the existing .pickle and Freevo will start a new one. But I've done this 
kind of lobotomy at least once before and it's always a hassle for it to start 
recording all the shows it recorded before and was skipping the re-runs.

Any help resurrecting the existing previouslyRecorded.pickle would be greatly 
appreciated. But if it can't be done, then it can't be done.

Thanks guys.

James
Springfield, OR  USA



      



------------------------------

Message: 3
Date: Fri, 24 Sep 2010 00:07:09 -0700 (PDT)
From: James Trietsch <kero...@yahoo.com>
Subject: Re: [Freevo-users] Insecure String Pickle when starting
        Recordserver
To: freevo-users@lists.sourceforge.net
Message-ID: <173321.66377...@web38908.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii

I think I solved it on my own, after a bit of hammering and research. The 
.pickle may have gotten truncated somehow, possibly when I did a hard-reset one 
time during some recent tinkering.

I trimmed up the end of the file (as best I could tell), then spent way too 
long 
battling an EOFerror. Turns out Pickle was looking for the 's.' at the end of 
the file. Once I added that, it re-loaded into the recordserver without 
throwing 
an exception.

Nothing has complained yet... so we'll see if it has its memory back.

James



----- Original Message ----
> From: James Trietsch <kero...@yahoo.com>
> To: Freevo Users List <freevo-users@lists.sourceforge.net>
> Sent: Thu, September 23, 2010 10:08:14 PM
> Subject: [Freevo-users] Insecure String Pickle when starting Recordserver
> 
> Did some recent upgrades to Debian and I seem to have broken the 
> recordserver. 

> It throws an exception trying to load the  previouslyRecorded.pickle:
> 
> 2010-09-23 21:49:47,517 INFO    recordserver.py (275): Got  
ScheduledRecordings
> (version 3).
> Traceback (most recent call  last):
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py",
> line  1612, in <module>
>     main()
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 1578, in main
>     recordserver = RecordServer()
>    File 
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 142, in __init__
>      self.updateFavoritesSchedule()
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 1449, in updateFavoritesSchedule
>      self.removeScheduledRecording(prog)
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 782, in removeScheduledRecording
>      self.removeRecordingFromSchedule(prog)
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 474, in removeRecordingFromSchedule
>      self.removeDuplicate(prog)
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 421, in removeDuplicate
>      self.loadPreviouslyRecordedShows()
>   File  
>"/usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py", 
>
> line 322, in loadPreviouslyRecordedShows
>      self.previouslyRecordedShows = pickle.load(open(cacheFile, 'rb'))
> ValueError:  insecure string pickle
> 2010-09-23 21:49:47,563 WARNING  recordserver.py  (1620): insecure string 
>pickle
> 
> I'm researching the error as we speak, but  I thought I'd throw it to the 
> list 

> and see if anyone had a quick fix.  Obviously this isn't a killer error; I 
> can 

> dump the existing .pickle and  Freevo will start a new one. But I've done 
> this 

> kind of lobotomy at least  once before and it's always a hassle for it to 
> start 
>
> recording all the shows  it recorded before and was skipping the re-runs.
> 
> Any help resurrecting  the existing previouslyRecorded.pickle would be 
> greatly 

> appreciated. But if  it can't be done, then it can't be done.
> 
> Thanks  guys.
> 
> James
> Springfield, OR  USA


      



------------------------------

Message: 4
Date: Fri, 24 Sep 2010 19:04:52 +1000
From: Elizabeth Dodd <ed...@billiau.net>
Subject: Re: [Freevo-users] Insecure String Pickle when starting
        Recordserver
To: freevo-users@lists.sourceforge.net
Message-ID: <20100924190452.49c49...@mum-quad>
Content-Type: text/plain; charset=US-ASCII

On Fri, 24 Sep 2010 00:07:09 -0700 (PDT)
James Trietsch <kero...@yahoo.com> wrote:

> I think I solved it on my own, after a bit of hammering and research.
> The .pickle may have gotten truncated somehow, possibly when I did a
> hard-reset one time during some recent tinkering.
> 
> I trimmed up the end of the file (as best I could tell), then spent
> way too long battling an EOFerror. Turns out Pickle was looking for
> the 's.' at the end of the file. Once I added that, it re-loaded into
> the recordserver without throwing an exception.
> 
> Nothing has complained yet... so we'll see if it has its memory back.
> 
> James
> 

could you summarise this gem for the wiki?



------------------------------

Message: 5
Date: Fri, 24 Sep 2010 14:50:55 -0700 (PDT)
From: James Trietsch <kero...@yahoo.com>
Subject: Re: [Freevo-users] Insecure String Pickle when starting
        Recordserver
To: freevo-users@lists.sourceforge.net
Message-ID: <305469.93212...@web38906.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii

----- Original Message ----

> From: Elizabeth Dodd <ed...@billiau.net>
> To: freevo-users@lists.sourceforge.net
> Sent: Fri, September 24, 2010 2:04:52 AM
> Subject: Re: [Freevo-users] Insecure String Pickle when starting Recordserver
> 
> could you summarise this gem for the  wiki?

Sure. I'm suspecting that when I did a hard reset not too long after starting 
the Freevo, it may have caused an incomplete write to the 
previouslyRecorded.pickle file. Either way, the recordserver would not start, 
throwing an exception: Insecure String Pickle.

(By the way, that's got to be the most awesome exception message I've run into. 
I've been amusing my friends with it all day long.)

It appears in an attempt to keep harmful tampering to a minimum, (c)Pickle does 
basic checks before loading a pickle file. Judging from the posts on the web, 
things like Windows-style EOL characters (\n\r) instead of Linux (\n) will 
cause 
problems. In this case, the last line of the file was truncated mid-line and I 
think that was setting off alarm bells. I neatened up the end of the 
previouslyRecorded.pickle file, trying to end it at a proper boundry, but I 
think I didn't hit it exactly. It doesn't seem to cause too much trouble, but 
that last object is probably missing bits. Hopefully nothing important.

Trying to start recordserver now yeilded an EOFerror exception when trying to 
load the pickle file. I did way too much searching and trying small Python 
scripts to read in the file and write it back out and properly close it and 
doing tests in the freevo prompt shell... all no good. My research turned up 
that pickle files end with a '.', and that gave me a clue. It wasn't until I 
started up recordserver and let it create a new pickle file I found that the 
file ends with 's.' on the final line. I added that (taking steps to eliminate 
the final EOL character that vim adds by default) and the 
previouslyRecorded.pickle would then load properly into the recordserver.

I haven't had a chance to see if it's really working, or if nothing that I've 
already recorded is in the schedule right now. But that's just laziness on my 
part. Suffice to say, recordserver is reading the file without throwing an 
exception, so I'm happy again.

If you let me know where you think this should be put in the Wiki, I can give 
it 
a go myself...

James



      



------------------------------

Message: 6
Date: Fri, 24 Sep 2010 17:23:52 -0600
From: Dan Schmidt <helpdesk...@gmail.com>
Subject: Re: [Freevo-users] freevo remote volume does not work
To: freevo-users@lists.sourceforge.net
Message-ID: <4c9d3308.1050...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Are you using mplayer in Freevo or xine?

On 09/23/2010 12:44 PM, Dana E Hoffman Jr wrote:
> Hello all,
> I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
> with mplayer.
> For some reason I can not get the remote volume up/down or mute when watching 
> a movie in freevo.
>
> When I play a movie with just mplayer my remote volume up/down mute works.
> for some reason I can not get it working in freevo.
>
> Any ideas or suggestions would be great
> thanks
>  
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   



------------------------------

Message: 7
Date: Sat, 25 Sep 2010 09:11:11 +0900
From: Alan <lameventa...@gmail.com>
Subject: Re: [Freevo-users] freevo remote volume does not work
To: freevo-users@lists.sourceforge.net
Message-ID:
        <aanlktinpmpxp05__11f-gtqopmr2scrb8lrwujrcm...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Fri, Sep 24, 2010 at 3:44 AM, Dana E Hoffman Jr <d...@fedoraunity.org> wrote:
> Hello all,
> I am using freevo-1.9.0 on fedora 13 x86_64 with a microsoft mceusb remote, 
> with mplayer.
> For some reason I can not get the remote volume up/down or mute when watching 
> a movie in freevo.
>
> When I play a movie with just mplayer my remote volume up/down mute works.
> for some reason I can not get it working in freevo.
>
> Any ideas or suggestions would be great
> thanks

I wrote a program that allows you to change the volume and mute your
soundcard with a nice OSD display.
The advantage is that it will work while watching moviesing, listening
to music, etc. and the volume setting / mute state is not forgotten
like when you use the standard installation.

http://www.mizrahi.com.ve/projects/airmix/

Project page: http://www.sourceforge.net/projects/airmix/

All you have to do is install it and run it in your freevo init
script, I run it like this:
airmix --daemon --color white

Unfortunately I don't have any 64-bit RPM built yet, but the source is
there and its really easy to build.  If you need any help with that
please let me know.

Alan







------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

------------------------------

_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


End of Freevo-users Digest, Vol 53, Issue 4
*******************************************








Dan Schmidt thanks for your reply, I am using mplayer.


Alan thanks for your reply, I would need some help with fedora 13 x86_64, if 
you could with AirMix, if this is the only way to use my remote volume in 
freevo?

thanks
Dana E Hoffman Jr

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to