LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-22-2011, 09:19 PM   #1
verynoobish
LQ Newbie
 
Registered: May 2011
Distribution: Fedora 15
Posts: 5

Rep: Reputation: 0
How do I get DBPedia References to stop crashing immediately after I start it?


I have no idea what the program does, but I'd like to find out.
 
Old 05-23-2011, 03:11 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,412

Rep: Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122Reputation: 1122
Welcome to LQ

To know what is DBPedia, see here

What did you install exactly and how? Knowing that we will hopefully be able to understand why it crashes.

Maybe you did install some program not intended for Slackware, like a package for Ubuntu or Ferdora?
 
1 members found this post helpful.
Old 05-23-2011, 06:23 PM   #3
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
I've meant to ask this as well. If you click on the 'DBPedia References' icon seemingly nothing happens.

I dug into the dbpedia_references.desktop file and found "exec=krubyapplication dbpedia_references/dbpedia_references.rb"

From a command line I entered
Code:
krubyapplication dbpedia_references/dbpedia_references.rb
and got
Code:
james@hisbox:~$ krubyapplication dbpedia_references/dbpedia_references.rb
/usr/lib/ruby/1.9.1/i486-linux/enc/encdb.so: warning: already initialized constant ISO_8859_1
/usr/share/apps/dbpedia_references/dbpedia_references.rb:1: warning: variable $KCODE is no longer effective; ignored
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:101: warning: else without rescue is useless
/usr/share/apps/dbpedia_references/dbpedia_references.rb:4:in `require': /usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:49: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:51: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::ResourceNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:51: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:53: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::LiteralNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:53: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:59: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::BlankNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:59: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:67: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:69: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::ResourceNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:69: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:71: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::LiteralNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:71: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:77: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::BlankNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:77: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:91: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:93: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::ResourceNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:93: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:95: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::LiteralNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:95: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:97: syntax error, unexpected keyword_when, expecting keyword_end
      when Soprano::Node::BlankNode:
          ^
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:97: syntax error, unexpected ':'
/usr/lib/ruby/site_ruby/1.9.1/soprano/soprano.rb:104: syntax error, unexpected keyword_end, expecting $end
	from /usr/share/apps/dbpedia_references/dbpedia_references.rb:4:in `<main>'
james@hisbox:~$
Is this normal or expected behavior? I'm running 13.37 by keeping 13.1 up with -current, but I've noticed this behavior since 13.0, IIRC, and maybe before.
 
Old 05-23-2011, 08:09 PM   #4
verynoobish
LQ Newbie
 
Registered: May 2011
Distribution: Fedora 15
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
Welcome to LQ
What did you install exactly and how?
I did the full installation of Slackware64 13.37 and DBPedia References was one of the programs installed.

I didn't break it. It came like that. lol


Quote:
Originally Posted by jamesf View Post
I've meant to ask this as well. If you click on the 'DBPedia References' icon seemingly nothing happens.

I dug into the dbpedia_references.desktop file and found "exec=krubyapplication dbpedia_references/dbpedia_references.rb"
I wonder if it is a ruby problem. I've noticed the ruby clock desktop widgets have no hands/numbers. I'm not a programmer though.
 
Old 05-23-2011, 10:34 PM   #5
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
Hrm. DBPedia appears to be an environment to set up one or more web pages that allow the user to make queries against wikipedia data. Quite powerful.

I don't think we'll get it to do anything useful for us without web programming skills.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Informix start/stop along with redhat start/stop gxgtudor Red Hat 2 03-06-2009 02:13 AM
AWK- processing data inside start/stop pairs but ignoring start/stop lines cliffoij Programming 2 10-15-2008 06:17 AM
Trying to stop Xwindows from immediately starting gothrog Linux - Newbie 3 06-07-2004 12:42 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration