On Sat, Feb 12, 2011 at 7:34 PM, Ronald Hatcher <ronaldhatc...@mac.com> wrote:
> I'm trying to use the library in a Google Appengine application by using a 
> symlink to the imdb directory in my application code and I'm getting a "local 
> variable 'logging' referenced before assignment" exception when I call ia = 
> IMDb()
>
> Do I need to add other dependent libraries or am I just doing this completely 
> wrong?

Can you provide the complete traceback?
Anyway, I've never tried to use IMDbPY in GAE, but from what I've heard
it should work.
It's possible that there's a bug in the use of the logging facility, but I need
to read the traceback to spot the problem.

By the way, you can try to import the logging module just before the above
line, and see what happens (I don't remember if the 'logging' module
provided in GAE is the system one, or a Google replacement).


HTH,
-- 
Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x465BFD47]
http://www.mimante.net/

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to