Draftsight crashes at file operations

I have just installed and registered Draftsight from Dassault Systemes on OpenSuse 11.4.

It works well provided I do not try to do any file operations. If I try to open/save file or start a new project the program crashes with the info window: “Program must be stopped. You can try to save the file…”

Has anyone got any idea how to fix the problem?

Thanks

On 10/23/2011 12:06 PM, aleopo wrote:

> Has anyone got any idea how to fix the problem?

yours sure sounds like a Draftsight problem and not an openSUSE
problem…try the Draftsight Community…if found this by using Google:

To contact Technical Support for free customers you have to be logged in
to the DraftSight community
<https://swym.3ds.com/#community:70/iquestions> and select the iQuestion
tab. On the lower right side you will see a button ‘report a problem’
fill out the form and an SR will automatically be created and assigned
to the appropriate SME. In general I think its useful to be a member of
the community to get information, training material etc. I would have
opened an SR on your behalf but I am not able to access your email
information which is needed in order to contact you. Also please make
sure you give all the information needed to the SME working on your
case. For help, how to report an issue to technical support please have
a look at this ‘How to report a problem’
<https://swym.3ds.com/#post:2854> post.

by the way, i also found in their downloadable FAQ that Draftsight runs
on SuSE Linux Enterprise Server 10 SP3 and 11 SP1, so you might ask them
if it should be able to save/open files on openSUSE 11.4


DD
openSUSE®, the “German Automobiles” of operating systems

Sorry I can’t address your problem. Here, using kde or Icewm I can open/save file with out a problem. I am having the same problem as yours when I am using draftsight with xfce and lxde.

Conram,

following your post I have checked it with Icewm - it works perfect. It crashes with Gnome.

Also I had no issues with Draftsight in KDE4 when I tried it some time ago. It may be gnome-related only, perhaps a executable or folder permission wrongly set.

I reported it to 3ds.com as DenverD advised.

Hi,

I think draftsight is better run using icewm. With other DE’s it runs slow when doing large amount of drawing in a single drawing file.
Not hundred percent sure though cause I am running an old machine, a dual core with 3 gig ram.

In my case it works perfectly fine on one machine, completely crashes the video card on the other as soon as you try to open any file.

Both machines have the same software (opensuse 11.4, KDE4.6, etc.,), the only significant difference appears to be the video card. Sorry I do not have specific details on the hardware right now, as I’m using a third machine to post this.

I have the same problem whit OpenSuse 12.1, Gnome 3.2.1/Kernel 3.1.0

DraftSigth crashes when i try to open a file or create a new file.

When i install the program many errors of “permission denied” occurs.

If you noticed my earlier post, I was running draftsight in openSUSE 11.4 then.
I am now running draftsight in openSUSE 12.1 64bit using xfce 4.8 with out any issue except for slowness when using it in a large drawing file.
Maybe you can try icewm or add xfce and try running draftsight from those two I mentioned.
If it work, perhaps it is a gnome issue not draftsight.
One more thing, draftsight will limit it’s capability until you register and confirm your registration.
Some issue when not registered, maybe printing, opening and saving file.

Hi, I’ve got the same problem on Opensuse 12.1 Gnome 3.0, but i’ve also found a workout
Run on terminal:

cd /opt/dassault-systemes/draftsight/bin 

then:

./draftsight -style windows

Hope that in the future there will be e better solution

Bingo. that solution works fine in Windows LnF. Looks like a gnome bug.

I had not heard of Draftsight until reading this thread, looks interesting.
I have a 12.1_x86_64/KDE4.8.1 system with ATI(fglrx) graphcs.

I downloaded the rpm and installed with YAST.
Draftsight starts from a konsole window following simOne’s procedure in post #10.

I can open an existing .drw I have, but I have a lot of display flicker/instability in the drawing portion of the window; menus and other window features are fine.

I then realized this is a 32bit rpm.

Are there some additional dependencies to run on a 64 bit system that Yast might not see?

Cancel my above comment/request - after doing some other housekeeping and updating my Catalyst(fglrx) to version 12.2 from version 11.10, Draftsight seems to run OK.

With openSUSE 11.4, 32 bit, gnome 2,
I can run draftsight with all functionality; i.e., file open, save, print etc.
The installation package installed draftsight into the /opt directory so it can only be run as ROOT (without changing some ownerships or moving some files around which I haven’t done or tried to do). I have fully registered the draftsight I got.

