FFx on Win32
Using doapcreator the following doap data was created when clicking on the
button but aprt for a alert to past to file nothing else happened.
I saved to a file and tried to import but error with the error below.
Finally I pasted the raw DOAP into the form and that worked.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:v="http://www.w3.org/2006/vcard/ns#" xmlns:dc="http://purl.org/dc/core/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:simal="http://oss-watch.ac.uk/ns/0.2/simal#"
xmlns:cerif="http://www.dotac.info/ontology/CERIF2008.owl#" > <Project
rdf:about="http://registry.oss-watch.ac.uk/projects/thinkup">
<created>2010-11-16</created> <name>ThinkUp</name>
<shortname>thinkup</shortname> <shortdesc xml:lang="en">Archive and analyse
Twitter and facebook activity </shortdesc> <description
xml:lang="en">Installable PHP/MySQL application that captures your posts,
replies, retweets, friends, followers, and links on social networks like
Twitter and Facebook. ThinkUp stores your social data in a database you
control, and makes it easy to search, sort, filter, export, and visualize in
useful ways</description> <homepage rdf:resource="http://thinkupapp.com/"/>
<blog rdf:resource="http://expertlabs.org/blog_index.html"/> <foaf:seeAlso
dc:title="Project blog" rdf:resource="http://expertlabs.org/atom.xml"
dc:format="application/rss+xml" />
<programming-language>PHP</programming-language> <simal:project-director>
<foaf:Person rdf:about="http://ginatrapani.org/"> <foaf:name>Gina
Trapani</foaf:name> <foaf:homepage rdf:resource="http://ginatrapani.org//"/>
<foaf:mbox rdf:resource="mailto:cantfind@google.com" />
<foaf:mbox_sha1sum>1dc27c7d3b9a7400549bc55ca3cc01a3dc4a7ef8</foaf:mbox_sha1sum>
</foaf:Person> </simal:project-director> <repository> <GitRepository> <location
rdf:resource="https://github.com/ginatrapani/thinkup"/> <browse
rdf:resource="https://github.com/ginatrapani/thinkup"/> </GitRepository>
</repository> <bug-database
rdf:resource="https://github.com/ginatrapani/thinkup/issues"/> <license
rdf:resource="http://usefulinc.com/doap/licenses/gplv3"/> </Project> </rdf:RDF>
Unable to add doap using RDF supplied
Error reported by: class uk.ac.osswatch.simal.wicket.doap.DoapFormPage
Caused by: uk.ac.osswatch.simal.rdf.SimalRepositoryException: Unable
to prepare data from
file:/usr/local/src/simal-rel/uk.ac.osswatch.simal.web/tempData.rdf
for adding to the repository
uk.ac.osswatch.simal.wicket.UserReportableException: Unable to add
doap using RDF supplied
at uk.ac.osswatch.simal.wicket.doap.DoapFormPage$AddByRawRDFForm.onSubmit(DoapFormPage.java:100)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1518)
at org.apache.wicket.markup.html.form.Form.process(Form.java:914)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:876)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: uk.ac.osswatch.simal.rdf.SimalRepositoryException: Unable
to prepare data from
file:/usr/local/src/simal-rel/uk.ac.osswatch.simal.web/tempData.rdf
for adding to the repository
at uk.ac.osswatch.simal.rdf.AbstractSimalRepository.addProject(AbstractSimalRepository.java:257)
at uk.ac.osswatch.simal.model.jena.simal.JenaSimalRepository.add(JenaSimalRepository.java:153)
at uk.ac.osswatch.simal.wicket.doap.DoapFormPage$AddByRawRDFForm.onSubmit(DoapFormPage.java:97)
... 32 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at uk.ac.osswatch.simal.rdf.AbstractSimalRepository.addProject(AbstractSimalRepository.java:254)
... 34 more
Original issue reported on code.google.com by ste...@fullmeasure.co.uk on 16 Nov 2010 at 12:38
Original issue reported on code.google.com by
ste...@fullmeasure.co.uk
on 16 Nov 2010 at 12:38