* guildhall update complain connection timeout
@ 2011-07-18 15:34 nalaginrut
2011-07-21 2:02 ` nalaginrut
0 siblings, 1 reply; 8+ messages in thread
From: nalaginrut @ 2011-07-18 15:34 UTC (permalink / raw)
To: guile-devel
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---
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
2011-07-18 15:34 guildhall update complain connection timeout nalaginrut
@ 2011-07-21 2:02 ` nalaginrut
2011-08-15 9:21 ` Andy Wingo
0 siblings, 1 reply; 8+ messages in thread
From: nalaginrut @ 2011-07-21 2:02 UTC (permalink / raw)
To: guile-devel
hi guys! I got new message for this topic.
If I run this:
------------------------>cut<--------------------------------
^_^[nalaginrut@Renee-desktop:guildhall]$ LANG=C
^_^[nalaginrut@Renee-desktop:guildhall]$ guild hall update
Fetching http://rotty.yi.org/doro/experimental/available.scm
Loading available information for repository `experimental'
------------------------>cut<--------------------------------
I changed locale to "C", then everything's OK. So I believe it's not the
problem of "keep-alive".
But the encoding problem is so strange. I think (web client) has already
dealt with the encoding.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x hackerkey.com
---end key---
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
2011-07-21 2:02 ` nalaginrut
@ 2011-08-15 9:21 ` Andy Wingo
2011-08-16 4:15 ` Nala Ginrut
0 siblings, 1 reply; 8+ messages in thread
From: Andy Wingo @ 2011-08-15 9:21 UTC (permalink / raw)
To: NalaGinrut; +Cc: guile-devel
Hi nalaginrut,
On Thu 21 Jul 2011 04:02, nalaginrut <nalaginrut@gmail.com> writes:
> ------------------------>cut<--------------------------------
> ^_^[nalaginrut@Renee-desktop:guildhall]$ LANG=C
> ^_^[nalaginrut@Renee-desktop:guildhall]$ guild hall update
> Fetching http://rotty.yi.org/doro/experimental/available.scm
> Loading available information for repository `experimental'
> ------------------------>cut<--------------------------------
>
> I changed locale to "C", then everything's OK. So I believe it's not the
> problem of "keep-alive".
> But the encoding problem is so strange. I think (web client) has already
> dealt with the encoding.
You had more information on IRC, which I found here:
Aug 04 21:12:19 <nalaginrut> wingo: OK, I believe I find the problem
finally.
Aug 04 21:17:20 <nalaginrut> wingo: It's not about Chinese locale , but
the default support of Ubuntu. Actually, Ubuntu will only install utf-8
in Chinese version(I don't know other version), because Chinese don't
have latin charmap. That means there's no "zh_CN iso-8859-1". So my
problem is "I don't even have iso-8859-1 in default setup", that's why I
must set LC_ALL to "C" to show a reasonable result.
Aug 04 21:19:11 <nalaginrut> wingo: Now I add en_US iso-8859-1 to
"/var/lib/locales/supported.d/local" , everything's OK!
Aug 04 21:21:05 <nalaginrut> well~should I report this exciting message
to guile-dev? It's very late I'm so tied. Hope wingo may see it.
Aug 04 21:22:57 <nalaginrut> wingo: OK, good news is update's all
right. Bad news is install have problem I've reported.
Aug 04 21:24:15 <nalaginrut> Hmm...sneek is down. Hope wingo see
it. I'll go to sleep.
(As an aside, it's always good to mail the list. IRC is often good for
debugging but it's not a good medium for bug reports :)
So, I don't understand what your locale has to do with the availability
of a conversion to latin-1. I don't doubt your bug report, but I don't
understand it fully. I don't think the same thing occurs on Debian
either. Does anyone have an idea?
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
2011-08-15 9:21 ` Andy Wingo
@ 2011-08-16 4:15 ` Nala Ginrut
2011-08-16 8:16 ` Andy Wingo
0 siblings, 1 reply; 8+ messages in thread
From: Nala Ginrut @ 2011-08-16 4:15 UTC (permalink / raw)
To: Andy Wingo, guile-devel
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
well, I think the network module of Guile uses iso-8859-1 to handle data for
some reasons. And my problem is Ubuntu chinese version doesn't have
iso-8859-1 installed. And I add it manually, so the connection of Guile is
OK now.
[-- Attachment #2: Type: text/html, Size: 248 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
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
0 siblings, 2 replies; 8+ messages in thread
From: Andy Wingo @ 2011-08-16 8:16 UTC (permalink / raw)
To: Nala Ginrut; +Cc: guile-devel
On Tue 16 Aug 2011 06:15, Nala Ginrut <nalaginrut@gmail.com> writes:
> well, I think the network module of Guile uses iso-8859-1 to handle data
> for some reasons. And my problem is Ubuntu chinese version doesn't have
> iso-8859-1 installed. And I add it manually, so the connection
> of Guile is OK now.
I am unclear as to what it means to have iso-8859-1 installed or not.
Does it mean that you don't have the gconv modules installed?
$ grep 8859-1// /usr/lib/x86_64-linux-gnu/gconv/gconv-modules
alias ISO-IR-100// ISO-8859-1//
alias ISO_8859-1:1987// ISO-8859-1//
alias ISO_8859-1// ISO-8859-1//
alias ISO8859-1// ISO-8859-1//
alias ISO88591// ISO-8859-1//
alias LATIN1// ISO-8859-1//
alias L1// ISO-8859-1//
alias IBM819// ISO-8859-1//
alias CP819// ISO-8859-1//
alias CSISOLATIN1// ISO-8859-1//
alias 8859_1// ISO-8859-1//
alias OSF00010001// ISO-8859-1//
module ISO-8859-1// INTERNAL ISO8859-1 1
module INTERNAL ISO-8859-1// ISO8859-1 1
(This would probably be on /usr/lib/gconv/gconv-modules on your system.)
I also have a .so file, /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so.
Are these files not on your system by default?
Curiously yours,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
2011-08-16 8:16 ` Andy Wingo
@ 2011-08-16 8:23 ` Nala Ginrut
2011-12-06 10:54 ` Andy Wingo
1 sibling, 0 replies; 8+ messages in thread
From: Nala Ginrut @ 2011-08-16 8:23 UTC (permalink / raw)
To: Andy Wingo, guile-devel
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
Well ,maybe I did a bad describe. I believe all locale was installed, but
some are not activated.
# cat /var/lib/locales/supported.d/local
zh_CN.UTF-8 UTF-8
en_US.UTF-8 UTF-8
And I add a line to this file:
en_US.ISO-8859-1 ISO-8859-1
then it's OK.
[-- Attachment #2: Type: text/html, Size: 372 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
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
1 sibling, 1 reply; 8+ messages in thread
From: Andy Wingo @ 2011-12-06 10:54 UTC (permalink / raw)
To: Nala Ginrut; +Cc: guile-devel
Hello Nala :)
On Tue 16 Aug 2011 10:16, Andy Wingo <wingo@pobox.com> writes:
> On Tue 16 Aug 2011 06:15, Nala Ginrut <nalaginrut@gmail.com> writes:
>
>> well, I think the network module of Guile uses iso-8859-1 to handle data
>> for some reasons. And my problem is Ubuntu chinese version doesn't have
>> iso-8859-1 installed. And I add it manually, so the connection
>> of Guile is OK now.
>
> I am unclear as to what it means to have iso-8859-1 installed or not.
> Does it mean that you don't have the gconv modules installed?
>
> $ grep 8859-1// /usr/lib/x86_64-linux-gnu/gconv/gconv-modules
> alias ISO-IR-100// ISO-8859-1//
> alias ISO_8859-1:1987// ISO-8859-1//
> alias ISO_8859-1// ISO-8859-1//
> alias ISO8859-1// ISO-8859-1//
> alias ISO88591// ISO-8859-1//
> alias LATIN1// ISO-8859-1//
> alias L1// ISO-8859-1//
> alias IBM819// ISO-8859-1//
> alias CP819// ISO-8859-1//
> alias CSISOLATIN1// ISO-8859-1//
> alias 8859_1// ISO-8859-1//
> alias OSF00010001// ISO-8859-1//
> module ISO-8859-1// INTERNAL ISO8859-1 1
> module INTERNAL ISO-8859-1// ISO8859-1 1
>
> (This would probably be on /usr/lib/gconv/gconv-modules on your system.)
>
> I also have a .so file, /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so.
> Are these files not on your system by default?
Did you find an answer here?
We will need to change our assumptions if there are no ISO-8859-1
converters on a fresh Chinese Ubuntu install.
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guildhall update complain connection timeout
2011-12-06 10:54 ` Andy Wingo
@ 2011-12-14 11:44 ` Nala Ginrut
0 siblings, 0 replies; 8+ messages in thread
From: Nala Ginrut @ 2011-12-14 11:44 UTC (permalink / raw)
To: Andy Wingo, guile-devel
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
On Tue, Dec 6, 2011 at 6:54 PM, Andy Wingo <wingo@pobox.com> wrote:
> Hello Nala :)
>
>
> Did you find an answer here?
>
> We will need to change our assumptions if there are no ISO-8859-1
> converters on a fresh Chinese Ubuntu install.
>
>
I confess I can not point what's the real issue for this problem since
there're less people here using Ubuntu. Moreover, few
Chinese guilers here too. So I haven't collected sufficient information to
determine what's going on.
Anyway, I think I can provide a way to help Chinese guilers to fix the
"guildhall update halt problem". Hope there'll be some new comers help me
collect more information to fix this.
Thanks Andy!
Please do whatever further for guildhall if you want to.
I believe it's not the best time to get a conclusion for this problem. So
let's ignore it temporary. I'll raise a new discussion if I get new
information for this problem.
[-- Attachment #2: Type: text/html, Size: 1375 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-12-14 11:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 15:34 guildhall update complain connection timeout nalaginrut
2011-07-21 2:02 ` 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
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).