Matthew Wilson | 6 Jul 18:36
Picon
Picon

Problems with "update" operations


Hi,

   Recently I started to have problems with updating annotations in 
Annozilla. After a bit of investigation I am starting to think it might 
be a server problem, and was wondering if anyone was seeing the same issues.

   I had been testing with the annotest server, but after I started to 
run into problems - getting 500 errors when trying to delete my 
annotations - I installed a server locally, using CVS tag V1_2.

   What I seem to find, using 
http://www.w3.org/2001/Annotea/User/Protocol.html as an example, is:

1. If I use the "PUT" method of updating, then it seems to work, but I 
don't get any annotations for the page when I reload.

2. If I use the "POST" method of updating, then I get back 201 for the 
annotation, and the update seems to work. But if I "DELETE" the 
annotation, then I get back a 500 error, because two annotations with 
the same id exist. (This looks like the same kind of problem I was 
having with annotest.)

Amaya seems to have some similar problems - if I update an annotation, 
then I get an error message back when I try to reload it.

Any thoughts? Does this sound like a server installation error or a 
software problem?

Matthew Wilson
(Continue reading)

Matthew Wilson | 6 Jul 21:48
Picon
Picon

Re: Problems with "update" operations


Matthew Wilson wrote:
> 
> Hi,
> 
>   Recently I started to have problems with updating annotations in 
> Annozilla. After a bit of investigation I am starting to think it might 
> be a server problem, and was wondering if anyone was seeing the same 
> issues.
> 
>   I had been testing with the annotest server, but after I started to 
> run into problems - getting 500 errors when trying to delete my 
> annotations - I installed a server locally, using CVS tag V1_2.
> 
>   What I seem to find, using 
> http://www.w3.org/2001/Annotea/User/Protocol.html as an example, is:
> 
> 1. If I use the "PUT" method of updating, then it seems to work, but I 
> don't get any annotations for the page when I reload.

I found the problem, for this case at least. It's an incompatibility 
with the version of CGI.pm. Later versions of CGI.pm require something 
like this:

--- W3C/Util/W3CDebugCGI.pm     8 Sep 2003 19:26:44 -0000       1.83.2.1
+++ W3C/Util/W3CDebugCGI.pm     6 Jul 2008 19:46:53 -0000
@@ -484,7 +484,7 @@
      my $putData = undef;
      if ($ENV{'REQUEST_METHOD'} eq 'PUT') {
         if (my $contentLength = $ENV{'CONTENT_LENGTH'}) {
(Continue reading)

Picon
Favicon

A VOTRE ATTENTION

A VOTRE ATTENTION
 
" ECOPECPROCI " structure d'épargne et de crédit dont le siège est à Abidjan Côte d'Ivoire avec ses partenaires Sud Africains ,Marocains et Canadiens viennent de lancer une tombola nommee MERCATO LOTERIE dans le cadre d'une semaine promotionnelle initié par notre associe Microsoft
 
Au terme de ce tirage supervisé par un huissier,les résultas se
présentent comme Suits :
1er lot   : la somme d'un montant de 2,500,000 Euros
 
2nd lot   : la somme d'un montant de 1,100,000 Euros
3ième lot : la somme d'un montant de   89,000 Euros
 
4ième lot : la somme d'un montant de   70,000 Euros
5ième lot : la somme d'un montant de   55,000 Euros
 
Lors du tirage de cette tombola qui concerne aussi bien les personnes vivant ici en Côte D'ivoire que hors de Côte d'Ivoire mais qui ont une adresse électronique,votre adresse électronique a été tirée au Cinquieme rang donc l'heureux (se) bénéficiaire de la somme de 55.000 Euros.
A la lecture de ce message,envoyer un courrier a l'avocat qui a superviseur ce tombola pour le rerait de votre prix.
 
 
 Maitre kone
 
Email:mt.cabinet_ahemd <at> ymail.com



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.

Gmane