View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 11, 2007 9:54 pm 
Offline
Joined: Fri Nov 04, 2005 7:11 am
Posts: 61
I am using R5F27 and get the following error when running sipie from the command line as user mythtv before the captcha is displayed. I give my sirius user name, sirius password, subscriber status and Canada=False before the error occurs.

Code:
Traceback (most recent call last):
  File "/usr/bin/sipie", line 5, in ?
    pkg_resources.run_script('Sipie==0.1181072404', 'sipie')
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
line 1091, in run_script
    exec script_code in namespace, namespace
  File "/usr/bin/sipie", line 22, in ?
   
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/cliPlayer.py",
line 71, in cliPlayer
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/Factory.py",
line 372, in getStreams
  File
"/usr/lib/python2.4/site-packages/Sipie-0.1181072404-py2.4.egg/Sipie/Factory.py",
line 303, in tryGetStreams
Sipie.Factory.AuthError


My config file looks like this when the error occurs:

Code:
[sipie]
username = ******
login_type = subscriber
canada = False
bitrate = low
cryptpass = *************


My cookies.txt looks like this when the error occurs:

Code:
   # Netscape HTTP Cookie File
    # http://www.netscape.com/newsref/std/cookie_spec.html
    # This is a generated file!  Do not edit.

www.sirius.com   FALSE   /   FALSE      captcha_timestamp   1189561893459
www.sirius.com   FALSE   /   FALSE      sirius_campain_code   null
www.sirius.com   FALSE   /   FALSE      sirius_promocode   null
www.sirius.com   FALSE   /sirius   FALSE      JSESSIONID   AocFcHc-0Zl5VA4uhjx7AgWqut7iQJ64x4CAmN_w


Has anybody else got this working?

_________________
BE: R8.4, HVR2250, MCE media center remote, GigaByte GA-EP43-UD3L, 2gb ram

FE: Linhes 8.4, Mythbuntu, Linux Mint DE


Last edited by rsay on Wed Sep 12, 2007 9:47 am, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 11:56 pm 
Offline
Joined: Fri Nov 04, 2005 7:11 am
Posts: 61
I have made some minor progress on this problem. I found a forum posting on the sipie sourceforge site that indicated that there has been a change in the way that captcha works requiring a sipie update:

Code:
mkdir /home/mythtv/sipie
cd /home/mythtv/sipie
svn co https://sipie.svn.sourceforge.net/svnroot/sipie sipie
python -m easy_install /home/mythtv/sipie/sipie/
cp /usr/bin/cliSipie /usr/bin/sipie


Last, I edited /usr/bin/sipie_kill changing the line that reads:

Code:
killall python


to

Code:
killall /usr/bin/python


After these changes, sipie begins to work with one caveat. I have to run sipie_kill from the command line because I don't know how to send the sipie_kill command from the remote. I have the streamzap remote so I would like to get /usr/bin/sipie_kill mapped to the exit button.

_________________
BE: R8.4, HVR2250, MCE media center remote, GigaByte GA-EP43-UD3L, 2gb ram

FE: Linhes 8.4, Mythbuntu, Linux Mint DE


Last edited by rsay on Wed Sep 12, 2007 1:41 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 9:46 am 
Offline
Joined: Fri Nov 04, 2005 7:11 am
Posts: 61
I solved this problem by adding the following lines to my /home/mythtv/.lircrc

Code:
### Mute button in sirius/sipie
begin
   prog = irexec
   button = MUTE
   config = amixer -c 0 -- sset Master playback toggle
end

### increase volume in sirius/sipie
begin
   prog = irexec
   button = VOL_UP
   config = amixer -c 0 -- sset Master playback 10%+
end

### decrease volume in sirius/sipie
begin
   prog = irexec
   button = VOL_DOWN
   config = amixer -c 0 -- sset Master playback 10%-
END

# Stop sirius/sipie
begin
   prog = irexec
   button = EXIT
   config = /usr/bin/sipie_kill
end


Now I have volume controls and mute for sirius :D

_________________
BE: R8.4, HVR2250, MCE media center remote, GigaByte GA-EP43-UD3L, 2gb ram

FE: Linhes 8.4, Mythbuntu, Linux Mint DE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 28, 2008 9:06 am 
Offline
Joined: Fri Nov 04, 2005 7:11 am
Posts: 61
With the latest updates I have had to change the way sipie_kill works but otherwise things are running again.

Here is my new /usr/bin/sipie_kill

Code:
#!/bin/bash
# Kill sipie from Myth

killall /usr/bin/python
killall /usr/bin/mplayer

_________________
BE: R8.4, HVR2250, MCE media center remote, GigaByte GA-EP43-UD3L, 2gb ram

FE: Linhes 8.4, Mythbuntu, Linux Mint DE


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 1:33 am 
Offline
Joined: Sat Sep 02, 2006 1:46 pm
Posts: 44
I have been using sipie and it has been working well, except that I was a little a bummed that the pop-up feature wasn't working for me. I had switched from using cliSipie to mythPlayer.py in the sipie_myth script, but still no luck. Well, after doing some research, I was able to get the pop-ups to work by installing the notification-daemon package with apt-get. Not sure if anyone else had the same problem. Maybe future releases will have the notification-daemon package?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu