Re: [Imdbpy-devel] only get certain data with update?

2011-06-05 Thread LinuxUser
Hm.. I tried that but it still takes like 5-6 sec to get output :/.
Any suggestions as to how I can speed up my code? Thanks in advance.

Note: This doesn't show changes made because it didn't help. I took
out the top ia update and moved it after except and added the lighter
ia.update to the top.

http://pastebin.com/EV4NZyux

On May 27, 2:04 pm, Davide Alberani davide.alber...@gmail.com wrote:
 On Fri, May 27, 2011 at 14:57, Davide Alberani

 davide.alber...@gmail.com wrote:

  In theory you could also replace 'http' with 'mobile', and a lighter page 
  will
  be fetched, but 'rating' and 'votes' are currently broken (I hope to fix it 
  in
  the weekend).

 Fixed in the mercurial repository:
  http://bitbucket.org/alberanid/imdbpy/

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

 --- 
 ---
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.http://p.sf.net/sfu/quest-d2dcopy1
 ___
 Imdbpy-devel mailing list
 Imdbpy-de...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/imdbpy-devel

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel


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

2011-05-09 Thread LinuxUser
http://pastebin.com/XLmiYbFW
---
Traceback (most recent call last):
  File /usr/lib/pymodules/python2.6/supybot/callbacks.py, line 1180,
in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
  File /usr/lib/pymodules/python2.6/supybot/utils/python.py, line
86, in g
f(self, *args, **kwargs)
  File /usr/lib/pymodules/python2.6/supybot/callbacks.py, line 1166,
in callCommand
method(irc, msg, *args, **kwargs)
  File /usr/lib/pymodules/python2.6/supybot/commands.py, line 913,
in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
  File /home/bash/Download/Supybot-0.83.4.1/plugins/Supybot-imdb/
plugin.py, line 81, in imdb
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. IDK where else to turn so I'm posting it
here.

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