From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nalaginrut Newsgroups: gmane.lisp.guile.devel Subject: guildhall update complain connection timeout Date: Mon, 18 Jul 2011 23:34:44 +0800 Organization: HFG Message-ID: <1311003284.3054.79.camel@Renee-desktop> Reply-To: NalaGinrut@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311003484 24697 80.91.229.12 (18 Jul 2011 15:38:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 15:38:04 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jul 18 17:37:59 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiptP-0001U5-Cu for guile-devel@m.gmane.org; Mon, 18 Jul 2011 17:37:59 +0200 Original-Received: from localhost ([::1]:43707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiptN-0002ED-Rf for guile-devel@m.gmane.org; Mon, 18 Jul 2011 11:37:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiprT-0001oY-3Y for guile-devel@gnu.org; Mon, 18 Jul 2011 11:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiprO-0000Kn-HD for guile-devel@gnu.org; Mon, 18 Jul 2011 11:35:58 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:44256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiprO-0000Ki-92 for guile-devel@gnu.org; Mon, 18 Jul 2011 11:35:54 -0400 Original-Received: by iyb14 with SMTP id 14so2216372iyb.0 for ; Mon, 18 Jul 2011 08:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:reply-to:to:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=W+n0CHwhw7MgtLRaMDO8iS9vDH1ejkHAMQkdZdu7H58=; b=rHdjUpdR8qCkKucN1lDXRm4BGs8ztRXmv+RzQ72/lOb8vkQzWBIFgG98KbUQtkqa/v 9UxTRBj5lHDWpFTBj8X3ZShUaA0sibvDdKH4Skr4ODG0kUWeWgLqcE/w0tXTn8GAf9fb pRxPp7DH+pLXjYSlhqCySTjvaqxfUq4I7q298= Original-Received: by 10.42.28.72 with SMTP id m8mr7527645icc.242.1311003352767; Mon, 18 Jul 2011 08:35:52 -0700 (PDT) Original-Received: from [192.168.100.100] ([113.97.238.142]) by mx.google.com with ESMTPS id o1sm5060508ict.20.2011.07.18.08.35.30 (version=SSLv3 cipher=OTHER); Mon, 18 Jul 2011 08:35:52 -0700 (PDT) X-Mailer: Evolution 2.28.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12662 Archived-At: 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 # ...] 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 # ...] In unknown file: ?: 10 [with-fluids* (#) (#) ...] ?: 9 [with-fluids* (# # #) (# # #) ...] In /usr/share/guile/site/dorodango/database.scm: 254: 8 [call-with-database # #] In ../../module/ice-9/boot-9.scm: 184: 7 [with-throw-handler r6rs:exception # ...] In unknown file: ?: 6 [loop-procedure (#)] In /usr/share/guile/site/dorodango/repository.scm: 139: 5 [http-download # #] In ../../module/web/client.scm: 108: 4 [http-get # # # ...] In ../../module/web/response.scm: 185: 3 [read-response #] In ../../module/web/http.scm: 922: 2 [read-response-line #] 144: 1 [read-line* #] In unknown file: ?: 0 [%read-line #] 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 " #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---