Draftsight, under ubuntu 13.04, cannot recognise its own .dwg or .dxf files.
I receive the message: draftsight cannot open this file. Check if this file exist.
The answer was published in http://linuxaideddesign.blogspot.com/2014/01/draftsight-v1r5-is-out-with-lot-of.html?showComment=1398790825772#c4214276978222340200 .
The version 1R5 cannot open a file in a path with at list one non-standard character in any place (incl. any folder!!!). Your file need to be renamed to eliminate all characters except Latin or digits. If You use localized Linux/Windows version You need to find (create) some write-access path with only Latin characters or digits. Before editing Your file MUST be moved to this folder. After editing You MUST move it back to prevent loose. You maybe bored but I hope new version will not contain the bug.
To open a file from a flash drive directly in Linux the drive label and path to the file in the drive and possibly Your username (last Ubuntu versions or other OS using username as a part of automount folder) must contain only Latin chars or digits. For Windows the username and the flash drive label are not important because of different filesystem structure.
Check to make sure it is saving the files as .dwg and .dxf
Try saving to an earlier version, like 2000 .dxf
Thank you Mike for your replay. I tried that but it failed again.
The exact message is:
Cannot open the specified drawing file.
Verify that the file exists.
The problem began when I installed Draftsight on a my second laptop.
The problem is on both laptops and it is a mystery for me
Is there any issue with the licence?
Please submit this issue via Draftsight site to make sure it gets attention from the right group.
Yeah, it looks like a file system issue.
Make sure 'write access' to the directory hasn't changed.
Thanks Bernie for the answer.
How can I check this?
The problem occurs on both laptops and only on ubuntu OS, not on windows 7 that I have also installed to one of them.
Isn't it a mystery?
Windows works because it doesn't care about Linux file permissions.
Open a terminal & navigate to the folder where your drawings are held.
Next type the following:-
sudo chmod 664 *.dwg
Give the root password when asked
sudo chmod 664 *.dxf
This will set the permissions of all .dwg & .dxf files in that folder to
User: Read & Write
Group: Read & Write
Others: Read Only.
Thank you Ian, your advise with some changes on command give me a solution.
After a look at the command chmod, you see I am new on ubuntu, I used the command: chmod 764 name of folder.
The 7 in the command you used adds "execute" to the user rights.
Where you went wrong is you needed to add a " -R " before the numbers to make the change recursively apply to all files inside the folder.
When in doubt on a Linux terminal, try "<command> --help" or "man <command>", where <command> is the command you're unsure of.
--help displays any embedded help file & man is the command to display the manual for the associated command, which often goes into more depth.
You'll find plenty of helpful folks (including me ) on the Ubuntu Forums
Thank you again Ian for your precious help.
Thank you Victor for the reply. That exactly was the issue and I have already noticed it changing all greek characters with latins one.
This was not a user rights issue.
Retrieving data ...