LinuxQuestions.org
Register a domain and help support LQ
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 05-17-2010, 06:12 PM   #2911
kaput
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0

Same here on MIN @ TOR. Tried home/away feeds, various stream speeds, etc, as well as several other games. No love.
 
Old 05-17-2010, 08:36 PM   #2912
cktb
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by mchapter View Post
The short story is that unless you're on the nexdef branch, you're not getting nexdef. As for the state of the branch and whether or not you want to use it, that's up to you. I think the posts about the nexdef branch are back about 40 posts or so...
Thanks for the direction mchapter, got it worked out now.


Same problem as others "problems locating the stream"
in Nexdef and Standard rev250.
 
Old 05-17-2010, 08:52 PM   #2913
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
suds.TypeNotFound: Type not found: 'cdn'

Getting an error that I can't quite track down. To get the following dump, I push d for debug, then select a game.

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 1237, in mainloop
    u = g.soapurl()
  File "/home/keith/mlbviewer/trunk/MLBviewer/mlbtv.py", line 1340, in soapurl
    reply = client.service.find(**soapd)
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 539, in __call__
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 598, in invoke
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 627, in send
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 659, in succeeded
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/bindings/binding.py", line 151, in get_reply
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/bindings/binding.py", line 208, in replycomposite
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/typed.py", line 66, in process
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 48, in process
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 61, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/typed.py", line 80, in start
suds.TypeNotFound: Type not found: 'cdn'
 
Old 05-17-2010, 10:20 PM   #2914
cossentino
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Pretty much the same error here...

Code:
Traceback (most recent call last):
  File "/home/corey/mlbviewer/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 "/home/corey/mlbviewer/mlbviewer.py", line 1237, in mainloop
    u = g.soapurl()
  File "/home/corey/mlbviewer/MLBviewer/mlbtv.py", line 1340, in soapurl
    reply = client.service.find(**soapd)
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 539, in __call__
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 598, in invoke
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 627, in send
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/client.py", line 659, in succeeded
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/bindings/binding.py", line 151, in get_reply
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/bindings/binding.py", line 208, in replycomposite
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/typed.py", line 66, in process
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 48, in process
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 63, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 140, in append_children
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/core.py", line 61, in append
  File "/usr/local/lib/python2.6/dist-packages/suds-0.3.9-py2.6.egg/suds/umx/typed.py", line 80, in start
suds.TypeNotFound: Type not found: 'cdn'
I guess maybe I should try the nexdef branch? Maybe once I'm sober.
 
Old 05-18-2010, 04:15 AM   #2915
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
You are all experiencing the same error. In this case, it's the last line of the traceback:

Quote:
suds.TypeNotFound: Type not found: 'cdn'
Basically, their servers are sending back bad XML.

What is normally:

Code:
<cdn>AKAMAI_FLASH_WHATEVER</cdn>
is now being sent as:

Code:
<cdn><cdn>WHATEVER</cdn></cdn>
The xsd file ("decoder ring") says <cdn> is type string while in this case it is both a string (the inside <cdn>) and a complex type (the outside <cdn>.)

Why don't you all hang tight for a day or two while I look into a few options to fix this:

Quote:
1. Hopefully MLB.com will have fixed it themselves.
2. In the meantime, I'll contact the suds developer and see if there is a way to define cdn as both a string and a complex type.
3. While I'm waiting for his response (and he's usually prompt), I'll sniff the official player and see what they are doing differently, e.g. why they aren't affected.
I don't want to do anything tonight (except the second option) because I'm tired and I have work tomorrow. I can't look into option 3 until tomorrow night.

Just be patient. Thanks!
 
Old 05-18-2010, 06:56 AM   #2916
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
No! We demand you fix our free software immediately - no matter how much sleep it costs you!!



Take your time, no worries.
 
Old 05-18-2010, 03:10 PM   #2917
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,748

Rep: Reputation: 76
SVN revision 252: soap issue may be fixed on nexdef branch

Hi guys,

So I got a response back from the suds developer and a fix for the SOAP issue that was bugging everyone out yesterday.

In addition to the SOAP mess, it looks like they also made the <url> element a list. So I've changed the parser code for this. This means I'll need everyone to test all kinds of media (audio, video, condensed game, highlights, nexdef/non-nexdef, etc.)

I checked these fixes into the nexdef2010 branch. Once I'm satisfied that everything is working correctly, I'll update the main branch too.

You'll need to copy the updated MediaService.xsd file to ~/.mlb and clear the suds cache:

