-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (18) . 

PyShare (imageshack/rapidshare/twitpic)

   0.6.2  

Nautilus Script

Score 76%
PyShare (imageshack/rapidshare/twitpic)
zoom


PyShare (imageshack/rapidshare/twitpic)
zoom


PyShare (imageshack/rapidshare/twitpic)
zoom


Homepage:  Link
Blog:  Link
Minimum required   GTK 2.x
Downloads:  5893
Submitted:  Mar 13 2009
Updated:  Jun 2 2011

Description:

This scripts allows you to easily upload images, screenshots, or other files and gives you links for: IM, Forums, HTML, Direct, Forums Thumbnail, HTML Thumbnail and Twitter(rapidshare gives only IM Forums and HTML)


INSTALLATION:
1. unpack folder and run install.sh (It will link some of the files from unpacked folder to nautilius scripts).
2. install python-pycurl (if not already installed)
3. install scrot (only if you want to send screenshots, not needed for sending files)
For best lossless screenshot compression install also optipng and set 'filesize' to 0 in configuration dialog(not advised on slow computer with fast connection, strongly advised on strong computer with slow connection)

If above don't work try restarting nautilius

UPDATING:
a. overwrite old folder content with new one
b. unpack folder anywhere and run overwrite.sh (It will overwrite link in nautilius scripts folder)



DESCRIPTION:
sendFiles - sends selected image(s) to your preferred uploader(imageshack ot twitpic) and other files to rapidhshare - if no file is selected shows empty window on which you can drop files
sendDesktopScreenshot - takes screenshot of desktop and send it to your preferred uploader(imageshack ot twitpic)
sendWindowScreenshot - takes screenshot of clicked window or takes screenshot of selected area(note: first run this script, then click on window/select area)
PyShare_GTK - shows PyShare window. You can drop images on it, or take screenshot from there.

EXAMPLES OF USE:
http://www.youtube.com/watch?v=b9Qz7WBx310
http://www.youtube.com/watch?v=eupQh9ppcQI
http://www.youtube.com/watch?v=0K_0RrzszDo


Errors are logged to ~/.pyshare/errorLog
bugtracker: https://bugs.launchpad.net/pyshare

TOS:
Imageshack, Twitpic and Rapidshare are registered trademarks. You have to agree to their TOS http://reg.imageshack.us/content.php?page=rules http://twitpic.com/terms.do http://rapidshare.com/agb.html to use their services.

IF YOU WANT TO HELP:
-donate
-help with translations: https://translations.launchpad.net/pyshare/
-help with artwork: http://naicik.blogspot.com/2010/02/pyshare-needs-you.html




Changelog:

v0.6.2
-new translations
-fix saving credentials multiple times in keyring

v0.6.1
-fix crash when translations are not found
-add IT and SV translations from launchpad
-minor refactor

v0.6.0
-added uploading to Twitpic (requires account - see settings>accounts)
-fixed rapidshare uploading
-uploading as user to imageshack now possible (see settings>accounts)
-added plugin API
-added possibility to choose preferred uploader for filetype

changelog archive: http://ee.o12.pl/kacprzak/download/gnome-look/changelog.txt
more at http://bazaar.launchpad.net/~pyshareteam/pyshare/main/changes




LicenseGPL
(PyShare 0.6.2 az/es/fr/nb/pl/pt_BR/ru/sv)
(PyShare 0.6.1)
(PyShare 0.5.2 en/pl)
(PyShare 0.4.5 english)
(sendToImageshack 0.3.8 espanol (thanks Nicolas))
(Carica su Imageshack 0.3.8 (thanks Vecna))
(other versions)
Donate
Send to a friend
Subscribe
Other  Apps  from Nait
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8 

-

 output

 
 by Guevara76 on: May 9 2009
 
Score 50%

This is the output:

guevara@guevara-desktop:~$ python .gnome2/nautilus-scripts/sendDesktopScreenshot
/usr/bin/scrot
Unhandled exception in thread started by <bound method SendToImageshack.upload of <sendToImageshack.SendToImageshack instance at 0x83ef7ec>>


this point it hangs but can close the window in close button.

Thanks!


Reply to this

-

 script

 
 by Guevara76 on: May 9 2009
 
Score 50%

