PythoncadBugTraker item #3097630, was opened at 2010-10-28 21:49 Message generated for change (Comment added) made by carlopav You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=3097630&group_id=263167
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: carlopav (carlopav) Assigned to: Nobody/Anonymous (nobody) Summary: import file crashes under ubuntu 10.10 Initial Comment: hi, the import command still causes pycad to crash under ubuntu 10.10 bug seems to be in cadwindow.py row 356 carlo ---------------------------------------------------------------------- >Comment By: carlopav (carlopav) Date: 2010-10-29 21:31 Message: def _onImportDrawing(self): drawing = QtGui.QFileDialog.getOpenFileName(parent=self, caption="Import Drawing", directory=self.lastDirectory, filter="Dxf (*.dxf)"); # open a document and load the drawing if len(drawing)>0: self.lastDirectory=os.path.split(drawing)[0] self.mdiArea.activeSubWindow().importExternalFormat(drawing) <<<<<<<<<<<<<it crashes here return saying "unhandled attribute error" none type object has no attribute "importExternalFormat" regards carlo ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2010-10-29 06:26 Message: could you post part of the code Regards, Matteo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=3097630&group_id=263167 ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Pythoncad-developer mailing list Pythoncad-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pythoncad-developer