Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok - here's a traceback that i get without setting debug=1 in the mlbviewer config file:
Code:
Traceback (most recent call last):
File "mlbviewer.py", line 1545, 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 405, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
and here's what I get when I do as you suggested (debug=1, line 207 edited as instructed):
Code:
Traceback (most recent call last):
File "mlbviewer.py", line 1545, 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 203, in mainloop
available = mysched.getListings(cfg['speed'],cfg['blackout'],cfg['audio_follow'])
File "/home/michael/Projects/mlbviewer-svn/MLBviewer/mlbtv.py", line 870, in getListings
return self.getXmlListings(myspeed, blackout, audiofollow)
File "/home/michael/Projects/mlbviewer-svn/MLBviewer/mlbtv.py", line 885, in getXmlListings
for elem in listings]
KeyError: '400'
thanks!
Ah, believe it or not, I think I understand that second error more than the first.
Edit your ~/.mlb/config file and change speed=400 to speed=500.
The valid speed setttings for 2010 are 128, 500, 800, 1200, 1800 (in non-nexdef mode.) You can change the speed within mlbviewer without having to edit the config file with the 'p' key. But unfortunately, my code craps out if it doesn't start with one of the valid speed settings from the config file. I can fix that in another revision.
Also note that the archives are generally only available up to 1200.
No, you are fine, I didn't mean to frighten you. It's just really best not to cross certain lines. While there are uses, such as the one you describe (viewing the content on your media center with large display) that I think can be defended as fair use, I don't know if "they" would see it this way.
The main problem with discussing it here is that if it were to engender the ire of MLBAM, it is mlbviewer that is seen as supporting it, which would not be good.
Btw, I know MLBAM has in the past read this forum so it's always wise to watch your words if you're asking for something that may be outside of the expected usage of MLB.TV service.
If anyone wants to watch games on their big screen tv, then just get a roku box or any of the other streaming boxes (boxee, ps3) now available with mlb.tv service. I have a roku and was pleasantly surprised with the video quality. This application (mlbviewer) works well on PC's that struggle with flash. If you want to watch games on a big screen, spend a 100 bucks on a roku.
I am so glad I discovered mlbviewer ... with the help of these forums, it's working great!
I just installed it on my CentOS box for kicks, and it's running very well.
I'm having some trouble with jump to innings in the nexdef during a live game, i.e. the game is already started, I start nexdef mlbviewer and autobahn.jar, select t1, and I get the current game feed. Is this just the state of things right now, or is this a bug?
I'm having some trouble with jump to innings in the nexdef during a live game, i.e. the game is already started, I start nexdef mlbviewer and autobahn.jar, select t1, and I get the current game feed. Is this just the state of things right now, or is this a bug?
State of things.
You can help though.
If you have the official flash player working with nexdef, run wireshark in non-promiscuous mode on the loopback interface and perform the jump to inning operation. Send the wireshark trace to my yahoo address (grep yahoo README.)
I haven't had much luck with the official player and nexdef. For that matter, I haven't had much luck with formulating proper nexdef requests which is why live games only are supported and archived game feeds start an hour earlier than game time.
hm, unfortunately, mlbviewer is not working for me tonight. anyone else having a similar problem? my debug shows me this...
Quote:
File "/home/mrks/mlbviewer-svn/MLBviewer/mlbtv.py", line 1340, in soapurl
reply = client.service.find(**soapd)
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 535, in __call__
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 595, in invoke
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 624, in send
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 656, in succeeded
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/bindings/binding.py", line 149, in get_reply
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/bindings/binding.py", line 206, in replycomposite
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/typed.py", line 57, in process
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 48, in process
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 62, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/typed.py", line 71, in start
suds.TypeNotFound: Type not found: 'cdn'
if anyone has any ideas on how to fix this, i would very much appreciate it!
thanks,
markus
i'm getting login unsuccessful, tried logging into to the website and i could access the games, thought my monthly subscription might have run out. but i can't get any game thru mlbviewer
"ooh nice rally in the 11th, callaspo miiiight just make my fantasy team, cause I need a 3B"
well, that very day callaspo (from Daftcat's own Royals squad) made my fantasy team, and he's batting .308 with 7 homers and 28 rbis this year. he's led the royals out of the cellar in the al central, and is arguably their best hitter this year, and a staple in my lineup (14 team league)...
o and for the last few posters, I don't know whats wrong cause mlbviewer is working fine for me.
hm, unfortunately, mlbviewer is not working for me tonight. anyone else having a similar problem? my debug shows me this...
if anyone has any ideas on how to fix this, i would very much appreciate it!
thanks,
markus
you just need to get the latest version, it's 253 for mlbviewer, or 252 for nexdef, from the repository.
although I've been having a different error with the regular mlbviewer myself...
Code:
Traceback (most recent call last):
File "/usr/bin/mlbviewer.py", line 1532, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/bin/mlbviewer.py", line 1224, in mainloop
u = g.soapurl()
File "/usr/lib/python2.5/site-packages/MLBviewer/mlbtv.py", line 1338, in soapurl
return self.flash_url(game_url)
File "/usr/lib/python2.5/site-packages/MLBviewer/mlbtv.py", line 1550, in flash_url
raise Exception,e
TypeError: expected string or buffer
edit: it turns out that I had an old version of mlbviewer.py installed so now everything is sweet.
Last edited by mchapter; 05-23-2010 at 08:06 PM.
Reason: fixed it
speaking of callaspo...i had no idea who he was, added him to my fantasy team and he's been kicking major ass. got guillen on my team too, watch em both if I'm on my computer, via Mlbviewer!!! *plug*.
hm. i am o nthe latest svn update for the regular branch (#253) and it still comes up with the same error when i try to play a game in mlbviewer. here is the debug output again. is it a problem with my suds?
Quote:
Traceback (most recent call last):
File "mlbviewer.py", line 1545, 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 1237, in mainloop
u = g.soapurl()
File "/home/mrks/mlbviewer-svn/MLBviewer/mlbtv.py", line 1340, in soapurl
reply = client.service.find(**soapd)
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 535, in __call__
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 595, in invoke
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 624, in send
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/client.py", line 656, in succeeded
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/bindings/binding.py", line 149, in get_reply
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/bindings/binding.py", line 206, in replycomposite
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/typed.py", line 57, in process
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 48, in process
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 64, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 141, in append_children
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/core.py", line 62, in append
File "/usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/umx/typed.py", line 71, in start
suds.TypeNotFound: Type not found: 'cdn'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.