LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-30-2011, 11:53 PM   #3211
rmbellovin
LQ Newbie
 
Registered: Apr 2010
Posts: 21

Rep: Reputation: 0

Here's a problem that appeared today: I can play archived games, but if I try to play current games (either audio or video), it can't find the stream. The debug output is

Traceback (most recent call last):
File "mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/pkg/lib/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/home/rmb/src/nexdef2010/MLBviewer/mlbtv.py", line 1367, in url
game_url = reply.getElementsByTagName('url')[0].childNodes[0].data
IndexError: list index out of range


Also, before today, I could play streaming games at 128Kps, but anything higher and rtmpdump would segfault. Thanks!
 
Old 03-31-2011, 04:25 AM   #3212
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
When reporting errors, PLEASE provide the following information so I can try to reproduce the issue:

1. Date
2. Specific game
3. Live or archived?
4. Home or Away?
5. Speed
6. Nexdef?

I see that you reported an issue with live but not archived games. Can't reproduce that right now as there are no live games at this hour.

As for rtmpdump, try finding rtmpdump-2.2d (Google it) and update to that. If you are already updated to that version, try rebuilding it/reinstalling it. I had segfault problems with 2.2b but they went away with 2.2d.
 
Old 03-31-2011, 01:33 PM   #3213
rmbellovin
LQ Newbie
 
Registered: Apr 2010
Posts: 21

Rep: Reputation: 0
Ok, sorry. The problem is still showing up today (3/31) when I try to watch (or listen to) either the Braves-Nationals or Tigers-Yankees game, either the home or away stream. I asked for the 800K streams, but I got the same problem when I asked for the audio streams. I'm using the nexdef branch of mlbviewer. The debug output is generally

Traceback (most recent call last):
File "mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/pkg/lib/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/home/rmb/src/nexdef2010/MLBviewer/mlbtv.py", line 1367, in url
game_url = reply.getElementsByTagName('url')[0].childNodes[0].data
IndexError: list index out of range

but I've also gotten

Traceback (most recent call last):
File "mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/pkg/lib/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/home/rmb/src/nexdef2010/MLBviewer/mlbtv.py", line 1294, in url
'sessionKey': urllib.unquote(self.cookies['ftmu']),
KeyError: 'ftmu'

a few times.

I'm running rtmpdump-2.3, but I can try going back to 2.2d.
 
Old 03-31-2011, 01:55 PM   #3214
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by rmbellovin View Post
Ok, sorry. The problem is still showing up today (3/31) when I try to watch (or listen to) either the Braves-Nationals or Tigers-Yankees game, either the home or away stream. I asked for the 800K streams, but I got the same problem when I asked for the audio streams. I'm using the nexdef branch of mlbviewer. The debug output is generally

Traceback (most recent call last):
File "mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/pkg/lib/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/home/rmb/src/nexdef2010/MLBviewer/mlbtv.py", line 1367, in url
game_url = reply.getElementsByTagName('url')[0].childNodes[0].data
IndexError: list index out of range

but I've also gotten

Traceback (most recent call last):
File "mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/pkg/lib/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/home/rmb/src/nexdef2010/MLBviewer/mlbtv.py", line 1294, in url
'sessionKey': urllib.unquote(self.cookies['ftmu']),
KeyError: 'ftmu'

a few times.

I'm running rtmpdump-2.3, but I can try going back to 2.2d.
ftmu looks to me like a cookie problem. I have nothing definitive for that except to suggest to remove the cookie file and login/logout on the website.

The other one, I'm still not able to reproduce it. I have tried home and away, audio and video, 800K for the first two live games today. Everything worked. I have seen transient errors this spring where I would get a "what happened here? enable debug" error. I would try again and it would work.

Your line numbers in the errors match up in the code so I can't even suggest that you have an old install getting in the way.

Do these errors occur all the time or are you able to get the game if you retry a few times?
 
Old 03-31-2011, 02:05 PM   #3215
rmbellovin
LQ Newbie
 
Registered: Apr 2010
Posts: 21

Rep: Reputation: 0
Every time I've tried today or yesterday. In the past, I've been able to retry a few times and watch the game, but that doesn't seem to be working. I wonder if it's some sort of local network problem.
 
Old 03-31-2011, 02:11 PM   #3216
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by rmbellovin View Post
Every time I've tried today or yesterday. In the past, I've been able to retry a few times and watch the game, but that doesn't seem to be working. I wonder if it's some sort of local network problem.
Are you able to watch/listen to the games via the website?

Also, try the the test/stdnosoap.py script. Get the event-id from mlblistings.py and then execute:

Quote:
$ test/stdnosoap.py 14-286876-2011-03-31 | tee /tmp/mlb.log
If you still get an error, paste the contents of /tmp/mlb.log to paste.bin and send me the paste.bin url.
 
Old 03-31-2011, 02:14 PM   #3217
akhill44
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
there was a parser problem with the listings page

I'm brand new to mlbviewer, so here's everything I know to tell you about my error.

I'm running a fresh install of Ubuntu 10.10
I downloaded mlbviewer from sourceforge
I ran through the requirements page and installed the following:
setuptools
python-dev
pyxml
java

I then ran the commands
java -jar autobahn.jar
python mlbviewer.py

After setting debug=True, I get the following stack trace

Traceback (most recent call last):
File "mlbviewer.py", line 1499, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 53, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 207, in mainloop
raise Exception, detail
KeyError: '2011'
 