http://ee.o12.pl/kacprzak/download/gnome-look/testing/sendToImageshack.py

This script did not work too, since the installation never worked, is only a window to zero percent. I click on close buttton and finalize the application.


Reply to this

-

 Re: script

 
 by Nait on: May 10 2009
 
Score 50%

I've just checked and it works for me in hardy (8.04.2). I'm still not sure whats wrong, I'll write modified script for you, but I need some time.


Reply to this

-

 Re: Re: script

 
 by Guevara76 on: May 11 2009
 
Score 50%

The package optipng is not installed on my Ubuntu, after installation appears this error:

guevara@guevara-desktop:~$ python .gnome2/nautilus-scripts/SendToImageShack/sendDesktopScreenshot
/usr/bin/scrot
Unhandled exception in thread started by <bound method SendToImageshack.upload of <sendToImageshack.SendToImageshack instance at 0x844f7ec>>

The bar progress appears but the button with code for link is not appear.

Thanks for your atention Nait!

Great job!


Reply to this

-

 Re: Re: Re: script

 
 by Nait on: May 11 2009
 
Score 50%

optipng is only needed if you send screenshot, and you've change compression value..and even than it should fall back to not using it if its not installed, so still something is wrong. Does progressbar still shows you 0 progress?


Reply to this

-

 Re: Re: Re: Re: script

 
 by Guevara76 on: May 11 2009
 
Score 50%

Yes Nait, still in 0 percent, same problem, look this print:

http://img159.imageshack.us/img159/6743/tela12.png

Thanks!


Reply to this

-

 Re: Re: Re: Re: Re: script

 
 by Nait on: May 12 2009
 
Score 50%

Could you try running this one http://ee.o12.pl/kacprzak/download/gnome-look/testing/STI-CLItest.tar.bz2 ? Unpack it anywhere(however I don't advise nautilius-script location because this one is not a nautilius-script)
and type in console
python sendToImageshackTestCLI.py
It will try to send attached two images, maybe this time I'll get more usable stack trace(or it could even work and give you links if it was GTK related).
Pressing enter or ctrl+c will end up script.


Reply to this

-

 Re: Re: Re: Re: Re: Re: script

 
 by Nait on: May 12 2009
 
Score 50%

Later you could try also this one http://ee.o12.pl/kacprzak/download/gnome-look/testing/STI-CLItestSingleThread.tar.bz2



-

 Re: Re: Re: Re: Re: Re: script

 
 by Guevara76 on: May 14 2009
 
Score 50%

Hi Nait, this is the output from this code:

guevara@guevara-desktop:~/Vídeos/STI$ python sendToImageshackTestCLI.py
class init
class init
press any key to end programupload 1.png
upload 2.jpg
0.0
0.0
0.0
0.0
0.0
Unhandled exception in thread started by <bound method SendToImageshack.upload of <__main__.SendToImageshack instance at 0xb6a582ac>>
0.0
0.0
0.0
Unhandled exception in thread started by <bound method SendToImageshack.upload of <__main__.SendToImageshack instance at 0xb6a3d6cc>>
guevara@guevara-desktop:~/Vídeos/STI$

Thanks!



-

 Re: Re: Re: Re: Re: Re: script

 
 by Guevara76 on: May 14 2009
 
Score 50%

This is the second output for the second script:

guevara@guevara-desktop:~/Vídeos/STI$ python sendToImageshackTestCLI.py
class init
upload 1.png
0.0
0.0
0.0
0.0
Traceback (most recent call last):
File "sendToImageshackTestCLI.py", line 164, in <module>
sendToImageshack.upload(file)
File "sendToImageshackTestCLI.py", line 150, in upload
directLink = search(r'<image_link>(.*)</image_link>', html).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
guevara@guevara-desktop:~/Vídeos/STI$



-

 Re: Re: Re: Re: Re: Re: script

 
 by Nait on: May 14 2009
 
Score 50%

ok thanks for feedback.This output means that script can not send anything to imageshack -_-
Are you behind proxy or ISA server?
That could be also caused by firewall/apparmor/router/nameservers(DNS)
(Look for something blocking/redirecting pot 80 outgoing connection)
I hope that it's not an ISA server, solution for it would be far bigger than this script,unless you could persuade admin to unblock it.
For now I can only add notification about failure.



