Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RuntimeError: (61, 'Connection refused')



Ari Suutari schrieb:
Hi.

Marcin Jessa wrote:

Using config file "/usr/local/etc/xen/mx2.yazzy.org".
/usr/local/lib/python2.3/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning)

As I dont code python, what may be solution to this?


    You should :-) It's great language !

To get rid of the warning, just edit /usr/local/lib/python2.3/xmllib.py,
    comment out the warning lines (well, this is not a real fix but shuts
    it up).

err. maybe it would be better to just replace the module?
The warnings are there for a reason - allowing software
developers to migrate ahead of time before a module
is removed in some later python version.

For end users, the warnings can be supressed, see

-W option for the python interpreter.

Regards
Tino



Home | Main Index | Thread Index | Old Index