[Tellico-users] spanish ministerio de cultura script

Robby Stephenson robby at periapsis.org
Tue May 18 13:53:51 UTC 2010


Unfortunately, I believe, the website for the Ministerio de Culture has
changed, so the script fails every time, even if the traceback problem you
hit were fixed.

We just haven't updated the script yet. Sorry...

Robby

On Tue, May 18, 2010 at 4:55 AM, Josep <josep2006 at ya.com> wrote:

> 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
> _______________________________________________
> tellico-users mailing list
> tellico-users at kde.org
> https://mail.kde.org/mailman/listinfo/tellico-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20100518/60f6e417/attachment.html>


More information about the tellico-users mailing list