jovanzers / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Image Upload Broken on dabr.co.uk #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
1) Try to upload a picture with a message

What happened?

Get the following error

status=Test
image=/tmp/phpfOZyZe;type=image/jpeg;filename=comscore qr.jpg
response=

info=

Array
(
    [url] => https://upload.twitter.com/1/statuses/update_with_media.json
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.659468
    [namelookup_time] => 0.02789
    [connect_time] => 0.179161
    [pretransfer_time] => 0.659427
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
)

code=

0

What did you expect to happen?
The image to upload.

So, this works fine on my install. I'm running the bog standard SVN copy on 
shkspr.mobi/dabr

Can't see what the issue is.  Only thing to note is when I originally uploaded 
it to mine, it didn't work then (mysteriously) it started working the next 
morning. Can't think why.  Any suggestions?

Looks like the CURL isn't even attempting the transfer.

Original issue reported on code.google.com by terence.eden on 1 Sep 2011 at 9:06

GoogleCodeExporter commented 9 years ago
Issue 296 has been merged into this issue.

Original comment by terence.eden on 24 Sep 2011 at 3:37

GoogleCodeExporter commented 9 years ago
Haven't managed to use dabr to upload pics since the option changed to "Upload 
Picture".

Error is as below. Attached the "offending" picture.

Damn! Something went wrong. Sorry :-(
 code=0
 status=test
 image=/tmp/phpGM537O;type=image/jpeg;filename=ST-man-dumps-cat.jpg
 response=

 info=
Array
(
    [url] => https://upload.twitter.com/1/statuses/update_with_media.json
    [http_code] => 0
    [header_size] => 0
    [request_size] => 0
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.636731
    [namelookup_time] => 0.015627
    [connect_time] => 0.1647
    [pretransfer_time] => 0.63668
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
)

 code=
0

Original comment by ser...@gmail.com on 24 Nov 2011 at 7:02

Attachments:

GoogleCodeExporter commented 9 years ago
It happens when Twitter API for uploads is down. It should have a proper error 
text.

Original comment by saif4...@gmail.com on 16 Mar 2013 at 3:07