OK great now everything build ok.
Next step: write a screen scraper. First I wanted to use Solvent, but
IMO it lacks a good tutorial, so I started to follow the directions
given at:
http://simile.mit.edu/piggy-bank/screen-scrapers-howto.html
But then apparently I did something wrong:
10:57:31.211 [...RDFUtilities] Query took 0ms:
SELECT DISTINCT o FROM
{<
http://www.foo.com/my-scrapers.n3#CraigslistApartmentListingScraper>}
<
http://simile.mit.edu/2005/04/piggy-bank#urlPattern> {o} (0ms)
java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
at sun.plugin.liveconnect.SecureInvocation.access$300(Unknown Source)
at sun.plugin.liveconnect.SecureInvocation$CallMethodThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.liveconnect.PrivilegedCallMethodAction.run(Unknown Source)
... 6 more
Caused by: java.util.regex.PatternSyntaxException: Dangling meta
character '*' near index 45
^
http://www\.cinenews\.be/Movies.ByPlace.cfm?*
Yes, apparently I messed up the regexp syntax a bit. Now the problem
is that I'm now completely stuck with this error: reloading the .n3
file has no effect (it keeps throwing the exception). Even
de-installing and re-installing Piggy Bank doesn't clear the corrupted
file. And I've checked in the Application Data's extension directory
for a "scrapers" folder, but I didn't find such a thing.
Please, how do I get rid of this error?
On 4/20/06, Ryan Lee <ryanlee_at_w3.org> wrote:
> Candide Kemmler wrote:
> > Hi,
> >
> > I'm very impressed by the piggy bank extension. I would like to test
> > one or two ideas of my own using this plaform, essentially by
> > focussing on the potentially funnier aspects related to "socializing
> > triples".
> >
> > Anyway, thus far I didn't manage to build anything. According to what
> > I read, it seems that longwell is the first project to make. Please
> > note that there are currently 3 branches of the software on the svn:
> >
> > - 1.x
> > - 1.x-ajax
> > - dfhuynh
>
> Please use longwell/stable, not longwell/branches/*
>
> Let us know how it goes.
>
> --
> Ryan Lee ryanlee_at_w3.org
> W3C Research Engineer +1.617.253.5327
> http://simile.mit.edu/
>
--
Candide Kemmler
3 rue du Bailli - 1000 Bruxelles
mobile:+32485067980
Received on Tue Apr 25 2006 - 10:04:30 EDT