Personal tools
Document Actions

tuxgdg - URLError not defined

Up to General discussion

tuxgdg - URLError not defined

Posted by Larry Sybrandt at January 17. 2008

Anyone have any thoughts on this one?  I tried a reinstall, and same error if run as root. 


Had no problem previously, now wont start.


Thanks in advance.


Larry




$ tuxgdg
Traceback (most recent call last):
  File "/opt/tuxdroid/apps/tux_framework/TFW.py", line 18, in <module>
    framework.run()
  File "/opt/tuxdroid/apps/tux_framework/libs/FWObject.py", line 97, in run
    if not self.__load_gadgets():
  File "/opt/tuxdroid/apps/tux_framework/libs/FWObject.py", line 358, in __load_gadgets
    gadget_name = get_name_of_tgf_file(os.path.join(PATH_GADGETS, gadget_file))
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFormat.py", line 134, in get_name_of_tgf_file
    tgfile.open(path, 'r')
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFormat.py", line 98, in open
    self.parser.read()
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFParser.py", line 135, in read
    if not self.settings.read():
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFParser.py", line 537, in read
    val, self.struct = xml_to_struct(self.struct, settings_path)
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFXml.py", line 171, in xml_to_struct
    node_xml_to_struct(xml_obj, struct)
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFXml.py", line 162, in node_xml_to_struct
    node_xml_to_struct(it[0], node_struct[name])
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFXml.py", line 162, in node_xml_to_struct
    node_xml_to_struct(it[0], node_struct[name])
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFXml.py", line 162, in node_xml_to_struct
    node_xml_to_struct(it[0], node_struct[name])
  File "/opt/tuxdroid/apps/tux_framework/libs/TGFXml.py", line 156, in node_xml_to_struct
    exec str(r_type_str) in globals()
  File "<string>", line 2, in <module>
NameError: name 'URLError' is not defined




Re: tuxgdg - URLError not defined

Posted by Larry Sybrandt at January 17. 2008
Ok, i did apt-get remove python-xml
then apt-get autoremove
rm -rf /opt/tuxdroid
reinstall and it worked.








Powered by Ploneboard
You are here: Home Forum General discussion tuxgdg - URLError not defined

Powered by Plone CMS, the Open Source Content Management System