Code:
$ cp MediaService.xsd ~/.mlb
$ rm -r /tmp/suds/*
Give that a go and tell me if you're still having problems connecting to games.
 
1 members found this post helpful.
Old 05-18-2010, 03:30 PM   #2918
mkomko
Member
 
Registered: Mar 2010
Posts: 67

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Give that a go and tell me if you're still having problems connecting to games.
Hey daftcat,

so I checked out the nexdef2010 branch (for the first time, since I'm not using NexDef) and your fixes seem to work beautifully.

I tried the following:
  • Playing an archived game
  • Playing a condensed game
  • Playing top plays
They all worked great!

So thanks a lot for the quick fix. Let's hope that's it with MLB's changes...
 
Old 05-18-2010, 03:42 PM   #2919
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
3. While I'm waiting for his response (and he's usually prompt), I'll sniff the official player and see what they are doing differently, e.g. why they aren't affected.
My guess, since the official player is never affected when they change their XML, is that they don't validate the XML. If they did, then we wouldn't need to use a modified copy of the .xsd file.
 
Old 05-18-2010, 04:19 PM   #2920
kweisen
Member
 
Registered: May 2006
Location: Stewartsville, NJ
Distribution: fedora 14 & MInt 15
Posts: 50

Rep: Reputation: 0
Smile

Quote:
Originally Posted by daftcat View Post
Hi guys,

So I got a response back from the suds developer and a fix for the SOAP issue that was bugging everyone out yesterday.

In addition to the SOAP mess, it looks like they also made the <url> element a list. So I've changed the parser code for this. This means I'll need everyone to test all kinds of media (audio, video, condensed game, highlights, nexdef/non-nexdef, etc.)

I checked these fixes into the nexdef2010 branch. Once I'm satisfied that everything is working correctly, I'll update the main branch too.

You'll need to copy the updated MediaService.xsd file to ~/.mlb and clear the suds cache:

Code:
$ cp MediaService.xsd ~/.mlb
$ rm -r /tmp/suds/*
Give that a go and tell me if you're still having problems connecting to games.
daftcat:


The MediaService.xsd - how do I update this - do I need to reinstall mblviewer? Sorry for not being the brightest on this - still learning.

Thanks -
 
Old 05-18-2010, 04:38 PM   #2921
cktb
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by kweisen View Post
daftcat:


The MediaService.xsd - how do I update this - do I need to reinstall mblviewer? Sorry for not being the brightest on this - still learning.

Thanks -
Hi kweisen, I am also linux newbie.

You need to dl the latest nexdef rev252 from svn (that will contain the new "MediaService.xsd". Then enter nexdef2010 dir.

then: cp MediaService.xsd ~/.mlb

then: rm -r /tmp/suds/*

what daftcat said.....Thanks Daftcat.

Last edited by cktb; 05-18-2010 at 05:40 PM.
 
Old 05-18-2010, 06:33 PM   #2922
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
Give that a go and tell me if you're still having problems connecting to games.
Live games working fine for me now, but archived games are saying
Code:
Requested stream not available.
Requested coverage association: (number)
Available content list =
[]

Last edited by poorboywilly; 05-18-2010 at 06:34 PM.
 
Old 05-18-2010, 06:42 PM   #2923
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
Getting a different error here now:
Code:
keith@cob:~/mlbviewer$ svn up
U    branches/nexdef2010/test/nexdef.py
U    branches/nexdef2010/test/soapevent.py
U    branches/nexdef2010/MLBviewer/mlbtv.py
U    branches/nexdef2010/MediaService.xsd
U    branches/nexdef2010/mlblistings.py
Updated to revision 252.
keith@cob:~/mlbviewer$ cd branches/nexdef2010/
keith@cob:~/mlbviewer/branches/nexdef2010$ cp MediaService.* ~/.mlb/
keith@cob:~/mlbviewer/branches/nexdef2010$ rm -r /tmp/suds/*
keith@cob:~/mlbviewer/branches/nexdef2010$ python mlbviewer.py
Traceback (most recent call last):
  File "mlbviewer.py", line 1492, 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 1181, in mainloop
    u = g.url()
  File "/home/keith/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1281, in url
    return self.flash_url(game_url)
  File "/home/keith/mlbviewer/branches/nexdef2010/MLBviewer/mlbtv.py", line 1473, in flash_url
    raise Exception,e
TypeError: expected string or buffer
 
Old 05-18-2010, 06:48 PM   #2924
kdz13
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
ahh... I'm just stupid. Please disregard - it seems that I am closer to Baltimore than I'd thought!
 
Old 05-18-2010, 06:49 PM   #2925
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Everything seems to be A-okay again, guru. I haven't found anything that doesn't work so far and I've tried live games, archived, condensed games, etc. Audio works too. I don't mess with nexdef because of not enough bandwidth, so I don't know if that is relevant or not.
 
  


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 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


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

Main Menu
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