[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [H-client-devel] some errors when I try to launch the program
From: |
Michał Masłowski |
Subject: |
Re: [H-client-devel] some errors when I try to launch the program |
Date: |
Sun, 26 Feb 2012 21:06:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> ok, now it goes on but I have another error:
>
>
> Traceback (most recent call last):
> File "/home/tonicucoz/.local/bin/h-client", line 9, in <module>
> load_entry_point('hclient==0.0a0.dev-r86', 'console_scripts',
> 'h-client')()
> File "/home/tonicucoz/python/h-client/hclient/gtkclient.py", line
> 1341, in main
> Client = hclient()
> File "/home/tonicucoz/python/h-client/hclient/gtkclient.py", line
> 1332, in __init__
> self.synchronize(None)
> File "/home/tonicucoz/python/h-client/hclient/gtkclient.py", line 711,
> in synchronize
> result = self.client.sync()
> File "/home/tonicucoz/python/h-client/hclient/hlibrary.py", line 298,
> in sync
> xml_devices = get_devices_from_xml(content)
> File "/home/tonicucoz/python/h-client/hclient/hlibrary.py", line 105,
> in get_devices_from_xml
> xmldoc = minidom.parseString(content)
> File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in
> parseString
> return expatbuilder.parseString(string)
> File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in
> parseString
> return builder.parseString(string)
> File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in
> parseString
> parser.Parse(string, True)
> xml.parsers.expat.ExpatError: syntax error: line 1, column 0
The old XML download URL redirects to the main page of h-node.org.
Revision 87 fixes this by connecting to h-node.org by default, a proper
fix would be to show an error message if the server sends invalid data
(and work like without the sync).
pgpFeRVVvWsIe.pgp
Description: PGP signature