Public bug reported:

C++ generated fine first, then I tried Lisp and got this error:
"An exception occurred while generating the code for the application.
This is the error message associated with it:
        'NoneType' object has no attribute 'strip'
For more details, look at the full traceback on the console.
If you think this is a wxGlade bug, please report it."


Traceback (most recent call last):
  File "/usr/share/pyshared/wxglade/application.py", line 394, in generate_code
    class_names=class_names)
  File "/usr/share/pyshared/wxglade/xml_parse.py", line 503, in __init__
    if from_string: self.parse_string(input)
  File "/usr/share/pyshared/wxglade/xml_parse.py", line 75, in parse_string
    self.parser.parse(source)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.5/xml/sax/expatreader.py", line 304, in end_element
    self._cont_handler.endElement(name)
  File "/usr/share/pyshared/wxglade/xml_parse.py", line 593, in endElement
    self.code_writer.add_class(obj)
  File "/usr/share/pyshared/wxglade/codegen/lisp_codegen.py", line 666, in 
add_class
    style = style.strip().replace('.','')
AttributeError: 'NoneType' object has no attribute 'strip'


python-wxglade:
  Installed: 0.6.3-0.1ubuntu1

** Affects: wxglade (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wxGlade fails to generate lisp source.
https://bugs.launchpad.net/bugs/235388
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to