Feature Request: Upload to ITmages

Bug #651029 reported by Dmitry Korotovsky
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Shutter
Fix Released
Wishlist
Mario Kemper (Romario)

Bug Description

I would like to see in your program http://itmages.ru or http://itmages.com
Developer API exists, but has not yet been documented. But in which case I'll be able to provide information on it.

Regards, Dmitry.

Changed in shutter:
milestone: none → 0.88
assignee: nobody → Mario Kemper (Romario) (mario-kemper)
importance: Undecided → Wishlist
status: New → Opinion
Revision history for this message
Dmitry Korotovsky (rmpic30) wrote :

API:
request to http://itmages.com/api/add

POST: name="UFileManager[picture]"
 - name of picture.
POST: name="UFileManager[picture]"; filename="123.png" - as file.

ex: http://bazaar.launchpad.net/~itmages/itmages/itmages-nautilus-extension/annotate/head%3A/itmages/iomod.py#L117

response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <status>ok</status>
    <reason></reason>
    <obj>
        <full>i/10/0929/h_1285779694_135e50215f.png</full>
        <thumb>i/10/0929/s_1285779694_135e50215f.png</thumb>
        <mime>image/png</mime>
        <created>2010-09-29 19:01:34</created>
        <width>1024</width>
        <height>600</height>
        <size>130122</size>
        <id>61738</id>
        <key>135e5021</key>
    </obj>
</response>

Changed in shutter:
status: Opinion → Fix Committed
Changed in shutter:
status: Fix Committed → Fix Released
Revision history for this message
maksymov.vlad (maksymov.vlad) wrote : Re: [Bug 651029] Re: Feature Request: Upload to ITmages

24.11.2011 17:07, Mario Kemper (Romario) пишет:
> ** Changed in: shutter
> Status: Fix Committed => Fix Released
>
HTTP::Message content must be bytes at
/usr/share/perl5/HTTP/Request/Common.pm line 91

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

24.11.2011 17:07, Mario Kemper (Romario) пишет:
> ** Changed in: shutter
> Status: Fix Committed => Fix Released
>
and after previous massage i got this:
File does not exist: Wide character in syswrite at
/usr/lib/perl/5.12/IO/Handle.pm line 205.
  at
/usr/share/shutter/resources/system/upload_plugins/upload//ITmages.pm
line 115

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

What was the name of the file you've tried to upload? I suppose we have
a problem with encoding here...

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Should be the same problem as described here: https://bugs.launchpad.net/shutter/+bug/894416

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

24.11.2011 21:25, Mario Kemper (Romario) пишет:
> What was the name of the file you've tried to upload? I suppose we have
> a problem with encoding here...
>
Not encoding problem. I set a file name format as %NNN in shutter
settings, made a screenshot with name "002" and tried to upload it. And
again
HTTP::Message content must be bytes at
/usr/share/perl5/HTTP/Request/Common.pm line 91

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

24.11.2011 21:30, Mario Kemper (Romario) пишет:
> Should be the same problem as described here:
> https://bugs.launchpad.net/shutter/+bug/894416
>
It looks like the same bug. But what mean the status "Fix Commited"?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Could you please check the latest beta packages and see if the bug is fixed now?

sudo add-apt-repository ppa:shutter-testing-team/ppa
sudo apt-get update && sudo apt-get install shutter

You'll have version 0.88.1 after upgrading. Thanks!

Revision history for this message
Dmitry Korotovsky (rmpic30) wrote :

http://bazaar.launchpad.net/~rmpic30/+junk/shutter-itmages/revision/1176 You must make these changes to the plugin to upload.

Best regards, Dmitry.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Thanks for your comment. Can you please explain your changes a bit and why they are needed? Using the latest testing packages (see my comment above) the plugin works fine anyway.

It is a little bit confusing because it looks like your changes are related to the problem that was reported by maksymov.vlad. Thanks for your help.

Revision history for this message
Dmitry Korotovsky (rmpic30) wrote :

API version at /api soon become unavailable. (Outdated)

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

25.11.2011 12:47, Mario Kemper (Romario) пишет:
> sudo apt-get update&& sudo apt-get install shutter
All services work perfectly with Guest account, but:

1. Minus: Image was uploaded but I got 400 BAD REQUEST at the end
2. ToileLibre - image not uploads

PS
I was interested with ITimages, it works great, so thank you!
sorry for my english :)

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

fixed with 0.88.1
thank you!

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Thanks. Committed.

Am Freitag, den 25.11.2011, 17:46 +0000 schrieb Dmitry Kor:
> API version at /api soon become unavailable. (Outdated)

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Thanks for your feedback!

> 1. Minus: Image was uploaded but I got 400 BAD REQUEST at the end

This is already handled here: https://bugs.launchpad.net/bugs/894577

> 2. ToileLibre - image not uploads

What does that mean? Do you see any error message? Would you please open
a new bug report for it? It is working here...would be interesting to
investigate.

Revision history for this message
maksymov.vlad (maksymov.vlad) wrote :

26.11.2011 14:09, Mario Kemper (Romario) пишет:
> Thanks for your feedback!
>
>> 1. Minus: Image was uploaded but I got 400 BAD REQUEST at the end
> This is already handled here: https://bugs.launchpad.net/bugs/894577
>
>> 2. ToileLibre - image not uploads
> What does that mean? Do you see any error message? Would you please open
> a new bug report for it? It is working here...would be interesting to
> investigate.
>
I'm sorry. my mistake. no problem with ToileLibre

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.