Unknown Exception

  I have still a problem. I set up the annotea server exactly as it is 
described in the tutorial.
I use a maschine with red hat linux and an apache webserver.
I can watch the annotea-site with a normal browser but every time i post 
a new Annotation i get this error message:

-----
: Unknown Exception

blew its mind.

perl error: Can't call method "setRdfPrefix" on an undefined value at 
../../../W3C/Rdf/CGIApp.pm line 227.

W3C::Util::Exception thrown at 
/usr/local/perl/modules/W3C/Annotations/CGI/annotate:357
annotate::execute(...) at 
/usr/local/perl/modules/W3C/Annotations/CGI/annotate:180
(eval) at /usr/local/perl/modules/W3C/Annotations/CGI/annotate:170

Status: 500 died with Can't call method "flush" without a package or 
object reference at /usr/local/perl/modules/W3C/Annotations/CGI/annotate 
line 181.
Session-id: 1010051952.98223

-------

I watched the CGIApp.pm but i could not find an error cause i am not so 
familiar with the programs source code.
Then i watched the /tmp/annotate.log and this is what i got (i cut two 
rows and changed the server-names and ip adresses):

---------
annotate cgi 1010051952.98223 Thu Jan  3 10:59:12 CET 2002
w3c_annotate=%3C%3Fxml%20version%3D%221.0%22%3F%3E%0D%0A%3Cr%3ARDF%20xmlns%3Ar%3D%22http%3A%2F%2F
www.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%0D%0A%20%20%20%20%20%20%20xmlns%3Aa%3D%22http%3A%2F%2F
www.w3.org%2F2000%2F10%2Fannotation-ns........(i cut it here)
w3c_resource=http%3A%2F%2Fwww.annotea.myserver.de%2Fannotations%2Fattribution%2F1010051938.610320
w3c_rdfUri=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23
w3c_submit=POST%20new%20annotation
=
annotate env 1010051952.98223 Thu Jan  3 10:59:12 CET 2002
QUERY_STRING=
SERVER_ADDR=213.146.160.187
CONTENT_TYPE=application%2Fx-www-form-urlencoded
HTTP_ACCEPT_LANGUAGE=de%2Cen
SERVER_PROTOCOL=HTTP%2F1.0
HTTP_CONNECTION=Keep-Alive
POST_VARS=w3c_annotate%3D%253C%253Fxml%2Bversion%253D%25221.0%2522%253F%253E%250D%250A%253Cr%253ARDF%2
Bxmlns%253Ar%253D%2522http%253A%252F%252Fwww.w3.org%252F1999%252F02%252F22-rdf-syntax-ns%2523%2522%250D 
%250A%2B%2B%2B%2B%2B%2B%2Bxmlns%253Aa%253D%2522http%253A%252F%252Fwww.w3.org.......(i 
cut it here)
SERVER_SIGNATURE=%3CADDRESS%3EApache%2F1.3.12%20Server%20at%20www.annotea.myserver.de%20Port%2080%3C%2FADDRESS%3E%0A
HTTP_REFERER=http%3A%2F%2Fwww.annotea.myserver.de%2Fannotations%2F
REMOTE_PORT=1564
HTTP_USER_AGENT=Mozilla%2F4.51%20%5Bde%5DC-CCK-MCD%20QXW03200%20%20%28Win98%3B%20I%29
HTTP_ACCEPT=image%2Fgif%2C%20image%2Fx-xbitmap%2C%20image%2Fjpeg%2C%20image%2Fpjpeg%2C%20image%2Fpng%2C%20%2A%2F%2A
GATEWAY_INTERFACE=CGI%2F1.1
HTTP_HOST=www.annotea.myserver.de
SERVER_SOFTWARE=Apache%2F1.3.12%20%28Unix%29%20PHP%2F4.0.5%20FrontPage%2F4.0.4.3
SERVER_ADMIN=info%40myserver.de
REMOTE_USER=annotea
REMOTE_ADDR=65.57.51.69
SCRIPT_NAME=%2Fannotations
SERVER_NAME=www.annotea.myserver.de
HTTP_ACCEPT_ENCODING=gzip
DOCUMENT_ROOT=%2Fusr%2Flocal%2Fperl%2Fmodules%2FW3C%2FAnnotations%2F
REQUEST_URI=%2Fannotations
HTTP_ACCEPT_CHARSET=iso-8859-1%2C%2A%2Cutf-8
UNIQUE_ID=PDQrbtWSoLoAAC8PQIk
REQUEST_METHOD=POST
CONTENT_LENGTH=1987
SCRIPT_FILENAME=%2Fusr%2Flocal%2Fperl%2Fmodules%2FW3C%2FAnnotations%2FCGI%2Fannotate
PATH=%2Fsbin%3A%2Fusr%2Fsbin%3A%2Fbin%3A%2Fusr%2Fbin%3A%2Fusr%2FX11R6%2Fbin
AUTH_TYPE=Basic
SERVER_PORT=80
=
-----------------

I hope the information is sufficient. If someone needs more information, 
ask me.
Please send me all things that might could help me, cause at the moment 
i don't know where to continue my error-search.

Markus H.

Received on Thursday, 3 January 2002 06:18:58 UTC