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.
Error on saving projects
Re: Error on saving projects
Hello (and Happy new year too!)
In what file type are you saving your project? BIN?
In what file type are you saving your project? BIN?
Daniel, CloudCompare admin
Re: Error on saving projects
Bonjour, Daniel,
Saving any format gives the same error.
Saving any format gives the same error.
Re: Error on saving projects
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.
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.
Daniel, CloudCompare admin
Re: Error on saving projects
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
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
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):
Then compile, launch CC and try to save a file in BIN format. Eventually, tell me what you see in the console.
Thanks,
Daniel
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);
Thanks,
Daniel
Re: Error on saving projects
Same error , for every format.
Kubuntu 12.10
Version: 2.4.Qt/Linux/64 bits - 04/25/2013
Thanks.
Kubuntu 12.10
Version: 2.4.Qt/Linux/64 bits - 04/25/2013
Thanks.
Re: Error on saving projects
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)?
Daniel, CloudCompare admin