From: <bra...@om...> - 2005-08-24 00:03:58
|
Alex Tweedly wrote on 08/23/2005 04:07:27 PM: > Could you possibly try running it with the logging option ("-l" appended) also ? Ok, here it is: oms-ballen:/OMS/dev/pythonPackages/PythonCard/tools/resourceEditor ballen$ pythonw2.4 resourceEditor.py -l wx.PlatformInfo: ('__WXMAC__', 'wxMac', 'unicode', 'wx-assertions-on') wx.VERSION: (2, 6, 0, 0, '') DEBUG: : Tue Aug 23 18:59:18 2005: default: (None, 'mac-roman') DEBUG: : Tue Aug 23 18:59:18 2005: ['resourceEditor.mac.rsrc.py', 'resourceEditor.rsrc.py'] DEBUG: : Tue Aug 23 18:59:18 2005: Initializing Background... DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_bottomLeft_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_bottomMiddle_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_bottomRight_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_close DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentAdd_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentBringFront_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentDelete_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentDuplicate_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentMoveBack_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentMoveForward_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_componentSendBack_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_displayAttributes_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_doHelpAboutPythonCard_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_editBackgroundInfo_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_editDialogInfo_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_editMenubar_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_editStackInfo_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_editStrings_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_exit_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_filePreviewDialog_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_fileRunOptions_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_fileRunWithInterpreter_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_fileRun_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_initialize DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_keyPress DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuEditCopy_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuEditCut_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuEditPaste_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileNewDialog_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileNew_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileOpen_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileRevert_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileSaveAs_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuFileSave_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuHelpAbout_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuOptionsAlignToGrid_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuOptionsShowGridLines_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_menuViewPropertyEditor_select DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_middleLeft_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_middleRight_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_minimize DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseDoubleClick DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseDown DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseEnter DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseLeave DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_mouseUp DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_optionGridSize_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_showPythonCardDocumentation_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_showResourceEditorDocumentation_command DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_size DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_topLeft_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_topMiddle_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: _addHandler: on_topRight_mouseDrag DEBUG: : Tue Aug 23 18:59:18 2005: imported component bitmapcanvas DEBUG: : Tue Aug 23 18:59:18 2005: imported component button DEBUG: : Tue Aug 23 18:59:18 2005: imported component calendar DEBUG: : Tue Aug 23 18:59:18 2005: imported component checkbox DEBUG: : Tue Aug 23 18:59:18 2005: imported component choice DEBUG: : Tue Aug 23 18:59:18 2005: imported component codeeditor DEBUG: : Tue Aug 23 18:59:18 2005: imported component combobox DEBUG: : Tue Aug 23 18:59:18 2005: imported component floatcanvas DEBUG: : Tue Aug 23 18:59:18 2005: imported component gauge DEBUG: : Tue Aug 23 18:59:18 2005: imported component htmlwindow DEBUG: : Tue Aug 23 18:59:18 2005: imported component image DEBUG: : Tue Aug 23 18:59:18 2005: imported component imagebutton DEBUG: : Tue Aug 23 18:59:18 2005: imported component list DEBUG: : Tue Aug 23 18:59:18 2005: imported component multicolumnlist DEBUG: : Tue Aug 23 18:59:18 2005: imported component notebook DEBUG: : Tue Aug 23 18:59:18 2005: imported component passwordfield DEBUG: : Tue Aug 23 18:59:18 2005: imported component radiogroup DEBUG: : Tue Aug 23 18:59:19 2005: imported component slider DEBUG: : Tue Aug 23 18:59:19 2005: imported component spinner DEBUG: : Tue Aug 23 18:59:19 2005: imported component staticbox DEBUG: : Tue Aug 23 18:59:19 2005: imported component staticline DEBUG: : Tue Aug 23 18:59:19 2005: imported component statictext DEBUG: : Tue Aug 23 18:59:19 2005: imported component textarea DEBUG: : Tue Aug 23 18:59:19 2005: imported component textfield DEBUG: : Tue Aug 23 18:59:19 2005: imported component togglebutton DEBUG: : Tue Aug 23 18:59:19 2005: imported component tree DEBUG: : Tue Aug 23 18:59:19 2005: default: (None, 'mac-roman') DEBUG: : Tue Aug 23 18:59:19 2005: ['/OMS/dev/pythonPackages/PythonCard/tools/resourceEditor/propertyEditor.mac.rsrc.py', '/OMS/dev/pythonPackages/PythonCard/tools/resourceEditor/propertyEditor.rsrc.py'] no resource file for /OMS/dev/pythonPackages/PythonCard/tools/resourceEditor/propertyEditor Traceback (most recent call last): File "//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 11904, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "resourceEditor.py", line 138, in on_initialize self.propertyEditorWindow = model.childWindow(self, PropertyEditor) File "/OMS/dev/pythonPackages/PythonCard/model.py", line 220, in childWindow rsrc = resource.ResourceFile(filename).getResource() File "/OMS/dev/pythonPackages/PythonCard/resource.py", line 45, in __init__ self.dictionary = util.readAndEvalFile(rsrcFileName) File "/OMS/dev/pythonPackages/PythonCard/util.py", line 37, in readAndEvalFile f = open(filename) TypeError: coercing to Unicode: need string or buffer, NoneType found ^C |