Opened 11 years ago
Closed 11 years ago
#41100 closed defect (fixed)
geda-gaf not finding config files
Reported by: | craignied@… | Owned by: | markemer (Mark Anderson) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | geda-gaf |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I upgraded geda-gaf to 1.8.2:
~$ port installed geda-gaf The following ports are currently installed: geda-gaf @1.6.2_1 geda-gaf @1.8.2_0 (active)
It is now not finding the config files:
$ cat gschem.log ... Read ~/.gEDA/gafrc file [/home/craign/.gEDA/gafrc] Did not find optional local gafrc file [/home/craign/gaf/projects/proto4000/gafrc]
It seems to be looking for /home as in a Linux build rather than /Users as in a OSX build
Change History (16)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to emer@… |
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 11 years ago by craignied@…
Massive apologies. I fell down the wrong rabbit hole. I am having problems running 1.8.2, but pasted the wrong log file. The log file is displayed when the program is initially run, just run gschem, and you'll see a box with all the errors.
The file exists:
$ ls /opt/local/share/gEDA/scheme/gschem.scm /opt/local/share/gEDA/scheme/gschem.scm
Could this be because I upgraded the port rather than doing a clean install? 1.6.2 still works.
This is what I'm getting:
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. ERROR: In procedure dynamic-link: ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found" Failed to read init scm file [/opt/local/share/gEDA/scheme/gschem.scm] Backtrace: In unknown file: ?: 19 (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #)) ... ?: 20 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...) ...) ?: 21* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 22* [#<procedure #f ()>] ?: 23* (let* ((file #)) (cond (# => #) (# => #))) ?: 24 [#<procedure #f (full)> "/opt/local/share/gEDA/scheme/geda/os.scm"] ?: 25 [with-fluid* #<fluid 7> #f #<procedure #f ()>] ?: 26* [#<procedure #f ()>] ?: 27* [load-file #<primitive-procedure primitive-load> ...] ?: 28* [save-module-excursion #<procedure #f ()>] ?: 29 (let (# #) (dynamic-wind # thunk #)) ?: 30 [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 31* [#<procedure #f ()>] ?: 32* [primitive-load "/opt/local/share/gEDA/scheme/geda/os.scm"] In /opt/local/share/gEDA/scheme/geda/os.scm: 34: 33* (define-public separator-char (if (platform? #) #\\ #\/)) 34: 34 (begin (define-private separator-char (if # #\\ #\/)) (eval-case (# #))) In unknown file: ?: 35* (define-private separator-char (if (platform? #) #\\ #\/)) In /opt/local/share/gEDA/scheme/geda/os.scm: 35: 36* (if (platform? (quote win32-native)) #\\ #\/) 35: 37* [platform? win32-native] 32: 38 (member x (platform)) /opt/local/share/gEDA/scheme/geda/os.scm:32:3: In expression (member x (platform)): /opt/local/share/gEDA/scheme/geda/os.scm:32:3: Unbound variable: member ERROR: Unable to parse config from [/opt/local/share/gEDA/system-gafrc]: Unbound variable: member Parsed config from [/Users/craign/.gEDA/gafrc] Backtrace: In /opt/local/share/gEDA/system-gschemrc: 27: 0* (color-map-make-friendly display-color-map) /opt/local/share/gEDA/system-gschemrc:27:1: In expression (color-map-make-friendly display-color-map): /opt/local/share/gEDA/system-gschemrc:27:1: Unbound variable: color-map-make-friendly ERROR: Unable to parse config from [/opt/local/share/gEDA/system-gschemrc]: Unbound variable: color-map-make-friendly 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 [/Users/craign/Desktop/test.sch] Component [title-B.sym] was not found in the component library 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' Tried to set the sensitivity on non-existent menu item '_Edit/_Paste'
comment:4 Changed 11 years ago by markemer (Mark Anderson)
Something seriously wacky is going on here. I had it working, but I was able to replicate on a 100% fresh install. Trying to narrow it down. It appears to be something incompatible between geda and the latest guile.
comment:5 Changed 11 years ago by craignied@…
Thanks! The disappointment of not having this working is actually less than reading the words "something seriously wacky" :) Thanks for looking into it.
comment:6 follow-up: 7 Changed 11 years ago by markemer (Mark Anderson)
Seems we're not the first to experience this from upstream, but there isn't a lot of info out there. I'm going to try and build from git and see if it goes away. If so - I might want to just grab a tag from git that I know works reliably.
comment:7 Changed 11 years ago by craignied@…
Replying to emer@…:
Seems we're not the first to experience this from upstream, but there isn't a lot of info out there. I'm going to try and build from git and see if it goes away. If so - I might want to just grab a tag from git that I know works reliably.
1.6.2 seems to work, so I'm hanging on to that for a while. Let me know if you figure it out!
comment:8 Changed 11 years ago by thomasrussellmurphy (Thomas Russell Murphy)
I have the exact same error log. Mac OS 10.6.8, MacPorts 2.2.1, geda-gaf 1.8.2.
comment:9 follow-up: 10 Changed 11 years ago by markemer (Mark Anderson)
I think might take a while to fix. Information upstream is pretty lousy. This problem exists in both stable and unstable. I'm not sure if we should roll back to 1.6.2 or wait until I get this patched. I'm leaning toward the latter, but let me know what the opinion is.
comment:10 follow-up: 11 Changed 11 years ago by craignied@…
Replying to emer@…:
I think might take a while to fix. Information upstream is pretty lousy. This problem exists in both stable and unstable. I'm not sure if we should roll back to 1.6.2 or wait until I get this patched. I'm leaning toward the latter, but let me know what the opinion is.
I'm running 1.6.2 now because I need gEDA :) I'm concerned about other users new to gEDA who won't be able to use it. I'd vote for moving it back until it's fixed, but *please* keep working on it, and many thanks for doing so!!
comment:11 Changed 11 years ago by thomasrussellmurphy (Thomas Russell Murphy)
Replying to craignied@…:
Replying to emer@…:
I think might take a while to fix. Information upstream is pretty lousy. This problem exists in both stable and unstable. I'm not sure if we should roll back to 1.6.2 or wait until I get this patched. I'm leaning toward the latter, but let me know what the opinion is.
I'm running 1.6.2 now because I need gEDA :) I'm concerned about other users new to gEDA who won't be able to use it. I'd vote for moving it back until it's fixed, but *please* keep working on it, and many thanks for doing so!!
You should roll back. I was hoping to start a schematic this weekend and couldn't. I tried just reinstalling with the 1.6.2 portfile, but I was missing the correct libpng version, so I gave up. Functional on install > bigger version number.
comment:12 follow-up: 13 Changed 11 years ago by markemer (Mark Anderson)
Can someone with commit access revert this portfile back to the previous, or would it be easier for me to manually make it 1.6.2 again until I fix this nonsense?
comment:13 Changed 11 years ago by larryv (Lawrence Velázquez)
Rolled back in r113142. Users with 1.8.2 will get 1.6.2 on next sync+upgrade.
comment:14 Changed 11 years ago by thomasrussellmurphy (Thomas Russell Murphy)
Revert successful. Now have
$ port installed geda-gaf The following ports are currently installed: geda-gaf @1.6.2_0 (active) geda-gaf @1.6.2_1 geda-gaf @1.8.2_0
And gschem launches properly.
comment:15 Changed 11 years ago by markemer (Mark Anderson)
Cool. Ok, now I'll get to fixing this. It's a problem upstream that needs patching.
comment:16 Changed 11 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I’m considering this ticket fixed. Use #41660 to track 1.8.2 update.
Replying to craignied@…:
Where is this logfile located and what steps are needed to produce it?