hi all, I tried "guild hall update", and get these errors: ------------------------------>cut<---------------------------------- ^_^[nalaginrut@Renee-desktop:cedar]$ guild hall update Fetching http://rotty.yi.org/doro/experimental/available.scm Backtrace: In ../../module/ice-9/boot-9.scm: 170: 16 [catch #t #<catch-closure 89bc360> ...] In unknown file: ?: 15 [catch-closure] In ../../module/ice-9/boot-9.scm: 62: 14 [call-with-prompt prompt0 ...] In ../../module/ice-9/eval.scm: 389: 13 [eval # #] In /usr/local/bin/guild: 80: 12 [main ("/usr/local/bin/guild" "hall" "update")] In ../../module/ice-9/boot-9.scm: 184: 11 [with-throw-handler r6rs:exception #<procedure 91485b0 ()> ...] In unknown file: ?: 10 [with-fluids* (#<fluid 28>) (#<procedure 906ecc0 args>) ...] ?: 9 [with-fluids* (#<fluid 33> #<fluid 32> #<fluid 25>) (# # #) ...] In /usr/share/guile/site/dorodango/database.scm: 254: 8 [call-with-database #<r6rs:record:database> #<procedure 917ac20 (db)>] In ../../module/ice-9/boot-9.scm: 184: 7 [with-throw-handler r6rs:exception #<procedure 9177480 ()> ...] In unknown file: ?: 6 [loop-procedure (#<r6rs:record:repository>)] In /usr/share/guile/site/dorodango/repository.scm: 139: 5 [http-download # #] In ../../module/web/client.scm: 108: 4 [http-get # # #<input-output: socket 173> ...] In ../../module/web/response.scm: 185: 3 [read-response #<input-output: socket 173>] In ../../module/web/http.scm: 922: 2 [read-response-line #<input-output: socket 173>] 144: 1 [read-line* #<input-output: socket 173>] In unknown file: ?: 0 [%read-line #<input-output: socket 173>]
ERROR: In procedure %read-line: ERROR: In procedure fport_fill_input: *CONNECTION TIMEOUT* ----------------------------->cut<-------------------------- Notice: the original error message is Chinese since my locale is zh_CN.utf8, so I translated it to *CONNECTION TIMEOUT*. There're two problems under my system for guildhall: 1. I must set keep-alive to true(It's false in default). Or it will throw the error above,and accompany with a long time halt, then timeout; 2. I must do (setlocale LC_ALL "C") before I get bytes from the uri. Or it will told me: ----------------------->cut<------------------------- ERROR: In procedure string->date: TIME-ERROR type bad-date-template-string: ("Invalid string for " #<procedure priv:locale-abbr-weekday->index (string)>) ----------------------->cut<------------------------- If I do (setlocale LC_ALL "C") before, I'd get correct bytevector from the uri with http-get. I know the encoding of Guile's network bytevector must be iso-8859-1 for some reasons. But I think decode-string has already set the encoding to a proper one. The Guile version is 2.0.2.11-126a3. -- GNU Powered it GPL Protected it GOD Blessed it HFG - NalaGinrut --hacker key-- v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x hackerkey.com ---end key---