On Thu, 27 Jan 2011 20:49:24 +0100 (CET)
Vincent Torri <[email protected]> wrote:

> 
> 
> On Thu, 27 Jan 2011, Sebastian Dransfeld wrote:
> 
> > On 01/27/2011 08:14 PM, Vincent Torri wrote:
> >>
> >>
> >> On Thu, 27 Jan 2011, Dave Andreoli wrote:
> >>
> >>> Hi guys!
> >>>
> >>> Bad problem just before the release... :(
> >>>
> >>> On my Fedora14 ecore_file_download() is broken,
> >>> the completion/progress callbacks are never called. I can see
> >>> this in my applications, in the "elementary map test" and in the
> >>> python-ecore example: examples/file/01_ecore_file_download.py
> >>>
> >>> Download seem to start (no error on start), the "http://"; protocol is
> >>> available, but no callbacks are called  :/
> >>>
> >>> To be sure it's not a problem of mine I'm setting up 3 virtual machine
> >>> with clean os, Debian5, Ubuntu10.10 and Fedora14. They will be ready
> >>> this evening.
> >>>
> >>> No one spot the same problem? Can someone give it a try?
> >>
> >> I checked (I have curl) with the program below. It starts, and the
> >> completion callback is called (status value: 0). The file is downloaded.
> >> But indeed, the progress callback is never called.
> >>
> >> It's maybe a problem in ecore_con.
> >
> > Probably this commit.
> 
> not only. With my test case, the prog cb is called once and no completion 
> cb is called (nothing is downloaded)
> 
> Vincent
> 
> >
> > S.
> >
> > commit c75008005218334ba44aa3a5f95afb6f3b532f56
> > Author: discomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
> > Date:   Thu Jan 20 09:27:19 2011 +0000
> >
> >     I think someone meant to set it like this originally but was
> > confused by th
> >     ecore_con_url no longer shows progress bars
> >
> >
> >     git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk@56239
> > 7cbeb6ba-
> >
> > diff --git a/ecore/src/lib/ecore_con/ecore_con_url.c
> > b/ecore/src/lib/ecore_con/
> > index 1d6fcf5..fb94c5b 100644
> > --- a/ecore/src/lib/ecore_con/ecore_con_url.c
> > +++ b/ecore/src/lib/ecore_con/ecore_con_url.c
> > @@ -304,7 +304,7 @@ ecore_con_url_new(const char *url)
> >     curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSFUNCTION,
> >                      _ecore_con_url_progress_cb);
> >     curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSDATA, url_con);
> > -   curl_easy_setopt(url_con->curl_easy, CURLOPT_NOPROGRESS, EINA_FALSE);
> > +   curl_easy_setopt(url_con->curl_easy, CURLOPT_NOPROGRESS, EINA_TRUE);
> >
> >     curl_easy_setopt(url_con->curl_easy, CURLOPT_HEADERFUNCTION,
> >                      _ecore_con_url_header_cb);
> >
> >
> >
Hmm iirc that flag only affects the default curl progress output, not the
callbacks, which was why I toggled it.

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to