Hello,

I've just updated the Collection extension and i get the same error on
my wiki.
The result of the command is :

curl -D - -o out.pdf -d collection_id=92ef735b20b83538 -d writer=rl -d
command=download http://tools.pediapress.com/mw-serve/
 % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent
Left  Speed
  0    57    0     0    0    57      0    260 --:--:-- --:--:--
--:--:--   260HT
TP/1.1 200 OK
Server: nginx/0.6.32
Date: Thu, 10 Sep 2009 11:23:31 GMT
Content-Type: application/pdf; charset=UTF-8
Connection: keep-alive
Content-Length: 162941
Content-Disposition: inline; filename=collection.pdf

100  159k  100  159k    0    57   132k     47  0:00:01  0:00:01
--:--:--  161k

Best regards,
Anthony


On 10 sep, 10:51, Johannes Beigel <[email protected]>
wrote:
> On 09.09.2009, at 16:45, Tonyo wrote:
>
> > Thank you for your help.
>
> Thanks for your information!
>
> > Actually, now I have this error message informing me that the file
> > does not exist.
>
> This error message is most probably a blatant lie, as you've shown  
> with your curl command :) (See below for the fix for this error  
> message.)
>
>
>
> > But if I run the following command :
> > curl -D - -o test.pdf -d collection_id=79dc1e4d199b863d -d writer=rl -
> > d command=downloadhttp://tools.pediapress.com/mw-serve/
>
> > I can have my pdf file and i get this result :
>
> >  % Total    % Received % Xferd  Average Speed   Time    Time
> > Time  Current
> >                                 Dload  Upload   Total   Spent
> > Left  Speed
> >  0    57    0     0    0    57      0    260 --:--:-- --:--:--
> > --:--:--   260HT
> > TP/1.1 200 OK
> > Server: nginx/0.6.32
> > Date: Wed, 09 Sep 2009 14:31:23 GMT
> > Content-Type: application/pdf; charset=UTF-8
> > Transfer-Encoding: chunked
> > Connection: keep-alive
> > Content-Disposition: inline; filename=collection.pdf
>
> Another (but probably unrelated) bug that has been pointed out by this  
> output is that there's no Content-length in this response. I've fixed  
> that in:
>
>    http://code.pediapress.com/git/?p=mwlib;a=commit;h=770a1780efe7424aaa...
>
> > For information, my wiki is on shared hosting. So I can't launch this
> > command line directly on my server. i haven't got more idea what is
> > the problem.
>
> > But may be you can have an idea of my problem?
>
> I don't know yet what the problem is, but I've applied a change to the  
> Collection extension code, so that at least errors from cURL are not  
> swallowed/hidden:
>
>    http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56130
>
> Could you update the Collection extension and post the resulting error  
> here?
>
> -- Johannes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to