-

 Re: Re: Re: Re: Re: Re: script

 
 by Guevara76 on: May 15 2009
 
Score 50%

Hi Nait!

Well, I tried to port 80 and it actually appears in stealth, I have a wireless connection, my ip is not the real ip, my ip is internal, I'm inside a NAT.
This is the test result:

http://img34.imageshack.us/img34/5649/port.png

I can get up images directly on the site imageshack and Imagebam, navigation is also normal.
My provider use SQUID, I do not know if he was blocking the connection, but okay, unfortunately in this connection I can not use the script.
Thank you for your attention and congratulations on your script.



-

 Re: Re: Re: Re: Re: Re: script

 
 by Nait on: May 15 2009
 
Score 50%

Actually that site checks incoming (from your PC point of view) connection, and script is outgoing connection. Maybe someday I'll get a chance to test a script in such environment and than solve the problem.



-

 Script does not show the code

 
 by botoxxx on: May 10 2009
 
Score 50%

Hi Nait,

I use the script in Ubuntu Jaunty.
The picture will be uploaded - upload completed is displayed. I can choose the drop box and the close botton, but no code is generated.

Any idea ?

Thank you

Kosta


ride hard
Reply to this

-

 Re: Script does not show the code

 
 by Nait on: May 10 2009
 
Score 50%

not at the moment. Just in case: you do know that after selecting link type from combobox, the link is copied to your clipboard, and you can paste it(there is no link shown visually)


Reply to this

-

 tks

 
 by botoxxx on: May 11 2009
 
Score 50%

Hi Nait,

thanks for the hint. This works for me. I was to focused on your screenshot.

Thank you

Kosta


ride hard
Reply to this

-

 Re: tks

 
 by Nait on: May 11 2009
 
Score 50%

I'll try to make it more intuitive.


Reply to this

-

 A patch

 
 by NilugeKiWi on: May 16 2009
 
Score 50%

Hi,
Your script is really useful !

I've made two small improvements :

1/ I replaced the clipboard copy by a copy on the "primary" zone ( the one used with middle click and selected text). It works on more software (for example with emacs the clipboard can't be used).
It could be set as an option.

2/ I added buttons "Direct URL" along with the dropboxes : I usually only use the direct url, so it was a loss of time to search on the menu everytime.

The patch and the new version are here :
http://www.niluge-kiwi.info/tmp/sendToImageshack.py.patch
http://www.niluge-kiwi.info/tmp/sendToImageshack.py


I hope it will be useful for someone.


Reply to this

-

 Re: A patch

 
 by Nait on: May 16 2009
 
Score 50%

AFAIK you can paste from clipboard to any terminal aplication using ctrl+shift+v or using rightclick menu. Primary have this drawback, that if someone switch to a browser and want to check his link he have to select text from adress bar, and than selected text replace imageshack link in primary, so I probably will not make it default(There are probably even some users that don't know about middle click pasting at all).
As for direct link button it was there prior to 0.3. I added other links because my friend told me that he use almost always forum link, or forum thumbnail link, so it's rather person specific. Moreover button+combobox is IMO less intuitive than combobox only(which is also not as intuitive as I would want).
However, I'm glad that you customized it to be better for your use case.


Reply to this

-
.

 Lay-out...

 
 by derma on: May 17 2009
 
Score 50%

...take a look here...

http://www.divshare.com/download/7408028-b4f

...could you arrange the elements in that way?

I think it'd be easier choosing the copy'n'paste url.


Reply to this

-

 Re: Lay-out...

 
 by Nait on: May 18 2009
 
Score 50%

Thanks for mockup, it is certainly doable. It will be one click less but it will require much more space(It's probably ok for my 1920x1200 screen,but can make a difference for multiupload on netbooks). You've shortened link names, but 4buttons named forum are not very intuitive(I know that this with 2 are supposed to be Alt links which are also not intuitive name, and small letter forum is supposed to be link with thumbnail, but it still fails on "don't make user think"). I'll think about it and probably ask few people for opinion before deciding. (Rapidshare/Youtube would probably have only one link so maybe buttons are the way to go).


Reply to this

goto page: prev   1  2  3  4  5  6  7  8 

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About GTK-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2014 GTK-Apps.org Team  
All rights reserved. GTK-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.