Thank you, this issue has been resolved and I’d like to thank Nil for helping me work out things on Slack. So now there exists a fully running and functional Dockerfile and Docker image and maybe this could be useful for others? I’ve noticed that many of the available Docker images aren’t running correctly and are no longer supported. With the help of Nil I have now arrived at a well running system that has Python3 and Scheme interfaces running and where scheme functions can be run from python3. I’m currently using this image to build some other things on top of it, some of that might also be of use to some people.
Thank you! On Sat, Apr 27, 2019 at 21:35 Linas Vepstas <[email protected]> wrote: > > > On Sat, Apr 27, 2019 at 1:24 PM Johannes Castner <[email protected]> > wrote: > >> now I also tried "apt-get install lib32readline-dev" and it still didn't >> work. How can I make readline work? >> > > Why not lib64readline-dev or better yet, plain-old libreadline-dev? Are > you trying to make opencog run in a 32-bit system? > > Did you remember to reconfigure, recompile and reinstall guile > afterwards? Get rid of the configure cache first --- otherwise, configure > will simply remember that last time, it did not find readline; it is not > going to check a second time. You have to remove the cache to make it check > again. > > -- linas > > >> >> On Friday, April 26, 2019 at 11:13:09 PM UTC+1, Amirouche Boubekki wrote: >>> >>> >>> >>> On Friday, April 26, 2019 at 12:05:46 PM UTC+2, Johannes Castner wrote: >>>> >>>> Dear group, >>>> >>>> If you could help me with this bug, I'd be greatly appreciative. I >>>> have a few scheme files, called `load_all.scm`, `math.scm`, >>>> `statements.scm`, `collectiwise.scm` that I want to import while working >>>> with the python scheme wrapper. Two months ago, this worked perfectly but >>>> now it seems, from the error message that I'm getting that some files are >>>> missing in that module? >>>> >>>> >>>> Traceback (most recent call last): >>>> File "python/scheme_router.py", line 24, in <module> >>>> """) >>>> File "scheme_wrapper.pyx", line 44, in >>>> opencog.scheme_wrapper.scheme_eval >>>> RuntimeError: Python-Scheme Wrapper: Failed to execute ' >>>> (load "load_all.scm") >>>> (add-to-load-path "collectiwise") >>>> (load "math.scm") >>>> (load "statements.scm") >>>> (load "collectiwise.scm") >>>> ' >>>> Backtrace: >>>> 19 (apply-smob/1 #<catch-closure 2d241e0>) >>>> 18 (apply-smob/1 #<catch-closure 2d24060>) >>>> In ice-9/boot-9.scm: >>>> 2312:4 17 (save-module-excursion _) >>>> In ice-9/eval-string.scm: >>>> 38:6 16 (read-and-eval #<input: string 2d158c0> #:lang _) >>>> In ice-9/boot-9.scm: >>>> 2312:4 15 (save-module-excursion _) >>>> 3832:10 14 (_) >>>> 1693:5 13 (%start-stack load-stack _) >>>> 1695:9 12 (_) >>>> In unknown file: >>>> 11 (primitive-load "/root/collectiwise/load_all.scm") >>>> In ice-9/eval.scm: >>>> 721:20 10 (primitive-eval (use-modules (ice-9 readline))) >>>> In ice-9/psyntax.scm: >>>> 1235:36 9 (expand-top-sequence ((use-modules (ice-9 readline))) _ >>>> \u2026) >>>> 1182:24 8 (parse _ (("placeholder" placeholder)) ((top) #(# # >>>> \u2026)) \u2026) >>>> 285:10 7 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) >>>> \u2026) >>>> In ice-9/boot-9.scm: >>>> 3377:20 6 (process-use-modules _) >>>> 222:17 5 (map1 (((ice-9 readline)))) >>>> 3378:31 4 (_ ((ice-9 readline))) >>>> 2803:6 3 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ >>>> \u2026) >>>> In unknown file: >>>> 2 (scm-error misc-error #f "~A ~S" ("no code for modu\u2026" >>>> \u2026) \u2026) >>>> In ice-9/boot-9.scm: >>>> 751:25 1 (dispatch-exception 0 misc-error (#f "~A ~S" ("no\u2026" >>>> \u2026) \u2026)) >>>> In unknown file: >>>> 0 (apply-smob/1 #<catch-closure 2d24020> misc-error #f >>>> "\u2026" \u2026) >>>> >>>> ERROR: In procedure apply-smob/1: >>>> *no code for module (ice-9 readline)* >>>> ABORT: misc-error >>>> (/root/atomspace/opencog/cython/opencog/PyScheme.cc:63) >>>> >>> >>> >>> You don't have readline or guile-readline. >>> >>> Which OS do you use? Which version of guile >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "opencog" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/opencog. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/opencog/0d20f99c-a9b4-4e5c-a768-c48fa5f4925b%40googlegroups.com >> <https://groups.google.com/d/msgid/opencog/0d20f99c-a9b4-4e5c-a768-c48fa5f4925b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > cassette tapes - analog TV - film cameras - you > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/CAHrUA34omR%3Dze0jcxqWwif_49QEV-YLFm%2BZr%3D6GbHAt5r227vg%40mail.gmail.com > <https://groups.google.com/d/msgid/opencog/CAHrUA34omR%3Dze0jcxqWwif_49QEV-YLFm%2BZr%3D6GbHAt5r227vg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Johannes -------------------------------------------------------------------------------------------------------- "Peace cannot be kept by force; it can only be achieved by understanding." - Albert Einstein -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CABZZiPKRQwJie9_3TUW8Px8AK-YQGeyDjK6uUhdEEhbkC-zmHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
