-
 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  .- Knowledge Base  . 

Upload to BayFiles

   0.2  

KDE Service Menu

Score 53%
Upload to BayFiles
zoom


Downloads:  71
Submitted:  Jan 8 2012
Updated:  Jan 12 2012

Description:

A simple service to upload any file to BayFiles.com

To install this service menu:

1. as root:
cp bayfiles-upload.desktop /usr/share/kde4/services/ServiceMenus/

2. and as normal user:
kbuildsycoca4

Dependencies:
* curl
* awk
* grep
* tr
* xdg-open
* Perl and libjson-pp-perl(for json_pp)




Changelog:

0.2 Opens Links webpage instead of displaying a dialog with the link
0.1 First release




LicenseCreative Commons by-sa
Source(bayfiles-upload)
Source(bayfiles-upload)
Send to a friend
Subscribe
Other  Apps  from otzy007
Report inappropriate content



-

 problem

 
 by masterdany88 on: Jan 9 2012
 
Score 50%

danielo@danielos:~/pobrane_Firefox/148065-bayfiles-upload$ kbuildsycoca4
kbuildsycoca4 running...
kbuildsycoca4(6614) VFolderMenu::loadDoc: Parse error in "/home/danielo/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file"
kbuildsycoca4(6614)/kdecore (services) KServicePrivate::init: The desktop entry file "/usr/share/applications/kde4/koffice.desktop" has Type= "Application" but no Exec line

kbuildsycoca4(6614) KBuildServiceFactory::createEntry: Invalid Service : "/usr/share/applications/kde4/koffice.desktop"
kbuildsycoca4(6614) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.
danielo@danielos:~/pobrane_Firefox/148065-bayfiles-upload$




RMB>Upload to BayFiles
Nie można znaleźć programu '-s' =>
It can find program '-s'

thanks in advance


Reply to this

-

 Re: problem

 
 by otzy007 on: Jan 9 2012
 
Score 50%

From kbuildsyscoca it seems you have a problem with kofiice, not from the uploader.

And for the second error it's my fault. In order to use Upload to BayFiles you need to have installed:
* curl
* awk
* grep
* tr
* xdg-open
* Perl(for json_pp)


Reply to this

-
.

 Dependencies

 
 by masterdany88 on: Jan 9 2012
 
Score 50%

Please help me with Dependencies:
* curl
curl is a client to get files from servers using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.

curl offers a busload of useful tricks like proxy support, user authentication, ftp upload, HTTP post, file transfer resume and more.

Canonical dostarcza aktualizacje krytyczne dla curl do kwietnia 2013
WHICH IS INSTALLED

* awk
mamwk gawk and original-awk I've installed
* grep- installed
* tr??? what is it???
* xdg-open
xdg-utils and openbox-xdgmenu I've installed
* Perl(for json_pp) ??? what is it??? I have package perl in my repo and I have installed it.


PS. I am using Kubutnu 11.10


Reply to this

-
.

 Re: Dependencies

 
 by masterdany88 on: Jan 9 2012
 
Score 50%

tr it\'s like awk. It\'s used to manipulate strings. http://ss64.com/bash/tr.html. I used it to delete , and \" from the recieved links.

Could you try this in a console, see if it works and tell me the results?
curl -s http://api.bayfiles.com/v1/file/uploadUrl | json_pp | grep uploadUrl | awk \'{print $3}\' | tr -d , | tr -d \\\\\"

[code]danielo@danielos:~/pobrane_Firefox$ curl -s http://api.bayfiles.com/v1/file/uploadUrl | json_pp | grep uploadUrl | awk \'{print $3}\' | tr -d , | tr -d \\\\\"
awk: '{print
awk: ^ nieprawidłowy znak ''' w wyrażeniu
[/code]


If you get an try:
curl -s http://api.bayfiles.com/v1/file/uploadUrl | json_pp

[code]danielo@danielos:~/pobrane_Firefox$ curl -s http://api.bayfiles.com/v1/file/uploadUrl | json_pp
{
"uploadUrl" : "http://s7.baycdn.com/upload/78e9a6f5/4f10c663/16/0?X-Progress-ID=4f0b482366CB6D2D7112F86C52C5859B66DF4286",
"progressUrl" : "http://s7.baycdn.com/progress/?X-Progress-ID=4f0b482366CB6D2D7112F86C52C5859B66DF4286",
"error" : ""
}
danielo@danielos:~/pobrane_Firefox$
[/code]

If you still get an error try just
curl -s http://api.bayfiles.com/v1/file/uploadUrl

[code]danielo@danielos:~/pobrane_Firefox$ curl -s http://api.bayfiles.com/v1/file/uploadUrl

{"error":"","uploadUrl":"http:\/\/s1.baycdn.com\/upload\/48c53848\/4f10c683\/0\/0?X-Progress-ID=4f0b4843AF286A0347489C55F4CA19273F73DEEE","progressUrl":"http:\/\/s1.baycdn.com\/progress\/?X-Progress-ID=4f0b4843AF286A0347489C55F4CA19273F73DEEE"} [/code]


If you get an error it means you don\'t have curl, otherwise you don\'t have json_pp

danielo@danielos:~/pobrane_Firefox$ sudo apt-get install libjson-pp-perl[sudo] password for danielo:
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
libjson-pp-perl jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
danielo@danielos:~/pobrane_Firefox$


still the same error


Reply to this

-

 Re: Re: Dependencies

 
 by otzy007 on: Jan 12 2012
 
Score 50%

Could you try this one and tell me if you get a dialog with the link or any other error?
http://bayfiles.com/file/1lmh/XzXMUm/bayfiles-upload.desktop


Reply to this

-
.

 Re: Re: Re: Dependencies

 
 by masterdany88 on: Jan 12 2012
 
Score 50%

Unfortunately still the same error...


Reply to this

-

 Re: Re: Re: Re: Dependencies

 
 by otzy007 on: Jan 12 2012
 
Score 50%

OK. Thank you. I'll get Kubuntu into a virtual machine and try to fix it.


Reply to this

-

 Re: Re: Re: Re: Re: Dependencies

 
 by otzy007 on: Jan 12 2012
 
Score 50%

Do you have installed libjson-pp-perl and libjson-perl?

On my fresh installed Kubuntu the service is working


Reply to this

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 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 KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.