Can not open saved dxf file

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

Re: Can not open saved dxf file

dxli

please try to follow all steps, and paste complete error messages.

http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source#Building_LibreCAD-2.0_on_OS.2FX
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

deanocarolyn
I tried to install gcc46 again and the attached file contains the info:

gcc46_error.rtf
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

deanocarolyn
Well, I read the error file and saw that Xcode Command Line was missing.  I had installed it earlier but I went thru the process of installing it again.

I then tried the install of gcc46 again and it worked. YEA

Do not have time right now to try installing the LibreCAD source but will get to it again this week.  

Thanks again for your help.  The log file for the install was 10.4 MB of mind numbing detail, who had time to type all that stuff the first time?
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Silvester
In reply to this post by deanocarolyn
I am having the same problem with my iMac and LibreCad. Opening a file with:
file/Open file <filename> results in a program crash.

The workaround where I just reload one of the 5 saved files works fine. So my guess is that importing the dxf-file with the menu option "Open file" differs from the import of one of the last saved files.

I am very interested in a solution for this problem. I have been using Autocad for the renovation of my house and occasionally need a CAD-programm for technical drawings, but don't use it professionally.

I will follow the discussion.
S
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Alby128
Same crash here. The .dxf file is attached. LibreCAD v. 2.00rc3

slitta.dxf

Report:

Process:         LibreCAD [7391]
Path:            /Applications/LibreCAD.app/Contents/MacOS/LibreCAD
Identifier:      com.yourcompany.LibreCAD
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  launchd [139]
User ID:         501

Date/Time:       2013-12-16 18:09:38.009 +0100
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          22056 sec
Crashes Since Last Report:           9
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      0CAAEE61-2092-2166-57C2-25967099001C

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Dyld Error Message:
  Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Applications/LibreCAD.app/Contents/MacOS/LibreCAD
  Expected in: /usr/lib/libstdc++.6.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                           0x00007fff64c5f09d dyld_fatal_error + 1
1   dyld                           0x00007fff64c62048 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2   libdyld.dylib                 0x00007fff88ac68ee dyld_stub_binder_ + 13
3   ???                           0x00000001055aed78 0 + 4384812408
4   ???                           0x0000000000000016 0 + 22
5   libstdc++.6.dylib             0x00007fff901275ea std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(char const*, std::_Ios_Openmode) + 186
6   ???                           0x132cc3358d48fb89 0 + 1381693820466953097

Thanks,
Al
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

dxli
tested.

it opens properly on OS/X 10.9.

The fact that it doesn't crash for me makes troubleshooting hard. Could you troubleshoot from your side? building in debug mode first, following wiki.librecad.org

OS/X is the most unstable port, and we need help from apple developers badly.


Alby128 wrote
Same crash here. The .dxf file is attached. LibreCAD v. 2.00rc3

slitta.dxf

Report:

Process:         LibreCAD [7391]
Path:            /Applications/LibreCAD.app/Contents/MacOS/LibreCAD
Identifier:      com.yourcompany.LibreCAD
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  launchd [139]
User ID:         501

Date/Time:       2013-12-16 18:09:38.009 +0100
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          22056 sec
Crashes Since Last Report:           9
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      0CAAEE61-2092-2166-57C2-25967099001C

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Dyld Error Message:
  Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Applications/LibreCAD.app/Contents/MacOS/LibreCAD
  Expected in: /usr/lib/libstdc++.6.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                           0x00007fff64c5f09d dyld_fatal_error + 1
1   dyld                           0x00007fff64c62048 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2   libdyld.dylib                 0x00007fff88ac68ee dyld_stub_binder_ + 13
3   ???                           0x00000001055aed78 0 + 4384812408
4   ???                           0x0000000000000016 0 + 22
5   libstdc++.6.dylib             0x00007fff901275ea std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(char const*, std::_Ios_Openmode) + 186
6   ???                           0x132cc3358d48fb89 0 + 1381693820466953097

Thanks,
Al
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Silvester
I am not sure whether this is of any help, but for me it works fine as a workaround. Maybe it will help developers to search in a certain direction, like path parameter that is not set correctly.

1  I created a simple rectangle, the size of A4 and saved this as A_block.dxf.
2  Each time when I have to start a drawing, the first thing I do is import A_block.dxf from the menu File/Import.
3  Once that is done, I choose File/New to start a new drawing. Now you can open in this new page an existing drawing, without crash of LibreCad.

Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

dxli
can you write steps to make LC crash?

if you can get a crashing dxf and non-crashing dxf, please upload them side by side.

Thanks,

Silvester wrote
I am not sure whether this is of any help, but for me it works fine as a workaround. Maybe it will help developers to search in a certain direction, like path parameter that is not set correctly.