Thus, running draftsight from the commandline as root has given full functionality and presented no problems.

Posted for information. Perhaps running as root might solve some of the file manipulation problems.

Tom Kosvic

I have Draftsight installed on openSuSE 12.1, 64 bit. KDE 4.8.1

I can run /opt/dassault-systemes/draftsight/bin/draftsight as a normal user, open and save files owned by that user.

You should not have to run as root

thanks for the comments by cmcgrath5035 but I stand by my observations that running as ROOT allows draftsight to run properly on my machine; 32 bit, gnome, suse 11.4

When starting draftsight gui as normal user I cannot open any files (get message that program has encountered a problem and must close). Also the gui has a distorted appearance and the fonts are different than when run as ROOT.

For my system with no tinkering of ownerships etc, I must run as ROOT to get draftsight to run properly. I have used draftsight to make some drawings and edit and print them so I am pretty sure that all the intended functionality exists when run as ROOT.

Hope this helps someone.

Tom Kosvic

tckosvic wrote:
> thanks for the comments by cmcgrath5035 but I stand by my observations
> that running as ROOT allows draftsight to run properly on my machine; 32
> bit, gnome, suse 11.4
>
> When starting draftsight gui as normal user I cannot open any files
> (get message that program has encountered a problem and must close).
> Also the gui has a distorted appearance and the fonts are different than
> when run as ROOT.
>
> For my system with no tinkering of ownerships etc, I must run as ROOT
> to get draftsight to run properly. I have used draftsight to make some
> drawings and edit and print them so I am pretty sure that all the
> intended functionality exists when run as ROOT.
>
> Hope this helps someone.
>
> Tom Kosvic

I guess you’re used to running Windows rather than Unix/Linux.

The point is that running as root is BAD. It creates extra security
risks to your machine and it makes the consequences of any mistakes you
make potentially much more serious.

So the consensus in the Linux world is that normal programs should not
run as root, nor be run by root. Normal programs should be run by normal
users. Anything that stops that happens is a bug or misconfiguration.
And anything that needs to be changed to make it possible, is good and
should be done.

So others should ignore your no doubt well-meant advice.

Saying that you haven’t had any problems when running draftsight as root
is a lot like saying that you haven’t caught cancer whilst smoking. i.e.
there’s a ‘yet’ missing.

PS It is spelled ‘root’, not ‘ROOT’. Case-sensitivity is another
difference between Linux and Windows.

I have no experience with Gnome DE, so cannot help with what might be your issue.

The permissions on /opt/dassault-systemes/draftsight/bin/draftsight are “root root -rwx-r-x-r-x” , which says that 'others" have r-x access and can run the executable.
Of course your are saying it will run, but won’t open files which is a separate issue.

Alas, I can help with Gnome environment setup.

As djh-novell says, root can do anything, but with great power comes greater responsibility.
Or, said another way, if only root can run it, something is wrong. Best try to fix it.

Thanks for warnings regarding running as root from cjh-novell. I understand the potential problems of doing that but that was the only way to get the full functionality of draftsight on my system, i.e., open, close, save, print, etc to get some work done. Again, running as a normal user gives the message upon trying to open a file that the program has encountered a problem and will shut down. That functionality gets you nowhere so working as root was my only means of getting any usefulness out of the program. I have also completely registered the product. I have the same ownerships and permissions as cmcgrath5025 listed above.

However, I did find that the contribution of simOne above does allow proper running with all capabilities as a normal user, i.e.,

cd /opt/dassault-systemes/draftsight/bin
./DraftSight -style windows

note that draftsight installed itself as DraftSight on my machine and not all small letters as per simOne’s code above.
I have no idea of where the “-style windows” option was found so cudos to simOne. Note also that the gui that opens as a normal user still has a different appearance than the gui that root opens.

By the way, I capitalized ROOT in my previous comments only for emphasis not for any other historical reason. I have been doing scientific computing in unix (on sun workstations, and larger machines such as crays, etc) and linux (on pc) for more than 30 years; back to the original versions of many of these systems and I am not a recent convert from windows.

I thank all for their contributions but we shouldn’t let these discussions degenerate into innuendos upon the competence of other people.
I was only reporting my observations to perhaps help some others get some work done albeit with some “improper” usage of openSUSE.
The draftsight software is great and you can’t beat the price. It is better than any other linux cad program I have tried.

I am done with this discussion.

Tom Kosvic