check_gid function doesn't work on ArchLinux

Bug #488130 reported by Carlo Mandelli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wiithon
Fix Released
Medium
Carlo Mandelli

Bug Description

Hi,

Archlinux. Wiithon compiled and installed (ok) from source.

When I try to run:

/usr/share/wiithon/wiithon.py

I get:

Entity: line 29: parser error : Opening and ending tag mismatch: module line 18 and pr
</pr></rojo><br />
     ^
Entity: line 29: parser error : Opening and ending tag mismatch: pr line 17 and rojo
</pr></rojo><br />
            ^
Entity: line 33: parser error : Opening and ending tag mismatch: rojo line 17 and margin12
            </margin12>
                       ^
Entity: line 34: parser error : Opening and ending tag mismatch: margin12 line 13 and xhtml
        </xhtml>
                ^
Entity: line 35: parser error : Premature end of data in tag xhtml line 2

        ^
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/share/wiithon/gui.py", line 397, in excepthook
    self.alert('error' , mensaje_xml, excvalue, xml=True)
  File "/usr/share/wiithon/gui.py", line 900, in alert
    view.render_xml(xml_plantilla)
  File "/usr/share/wiithon/textview_custom.py", line 95, in render_xml
    doc = libxml2.parseDoc(xml)
  File "/usr/lib/python2.6/site-packages/libxml2.py", line 1263, in parseDoc
    if ret is None:raise parserError('xmlParseDoc() failed')
libxml2.parserError: xmlParseDoc() failed

Original exception was:
Traceback (most recent call last):
  File "/usr/share/wiithon/wiithon.py", line 91, in <module>
    App()
  File "/usr/share/wiithon/wiithon.py", line 75, in App
    interfaz = WiithonGUI(core)
  File "/usr/share/wiithon/gui.py", line 275, in __init__
    self.refrescarParticionesWBFS()
  File "/usr/share/wiithon/gui.py", line 344, in refrescarParticionesWBFS
    if util.check_gids():
  File "/usr/share/wiithon/util.py", line 494, in check_gids
    return (int(group[2]) in os.getgroups())
UnboundLocalError: local variable 'group' referenced before assignment

Thank you in advance

Changed in wiithon:
assignee: nobody → Carlo Mandelli (camandel)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Ricardo Marmolejo García (makiolo) wrote :

Fix in 415 commit

Changed in wiithon:
status: In Progress → Fix Committed
Revision history for this message
Ricardo Marmolejo García (makiolo) wrote :

Fix in stable too (rev392)

Changed in wiithon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.