Errors and crash when importing Eagle .sch file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
New
|
Undecided
|
Unassigned |
Bug Description
When importing a .sch file made by Eagle, I get a lot of these:
Tried to attach a non-text item as an attribute
** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type 25799
�0�"�03zH�� �<<
Read garbage in [filename.sch]
and finally:
ERROR:o_
Backtrace is:
#0 0xb7fe1424 in __kernel_vsyscall ()
#1 0xb766ce71 in raise () from /lib/i386-
#2 0xb767034e in abort () from /lib/i386-
#3 0xb79753a0 in g_assertion_message () from /lib/i386-
#4 0xb797597d in g_assertion_
#5 0xb77ea975 in o_text_read () from /usr/lib/
#6 0xb77dd796 in o_read_attribs () from /usr/lib/
#7 0xb77d2821 in o_read_buffer () from /usr/lib/
#8 0xb77d28de in o_read () from /usr/lib/
#9 0xb77d317e in f_open_flags () from /usr/lib/
#10 0xb77d3553 in f_open () from /usr/lib/
#11 0x08099ac3 in ?? ()
#12 0x0805d345 in ?? ()
#13 0xb788ff26 in ?? () from /usr/lib/
#14 0xb78611e2 in ?? () from /usr/lib/
#15 0xb78d7ea3 in scm_c_catch () from /usr/lib/
#16 0xb78618a2 in scm_i_with_
#17 0xb7861983 in scm_c_with_
#18 0xb78d5d49 in scm_i_with_
#19 0xb78d5e3e in scm_with_guile () from /usr/lib/
#20 0xb789001f in scm_boot_guile () from /usr/lib/
#21 0x0805d677 in ?? ()
#22 0xb7658e37 in __libc_start_main () from /lib/i386-
#23 0x08055991 in ?? ()
tags: | added: libgeda |
We might want to detect the file kind for known other schematic types and post an error message that clearly states the incompatibility.
perhaps even suggesting a converter is one exists.
Steve
On Aug 24, 2011, at 4:18 AM, Marius Kotsbak wrote:
> Public bug reported: text_basic. c:422:o_ text_read: assertion failed: (num_lines && linux-gnu/ libc.so. 6 linux-gnu/ libc.so. 6 linux-gnu/ libglib- 2.0.so. 0 message_ expr () from /lib/i386- linux-gnu/ libglib- 2.0.so. 0 libgeda. so.38 libgeda. so.38 libgeda. so.38 libgeda. so.38 libgeda. so.38 libgeda. so.38 libguile. so.17 libguile. so.17 libguile. so.17 continuation_ barrier () from /usr/lib/ libguile. so.17 continuation_ barrier () from /usr/lib/ libguile. so.17 guile_and_ parent () from /usr/lib/ libguile. so.17 libguile. so.17 libguile. so.17 linux-gnu/ libc.so. 6 /bugs.launchpad .net/bugs/ 832682 text_basic. c:422:o_ text_read: assertion failed: (num_lines && linux-gnu/ libc.so. 6 linux-gnu/ libc.so. 6 linux-gnu/ libglib- 2.0.so. 0 message_ expr () ...
>
> When importing a .sch file made by Eagle, I get a lot of these:
>
> Tried to attach a non-text item as an attribute
>
> ** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type
> 25799
>
> �0�"�03zH�� �<<
> Read garbage in [filename.sch]
>
> and finally:
>
> ERROR:o_
> num_lines > 0)
>
> Backtrace is:
>
> #0 0xb7fe1424 in __kernel_vsyscall ()
> #1 0xb766ce71 in raise () from /lib/i386-
> #2 0xb767034e in abort () from /lib/i386-
> #3 0xb79753a0 in g_assertion_message () from /lib/i386-
> #4 0xb797597d in g_assertion_
> #5 0xb77ea975 in o_text_read () from /usr/lib/
> #6 0xb77dd796 in o_read_attribs () from /usr/lib/
> #7 0xb77d2821 in o_read_buffer () from /usr/lib/
> #8 0xb77d28de in o_read () from /usr/lib/
> #9 0xb77d317e in f_open_flags () from /usr/lib/
> #10 0xb77d3553 in f_open () from /usr/lib/
> #11 0x08099ac3 in ?? ()
> #12 0x0805d345 in ?? ()
> #13 0xb788ff26 in ?? () from /usr/lib/
> #14 0xb78611e2 in ?? () from /usr/lib/
> #15 0xb78d7ea3 in scm_c_catch () from /usr/lib/
> #16 0xb78618a2 in scm_i_with_
> #17 0xb7861983 in scm_c_with_
> #18 0xb78d5d49 in scm_i_with_
> #19 0xb78d5e3e in scm_with_guile () from /usr/lib/
> #20 0xb789001f in scm_boot_guile () from /usr/lib/
> #21 0x0805d677 in ?? ()
> #22 0xb7658e37 in __libc_start_main () from /lib/i386-
> #23 0x08055991 in ?? ()
>
> ** Affects: geda
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of gEDA Bug
> Team, which is subscribed to gEDA.
> https:/
>
> Title:
> Errors and crash when importing Eagle .sch file
>
> Status in GPL Electronic Design Automation tools:
> New
>
> Bug description:
> When importing a .sch file made by Eagle, I get a lot of these:
>
> Tried to attach a non-text item as an attribute
>
> ** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type
> 25799
>
> �0�"�03zH�� �<<
> Read garbage in [filename.sch]
>
> and finally:
>
> ERROR:o_
> num_lines > 0)
>
> Backtrace is:
>
> #0 0xb7fe1424 in __kernel_vsyscall ()
> #1 0xb766ce71 in raise () from /lib/i386-
> #2 0xb767034e in abort () from /lib/i386-
> #3 0xb79753a0 in g_assertion_message () from /lib/i386-
> #4 0xb797597d in g_assertion_