[Imdbpy-help] Proxy issue
Hi imbdpy Community, I'm struggling with an error message: File G:\My Dropbox\Entwicklung\diribeo\imdb\parser\http\__init__.py, line 237, in http_error_default 'proxy': self.get_proxy()} IMDbDataAccessError: {'url': 'http://akas.imdb.com/title/tt0898266/epdate', 'error type': 'http_error_default', 'errcode': 500, 'headers': httplib.HTTPMessage instance at 0x03838FD0, 'proxy': '', 'errmsg': 'Internal Server Error'} This actually already should have been fixed: http://www.mail-archive.com/imdbpy-help@lists.sourceforge.net/msg00204.html But int the current version (4.7) the problem still exists (see the above error message). print imdb.__version__ gives me 4.7 Do you guys have any idea why this is the case? If you need some more info please drop a line. Greetings, David -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] Proxy issue
On Mon, Jan 24, 2011 at 7:15 PM, David Kaufman david.kauf...@gmx.de wrote: File G:\My Dropbox\Entwicklung\diribeo\imdb\parser\http\__init__.py, line 237, in http_error_default 'proxy': self.get_proxy()} IMDbDataAccessError: {'url': 'http://akas.imdb.com/title/tt0898266/epdate', 'error type': 'http_error_default', 'errcode': 500, 'headers': httplib.HTTPMessage instance at 0x03838FD0, 'proxy': '', 'errmsg': 'Internal Server Error'} This actually already should have been fixed: http://www.mail-archive.com/imdbpy-help@lists.sourceforge.net/msg00204.html Hi! From a fast check (I'm looking at a tcpdump), my headers seems to be correct. Are you using it in a strange environment of some kind, which could rewrite the headers adding its own User-agent? Which version of Python are you using, and what's the operating system? If you can, you can try to look at what passes on the network, with wireshark or something. Bye, -- Davide Alberani davide.alber...@gmail.com [PGP KeyID: 0x465BFD47] http://www.mimante.net/ -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help
Re: [Imdbpy-help] AGAIN: sqlite3.ProgrammingError: You must not use 8-bit bytestrings
On Jan 24, 2011, at 12:28 AM, Luis wrote: Maybe there is some other connection for sqlobject that needs the text_factory=str fix. Not sure if it's the right way, but I added the following: connectObject.text_factory = str at line 518 of bin/imdbpy2sql.py So now it looks like this (line 517-520): connectObject = conn.getConnection() connectObject.text_factory = str # Cursor object. CURS = connectObject.cursor() While on the subject, here is a port of sort of imdbpy2sql to Lua [1]: http://dev.alt.textdrive.com/browser/IMDB/ Here is the main module: http://dev.alt.textdrive.com/browser/IMDB/IMDB.lua#L102 And the resulting sqlite schema: http://dev.alt.textdrive.com/browser/IMDB/IMDB.ddl Thanks to imdbpy2sql for the inspiration :) [1] http://www.lua.org/about.html -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help