Page 1 of 1
Error on saving projects
Posted: Thu Jan 10, 2013 1:47 am
by pacoes3d
Hello, and happy new year (not so late)
When try to save a project, always got the same error:
"An error occured while saving <project_name>: [internal] bad argument
OpenSuSE Linux 12.2. CC just compiled a few minutes ago from git sources; Version: 2.4.Qt/Linux - 01/09/2013
No permissions issue -think so- ( runs from the compilation directory (built) with user privileges.)
¿Any idea?.
Best regards,
Francisco Escarpa.
Re: Error on saving projects
Posted: Thu Jan 10, 2013 7:06 am
by daniel
Hello (and Happy new year too!)
In what file type are you saving your project? BIN?
Re: Error on saving projects
Posted: Fri Jan 11, 2013 2:23 pm
by pacoes3d
Bonjour, Daniel,
Saving any format gives the same error.
Re: Error on saving projects
Posted: Fri Jan 11, 2013 2:54 pm
by daniel
I've just tested with a Ubuntu distribution and I couldn't reproduce the issue.
The only difference is that I launched qCC from the CMake installation directory (local, no user rights needed).
Meanwhile I've changed a lot of things on the trunk so you can still re-compile just to be sure.
Re: Error on saving projects
Posted: Thu Apr 11, 2013 6:01 am
by lkdrox
Hmm I get the same error , for every format.
using Ubuntu 12.04 with version 2.4.Qt/Linux/32 bits - 04/04/2013
I even tried running it from the local folder, as well as run with sudo permissions but still the same error
Hope you can help
Thanks in advance,
Lucky
Re: Error on saving projects
Posted: Thu Apr 11, 2013 7:00 am
by daniel
Now that I think about it, it might come from a filename issue.
Can you add the following line to the very beginning of the 'saveToFile' method of any filter (qCC/FileIO/BinFilter.cpp for instance - line 60):
Code: Select all
printf("filename = %s\n",filename);
Then compile, launch CC and try to save a file in BIN format. Eventually, tell me what you see in the console.
Thanks,
Daniel
Re: Error on saving projects
Posted: Fri Apr 26, 2013 9:45 am
by dguerrero
Same error , for every format.
Kubuntu 12.10
Version: 2.4.Qt/Linux/64 bits - 04/25/2013
Thanks.
Re: Error on saving projects
Posted: Sun May 05, 2013 7:37 pm
by daniel
Can you give me more info? Maybe run CC in debug mode? Or print out some traces along the 'saving' path (starting from MainWindow::saveFile)?