unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: nalaginrut <nalaginrut@gmail.com>
To: guile-devel@gnu.org
Subject: guildhall update complain connection timeout
Date: Mon, 18 Jul 2011 23:34:44 +0800	[thread overview]
Message-ID: <1311003284.3054.79.camel@Renee-desktop> (raw)

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---




             reply	other threads:[~2011-07-18 15:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 15:34 nalaginrut [this message]
2011-07-21  2:02 ` guildhall update complain connection timeout nalaginrut
2011-08-15  9:21   ` Andy Wingo
2011-08-16  4:15     ` Nala Ginrut
2011-08-16  8:16       ` Andy Wingo
2011-08-16  8:23         ` Nala Ginrut
2011-12-06 10:54         ` Andy Wingo
2011-12-14 11:44           ` Nala Ginrut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311003284.3054.79.camel@Renee-desktop \
    --to=nalaginrut@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).