QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System Linux (All / Other)
  • Severity High
  • Priority Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 11.05.2011
Last edited by Anonymous Submitter - 11.05.2011

FS#71 - Save fails with uncaught exception

  1. New File
  2. Save, enter name without extension
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);
Closed by  Anonymous Submitter
11.05.2011 08:38
Reason for closing:  Not a bug
Additional comments about closing:  

it's "qcad-bin" now, so I started the old binary

Andrew commented on 11.05.2011 08:09

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)

Anonymous Submitter commented on 11.05.2011 08:22

the function is there (both cpp and header file), but still got the exception

Andrew commented on 11.05.2011 08:25

Could it be a debug / release mix up? I.e. building the debug version, running the release version or something similar?

Anonymous Submitter commented on 11.05.2011 08:32

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") 
Anonymous Submitter commented on 11.05.2011 08:32

it's in both, release and debug bin


Available keyboard shortcuts


Task Details

Task Editing