[Tellico-users] spanish ministerio de cultura script
Josep
josep2006 at ya.com
Tue May 18 11:55:48 UTC 2010
Hi:
When I try to find some books with this script, it does this:
========================
Ministerio de Cultura de España: /usr/share/kde4/apps/tellico/data-
sources/ministerio_de_cultura.py:98: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import sys, os, re, md5, random, string
Ministerio de Cultura de España: Traceback (most recent call last):
File "/usr/share/kde4/apps/tellico/data-sources/ministerio_de_cultura.py",
line 606, in <module>
main()
File "/usr/share/kde4/apps/tellico/data-sources/ministerio_de_cultura.py",
line 603, in main
Ministerio de Cultura de España: parser.run(sys.argv[2],
opts[sys.argv[1]])
File "/usr/share/kde4/apps/tellico/data-sources/ministerio_de_cultura.py",
line 301, in run
self.__getBook(criteria, kind)
File "/usr/share/kde4/apps/tellico/data-sources/ministerio_de_cultura.py",
line 507, in __getBook
self.__suffixURL)
File "/usr/share/kde4/apps/tellico/data-sources/ministerio_de_cultura.py",
line 314, in __getHTMLContent
u.close()
UnboundLocalError: local variable 'u' referenced before assignment
===========================
I'm using Kubuntu and Tellico 2.1.1.
¿Any idea?
Thanks in advance.
--
Salutacions,
Josep
http://elblocdejosep.blogspot.com/
http://elindexdelblocdejosep.blogspot.com/
Usuari de Linux nº 386779
More information about the tellico-users
mailing list