[drakma-devel] Re: drakma/chunga problem.
Edi Weitz
edi at agharta.de
Sun Feb 4 23:25:08 UTC 2007
Hi!
On Sun, 4 Feb 2007 13:45:25 +0800, "Asbjørn Bjørnstad" <asbjxrn at bjxrnstad.net> wrote:
> I'm not sure whether this is a bug or not.
[Please use the mailing list to report bugs. See Cc.]
> I'm planning to set up automatic bug reporting into trac.
> (http://trac.edgewall.com)
>
> Posting the message works, but if I try to add a cookie jar, I get
> an error. (The cookie jar is empty before the call, if that is not
> how it's supposed to be used, you can safely ignore this.) As I said
> it's working without cookies, and I don't plan to use cookies, just
> thought you might want to know about a possible bug. This is with
> the latest version of chunga and drakma.
>
> Backtrace attached as I don't know if gmail might break lines and
> make it unreadable (Password changed, if you want a trac account to
> test youself, it can be arranged.)
I think this is the relevant part of the backtrace:
Call to CHUNGA:READ-NAME-VALUE-PAIR (offset 78)
STREAM : #<SYSTEM::STRING-INPUT-STREAM 2175A5B3>
CHUNGA::VALUE-REQUIRED-P : NIL
CHUNGA::COOKIE-SYNTAX : T
Call to CHUNGA:READ-NAME-VALUE-PAIRS (offset 449)
STREAM : #<SYSTEM::STRING-INPUT-STREAM 2175A5B3>
CHUNGA::VALUE-REQUIRED-P : NIL
CHUNGA::COOKIE-SYNTAX : T
CHAR : #\;
DBG::|accumulator-| : (NIL ("expires" . "Sat, 05-May-2007 05:11:54 GMT") ("Path" . "/realtist"))
DBG::|aux-var-| : (("Path" . "/realtist"))
Binding frame:
CHUNGA:*CURRENT-ERROR-MESSAGE* : NIL
Catch frame: #<Unbound Marker>
Call to DRAKMA::PARSE-SET-COOKIE (offset 426)
STRING : "trac_session=20ae843edfe4ed8c7a3815ec; expires=Sat, 05-May-2007 05:11:54 GMT; Path=/realtist;"
DBG::OBJ : #<SYSTEM::STRING-INPUT-STREAM 2175A5B3>
DBG::DESC : (#<SYSTEM::STRING-INPUT-STREAM 2175A5B3> T :DONT-CARE)
STREAM : #<SYSTEM::STRING-INPUT-STREAM 2175A5B3>
CHUNGA:*CURRENT-ERROR-MESSAGE* : "While parsing cookie header \"trac_session=20ae843edfe4ed8c7a3815ec; expires=Sat, 05-May-2007 05:11:54 GMT; Path=/realtist;\":"
FIRST : T
DRAKMA::NEXT : #\t
DRAKMA::NAME/VALUE : ("trac_session" . "20ae843edfe4ed8c7a3815ec")
DRAKMA::PARAMETERS : NIL
DBG::|accumulator-| : (NIL)
DBG::|aux-var-| : (NIL)
It seems the problem is the semicolon at the end and that this is a
bug that was fixed in Chunga 0.2.3. Are you sure you're using the
latest version?
http://weitz.de/chunga/CHANGELOG.txt
Cheers,
Edi.
More information about the Drakma-devel
mailing list