Re: [Imdbpy-devel] AttributeError: 'module' object has no attribute 'IMDb'

2011-05-09 Thread Davide Alberani
On Mon, May 9, 2011 at 12:00, LinuxUser illba...@gmail.com wrote:

    ia = imdb.IMDb()
 AttributeError: 'module' object has no attribute 'IMDb'

 

 I googled it and a bunch of people said to raname the py file but that
 obviously isn't the prob.

Well, at first sight it looks like there's another module in the system
called imdb. :-)

I'd check if there's a file named imdb.py somewhere in your supybot
directories (or a directory named imdb with a __init__.py file in it).
After that, try to run at the python prompt these commands:
  import imdb
  print imdb

The output should give you the path of the imported file.


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

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel


Re: [Imdbpy-devel] AttributeError: 'module' object has no attribute 'IMDb'

2011-05-09 Thread Davide Alberani
On Mon, May 9, 2011 at 21:48, Davide Alberani davide.alber...@gmail.com wrote:
 (or a directory named imdb with a __init__.py file in it)

Let me guess: your plugin is in an IMDB package directory and
you're using it on a case-insensitive file system (Windows or MacOS X).
Right? :-)

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

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel


Re: [Imdbpy-devel] AttributeError: 'module' object has no attribute 'IMDb'

2011-05-09 Thread LinuxUser
No, I'm on debian. Well I know the prob now, not sure how to fix it. I
originally named my plaugin imdb than changed it to supybot-imdb but
it's still seeing it as imdb :\

On May 9, 3:56 pm, Davide Alberani davide.alber...@gmail.com wrote:
 On Mon, May 9, 2011 at 21:48, Davide Alberani davide.alber...@gmail.com 
 wrote:
  (or a directory named imdb with a __init__.py file in it)

 Let me guess: your plugin is in an IMDB package directory and
 you're using it on a case-insensitive file system (Windows or MacOS X).
 Right? :-)

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

 --- 
 ---
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network
 management toolset available today.  Delivers lowest initial
 acquisition cost and overall TCO of any competing 
 solution.http://p.sf.net/sfu/whatsupgold-sd
 ___
 Imdbpy-devel mailing list
 Imdbpy-de...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/imdbpy-devel

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel