::::: Semantic-bank: Does flairs and facades still tick in SB-2.1.1? -> concrete log-examples - from Debian-Ubuntu (Linux)

From: Patrik Holmer <NNTP.psbh_at_telia.com>
Date: Sun, 2 Apr 2006 22:18:42 +0200

Ryan,

some log-fragments regarding the missing Starting Points in Semantic-bank
(SB):

1. Using a fully updated Ubuntu Linux, Mozilla Firefox, Suns j2sdk1.4.2_04
and the tagged Semantic-bank-2.1.1.tar, running SB as
http://127.0.0.1:8888/bank, in combination with the latest Piggy-bank (PB)
distribution causes the following - and please note my inserted comments (--
? ->):

-- Loading ontologies, Ctrl-C, then configurations and facades ->

2006-04-02 15:13:36,097 [SocketListener0-4] DEBUG
edu.mit.simile.longwell.ui.FlairServlet - > makeMessage
2006-04-02 15:13:36,097 [SocketListener0-4] DEBUG
edu.mit.simile.longwell.ui.FlairServlet - < makeMessage
2006-04-02 15:13:36,097 [SocketListener0-4] DEBUG .

<- Logged ending of loading configs and facades, assumed working just fine
--
.
.
-- Tagged and pressed [Publish] in a selected record of Piggy Bank, failing
as HTTP 400 ->
edu.mit.simile.longwell.ui.FlairServlet - Execute Command: upload
2006-04-02 15:13:36,100 [SocketListener0-4] ERROR 
edu.mit.simile.SimileUtilities - Fatal error: Expected '.', found '<' 
at http://127.0.0.1:8888/bank/MeMyselfAndI# [17,-1]
2006-04-02 15:13:36,101 [SocketListener0-4] ERROR 
edu.mit.simile.semanticBank.servlet.UploadCommand -
edu.mit.simile.SimileUtilities$ModelReadFromFileException: Failed to 
read data from 'http://127.0.0.1:8888/bank/MeMyselfAndI#'
2006-04-02 15:13:36,101 [SocketListener0-4] DEBUG 
edu.mit.simile.longwell.ui.FlairServlet - < doPost
2006-04-02 15:13:36,102 [SocketListener0-4] WARN 
org.mortbay.http.HttpConnection - POST 
/bank/MeMyselfAndI?command=upload&format=rdfxml HTTP/1.1
HttpException(400,Bad 
>Request,Missing Content)
>2006-04-02 15:13:36,109 [SocketListener0-4] DEBUG 
>edu.mit.simile.longwell.ui.FlairServlet - > doPost
>2006-04-02 15:13:36,109 [SocketListener0-4] DEBUG 
>edu.mit.simile.longwell.ui.FlairServlet - > makeMessage
>2006-04-02 15:13:36,109 [SocketListener0-4] DEBUG 
>edu.mit.simile.longwell.ui.FlairServlet - < makeMessage
>2006-04-02 15:13:36,109 [SocketListener0-4] DEBUG 
>edu.mit.simile.longwell.ui.FlairServlet - Execute Command: upload
>2006-04-02 15:13:36,112 [SocketListener0-4] ERROR 
>edu.mit.simile.SimileUtilities - Fatal error: Expected '.', found '<' 
>at http://127.0.0.1:8888/bank/MeMyselfAndI# [17,-1]
>2006-04-02 15:13:36,113 [SocketListener0-4] ERROR 
>edu.mit.simile.semanticBank.servlet.UploadCommand -
>edu.mit.simile.SimileUtilities$ModelReadFromFileException: Failed to 
>read data from 'http://127.0.0.1:8888/bank/MeMyselfAndI#'
>2006-04-02 15:13:36,113 [SocketListener0-4] DEBUG 
>edu.mit.simile.longwell.ui.FlairServlet - < doPost
>2006-04-02 15:13:36,114 [SocketListener0-4] WARN 
>org.mortbay.http.HttpConnection - POST 
>/bank/MeMyselfAndI?command=upload&format=rdfxml HTTP/1.1
HttpException(400,Bad 
>Request,Missing Content)
<- End of Semantic-bank log
2. Using a fully updated Ubuntu Linux (Debian), Mozilla Firefox, Suns
j2sdk1.4.2_11 and Ant'ed trunks of Longwell and Semantic-bank, running SB as
http://127.0.0.1:8888/bank, in combination with the latest Piggy-bank (PB)
distribution causes - and please note my inserted comments (-- ? ->):
-- Loading ontologies, Ctrl-C, then configurations and facades ->
SELECT DISTINCT o FROM
{<urn:bnode:http://usefulinc.com/ns/doap#module:1144004960985:node0>}
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> {o}
2006-04-02 21:18:58,601 [SocketListener0-4] DEBUG
edu.mit.simile.RDFUtilities - Query took 14ms:
<- Logged ending of loading configs and facades, assumed working just fine
--
.
.
-- Tagged and pressed [Publish] in a selected record of Piggy Bank, working
just fine ->
.
.
-- Selected a newly displayed Starting Point in Semantic-Bank ->
SELECT DISTINCT o FROM
{<urn:bnode:http://www.w3.org/2002/07/owl#Nothing:1144004965644:node1>}
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> {o}
2006-04-02 21:18:58,602 [SocketListener0-4] ERROR
edu.mit.simile.longwell.ui.command.BrowseCommand -
java.lang.NullPointerException java.lang.NullPointerException
        at
edu.mit.simile.longwell.query.engine.Narrower.narrow(Narrower.java:80)
        at
edu.mit.simile.longwell.query.engine.QueryEngine$Answer.getNarrowingFacets(Q
ueryEngine.java:263)
        at
edu.mit.simile.longwell.ui.command.BrowseCommand.execute(BrowseCommand.java:
69)
        at
edu.mit.simile.longwell.ui.FlairServlet.doGet(FlairServlet.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
        at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:665)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2006-04-02 21:18:58,604 [SocketListener0-4] DEBUG
edu.mit.simile.longwell.ui.command.BrowseCommand - < browse
2006-04-02 21:18:58,604 [SocketListener0-4] DEBUG
edu.mit.simile.longwell.ui.FlairServlet - < doGet
<- end of logged output, displaying a blank page in Firefox
Using Semantic-Bank 2.1.1: "Fatal error: Expected '.', found '<'" turns up
suddenly, when using that previously working version of SB? Any ideas about
the problem?  
// Patrik
-----Ursprungligt meddelande-----
Från: Patrik Holmer [mailto:NNTP.psbh_at_telia.com] 
Skickat: fredag den 31 mars 2006 16:26
Till: general_at_simile.mit.edu
Ämne: :::: Semantic-bank: Does flairs and facades still tick in SB-2.1.1? ->
concrete findings...
Ryan,
my findings regarding the missing Starting Points in Semantic-bank (SB):
1. Using a fully updated WXP-SR2, Mozilla Firefox, Suns j2sdk1.4.2_04 and
the tagged Semantic-bank-2.1.1.zip, running SB as
http://127.0.0.1:8888/bank, in combination with the latest * reinstalled *
Piggy-bank (PB) distribution causes:
1a. An Information-dialogue stating; http://127.0.0.1:1978 "Failed to
publish the item. Status code: 500", when publishing a single post in PB,
using my ordinary added-removed-and-then-added SB-user account
1b. An Information-dialogue stating; "Failed to save your data to your
banks: java.security.PriviledgedActionException:
java.security.PriviledgeActionException:java.lang.reflect.InvocationTargetEx
ception", when using PB-menu -> Utilities -> Re-save All My Data to My Bank
Every collected post show up in PB as expected, though - with Starting
Points.
2. Using a fully updated WXP-SR2, Mozilla Firefox, Suns j2sdk1.4.2_04 and an
Ant'ed version of the trunked Semantic-bank and the Longwell-trunk, running
SB as http://127.0.0.1:8888/bank, in combination with the latest *
reinstalled * Piggy-bank (PB) distribution causes:
2a. An Information-dialogue stating; http://127.0.0.1:1978 "Failed to
publish the item. Status code: 404", when publishing a single post in PB,
using my ordinary added-removed-and-then-added SB-user account
2b. An update, noted by the added tags in SB, but no Starting Points, when
adding a totally different user account than the one I commonly use - that's
a three-letter word instead of a four-letter word in ASCII
So, what's the problem?
3. Related topic: cURL-uploads
Although the possibility to preview collected records in Piggy-bank (PB) has
it's meaning. As a user of Windows, Solaris and a number of Linux-dist's,
using MSIE, the Mozilla-browsers, Opera and Konqueror et al, I'm not to
happy about using a browser specific plug-in as Piggy-bank.
Assuming that Starting Points actually works, is it possible to provide
Semantic-bank-tags with the universal cURL or Libwww-commands, instead of
using PB? More specifically, noting the fully working SB-calls at
http://simile.mit.edu/reports/bank-api/, when POST-uploading, are there any
parameters available defining associated tags?
// Patrik
-----Ursprungligt meddelande-----
Från: Patrik Holmer [mailto:NNTP.psbh_at_telia.com]
Skickat: fredag den 31 mars 2006 01:22
Till: general_at_simile.mit.edu
Ämne: :: Semantic-bank: Does flairs and facades still tick in SB-2.1.1? -> a
bit of weeding-out...
Ryan,
about what used to work in the Semantic-bank-2.1.1-tagged version: A
back-to-basics test, loading all the ontologies, followed by configurations
and facades available under ../src - as suggested at the end of
http://simile.mit.edu/semantic-bank/install.html, doesn't result in any
Starting Points displayed. Any-how, I'll follow your advice and check out
the trunked version of SB, Ant-it and return concrete findings to the
discussion group.
By the way, I find many issues, as mine, to be nothing but specific user
issues - or, at worst, a colloquial "1337". So, assuming you have access to
an activity report, how frequent is the use of the Issue Tracker at both
ends of the table?
More specifically, are the issues monitored daily by it's project managers?
Further, what about making the Issue tracker as accessible as the mailing
lists on the http://simile.mit.edu Front Page? That would be the already
displayed 'Join us by subscribing to our mailing lists' followed by a new
link of 'Log on to the Issue Tracker to handle your [Simile] issues' -
http://simile.mit.edu/issues/secure/Dashboard.jspa. If nothing less, it
might help to ease the word-per-minute count.
// Patrik
-----Ursprungligt meddelande-----
Från: Ryan Lee [mailto:ryanlee_at_w3.org]
Skickat: onsdag den 29 mars 2006 19:15
Till: general_at_simile.mit.edu
Ämne: Re: Semantic-bank: Does flairs and facades still tick in SB-2.1.1?
Hi Patrik,
Patrik Holmer wrote:
> Hi,
> 
> I'm doing a bit of backtracking in Semantic-Bank (SB) and found that 
> the default installation of SB can't generate Starting Points in SB
any-longer.
> It used to work. So, I had a look at the referred flairs and facades 
> of a default foaf-facade.n3 - at the simile url 
> http://simile.mit.edu/2005/04/flair - and found nothing but a Page Not 
> Found-notice. Other ontologies present in the provided foaf-facade.n3 
> of the semantic-bank-2.1.1.zip package, as the rdf-schema 
> http://www.w3.org/2000/01/rdf-schema, are reachable and readable.
> Anyone with ideas about this 'Page Not Found'-problem?
We just hadn't coordinated between ontology namespaces and their actual HTTP
resources.  By all means, let us know if you find any other missing
vocabularies.
I see there's a bug w/patch filed on Longwell that relates to Flair, which I
just applied.  It's probably unrelated to your issue, but you may want to
try SB out of the repository to check.
What precisely did you do in the past that worked but no longer works?
> A notice to the webmaster: Yesterday, I had a look at the SB-subsite.
> Browsing-around in the subsite I noticed that the available 'View the 
> Code History'-link - 
> http://simile.mit.edu/viewsvn/semanitc-bank/trunk/ - is spelled as
'semanITC-bank'. Causing the following HTTP 404-message:
> -->
> An Exception Has Occurred
> semanitc-bank/trunk: unknown location
> HTTP Response Status
> 404 Not Found
> Python Traceback
> Traceback (most recent call last):
>   File "/opt/versions/viewcvs-20041212/lib/viewcvs.py", line 3275, in main
>     request.run_viewcvs()
>   File "/opt/versions/viewcvs-20041212/lib/viewcvs.py", line 291, in 
> run_viewcvs
>     % self.where, '404 Not Found')
> ViewCVSException: 404 Not Found: semanitc-bank/trunk: unknown location
> <--
> 
> It might be a good thing to correct that link - and on the whole 
> provide a neutral HTTP-404 message. Also, are you guys still using CVS 
> in any way? I thought Simile used Subversion (svn.)
> 
> // Patrik
Thanks for the catch.  ViewCVS is just the name of the software, it so
happens it could be adapted to SVN without being wholly rewritten, so they
packaged it up without changing the name.  Unfortunately it seems to handle
404's on its own without passing them downstream, so I made a quick change
to the error template to look more like the rest of the site.
-- 
Ryan Lee                 ryanlee_at_w3.org
W3C Research Engineer    +1.617.253.5327
http://simile.mit.edu/
Received on Sun Apr 02 2006 - 20:18:02 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT