[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guildhall update complain connection timeout

From: nalaginrut
Subject: guildhall update complain connection timeout
Date: Mon, 18 Jul 2011 23:34:44 +0800

hi all, I tried "guild hall update", and get these errors:

address@hidden:cedar]$ guild hall update
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
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*
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:
ERROR: In procedure string->date: TIME-ERROR type
bad-date-template-string: ("Invalid string for " #<procedure
priv:locale-abbr-weekday->index (string)>)

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

GNU Powered it
GPL Protected it
GOD Blessed it

HFG - NalaGinrut

--hacker key--
---end key---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]