LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-19-2010, 07:41 PM   #2941
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by reefis View Post
it's still not working for me, i have the regular non nextdef version. what do i have to do to get it working again?
Ah, thanks for reminding me. I checked in the patch into the trunk (mlbviewer) so you can run "svn up" to get it.

You'll have to do a couple of things:

Code:
$ cd mlbviewer
$ cp MediaService.xsd ~/.mlb
$ rm -r /tmp/suds/*
Now you should be back in business.
 
Old 05-19-2010, 07:46 PM   #2942
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by redseventyseven View Post
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.
 
Old 05-19-2010, 07:49 PM   #2943
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by poorboywilly View Post
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.
 
Old 05-19-2010, 09:58 PM   #2944
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
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.
 
Old 05-20-2010, 06:49 PM   #2945
redseventyseven
LQ Newbie
 
Registered: May 2008
Posts: 16

Rep: Reputation: 0
great - it's working again - thanks very much!
 
Old 05-20-2010, 08:09 PM   #2946
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.
 
Old 05-21-2010, 07:34 PM   #2947
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
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?
 
Old 05-22-2010, 03:42 AM   #2948
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mchapter View Post
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.
 
Old 05-23-2010, 02:12 PM   #2949
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
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
 
Old 05-23-2010, 02:16 PM   #2950
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
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
 
Old 05-23-2010, 02:37 PM   #2951
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
i get "an error occured in locating the game stream" when i try to play games from today (live) or the last couple of days.
 
Old 05-23-2010, 03:52 PM   #2952
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
I would like to take a moment to boast...

from a post I made on April 8th:

"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.
 
Old 05-23-2010, 07:49 PM   #2953
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Quote:
Originally Posted by itshardertotell View Post
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
 
Old 05-23-2010, 10:13 PM   #2954
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
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*.
 
Old 05-24-2010, 03:16 AM   #2955
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
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'
thanks for anyone who can help!
markus
 
  


Reply

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



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 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:17 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
Open Source Consulting | Domain Registration