QCAD - 2D CAD System.
Click here for a documentation of the DokuWiki formatting syntax that can be used in reports
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)
FS#71 - Save fails with uncaught exception
Attached to Project:
QCAD
Opened by Martin (martin) - Wednesday, 11 May 2011, 09:59 GMT+2
Last edited by Martin (martin) - Wednesday, 11 May 2011, 10:38 GMT+2
Opened by Martin (martin) - Wednesday, 11 May 2011, 09:59 GMT+2
Last edited by Martin (martin) - Wednesday, 11 May 2011, 10:38 GMT+2
|
Details
Uncaught exception at /home/martin/workspace/rsframework/scripts/File/SaveAs/../Save/Save.js:40: TypeError: Result of expression 'di.getCorrectedFileName' [undefined] is not a function. 40 fileName = di.getCorrectedFileName(fileName, fileVersion); |
This task depends upon
Closed by Martin (martin)
Wednesday, 11 May 2011, 10:38 GMT+2
Reason for closing: Not a bug
Additional comments about closing: it's "qcad-bin" now, so I started the old binary
Wednesday, 11 May 2011, 10:38 GMT+2
Reason for closing: Not a bug
Additional comments about closing: it's "qcad-bin" now, so I started the old binary
Might need a rebuild. Function 'getCorrectedFileName' should be defined in src/scripting/ecmaapi/REcmaDocumentInterface.cpp : 163
Edit: If not, the ECMA script generator might have failed there (check with svn diff src/scripting/ecmaapi/REcmaDocumentInterface.cpp)
the function is there (both cpp and header file), but still got the exception
Could it be a debug / release mix up? I.e. building the debug version, running the release version or something similar?
there are some strange warnings on the console:
Debug: KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work ... Debug: kfilemodule(23528)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl("file:///home/martin/Documents/1line.dxf")it's in both, release and debug bin