Error on saving projects

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
pacoes3d
Posts: 7
Joined: Thu Feb 02, 2012 9:16 pm

Error on saving projects

Post 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.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error on saving projects

Post by daniel »

Hello (and Happy new year too!)

In what file type are you saving your project? BIN?
Daniel, CloudCompare admin
pacoes3d
Posts: 7
Joined: Thu Feb 02, 2012 9:16 pm

Re: Error on saving projects

Post by pacoes3d »

Bonjour, Daniel,

Saving any format gives the same error.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error on saving projects

Post 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.
Daniel, CloudCompare admin
lkdrox
Posts: 1
Joined: Thu Apr 11, 2013 5:45 am

Re: Error on saving projects

Post 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
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error on saving projects

Post 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
dguerrero
Posts: 4
Joined: Fri Nov 18, 2011 10:52 am

Re: Error on saving projects

Post by dguerrero »

Same error , for every format.

Kubuntu 12.10
Version: 2.4.Qt/Linux/64 bits - 04/25/2013

Thanks.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error on saving projects

Post 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)?
Daniel, CloudCompare admin
Post Reply