Discussion:
[E-devel] ecore_file_download() always abort after 30 seconds
Davide Andreoli
2012-02-25 21:50:59 UTC
Permalink
Please give a try at ecore/src/examples/ecore_file_download_example.c

All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...

btw, why the ecore_file_example is omitted from the build?

Thanks
davemds
Vincent Torri
2012-02-25 22:34:38 UTC
Permalink
On Sat, Feb 25, 2012 at 10:50 PM, Davide Andreoli
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
btw, why the ecore_file_example is omitted from the build?
missing stuff in Makefile.am, i guess

Vincent
Davide Andreoli
2012-02-26 15:43:14 UTC
Permalink
Post by Vincent Torri
On Sat, Feb 25, 2012 at 10:50 PM, Davide Andreoli
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
btw, why the ecore_file_example is omitted from the build?
missing stuff in Makefile.am, i guess
yes, sure, I changed the Makefile.am in my local branch, but
I'm not sure why it was omitted and I'm not sure at the way I
changed the makefile.
Can you please give it a look?
its ecore/src/examples/Makefile.am

Thanks
davemds
Post by Vincent Torri
Vincent
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Carsten Haitzler (The Rasterman)
2012-02-26 01:50:28 UTC
Permalink
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
crap. i need a download that takes > 30 sec.... ok found one. kernel was too
small... and it was ewcore_file_download's problem it set a timeout (max time
for operation) to ecore-con-url of 30 sec. removed. thats just silly.
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) ***@rasterman.com
Davide Andreoli
2012-02-26 15:38:40 UTC
Permalink
Post by Carsten Haitzler (The Rasterman)
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
crap. i need a download that takes > 30 sec.... ok found one. kernel was too
small... and it was ewcore_file_download's problem it set a timeout (max time
for operation) to ecore-con-url of 30 sec. removed. thats just silly.
yeah! thanks...and sorry for not fixing myself...so easy.

thanks goes to my new poor internet connection for spotting the bug :)

I see another problem that, didn't you see lots of:
CRI: ecore_con_url.c:1529 _ecore_con_url_timer() eina_log_print() unknown
domain -1, original message format 'multiperform is still running: %d,
timeout: %ld'

while downloading?
I can fix that by doing ecore_con_init() in the example, but it doesn't
seems to be the correct
solution...didn't you get all that warnings??
Post by Carsten Haitzler (The Rasterman)
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
Bluezery
2012-02-27 00:59:42 UTC
Permalink
Post by Davide Andreoli
Post by Carsten Haitzler (The Rasterman)
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
crap. i need a download that takes > 30 sec.... ok found one. kernel was too
small... and it was ewcore_file_download's problem it set a timeout (max time
for operation) to ecore-con-url of 30 sec. removed. thats just silly.
It's my fault because ecore_con_url callback sometimes was not called.
But this was fixed. I completely forgot to fix this :-(
Post by Davide Andreoli
yeah! thanks...and sorry for not fixing myself...so easy.
thanks goes to my new poor internet connection for spotting the bug :)
CRI: ecore_con_url.c:1529 _ecore_con_url_timer() eina_log_print() unknown
domain -1, original message format 'multiperform is still running: %d,
timeout: %ld'
while downloading?
I can fix that by doing ecore_con_init() in the example, but it doesn't
seems to be the correct
solution...didn't you get all that warnings??
I think that ecore_con_init() should be here in ecore_file_download_init()
or in ecore_con_init().
Post by Davide Andreoli
Post by Carsten Haitzler (The Rasterman)
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
BRs,
Kim.
Carsten Haitzler (The Rasterman)
2012-02-27 02:38:05 UTC
Permalink
Post by Davide Andreoli
Post by Carsten Haitzler (The Rasterman)
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
crap. i need a download that takes > 30 sec.... ok found one. kernel was too
small... and it was ewcore_file_download's problem it set a timeout (max time
for operation) to ecore-con-url of 30 sec. removed. thats just silly.
yeah! thanks...and sorry for not fixing myself...so easy.
thanks goes to my new poor internet connection for spotting the bug :)
CRI: ecore_con_url.c:1529 _ecore_con_url_timer() eina_log_print() unknown
domain -1, original message format 'multiperform is still running: %d,
timeout: %ld'
while downloading?
I can fix that by doing ecore_con_init() in the example, but it doesn't
seems to be the correct
solution...didn't you get all that warnings??
i didnt get any warnings, but i added an ecore_con_init to the file download
init.
Post by Davide Andreoli
Post by Carsten Haitzler (The Rasterman)
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) ***@rasterman.com
Davide Andreoli
2012-02-27 21:13:30 UTC
Permalink
Post by Carsten Haitzler (The Rasterman)
Post by Davide Andreoli
On Sat, 25 Feb 2012 22:50:59 +0100 Davide Andreoli <
Post by Davide Andreoli
Please give a try at ecore/src/examples/ecore_file_download_example.c
All the download will fail after 30 seconds, with return status=0
seems we are hitting some curl timeout...
crap. i need a download that takes > 30 sec.... ok found one. kernel
was
Post by Davide Andreoli
too
small... and it was ewcore_file_download's problem it set a timeout
(max
Post by Davide Andreoli
time
for operation) to ecore-con-url of 30 sec. removed. thats just silly.
yeah! thanks...and sorry for not fixing myself...so easy.
thanks goes to my new poor internet connection for spotting the bug :)
CRI: ecore_con_url.c:1529 _ecore_con_url_timer() eina_log_print() unknown
domain -1, original message format 'multiperform is still running: %d,
timeout: %ld'
while downloading?
I can fix that by doing ecore_con_init() in the example, but it doesn't
seems to be the correct
solution...didn't you get all that warnings??
i didnt get any warnings, but i added an ecore_con_init to the file download
init.
cool, thanks! this also fixed the warnings I got using ecore_file_download
from python
Post by Carsten Haitzler (The Rasterman)
Post by Davide Andreoli
--
------------- Codito, ergo sum - "I code, therefore I am"
--------------
------------------------------------------------------------------------------
Post by Davide Andreoli
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
Loading...