1  I created a simple rectangle, the size of A4 and saved this as A_block.dxf.
2  Each time when I have to start a drawing, the first thing I do is import A_block.dxf from the menu File/Import.
3  Once that is done, I choose File/New to start a new drawing. Now you can open in this new page an existing drawing, without crash of LibreCad.
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Augustus
I'm almost certain you have not overlooked one of the (possible) simple fixes for crashing files when opening, because all of you in this thread seem to be experienced Mac users.

I'm actually quite new here with LibreCad and enjoying the learning process.

I had my first experience with some crashing and finally did a search for any LibreCad .plist files and found 2 of them which, once I deleted them, the crashing stopped. These plist files seem so fragile but, I guess they get written to a lot and when a crash occurs, sometimes only half the file gets written.

The two that I found were "com.yourcompany.LibreCAD.plist" and "LibreCAD.plist".
Deleting these and allowing them to be automatically recreated got me back on path again.

Sorry to butt-in…
Just trying to help...
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

dxli
Please test osx installers in
 https://sourceforge.net/projects/librecad/files/OSX/2.0.0/

I am trying to see whether the plist trouble is due to compiler settings.

Augustus wrote
I'm almost certain you have not overlooked one of the (possible) simple fixes for crashing files when opening, because all of you in this thread seem to be experienced Mac users.

I'm actually quite new here with LibreCad and enjoying the learning process.

I had my first experience with some crashing and finally did a search for any LibreCad .plist files and found 2 of them which, once I deleted them, the crashing stopped. These plist files seem so fragile but, I guess they get written to a lot and when a crash occurs, sometimes only half the file gets written.

The two that I found were "com.yourcompany.LibreCAD.plist" and "LibreCAD.plist".
Deleting these and allowing them to be automatically recreated got me back on path again.

Sorry to butt-in…
Just trying to help...
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Ronald Blackwood
In reply to this post by deanocarolyn
I am having the same problem of not being able to display a dxf file.  the file was created in libreCAD,
But when I try to open it all I see is the0,0 point.  I'm using macOS High Sierra 10.13.6.  Is there a fix for this problem.  other DXF viewers display the file ok.
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

LordOfBikes
Administrator
Which LibreCAD version?

I just got a similar report about the latest release candidate 2.2.0-rc3 on Windows.
If you have this version too, please see my post there:
https://forum.librecad.org/Windows-Installer-tp5721012p5721253.html

In this case the same applies to your issue and I need the file for further investigation.

Otherwise post more details.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Ronald Blackwood
This is the version of Librecad I'm using:
Version: 2.1.3
Compiler: Clang 8.0.0
Compiled on: Sep 22 2016
Qt Version: 5.6.1
Boost Version: 1.60.0
System: OS X 10.13

& the Mac OS. High Sierra  version 10.13.6
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

LordOfBikes
Administrator
In this case it is not related to the above linked thread. Then you should provide more information what exactly happens and how you open the file.

Do you open the file within LibreCAD, menu File -> Open or Recent Files? Or do you open it through Finder?

Off top of my head there were some issues on macOS with the way how files are opened. Iirc it doesn't work to open files from finder. It opens LibreCAD, but doesn't load a file.

Is the file name shown in the window frame or at the tab?
Have you tried Auto Zoom after opening?

You may also try to use the latest release candidate 2.2.0-rc3 from here:
https://sourceforge.net/projects/librecad/files/OSX/2.2/preRelease/

It is as stable as your 2.1.3 release, but has lots of improvements and a more safe DWG reading.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Ronald Blackwood
I Have tried all options to open the files.  The results are the same.  The command lines says it has loaded the file, the file name is shown above the work area, only layer listed is "0",  have zoomed extents.  loaded 2.2.0-rc3 with same result.
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

LordOfBikes
Administrator
Then maybe the DXF file is accidentally empty or corrupt.
So I need the file for further support.
You can post it here or contact me private like I wrote in the above linked thread.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Ronald Blackwood
With the latest version.  In LibreCad If I go "File"  "Open" it doesn't work.  If I go "File"  "Recent files" it does work, & if I use Safari & "Open With " it works.
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

LordOfBikes
Administrator
There is an issue on GitHub which matches your description:
https://github.com/LibreCAD/LibreCAD/issues/978

It is not clear, if my post there is the cause for the reported issues.
Can you please check, what Files of type shows when you open files in LibreCAD by File->Open menu.
And if it shows QCAD 1.x or anything else, like I assumed in my issue post, can you change this to Drawing exchange (dxf) and test again.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Can not open saved dxf file

Ronald Blackwood
The file type shown in LibreCad by File >open menu was QCAD 1.x.   I have changed it to Drawing exchange (dxf),   That has fixed the problem.  

Thank You
12