Quote:
WARNING:root:Could not connect to LIRC, retrying: [Errno 2] No such file or directory LIRC not initialized Any clues? I am using Debian Squeeze. |
Don't worry about the LIRC error. I think the parser errorm especially in Spring Training, is caused by MLB using new team codes for split-squad teams that mlbviewer doesn't have in its database. I can't remember the location of the xml that is being parsed, but I'll dig around and see what I can find.
|
I poked around in the code for a while, long enough to confirm that I really don't know what I'm doing. But I did turn on debugging in order to get this error:
Code:
Traceback (most recent call last): |
Quote:
|
Quote:
|
Quote:
Code:
$ cd nexdef2010 Code:
$ mlbviewer.py setup.py was a good idea at the time, but now that I'm planning on maintaining branches for each season, globally installed mlbviewer is going to be a nuisance. That's why setup.py was removed from the nexdef2010 branch. If it's not that, I'm not sure what to do except remove all mlbviewer / nexdef2010 directories, repeat the checkout, and try again. |
Now working here - yippee !
Quote:
svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 Note: the mlbviewer.py file needs execute permission. |
daftcat,
Do you have any strong interest in eliminating rtmpdump/flvstreamer? Both ffmpeg and mplayer support librtmp, though not be default. I've been thinking about compiling a version of mplayer with librtmp support to try to get it to work directly with mlbviewer. But if that's not of much interest to you, I probably won't bother. The nice thing about the current setup is that mlbviewer will work with most distros without the need to compile anything extra, like we used to have to do. Thoughts? |
Quote:
In any case, I certainly don't want to put forth much effort until the new service goes live. It would be a shame to figure it out just to have it not work because they changed something. But yeah, most people are already used to the way it is now and it's already documented. If I had to change it, I'd either have to support both methods (code yuck!) or change the code, the documentation, and answer the questions about it for months in here. As long as it works, I don't want to touch it. |
can't log in?
That's weird. Monday Nexdef branch worked for me. Today, I get an error logging in. I double checked and even changed my password on the mlb site and in my .mlb/config file. They're definitely the same but I can't access live streams. Is anyone else having trouble? The debug error I get is;
Traceback (most recent call last): File "nexdef2010/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 "nexdef2010/mlbviewer.py", line 1239, in mainloop u = g.url() File "/home/rashley/nexdef2010/MLBviewer/mlbtv.py", line 1281, in url self.workflow() File "/home/rashley/nexdef2010/MLBviewer/mlbtv.py", line 1057, in workflow self.login() File "/home/rashley/nexdef2010/MLBviewer/mlbtv.py", line 1037, in login raise MLBAuthError, self.error_str MLBviewer.mlbtv.MLBAuthError: Login was unsuccessful. |
Yes, getting that too.
|
My first try this spring, got the parser error, upgraded svn, now seeing this: (on nexdef branch)
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 1239, in mainloop u = g.url() File "/home/kim/nexdef2010/MLBviewer/mlbtv.py", line 1289, in url 'sessionKey': urllib.unquote(self.cookies['ftmu']), KeyError: 'ftmu' kim@kim-desktop:~/nexdef2010$ |
Our authentication method that we have been using for years might have finally gone away. I need to spend some time with the debuggers like HttpAnalyzer and Firebug to discover how the official player does it. I hope I have time to do that tonight because it was awful nice to watch some baseball the other night.
|
Looks like it was just an outage as I'm watching the Royals vs Angels game now. Good because I wasn't looking forward to writing any code tonight. :) I don't want to redesign anything until the new service is rolled out.
|
Quote:
|
All times are GMT -5. The time now is 12:15 AM. |