Image 01
profile-image

glen

Elan Ruusam√§e Tallinn, Estonia
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

thanks, renaming it helped!

mv $HOME/.kde/share/apps/amarok/scripts-data/wikilyrics.xml{,.broken}


however i saved broken copy as
http://glen.alkohol.ee/wikilyrics.xml
so you could debug and fix :) - Nov 14 2008
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

note that last version was 0.13.3, not 0.13.2 :)

but i started having such weird errors with 0.13.2, and persists with 0.13.3, what is broken in my system? i don't recall updating ruby or related on my system.

Error loading Qt3 GUI backend: no such file to load -- Qt
Error loading Qt4 GUI backend: no such file to load -- Qt
Error loading GTK GUI backend: no such file to load -- gtk2
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/plugins.rb:70:in `used_names=': undefined method `uniq' for #<String:0x2ad4aebb3ae8> (NoMethodError)
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:119:in `read_config'
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:398:in `exec'
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:573

my ruby ver: 1.8.5p2 - Nov 13 2008
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

nothing critical, but you might want to be informed. i clicked configure plugin in amarok, and then pressed three times cancel (one for app, and two for lyrics submit) and then the script died with this log:

Error loading Qt3 GUI backend: no such file to load -- Qt
Error loading Qt4 GUI backend: no such file to load -- Qt
Error loading GTK GUI backend: no such file to load -- gtk2
uninitialized constant REXML::Formatters
/usr/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:44:in `write'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:127:in `write_config'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:158:in `on_configure'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:471:in `run_worker'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:465:in `loop'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:465:in `run_worker'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:421:in `exec'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:418:in `initialize'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:418:in `new'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:418:in `exec'
/usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:558/usr/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:44:in `write': uninitialized constant REXML::Formatters (NameError)
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:127:in `write_config'
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:132:in `on_quit'
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:442:in `exec'
from /usr/share/apps/amarok/scripts/wiki_lyrics/amarok/wikilyrics.rb:558 - Aug 20 2008
Wiki-Lyrics

Amarok 1.x Scripts by attendant 191 comments

wiki_lyrics$ less .directory
[Dolphin]
Timestamp=2008,3,20,14,5,21
ViewMode=1

i think you didn't really want to package that file ;) - Jun 03 2008
AutoMSN Emoticon Scraper

Utilities by dirge 6 comments

great script, but it has some problems:
1. i want it to be automated, ie no answers
2. specifying destination dir in first parameter doesn't work as <> operator "eats" it

so i've created patch which resolves these issues. the @ARGV shift is therefore done before <> and yes/no confirmation is not asked if stdin is not terminal. also the errors if running original code got buffered on screen and rather weird sequence appeared, so disabled also buffering ($| = 1).

http://glen.alkohol.ee/pld/automsn.patch - Mar 21 2006
Extended Lyric Support

Amarok 1.x Scripts by Hydrogen 3 comments

in my kde there's no kfmexec, but dcop is available.

http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/lyricviewer-dcop.patch - Aug 16 2005