Old 03-31-2011, 02:34 PM   #3218
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by akhill44 View Post
I'm brand new to mlbviewer, so here's everything I know to tell you about my error.

I'm running a fresh install of Ubuntu 10.10
I downloaded mlbviewer from sourceforge
I ran through the requirements page and installed the following:
setuptools
python-dev
pyxml
java

I then ran the commands
java -jar autobahn.jar
python mlbviewer.py

After setting debug=True, I get the following stack trace

Traceback (most recent call last):
File "mlbviewer.py", line 1499, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 53, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 207, in mainloop
raise Exception, detail
KeyError: '2011'
Sorry about that. The version on sourceforge is very old. I'll update that soon. In the meantime, go ahead and trash that mlbviewer you just downloaded and use svn to grab the latest development release off the nexdef2010 branch:

Code:
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 nexdef2010
You'll also need rtmpdump, probably 2.2d but maybe 2.3 works as well. Google it to find it.

Setuptools, pyxml, python-dev, java, that's all good.

Not sure if NEXDEF will work just yet. It's only Opening Day and they haven't been streaming in HD during Spring Training. Set use_nexdef=False in the config file. All the speeds selected with the 'p' key should be supported (but no guarantees this early in the season.)
 
1 members found this post helpful.
Old 03-31-2011, 02:47 PM   #3219
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
I am a basic (not premium) subscriber and I am getting mixed results. Detroit v NY plays OK, so we are very nearly there.

However, Atlanta v Washington and Milwaukee v Cincinatti fail with either:

Traceback (most recent call last):
File "./mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "./mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/usr/local/src/mlbviewer/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1367, in url
game_url = reply.getElementsByTagName('url')[0].childNodes[0].data
IndexError: list index out of range

one I got:
File "./mlbviewer.py", line 1548, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "./mlbviewer.py", line 1239, in mainloop
u = g.url()
File "/usr/local/src/mlbviewer/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1286, in url
self.workflow()
File "/usr/local/src/mlbviewer/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1062, in workflow
self.login()
File "/usr/local/src/mlbviewer/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1042, in login
raise MLBAuthError, self.error_str
MLBviewer.mlbtv.MLBAuthError: Login was unsuccessful.
 
Old 03-31-2011, 03:09 PM   #3220
rmbellovin
LQ Newbie
 
Registered: Apr 2010
Posts: 21

Rep: Reputation: 0
I've unfortunately never been able to use the website - I can login, but flash doesn't really work. Here's the test/stdnosoap.py output: http://pastebin.com/EiKhaxZc
 
Old 03-31-2011, 03:11 PM   #3221
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
Originally Posted by chrisVV View Post
I am a basic (not premium) subscriber and I am getting mixed results. Detroit v NY plays OK, so we are very nearly there.

However, Atlanta v Washington and Milwaukee v Cincinatti fail with either:
Perhaps I should say that as a MLBTV Basic subscriber I am not using the nexdef plugin. (I still have last year's nextdef java plugin so once the NYY game is over I will try and see if that works with the games which fault.)

The weather in NY looks terrible.
 
Old 03-31-2011, 03:12 PM   #3222
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
You can pretty much expect things to be a little bumpy for the first month. It's actually very surprising that they haven't made any major (or even minor) changes in the network. If there are any changes, they will probably show up in the Flash applet. It's also possible that they listened to frustration of years past and decided to roll out the unchanged product from last year while they develop and test the new product. If this is the case, the changes may be rolled out later in the month. This is all just speculation.

For those experiencing problems, please see post 3216 for how to get a more detailed debug log that I can review. Unfortunately, on my end, if I run into a problem, it usually clears with the next request. I haven't been able to get my own detailed debug logs.
 
Old 03-31-2011, 04:20 PM   #3223
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
Originally Posted by chrisVV View Post
I am a basic (not premium) subscriber and I am getting mixed results. Detroit v NY plays OK, so we are very nearly there.

However, Atlanta v Washington and Milwaukee v Cincinatti fail with either:
Both LA v KC and San Diego v St Louis play fine.
 
Old 03-31-2011, 04:44 PM   #3224
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by rmbellovin View Post
I've unfortunately never been able to use the website - I can login, but flash doesn't really work. Here's the test/stdnosoap.py output: http://pastebin.com/EiKhaxZc
Where are you located and which teams are in your local blackout region?

Ah, I see it. This error again. I see the following in the paste output:

Code:
<blackout-status><locationCannotBeDeterminedStatus/></blackout-status>
I can improve the error reporting (probably not until the weekend) to report this status instead of a "what happened here?" error. But that doesn't really help you. It is strange that games are working for you now but weren't before. Can you retry to other games if they are still in progress? I'm not sure what the fix is. My guess is that MLB.TV support won't help you if you are not using their Flash application.

For others seeing the "no url found" error, please use the test tool to produce a log using the method detailed above. Then grep that log for the locationCannotBeDeterminedStatus error.

It would be helpful if I could also get test tool logs for ftmu errors to see if there's something in that reply I'm missing.
 
Old 03-31-2011, 07:46 PM   #3225
chrisVV
Member
 
Registered: Aug 2010
Posts: 110

Rep: Reputation: 1
Quote:
Originally Posted by chrisVV View Post
Both LA v KC and San Diego v St Louis play fine.
Two last things to report. First, although Atlanta v Washington and Milwaukee v Cincinatti didn't play live, their archives play without problems.

Secondly, and this is probably something entirely different and not something I care about particularly, all the game timings were one hour off. mlbviewer shows them as beginning an hour after they really begin.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 11:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration