FS#56693 - [geda-gaf] gschem: Unable to parse config from; Unbound variable: %sys-data-dirs

Attached to Project: Community Packages
Opened by Maciej Piechotka (Uzytkownik) - Wednesday, 13 December 2017, 00:03 GMT
Last edited by Toolybird (Toolybird) - Saturday, 24 December 2022, 04:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When running gschem a bunch of error messages is displayed:

- "Unable to parse config from [/usr/share/gEDA/system-gafrc]: ERROR: Unbound variable: %sys-data-dirs"
- "Unable to parse config from [/usr/share/gEDA/system-gschemrc]: ERROR: Unbound variable: mirror-objects-hook"
- ...

Additional info:
* package version: geda-gaf-1.8.2-3
* config and/or log files etc.

gEDA/gschem version 1.8.2.20130925
gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.


Backtrace:
In ice-9/boot-9.scm:
712: 19 [map #<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> #]
3623: 18 [#<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
2900: 17 [resolve-interface (gschem keymap) #:select ...]
2825: 16 [#<procedure 3ab963e0 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...]
3101: 15 [try-module-autoload (gschem keymap) #f]
2412: 14 [save-module-excursion #<procedure 3ad619c0 at ice-9/boot-9.scm:3102:17 ()>]
3121: 13 [#<procedure 3ad619c0 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
?: 12 [primitive-load-path "gschem/keymap" ...]
In gschem/keymap.scm:
20: 11 [#<procedure 3ad641a0 ()>]
In ice-9/boot-9.scm:
2987: 10 [define-module* (gschem keymap) #:filename ...]
2962: 9 [resolve-imports ((#) (#) (#) (#) ...)]
2900: 8 [resolve-interface (gschem hook) #:select ...]
2825: 7 [#<procedure 3ab963e0 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...]
3101: 6 [try-module-autoload (gschem hook) #f]
2412: 5 [save-module-excursion #<procedure 3ad615d0 at ice-9/boot-9.scm:3102:17 ()>]
3121: 4 [#<procedure 3ad615d0 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
?: 3 [primitive-load-path "gschem/hook" ...]
In gschem/hook.scm:
25: 2 [#<procedure 3ad76260 ()>]
In ice-9/boot-9.scm:
105: 1 [#<procedure 3ad62fc0 at ice-9/boot-9.scm:100:6 (thrown-k . args)> unbound-variable ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 3ad4f340> unbound-variable ...]

ERROR: In procedure apply-smob/1:
ERROR: In procedure module-lookup: Unbound variable: %copy-objects-hook
Failed to read init scm file [/usr/share/gEDA/scheme/gschem.scm]

Backtrace:
In ice-9/boot-9.scm:
160: 19 [catch #t #<catch-closure 3ac10340> ...]
In unknown file:
?: 18 [apply-smob/1 #<catch-closure 3ac10340>]
In ice-9/boot-9.scm:
160: 17 [catch #t #<catch-closure 3ac39b00> ...]
In unknown file:
?: 16 [apply-smob/1 #<catch-closure 3ac39b00>]
In ice-9/boot-9.scm:
1734: 15 [%start-stack load-stack ...]
1739: 14 [#<procedure 3ae51ed0 ()>]
In unknown file:
?: 13 [primitive-load-path "geda.scm"]
In geda.scm:
2: 12 [#<procedure 3ac69c20 ()>]
In ice-9/boot-9.scm:
3622: 11 [process-use-modules (((geda os)) ((ice-9 optargs)) ((ice-9 ftw)))]
712: 10 [map #<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> (# # #)]
3623: 9 [#<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> ((geda os))]
2900: 8 [resolve-interface (geda os) #:select ...]
2825: 7 [#<procedure 3ab963e0 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...]
3101: 6 [try-module-autoload (geda os) #f]
2412: 5 [save-module-excursion #<procedure 3ae51de0 at ice-9/boot-9.scm:3102:17 ()>]
3121: 4 [#<procedure 3ae51de0 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
?: 3 [primitive-load-path "geda/os" ...]
In geda/os.scm:
44: 2 [#<procedure 3ac6f900 ()>]
In ice-9/boot-9.scm:
105: 1 [#<procedure 3ae24680 at ice-9/boot-9.scm:100:6 (thrown-k . args)> unbound-variable ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 3ac39a80> unbound-variable ...]

ERROR: In procedure apply-smob/1:
ERROR: In procedure module-lookup: Unbound variable: %sys-data-dirs
ERROR: Unable to parse config from [/usr/share/gEDA/system-gafrc]: ERROR: Unbound variable: %sys-data-dirs


Backtrace:
In ice-9/boot-9.scm:
160: 19 [catch #t #<catch-closure 3ac10340> ...]
In unknown file:
?: 18 [apply-smob/1 #<catch-closure 3ac10340>]
In ice-9/boot-9.scm:
160: 17 [catch #t #<catch-closure 3ad76e00> ...]
In unknown file:
?: 16 [apply-smob/1 #<catch-closure 3ad76e00>]
In ice-9/eval.scm:
505: 15 [#<procedure 3aae8520 at ice-9/eval.scm:499:4 (exp)> (use-modules #)]
In ice-9/psyntax.scm:
1107: 14 [expand-top-sequence ((use-modules (gschem deprecated))) () ...]
990: 13 [scan ((use-modules (gschem deprecated))) () ...]
279: 12 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3622: 11 [process-use-modules (((gschem deprecated)))]
712: 10 [map #<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> ((#))]
3623: 9 [#<procedure 3aba4b00 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)]
2900: 8 [resolve-interface (gschem deprecated) #:select ...]
2825: 7 [#<procedure 3ab963e0 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...]
3101: 6 [try-module-autoload (gschem deprecated) #f]
2412: 5 [save-module-excursion #<procedure 3ae3a2d0 at ice-9/boot-9.scm:3102:17 ()>]
3121: 4 [#<procedure 3ae3a2d0 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
?: 3 [primitive-load-path "gschem/deprecated" ...]
In gschem/deprecated.scm:
333: 2 [#<procedure 3adc4a60 ()>]
In ice-9/boot-9.scm:
105: 1 [#<procedure 3ae24340 at ice-9/boot-9.scm:100:6 (thrown-k . args)> unbound-variable ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 3ad76dc0> unbound-variable ...]

ERROR: In procedure apply-smob/1:
ERROR: In procedure module-lookup: Unbound variable: mirror-objects-hook
ERROR: Unable to parse config from [/usr/share/gEDA/system-gschemrc]: ERROR: Unbound variable: mirror-objects-hook

Could not find image at file: ../lib/bitmaps/gschem-comp.xpm.
Could not find image at file: ../lib/bitmaps/gschem-net.xpm.
Could not find image at file: ../lib/bitmaps/gschem-bus.xpm.
Could not find image at file: ../lib/bitmaps/gschem-text.xpm.
Could not find image at file: ../lib/bitmaps/gschem-select.xpm.
Loading schematic [/tmp/mysymbol.sym]
Cannot find file: /tmp/mysymbol.sym: No such file or directory
Tried to set the sensitivity on non-existent menu item '_Edit/_Paste'
Tried to set the sensitivity on non-existent menu item '_Edit/Cu_t'
Tried to set the sensitivity on non-existent menu item '_Edit/_Copy'
Tried to set the sensitivity on non-existent menu item '_Edit/_Delete'
Tried to set the sensitivity on non-existent menu item '_Edit/Copy Mode'
Tried to set the sensitivity on non-existent menu item '_Edit/Multiple Copy Mode'
Tried to set the sensitivity on non-existent menu item '_Edit/Move Mode'
Tried to set the sensitivity on non-existent menu item '_Edit/Rotate 90 Mode'
Tried to set the sensitivity on non-existent menu item '_Edit/Mirror Mode'
Tried to set the sensitivity on non-existent menu item '_Edit/Edit...'
Tried to set the sensitivity on non-existent menu item '_Edit/Edit Text...'
Tried to set the sensitivity on non-existent menu item '_Edit/Slot...'
Tried to set the sensitivity on non-existent menu item '_Edit/Color...'
Tried to set the sensitivity on non-existent menu item '_Edit/Lock'
Tried to set the sensitivity on non-existent menu item '_Edit/Unlock'
Tried to set the sensitivity on non-existent menu item '_Edit/Line Width & Type...'
Tried to set the sensitivity on non-existent menu item '_Edit/Fill Type...'
Tried to set the sensitivity on non-existent menu item '_Edit/Embed Component/Picture'
Tried to set the sensitivity on non-existent menu item '_Edit/Unembed Component/Picture'
Tried to set the sensitivity on non-existent menu item '_Edit/Update Component'
Tried to set the sensitivity on non-existent menu item '_Buffer/Copy into 1'
Tried to set the sensitivity on non-existent menu item '_Buffer/Copy into 2'
Tried to set the sensitivity on non-existent menu item '_Buffer/Copy into 3'
Tried to set the sensitivity on non-existent menu item '_Buffer/Copy into 4'
Tried to set the sensitivity on non-existent menu item '_Buffer/Copy into 5'
Tried to set the sensitivity on non-existent menu item '_Buffer/Cut into 1'
Tried to set the sensitivity on non-existent menu item '_Buffer/Cut into 2'
Tried to set the sensitivity on non-existent menu item '_Buffer/Cut into 3'
Tried to set the sensitivity on non-existent menu item '_Buffer/Cut into 4'
Tried to set the sensitivity on non-existent menu item '_Buffer/Cut into 5'
Tried to set the sensitivity on non-existent menu item 'Hie_rarchy/_Down Schematic'
Tried to set the sensitivity on non-existent menu item 'Hie_rarchy/Down _Symbol'
Tried to set the sensitivity on non-existent menu item 'Hie_rarchy/D_ocumentation...'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/_Attach'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/_Detach'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/Show _Value'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/Show _Name'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/Show _Both'
Tried to set the sensitivity on non-existent menu item 'A_ttributes/_Toggle Visibility'
Tried to set the sensitivity on non-existent menu item '_Buffer/Paste from 1'
Tried to set the sensitivity on non-existent menu item '_Buffer/Paste from 2'
Tried to set the sensitivity on non-existent menu item '_Buffer/Paste from 3'
Tried to set the sensitivity on non-existent menu item '_Buffer/Paste from 4'
Tried to set the sensitivity on non-existent menu item '_Buffer/Paste from 5'


Steps to reproduce:
Run gschem mysymbol.sym as on Wiki or open gschem.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 24 December 2022, 04:26 GMT
Reason for closing:  None
Additional comments about closing:  Dropped to the AUR 2022-05-29
Comment by Ivy Foster (escondida) - Friday, 11 October 2019, 00:38 GMT
Uzytkownik, do you still experience this issue? I couldn't reproduce it.

Loading...