Comments (6)
I don't see any tracebacks, can you invoke backtrace
while in debugger? That way I'll know where in the code this error happens.
Also I see you built SBCL without --fancy
flag, so maybe it's lacking some feature that's needed for this to work. You can also try the official binaries (the latest version 2.1.10 is available for Windows)
from ichiran.
Can you post the full traceback? I haven't seen such an error, and I've been running this on Windows 10 too.
from ichiran.
Sure. I try to document the whole process because I don’t know where the error stems from. I’ve attached a few logfiles from the whole installation process of sbcl as well. I don’t know if its relevant but I build the sbcl.exe with the 2.1.4. x64 binary and the 2.1.6 source code (I also tried to build it with 2.1.9 binary and 2.1.9 source code but ran into build errors).
This time I couldn't reproduce the gai_strerror error, but got another error instead while running the command (ql:quickload :ichiran). If you don't know german "Das System konnte den Pfad nicht finden" means "The System couldn't find the path":
; Loading "lparallel"
ASDF could not load sb-cltl2 because Failed to find the TRUENAME of "C:\\Users\\Wolfi\\quicklisp\\dists\\quicklisp\\software\\lparallel-20160825-git\\.\\lib\\sbcl": Das System kann den angegebenen Pfad nicht finden..
While evaluating the form starting at line 31, column 0
of #P"C:/Users/Wolfi/quicklisp/dists/quicklisp/software/lparallel-20160825-git/lparallel.asd":
debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread #<THREAD "main thread" RUNNING {1002300153}>: Error while trying to load definition for system lparallel from pathname C:/Users/Wolfi/quicklisp/dists/quicklisp/software/lparallel-20160825-git/lparallel.asd: Failed to find the TRUENAME of "C:\\Users\\Wolfi\\quicklisp\\dists\\quicklisp\\software\\lparallel-20160825-git\\.\\lib\\sbcl": Das System kann den angegebenen Pfad nicht finden.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [USE-VALUE ] Specify a different path.
1: [RETRY ] Retry completing load for #<REQUIRE-SYSTEM "sb-cltl2">.
2: [ACCEPT ] Continue, treating completing load for #<REQUIRE-SYSTEM "sb-cltl2"> as having been successful.
3: [RETRY ] Retry EVAL of current toplevel form.
4: [CONTINUE ] Ignore error and continue loading file "C:\\Users\\Wolfi\\quicklisp\\dists\\quicklisp\\software\\lparallel-20160825-git\\lparallel.asd".
5: [ABORT ] Abort loading file "C:\\Users\\Wolfi\\quicklisp\\dists\\quicklisp\\software\\lparallel-20160825-git\\lparallel.asd".
6: Retry #<DEFINE-OP > on #<UNDEFINED-SYSTEM "lparallel">.
7: Continue, treating #<DEFINE-OP > on #<UNDEFINED-SYSTEM "lparallel"> as having been successful.
8: Retry ASDF operation.
9: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
10: Retry ASDF operation.
11: Retry ASDF operation after resetting the configuration.
12: Give up on "lparallel"
13: Give up on "ichiran"
14: [REGISTER-LOCAL-PROJECTS ] Register local projects and try again.
15: Exit debugger, returning to top level.
((FLET "H0" :IN PERFORM) #<SB-INT:SIMPLE-FILE-ERROR "Failed to find the ~A of ~S" {1004D8E3F3}>)
source: (ERROR (QUOTE LOAD-SYSTEM-DEFINITION-ERROR) :NAME (COERCE-NAME S) :PATHNAME PATHNAME :CONDITION CONDITION)
0
ichiran_load.txt
sbcl_buildlog.txt
sbcl_installlog.txt
]
from ichiran.
Ok..I just reinstalled quicklisp, this time there was no problem with ichiran:load but the gai strerror error came again when add-errata:
* (ichiran/mnt:add-errata)
debugger invoked on a SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR @20000A61 in thread
#<THREAD "main thread" RUNNING {10022D05D3}>:
The alien function "gai_strerror" is undefined.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RECONNECT] Try again.
1: [ABORT ] Exit debugger, returning to top level.
("undefined function")
0]
from ichiran.
Here's the backtrace:
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1005720003}>
0: ("undefined function")
1: ((SB-KERNEL::CONDITION-REPORT SB-BSD-SOCKETS:NAME-SERVICE-ERROR) #<SB-BSD-SOCKETS:HOST-NOT-FOUND-ERROR {1007BD9223}> #<SB-IMPL::STRING-OUTPUT-STREAM {5FEEA3}>)
2: ((LABELS SB-IMPL::HANDLE-IT :IN SB-KERNEL:OUTPUT-OBJECT) #<SB-IMPL::STRING-OUTPUT-STREAM {5FEEA3}>)
3: (SB-INT:STRINGIFY-OBJECT #<SB-BSD-SOCKETS:HOST-NOT-FOUND-ERROR {1007BD9223}>)
4: (PRINC-TO-STRING #<SB-BSD-SOCKETS:HOST-NOT-FOUND-ERROR {1007BD9223}>)
5: (CL-POSTGRES::WRAP-SOCKET-ERROR #<SB-BSD-SOCKETS:HOST-NOT-FOUND-ERROR {1007BD9223}>)
6: ((FLET CL-POSTGRES::ADD-RESTART :IN CL-POSTGRES::INITIATE-CONNECTION) #<SB-BSD-SOCKETS:HOST-NOT-FOUND-ERROR {1007BD9223}>)
7: (CL-POSTGRES::INITIATE-CONNECTION #<CL-POSTGRES:DATABASE-CONNECTION {1007BD88D3}> 0)
8: (CL-POSTGRES:OPEN-DATABASE "jmdict" "postgres" "123" "5432" 5432 :NO "postgres" "" NIL)
9: (ICHIRAN/MAINTENANCE:ADD-ERRATA NIL)
10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ICHIRAN/MAINTENANCE:ADD-ERRATA) #<NULL-LEXENV>)
11: (EVAL (ICHIRAN/MAINTENANCE:ADD-ERRATA))
12: (INTERACTIVE-EVAL (ICHIRAN/MAINTENANCE:ADD-ERRATA) :EVAL NIL)
13: (SB-IMPL::REPL-FUN NIL)
14: ((LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL))
15: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<FUNCTION (LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL) {10040EC25B}>)
16: (SB-IMPL::TOPLEVEL-REPL NIL)
17: (SB-IMPL::TOPLEVEL-INIT)
18: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
19: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
20: (SB-IMPL::START-LISP)
21: ("foreign function: #x14002C7B3")
22: ("foreign function: #x14000438E")
The issue seems to be related to the database connection. I just checked the settings.lisp file and the connection parameters are definitely correct...
from ichiran.
Update: I found my mistake...I used the portnumber instead of keeping "localhost" in the settings...now it works.
from ichiran.
Related Issues (20)
- Support for がい/かい suffix HOT 1
- JSON returned by ichiran/cli HOT 4
- 一箇年 and 堪へる are missing kana_text, causing internal server error HOT 2
- Used postgres version HOT 4
- Minor note about database_name HOT 2
- Include root word information for conjugated words in JSON
- ichiran-cli doesn't work HOT 8
- Support for んだ and んです suffix HOT 1
- ichiran gets 「1週間後 」wrong HOT 1
- Logging for Postgres queries HOT 4
- Docker entrypoint missing on Windows HOT 1
- `Database error 42P01: relation "kana_text" does not exist` from CLI due to `switch-conn-vars` HOT 2
- Improving expression detection HOT 1
- てもいい / でもいい dropping も out of data HOT 2
- Spliting words functionality HOT 6
- Docker compose issues with pg_restore and running tests/cli HOT 4
- Newest Ichiran with newest data seems to be failing 31 tests HOT 11
- Curious treatment of kanji-break list HOT 2
- Segmentation issue HOT 2
- Docker setup with 2024 January dump complains HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ichiran.