Error
Sebastian Reinheimer <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <CAL=n3wGu7L0iTPDpdUqQ=eezeg_QuGvquNiU8vYcidDOSnuQxw@mail.gmail.com> |
ERROR : An internal error occurred while Generate Code An unexpected error occurred! Date and time: 2016-10-25T16:10:21.213000 Python version: 2.7.9 wxPython version: 2.8.11.0 wxWidgets platform: __WXMSW__ wxGlade version: 0.7.2 Language code: de_DE Encoding: cp1252 Filesystem encoding: mbcs Exception type: <class 'xml_parse.XmlParsingError'> Exception details: [Errno 13] Permission denied: u'wxglade_out.py' (line: 19, column: 0) Application stack trace: Stack frame at level 0 ====================== ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general
wxglade.log
(application/octet-stream, 22.6 KB)
2016-10-25 16:08:46,299 root INFO: Starting wxGlade version "0.7.2" on Python 2.7.9
2016-10-25 16:08:46,305 root INFO: Base directory: C:\Program Files (x86)\wxGlade
2016-10-25 16:08:46,306 root INFO: Documentation directory: C:\Program Files (x86)\wxGlade\docs
2016-10-25 16:08:46,309 root INFO: Icons directory: C:\Program Files (x86)\wxGlade\icons
2016-10-25 16:08:46,311 root INFO: Build-in widgets directory: C:\Program Files (x86)\wxGlade\widgets
2016-10-25 16:08:46,312 root INFO: Template directory: C:\Program Files (x86)\wxGlade\templates
2016-10-25 16:08:46,315 root INFO: Credits file: C:\Program Files (x86)\wxGlade\CREDITS.txt
2016-10-25 16:08:46,315 root INFO: License file: C:\Program Files (x86)\wxGlade\LICENSE.txt
2016-10-25 16:08:46,318 root INFO: Manual file: C:\Program Files (x86)\wxGlade\docs\html\index.html
2016-10-25 16:08:46,319 root INFO: Tutorial file: C:\Program Files (x86)\wxGlade\docs\tutorial.html
2016-10-25 16:08:46,321 root INFO: Home directory: C:\Users\sebastian.reinheimer
2016-10-25 16:08:46,322 root INFO: Application data directory: C:\Users\sebastian.reinheimer\AppData\Roaming\wxglade
2016-10-25 16:08:46,323 root INFO: Configuration file: C:\Users\sebastian.reinheimer\AppData\Roaming\wxglade\wxglade.ini
2016-10-25 16:08:46,325 root INFO: History file: C:\Users\sebastian.reinheimer\AppData\Roaming\wxglade\file_history.txt
2016-10-25 16:08:46,328 root INFO: Log file: C:\Users\sebastian.reinheimer\AppData\Roaming/wxglade\wxglade.log
2016-10-25 16:08:46,329 root INFO: Current locale settings are:
2016-10-25 16:08:46,332 root INFO: Language code: de_DE
2016-10-25 16:08:46,332 root INFO: Encoding: cp1252
2016-10-25 16:08:46,335 root INFO: Filesystem encoding: mbcs
2016-10-25 16:08:50,553 root INFO: Using wxPython 2.8.11.0
2016-10-25 16:08:50,638 root INFO: Loading "wconfig" modules from C:\Program Files (x86)\wxGlade\widgets\widgets.txt:
2016-10-25 16:08:51,019 root INFO: Module custom_widget.wconfig not found.
2016-10-25 16:08:51,029 root INFO: Module menubar.wconfig not found.
2016-10-25 16:08:51,066 root INFO: Module spacer.wconfig not found.
2016-10-25 16:08:51,082 root INFO: Load code generators:
2016-10-25 16:08:51,411 root INFO: C++ generator loaded
2016-10-25 16:08:51,483 root INFO: lisp generator loaded
2016-10-25 16:08:51,535 root INFO: perl generator loaded
2016-10-25 16:08:51,586 root INFO: python generator loaded
2016-10-25 16:08:51,618 root INFO: XRC generator loaded
2016-10-25 16:08:51,622 root INFO: Loading widgets from C:\Program Files (x86)\wxGlade\widgets\widgets.txt:
2016-10-25 16:08:51,831 root INFO: frame
2016-10-25 16:08:51,888 root INFO: dialog
2016-10-25 16:08:51,964 root INFO: panel
2016-10-25 16:08:52,311 root INFO: splitter_window
2016-10-25 16:08:52,385 root INFO: notebook
2016-10-25 16:08:52,453 root INFO: button
2016-10-25 16:08:52,492 root INFO: toggle_button
2016-10-25 16:08:52,542 root INFO: bitmap_button
2016-10-25 16:08:52,611 root INFO: spin_button
2016-10-25 16:08:52,651 root INFO: text_ctrl
2016-10-25 16:08:52,690 root INFO: spin_ctrl
2016-10-25 16:08:52,727 root INFO: slider
2016-10-25 16:08:52,763 root INFO: gauge
2016-10-25 16:08:52,796 root INFO: static_text
2016-10-25 16:08:52,848 root INFO: checkbox
2016-10-25 16:08:52,887 root INFO: radio_button
2016-10-25 16:08:52,948 root INFO: radio_box
2016-10-25 16:08:52,982 root INFO: choice
2016-10-25 16:08:53,019 root INFO: combo_box
2016-10-25 16:08:53,052 root INFO: list_box
2016-10-25 16:08:53,085 root INFO: check_list_box
2016-10-25 16:08:53,214 root INFO: calendar_ctrl
2016-10-25 16:08:53,265 root INFO: generic_calendar_ctrl
2016-10-25 16:08:53,299 root INFO: datepicker_ctrl
2016-10-25 16:08:53,332 root INFO: static_line
2016-10-25 16:08:53,368 root INFO: static_bitmap
2016-10-25 16:08:53,404 root INFO: list_ctrl
2016-10-25 16:08:53,476 root INFO: tree_ctrl
2016-10-25 16:08:53,565 root INFO: grid
2016-10-25 16:08:53,596 root INFO: Module property_grid_manager.property_grid_manager not found.
2016-10-25 16:08:53,647 root INFO: custom_widget
2016-10-25 16:08:53,770 root INFO: menubar
2016-10-25 16:08:53,829 root INFO: statusbar
2016-10-25 16:08:53,940 root INFO: toolbar
2016-10-25 16:08:53,971 root INFO: spacer
2016-10-25 16:08:54,003 root INFO: hyperlink_ctrl
2016-10-25 16:08:54,398 root INFO: Module calendar_ctrl.lisp_codegen not found.
2016-10-25 16:08:54,401 root INFO: Module generic_calendar_ctrl.lisp_codegen not found.
2016-10-25 16:08:54,500 root INFO: Load sizer generators:
2016-10-25 16:08:54,509 root INFO: for lisp
2016-10-25 16:08:54,519 root INFO: for python
2016-10-25 16:08:54,528 root INFO: for XRC
2016-10-25 16:08:54,539 root INFO: for C++
2016-10-25 16:08:54,549 root INFO: for perl
2016-10-25 16:10:21,213 root ERROR: An internal error occurred while Generate Code
An unexpected error occurred!
Date and time: 2016-10-25T16:10:21.213000
Python version: 2.7.9
wxPython version: 2.8.11.0
wxWidgets platform: __WXMSW__
wxGlade version: 0.7.2
Language code: de_DE
Encoding: cp1252
Filesystem encoding: mbcs
Exception type: <class 'xml_parse.XmlParsingError'>
Exception details: [Errno 13] Permission denied: u'wxglade_out.py' (line: 19, column: 0)
Application stack trace:
Stack frame at level 0
======================
File "C:\Program Files (x86)\wxGlade\codegen\__init__.py", line 2300
Function "save_file(self=<py_codegen.PythonCodeWriter object at 0x03C40030>, filename=u'wxglade_out.py', content=u'import wx\n\n# begin wxGlade: dependencies\nimport gettext\n# end wxGlade\n\n# begin wxGlade: extracode\n# end wxGlade\n\n\nclass KaiDiplomarbeit(wx.Frame):\n def __init__(self, *args, **kwds):\n # begin wxGlade: KaiDiplomarbeit.__init__\n wx.Frame.__init__(self, *args, **kwds)\n self.radio_btn_1 = wx.RadioButton(self, wx.ID_ANY, _("radio_btn_1"))\n\n self.__set_properties()\n self.__do_layout()\n # end wxGlade\n\n def __set_properties(self):\n # begin wxGlade: KaiDiplomarbeit.__set_properties\n self.SetTitle(_("frame_1"))\n self.radio_btn_1.SetMinSize((200, 19))\n # end wxGlade\n\n def __do_layout(self):\n # begin wxGlade: KaiDiplomarbeit.__do_layout\n sizer_1 = wx.BoxSizer(wx.VERTICAL)\n sizer_1.Add(self.radio_btn_1, 0, 0, 0)\n self.SetSizer(sizer_1)\n sizer_1.Fit(self)\n self.Layout()\n # end wxGlade\n\n# end of class KaiDiplomarbeit\n', mainfile=True, content_only=False)"
Source code context:
try:
common.save_file(filename, tmp, 'codegen')
except IOError, e:
-> raise XmlParsingError(str(e))
except:
self._logger.exception(_('Internal Error'))
if mainfile and sys.platform in ['linux2', 'darwin']:
Local variables:
-> tmp (<type 'str'>): '#!/usr/bin/env python\n# -*- coding: CP1252 -*-\n#\n# generated by wxGlade 0.7.2 on Tue Oct 25 16:10:21 2016\n#\n\nimport wx\n\n# begin wxGlade: dependencies\nimport gettext\n# end wxGlade\n\n# begin wxGlade: extracode\n# end wxGlade\n\n\nclass KaiDiplomarbeit(wx.Frame):\n def __init__(self, *args, **kwds):\n # begin wxGlade: KaiDiplomarbeit.__init__\n wx.Frame.__init__(self, *args, **kwds)\n self.radio_btn_1 = wx.RadioButton(self, wx.ID_ANY, _("radio_btn_1"))\n\n self.__set_properties()\n self.__do_layout()\n # end wxGlade\n\n def __set_properties(self):\n # begin wxGlade: KaiDiplomarbeit.__set_properties\n self.SetTitle(_("frame_1"))\n self.radio_btn_1.SetMinSize((200, 19))\n # end wxGlade\n\n def __do_layout(self):\n # begin wxGlade: KaiDiplomarbeit.__do_layout\n sizer_1 = wx.BoxSizer(wx.VERTICAL)\n sizer_1.Add(self.radio_btn_1, 0, 0, 0)\n self.SetSizer(sizer_1)\n sizer_1.Fit(self)\n self.Layout()\n # end wxGlade\n\n# end of class KaiDiplomarbeit\n'
-> mainfile (<type 'bool'>): True
-> e (<type 'exceptions.IOError'>): IOError(13, 'Permission denied')
-> self (<class 'py_codegen.PythonCodeWriter'>): <py_codegen.PythonCodeWriter object at 0x03C40030>
-> filename (<type 'unicode'>): u'wxglade_out.py'
-> content (<type 'unicode'>): u'import wx\n\n# begin wxGlade: dependencies\nimport gettext\n# end wxGlade\n\n# begin wxGlade: extracode\n# end wxGlade\n\n\nclass KaiDiplomarbeit(wx.Frame):\n def __init__(self, *args, **kwds):\n # begin wxGlade: KaiDiplomarbeit.__init__\n wx.Frame.__init__(self, *args, **kwds)\n self.radio_btn_1 = wx.RadioButton(self, wx.ID_ANY, _("radio_btn_1"))\n\n self.__set_properties()\n self.__do_layout()\n # end wxGlade\n\n def __set_properties(self):\n # begin wxGlade: KaiDiplomarbeit.__set_properties\n self.SetTitle(_("frame_1"))\n self.radio_btn_1.SetMinSize((200, 19))\n # end wxGlade\n\n def __do_layout(self):\n # begin wxGlade: KaiDiplomarbeit.__do_layout\n sizer_1 = wx.BoxSizer(wx.VERTICAL)\n sizer_1.Add(self.radio_btn_1, 0, 0, 0)\n self.SetSizer(sizer_1)\n sizer_1.Fit(self)\n self.Layout()\n # end wxGlade\n\n# end of class KaiDiplomarbeit\n'
-> content_only (<type 'bool'>): False
-> dirname (<type 'unicode'>): u''
Stack frame at level 1
======================
File "C:\Program Files (x86)\wxGlade\codegen\__init__.py", line 1079
Function "finalize(self=<py_codegen.PythonCodeWriter object at 0x03C40030>)"
Source code context:
content = content.replace(tag, code)
self.output_file.close()
-> self.save_file(self.output_file_name, content, self._app_added)
del self.output_file
def add_app(self, app_attrs, top_win_class):
Local variables:
-> em (<type 'str'>): ''
-> code (<type 'str'>): '# begin wxGlade: extracode\n# end wxGlade\n'
-> dep_list (<type 'list'>): ['import gettext\n']
-> content (<type 'unicode'>): u'import wx\n\n# begin wxGlade: dependencies\nimport gettext\n# end wxGlade\n\n# begin wxGlade: extracode\n# end wxGlade\n\n\nclass KaiDiplomarbeit(wx.Frame):\n def __init__(self, *args, **kwds):\n # begin wxGlade: KaiDiplomarbeit.__init__\n wx.Frame.__init__(self, *args, **kwds)\n self.radio_btn_1 = wx.RadioButton(self, wx.ID_ANY, _("radio_btn_1"))\n\n self.__set_properties()\n self.__do_layout()\n # end wxGlade\n\n def __set_properties(self):\n # begin wxGlade: KaiDiplomarbeit.__set_properties\n self.SetTitle(_("frame_1"))\n self.radio_btn_1.SetMinSize((200, 19))\n # end wxGlade\n\n def __do_layout(self):\n # begin wxGlade: KaiDiplomarbeit.__do_layout\n sizer_1 = wx.BoxSizer(wx.VERTICAL)\n sizer_1.Add(self.radio_btn_1, 0, 0, 0)\n self.SetSizer(sizer_1)\n sizer_1.Fit(self)\n self.Layout()\n # end wxGlade\n\n# end of class KaiDiplomarbeit\n'
-> tag (<type 'str'>): '<1477404620987191754wxGlade replace extracode>'
-> self (<class 'py_codegen.PythonCodeWriter'>): <py_codegen.PythonCodeWriter object at 0x03C40030>
Stack frame at level 2
======================
File "C:\Program Files (x86)\wxGlade\xml_parse.py", line 836
Function "endElement(self=<xml_parse.CodeWriter instance at 0x040EA6E8>, name=u'application')"
Source code context:
if self.app_attrs:
self.code_writer.add_app(self.app_attrs, self.top_window)
# call the finalization function of the code writer
-> self.code_writer.finalize()
return
if name == 'object':
# remove last object from Stack
Local variables:
-> self (<type 'instance'>): <xml_parse.CodeWriter instance at 0x040EA6E8>
-> name (<type 'unicode'>): u'application'
Stack frame at level 3
======================
File "C:\Python27\lib\xml\sax\expatreader.py", line 307
Function "end_element(self=<xml.sax.expatreader.ExpatParser instance at 0x040EA788>, name=u'application')"
Source code context:
self._cont_handler.startElement(name, AttributesImpl(attrs))
def end_element(self, name):
-> self._cont_handler.endElement(name)
def start_element_ns(self, name, attrs):
pair = name.split()
Local variables:
-> self (<type 'instance'>): <xml.sax.expatreader.ExpatParser instance at 0x040EA788>
-> name (<type 'unicode'>): u'application'
Stack frame at level 4
======================
File "C:\Python27\lib\xml\sax\expatreader.py", line 210
Function "feed(self=<xml.sax.expatreader.ExpatParser instance at 0x040EA788>, data='<?xml version="1.0"?>\n<!-- generated by wxGlade 0.7.2 on Tue Oct 25 16:10:20 2016 -->\n\n<application class="" encoding="CP1252" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="1" path="wxglade_out.py" source_extension=".cpp" top_window="frame_1" use_gettext="1" use_new_namespace="1">\n <object class="KaiDiplomarbeit" name="frame_1" base="EditFrame">\n <title>frame_1</title>\n <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">\n <orient>wxVERTICAL</orient>\n <object class="sizeritem">\n <border>0</border>\n <option>0</option>\n <object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">\n <label>radio_btn_1</label>\n <size>200, 19</size>\n </object>\n </object>\n </object>\n </object>\n</application>\n', isFinal=0)"
Source code context:
# If it is set to true, expat will check validity of the entire
# document. When feeding chunks, they are not normally final -
# except when invoked from close.
-> self._parser.Parse(data, isFinal)
except expat.error, e:
exc = SAXParseException(expat.ErrorString(e.code), e, self)
# FIXME: when to invoke error()?
Local variables:
-> self (<type 'instance'>): <xml.sax.expatreader.ExpatParser instance at 0x040EA788>
-> data (<type 'str'>): '<?xml version="1.0"?>\n<!-- generated by wxGlade 0.7.2 on Tue Oct 25 16:10:20 2016 -->\n\n<application class="" encoding="CP1252" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="1" path="wxglade_out.py" source_extension=".cpp" top_window="frame_1" use_gettext="1" use_new_namespace="1">\n <object class="KaiDiplomarbeit" name="frame_1" base="EditFrame">\n <title>frame_1</title>\n <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">\n <orient>wxVERTICAL</orient>\n <object class="sizeritem">\n <border>0</border>\n <option>0</option>\n <object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">\n <label>radio_btn_1</label>\n <size>200, 19</size>\n </object>\n </object>\n </object>\n </object>\n</application>\n'
-> isFinal (<type 'int'>): 0
Stack frame at level 5
======================
File "C:\Python27\lib\xml\sax\xmlreader.py", line 123
Function "parse(self=<xml.sax.expatreader.ExpatParser instance at 0x040EA788>, source=<xml.sax.xmlreader.InputSource instance at 0x040FCBE8>)"
Source code context:
file = source.getByteStream()
buffer = file.read(self._bufsize)
while buffer != "":
-> self.feed(buffer)
buffer = file.read(self._bufsize)
self.close()
Local variables:
-> buffer (<type 'str'>): '<?xml version="1.0"?>\n<!-- generated by wxGlade 0.7.2 on Tue Oct 25 16:10:20 2016 -->\n\n<application class="" encoding="CP1252" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="1" path="wxglade_out.py" source_extension=".cpp" top_window="frame_1" use_gettext="1" use_new_namespace="1">\n <object class="KaiDiplomarbeit" name="frame_1" base="EditFrame">\n <title>frame_1</title>\n <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">\n <orient>wxVERTICAL</orient>\n <object class="sizeritem">\n <border>0</border>\n <option>0</option>\n <object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">\n <label>radio_btn_1</label>\n <size>200, 19</size>\n </object>\n </object>\n </object>\n </object>\n</application>\n'
-> source (<type 'instance'>): <xml.sax.xmlreader.InputSource instance at 0x040FCBE8>
-> self (<type 'instance'>): <xml.sax.expatreader.ExpatParser instance at 0x040EA788>
-> file (<type 'instance'>): <StringIO.StringIO instance at 0x040FCAF8>
-> saxutils (<type 'module'>): <module 'xml.sax.saxutils' from 'C:\Python27\lib\xml\sax\saxutils.py'>
Stack frame at level 6
======================
File "C:\Python27\lib\xml\sax\expatreader.py", line 107
Function "parse(self=<xml.sax.expatreader.ExpatParser instance at 0x040EA788>, source=<xml.sax.xmlreader.InputSource instance at 0x040FCBE8>)"
Source code context:
self._source = source
self.reset()
self._cont_handler.setDocumentLocator(ExpatLocator(self))
-> xmlreader.IncrementalParser.parse(self, source)
def prepareParser(self, source):
if source.getSystemId() is not None:
Local variables:
-> source (<type 'instance'>): <xml.sax.xmlreader.InputSource instance at 0x040FCBE8>
-> self (<type 'instance'>): <xml.sax.expatreader.ExpatParser instance at 0x040EA788>
Stack frame at level 7
======================
File "C:\Program Files (x86)\wxGlade\xml_parse.py", line 94
Function "parse_string(self=<xml_parse.CodeWriter instance at 0x040EA6E8>, source=<StringIO.StringIO instance at 0x040FCAF8>)"
Source code context:
def parse_string(self, source):
source = StringIO.StringIO(source)
-> self.parser.parse(source)
source.close()
def setDocumentLocator(self, locator):
Local variables:
-> source (<type 'instance'>): <StringIO.StringIO instance at 0x040FCAF8>
-> self (<type 'instance'>): <xml_parse.CodeWriter instance at 0x040EA6E8>
Stack frame at level 8
======================
File "C:\Program Files (x86)\wxGlade\xml_parse.py", line 762
Function "__init__(self=<xml_parse.CodeWriter instance at 0x040EA6E8>, writer=<py_codegen.PythonCodeWriter object at 0x03C40030>, input='<?xml version="1.0"?>\n<!-- generated by wxGlade 0.7.2 on Tue Oct 25 16:10:20 2016 -->\n\n<application class="" encoding="CP1252" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="1" path="wxglade_out.py" source_extension=".cpp" top_window="frame_1" use_gettext="1" use_new_namespace="1">\n <object class="KaiDiplomarbeit" name="frame_1" base="EditFrame">\n <title>frame_1</title>\n <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">\n <orient>wxVERTICAL</orient>\n <object class="sizeritem">\n <border>0</border>\n <option>0</option>\n <object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">\n <label>radio_btn_1</label>\n <size>200, 19</size>\n </object>\n </object>\n </object>\n </object>\n</application>\n', from_string=True, out_path=None, preview=False, class_names=set(['wxBoxSizer', u'KaiDiplomarbeit', 'wxRadioButton']))"
Source code context:
self.class_names = set()
if from_string:
-> self.parse_string(input)
else:
inputfile = None
try:
Local variables:
-> preview (<type 'bool'>): False
-> out_path (<type 'NoneType'>): None
-> self (<type 'instance'>): <xml_parse.CodeWriter instance at 0x040EA6E8>
-> writer (<class 'py_codegen.PythonCodeWriter'>): <py_codegen.PythonCodeWriter object at 0x03C40030>
-> input (<type 'str'>): '<?xml version="1.0"?>\n<!-- generated by wxGlade 0.7.2 on Tue Oct 25 16:10:20 2016 -->\n\n<application class="" encoding="CP1252" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="1" path="wxglade_out.py" source_extension=".cpp" top_window="frame_1" use_gettext="1" use_new_namespace="1">\n <object class="KaiDiplomarbeit" name="frame_1" base="EditFrame">\n <title>frame_1</title>\n <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">\n <orient>wxVERTICAL</orient>\n <object class="sizeritem">\n <border>0</border>\n <option>0</option>\n <object class="wxRadioButton" name="radio_btn_1" base="EditRadioButton">\n <label>radio_btn_1</label>\n <size>200, 19</size>\n </object>\n </object>\n </object>\n </object>\n</application>\n'
-> from_string (<type 'bool'>): True
-> class_names (<type 'set'>): set([u'KaiDiplomarbeit', 'wxBoxSizer', 'wxRadioButton'])
Stack frame at level 9
======================
File "C:\Program Files (x86)\wxGlade\application.py", line 734
Function "generate_code(self=<application.Application object at 0x03F49AB0>, *args=(), **kwds={})"
Source code context:
CodeWriter(common.code_writers[codewriter], tmp_xml.getvalue(),
True, preview=preview, out_path=out_path,
-> class_names=class_names)
# restore saved settings
if preview and codewriter == 'python':
Local variables:
-> tmp_xml (<class 'misc.UnicodeStringIO'>): <misc.UnicodeStringIO object at 0x040D2850>
-> kwds (<type 'dict'>): {}
-> out_path (<type 'NoneType'>): None
-> self (<class 'application.Application'>): <application.Application object at 0x03F49AB0>
-> args (<type 'tuple'>): ()
-> CodeWriter (<type 'classobj'>): <class xml_parse.CodeWriter at 0x03A44CA8>
-> codewriter (<type 'str'>): 'python'
-> inst (<class 'xml_parse.XmlParsingError'>): XmlParsingError(u"[Errno 13] Permission denied: u'wxglade_out.py' (line: 19, column: 0)",)
-> preview (<type 'bool'>): False
-> class_names (<type 'set'>): set([u'KaiDiplomarbeit', 'wxBoxSizer', 'wxRadioButton'])