Draftsight cannot recognise its own .dwg files

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.

Any idea?

SolidworksDrawings And Detailing
Answers 12
SF
SF 2014-03-17 Best Answer

Check to make sure it is saving the files as .dwg and .dxf

Try saving to an earlier version, like 2000 .dxf

SF
SF 2014-03-18

Thank you Mike for your replay. I tried that but it failed again.

The exact message is:

Information

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?

ML
ML 2014-03-19

Minas,

Please submit this issue via Draftsight site to make sure it gets attention from the right group.

SF
SF 2014-03-19

Make sure 'write access' to the directory hasn't changed.

JB
JB 2014-03-19

Yeah, it looks like a file system issue.

SF
SF 2014-03-20

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?

IW
IW 2014-03-20

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.

SF
SF 2014-03-20

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.

IW
IW 2014-03-20

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 " --help" or "man ", where 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

SF
SF 2014-03-23

Thank you again Ian for your precious help.

VM
VM 2014-04-29

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.

SF
SF 2014-04-30

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.