LibreCad Crashes When Opening File

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
75 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
I tried to install VB and opensuse12.2 on it.
After installing opensuse12.2 (old version don't know the version) I tried to install LCad.
I got this:
nothing provides libdxfrw.so.o needed by librecad-2.0.0rc1.git20130625-1.1.i586

The problem is after installing opensuse I did not have enough free space to install LCad and after a reboot opensuse refuses to start after logging in (I think that's because not having enough free space)
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

Rallaz
I installed OpenSUSE in VB with 8GB hard disk "dynamically allocated", and, at the end of install-update the size is 4,88 GB. To resize your virtual HD read:
https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi

> nothing provides libdxfrw.so.o
librecad-2.0.0rc1.git20130625 requires muparser2 (directly installed from main repository) and
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-0.5.9-1.1.i586.rpm
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
In reply to this post by Rallaz
Hi R.
Loading file "mechtute4.dxf " causes immediate crash.

All RPM's have identical revision numbers except for:

Rallaz:
        libmuparser2-2.2.2-2.1.2.i586   (apparently newer?)

Me:
        libmuparser2-2.2.2-1.1.i586

        Which was obtained a few days ago from:

        http://librecad.org/cms/home/installation/rpm-packages.html

BTW, I am impressed with your virtual machine tour-de-force.
Tenth dan stuff.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
In reply to this post by Rallaz
"...To resize your virtual HD read:... "
Because I used "fixed-size" I could not resize it. So I deleted some files to get more space and reinstalled openSuse using 8GB (again fixed-size).
Linux 3.4.6-2.10-default
openSuse12.2
KDE4.8.4(4.8.4) "release2"

Version:
12.2.6 (2012-08-02)

Trying to install LCad (from http://librecad.org/cms/home/installation/rpm-packages.html ->librecad-2.0.0rc1.git20130625-1.1.i586.rpm ), I got the same error as before.
When doing:
 right click at the downloaded rpm package->open with->Apper Installer
I get:
Image and video hosting by TinyPic

When doing:
 right click at the downloaded rpm package->open with->Install/Remove Software
I get:
Image and video hosting by TinyPic

Looking at the dependencies:
Image and video hosting by TinyPic

I found "libdxfrw.so.0" beeing in the Requires Section, shouldn't it be in the Provides section???
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

Rallaz
@cantcode:
Required libraries are packaged separately.
Then, first install libdxfrw0, download it from:
http://download.opensuse.org/repositories/home:/Rallaz/openSUSE_12.2/i586/libdxfrw0-0.5.9-1.1.i586.rpm

@ozcad:
I installed libmuparser2 from main openSuse repo

The rpm from:
 http://librecad.org/cms/home/installation/rpm-packages.html
are only "If not are present in your distribution"

About crash, I tested LC in lubuntu & openSuse in 32 & 64 bits and in winXP 32 bits
(real machines openSuse 64 & winXP 32) and I can't reproduce the crash :-(
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
ok, thought that libdxfrw0 would come with the LCad package.
Just an idea would it be possible to include the libdxfrw0 into the rpm package?
If this is possible and does not take much effort it would be nice, so one only has to download the LCad package and nothing else. Then openSuse would look if libdxfrw0 is already installed and >= the needed version.
It would be easier for the user to install LCad.
But if it takes too much time just let it the way it's now.

So I got the same results when opening mechtute3.dxf.
opening mechtute3.dxf, mechtute4.dxf and mectuto.dxf won't crash LCad on my openSuse running in VB.
Also saving to all versions of the dxf format won't crash LCad.
screenshot showing  LCad after opening mectuto.dxf
Image and video hosting by TinyPic
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
In reply to this post by Rallaz
After installing  librecad-2.0.0rc1.git20130625-1.1.i586.rpm, I uninstalled it and installed 1.0 from the repository.
Then installed librecad-2.0.0rc1.git20130625-1.1.i586.rpm and it also worked. -> no crash

rallaz can you please give me librecad-2.0.0beta5-1.1.i586.rpm so I can try to install that one and have a look at it?

packages I installed for the working setup:
librecad 2.0.0rc1.git20130625-1.1(1.0.2-2.1.2)
librecad-parts 1.0.2-2.1.1
libmuparser2 2.2.2-2.1.2
libdxfrw0 0.5.9-1.1

Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
In reply to this post by Rallaz
I can only find an older version, libmuparser2-2.2.2-1.1.i586.rpm

Could you give me a URL please?  openSUSE is a big "place".

BTW, I really like the idea mentioned above of including the support library files in the LibreCAD rpm.
I'll bet all sorts of things would clear up.

A similar thing was done with FreeCad, where they finally provided A link to ALL the support libraries and it "just worked" because all the files were of the correct matching vintages exactly as used by the developers.
I thank you for your patience.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

Rallaz
@cantcode:
I don't have any copy of beta5, rpm are build using OpenSuese bulid service (OBS) and on build a new version the previous are deleted.

@ozcad:
You do not need any URL, simply use YAST2 (buscar = find)

Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
This post was updated on .
Truly it may be said that a picture is worth a thousand words.
I had never before needed or noticed the "Versiones" (Versions) tab in the lower screen area.
This brings a lot of understanding when I re-read your instructions relating to versions.

I now have installed:

librecad           2.0.0rc1.git20130625-1.1-i586    vendor obs://build.opensuse.org/home:Rallaz

librecad-parts   2.0.0rc1.git20130625-1.1-i586    vendor obs://build.opensuse.org/home:Rallaz

lbmuparser2    2.2.3-15.1-i586                          vendor openSUSE-Education

libdxfrw0         0.5.9-1.1-i586                            vendor obs://build.opensuse.org/home:Rallaz

But... it crashes just the same.  It cannot load or save any .dxf file.  This includes the supplied demo files
a3.dxf, screw.dxf, t-part.dxf and tux.dxf.

Edited to add:
My request for a URL was for something to add to the yast "Software Repositories" list, so that I don't have to think.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
@ozcad
what happens if you do File->New and then draw something and after that File->Export to .png or something else?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
Good question.

Exporting to:
   .png = OK
   .jpg = OK
   .svg = OK
... and so on.

It just will not open or save .dxf files.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
ozcad can you please do this in a terminal and show the created file:
rpm -qa --last >> inst.txt

this will show ALL installed packages on your machine in opensuse and sort them by installation time.
No problem if you don't want to do that.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
before trying the above.
Can you please CUT the file
/home/<user>/.config/LibreCAD/LibreCAD.conf
and paste it somewhere else (as backup)
So there is no .conf file in the /home/<user>/.config/LibreCAD/ folder.
And start LibreCad.
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
After renaming the old config file to back it up,
then running LibreCAD,
and attempting to load one of the example files,
which crashes LibreCAD,
the newly generated LibreCAD file contains:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[Appearance]
Language=en
LanguageCmd=en

[Defaults]
Unit=Millimeter

[Print]
PaperSizeX=210
PaperSizeY=297

[Paths]
Open=/home/jim/Documents/Junk/LibreCadLibrary
OpenFilter=Drawing Exchange (*.dxf)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
AAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHH
Hoped, it would change something.
What about the list with the insatlled packages?
Do you want to do that? (as I said it will show ALL your installed packages)
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
In reply to this post by ozcad
will creating new file and saving it also crash LCad?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

ozcad
Quote:
    will creating new file and saving it also crash LCad?
Yes.

When you say "list of installed packages", do you mean all of the brazillion+1 packages installed on my system?
If so, here it is.
jimrpmlist
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
This post was updated on .
ozcad could you please use
rpm -qa --last >> inst.txt
this will sort the installed packages by time
(just open a terminal and paste it there, this should create a inst.txt file in your home directory)

Could you try to uninstall libstdc++33-3.3.3-35.1.2.i586 first (if yast won't mind (no dependences))?
Reply | Threaded
Open this post in threaded view
|

Re: Update on LibreCad Crashes When Opening File

cantcode
Ok another idea,
First:
Could you try to uninstall libstdc++33-3.3.3-35.1.2.i586 first (if yast won't mind (no dependencies issues))?

if that does not help could you please start the program called Apper and do this:
Image and video hosting by TinyPic


Image and video hosting by TinyPic

this will create a file .config wich I will try to use to get the same packages on my openSuse so I don't have to bother you that
much.
1234