This forum has been archived. All content is frozen. Please use KDE Discuss instead.

pastebin applet / paste.kde.org

Tags: paste.kde.org, pastebin paste.kde.org, pastebin paste.kde.org, pastebin
(comma "," separated)
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

pastebin applet / paste.kde.org

Sat Feb 22, 2014 12:47 pm
hello,
paste.kde.org doesn't work any more in my pastebin plasmoid (although the site is online) and when I install another service it doesn't show up in the list.
Any clues?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Sun Feb 23, 2014 9:00 pm
In terms of another service not showing up - that may be due to an out of date cache. Logging out and back in again should ensure that it gets picked up.

As for why it no longer works with paste.kde.org, the original API was discontinued when the site migrated to new software - which version of KDE are you using? Newer versions should include an update which causes it to use the new API.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: pastebin applet / paste.kde.org

Sun Feb 23, 2014 10:56 pm
bcooksley wrote:In terms of another service not showing up - that may be due to an out of date cache. Logging out and back in again should ensure that it gets picked up.
Already tried that ...

bcooksley wrote:As for why it no longer works with paste.kde.org, the original API was discontinued when the site migrated to new software - which version of KDE are you using? Newer versions should include an update which causes it to use the new API.
I'm using 4.12.2, actually quite new. But it works for you? Maybe an error in distro then...

Where can I find the locale config files of that pastebin and service?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Mon Feb 24, 2014 7:46 am
How did you install the other services? Can you check to see if their entries exist under ~/.kde4/share/?

I haven't tested the pastebin applet recently - for other reasons it doesn't work here. If it is not working with the new API in 4.12, then I suggest filing a bug report at bugs.kde.org requesting the applet be revised - I was under the impression the code had been updated though.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: pastebin applet / paste.kde.org

Mon Feb 24, 2014 10:37 am
bcooksley wrote:In terms of another service not showing up - that may be due to an out of date cache. Logging out and back in again should ensure that it gets picked up.

As for why it no longer works with paste.kde.org, the original API was discontinued when the site migrated to new software - which version of KDE are you using? Newer versions should include an update which causes it to use the new API.

I can confirm paste.kde.org doesn't work for me in 4.12.2 (and that pastebin.com does), also searching on bug.kde.org resuted in no hits


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: pastebin applet / paste.kde.org

Mon Feb 24, 2014 11:00 pm
google01103 wrote:I can confirm paste.kde.org doesn't work for me in 4.12.2 (and that pastebin.com does), also searching on bug.kde.org resuted in no hits
Sigh, ok if I have some free time. I'll will fill a bug...

bcooksley wrote:How did you install the other services? Can you check to see if their entries exist under ~/.kde4/share/?
/home/richard/.kde4/share/apps/plasma_applet_paste/ is empty, but I have /home/richard/.kde4/share/apps/knewstuff3/pastebin.knsregistry:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE khotnewstuff3>
<hotnewstuffregistry>
 <stuff category="">
  <name>paste.chakra-project.org</name>
  <providerid>https://api.opendesktop.org/v1/</providerid>
  <author homepage="http://opendesktop.org/usermanager/search.php?username=chakra-project">chakra-project</author>
  <homepage>http://opendesktop.org/content/show.php?content=149589</homepage>
  <licence>1</licence>
  <version>0.1</version>
  <rating>53</rating>
  <downloads>28</downloads>
  <installedfile>/home/richard/.kde4/share/apps/plasma/shareprovider//149589-paste.chakra-project.org.tar.gz</installedfile>
  <id>149589</id>
  <releasedate>2012-03-17</releasedate>
  <summary>This is a plugin for the KDE pastebin plasmoid.</summary>
  <changelog></changelog>
  <preview></preview>
  <previewBig></previewBig>
  <payload>http://opendesktop.org/CONTENT/content-files/149589-paste.chakra-project.org.tar.gz</payload>
  <status>installed</status>
 </stuff>
</hotnewstuffregistry>
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Wed Feb 26, 2014 2:49 am
Please check to see if anything exists under /home/richard/.kde4/share/apps/plasma/shareprovider/
If only the file "149589-paste.chakra-project.org.tar.gz" does, please extract it's contents into that directory.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: pastebin applet / paste.kde.org

Wed Feb 26, 2014 8:33 pm
The directory was completely empty. I dl & extracted the archive manually now into that folder, log-in / log-out, but still it doesn't pop up...
http://im9.eu/picture/ry2890


Edit:
I filled the bug now, FYI:
https://bugs.kde.org/show_bug.cgi?id=331553
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Fri Feb 28, 2014 9:17 am
Can you please pastebin the contents of "metadata.desktop" from that package? It should be displayed once in that location - at worst you may need to restart Plasma Desktop.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: pastebin applet / paste.kde.org

Mon Mar 03, 2014 10:04 pm
Here we go:
Code: Select all
[Desktop Entry]
Name=paste.chakra-project.org
Comment=The Chakra Project pastebin
Type=Service
X-KDE-ServiceTypes=Plasma/ShareProvider
X-KDE-Library=plasma_engine_share
X-KDE-PlasmaShareProvider-MimeType=text/*
X-KDE-PluginInfo-Name=paste.chakra-project.org
X-KDE-PluginInfo-Author=Manuel Tortosa
X-KDE-PluginInfo-Email=manutortosa@chakra-project.org
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=http://chakra-linux.org
Restarting plasma desktop, does this happen with a normal reboot or is this something separated?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Tue Mar 04, 2014 9:04 am
A normal reboot should be more than sufficient. I'm afraid I don't know why that isn't working - is the *.desktop file executable?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: pastebin applet / paste.kde.org

Sun Mar 09, 2014 10:04 pm
I made the .desktop file executable and rebooted, but still no chakra service available ... :-(
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: pastebin applet / paste.kde.org

Mon Mar 10, 2014 3:51 am
Hmm, does the following command give /home/richard/.kde4/share/ as it's output?
Code: Select all
kde4-config --localprefix


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar