W3C home > Mailing lists > Public > www-annotation@w3.org > January to June 2002

Can't call method "rdfToken"

From: Markus Hoffmann <maho@gmx.ch>
Date: Thu, 25 Apr 2002 23:19:00 +0200
Message-ID: <3CC872C4.3090703@gmx.ch>
To: www-annotation@w3.org
I installed the annotea server v1.1on my redhat linux machine (i use a 
mysql database).
Without the rdf.prop file in the right directory my browser displays the 
annotea page correct but with the
following statement:
Can't open file "../../../Conf/rdf.prop": No such file or directory
 switching to ephemoral DB
That's ok. But the aim is to use the real rdf database and so i copied 
the rdf.prop file to the right location.
Now there's the following problem.
The browser shows this message:
native perl exception "Can't call method "rdfToken" on an undefined 
value at ../../../W3C/Rdf/XmlSerializer.pm line 28.
" in W3C::Annotations::AnnotationApp::W3C::Rdf::CGIApp::makePresenter
W3C::Util::PerlException thrown at ../../../W3C/Rdf/CGIApp.pm:127
W3C::Rdf::CGIApp::makePresenter(...) at 
W3C::Annotations::AnnotationApp::makePresenter(...) at 
W3C::Annotations::CGI::AnnotateScript::execute(...) at 
(eval) at /usr/local/perl/modules/W3C/Annotations/CGI/annotate:197

Session-id: 1019767733.453811
I watched the source code of the file XmlSerializer.pm the code of line 
28 is:
 $self->{-rdfTag} = $self->{-RdfDB}->rdfToken('RDF')->getUri;
But i don't know where to find the mistake. I checked the database 
several times and gave the annotea-user all database rights but nothing 
I would be very glad if anybody can send me some help. Perhaps where the 
mistake might be? Where i have to search to find it?
What is the functionality of the method "rdfToken" ?

Received on Thursday, 25 April 2002 17:18:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:55 UTC