[Attempto] Installation of local version of ACE view

Eddy Vanderlinden info at fadyart.com
Sun Apr 26 20:28:01 CEST 2009


Hello Kaarel,

I get still the error message: OWL verbalizer error
                                            Error accessing OWL ->ACE 
webservice Connection refused: connect.
The console shows:
Several "Add ann axiom: ..." statements
..
Init : Add axiom: SubclassOf(...
Verbalizing the axiom using ws
I/O exception (java.net.ConnectException) caught when processing request: 
connection refused: connect
Retrying request
I/O exception (java.net.ConnectException) caught when processing request: 
connection refused: connect
Axioms not verbalized using Manchester syntax rendering
...

Following .dll files are present in bin:
cgi
crypt
dlltest
double_metaphone
http_stream
jpl
json
libpl
memfile
mime
mkboot
odbc4pl
pl2xpce
plregtry
plterm
porter_stem
process
pthreadVC
random
rdf_db
readutil
sgml2pl
sha4pl
socket
ssl4pl
table
time
zlib1
zlib4pl

Following .exe files are present:
plcon
plld
plrc
plwin
xpce_stub

The files from your list which are not present:
files.dll
libjpl.dll
rlimit.dll
streaminfo.dll
unix.dll

I copied the .dll and finally also the .exe files.

I tried for the settings in Protégé:
http://localhost:5123/ and
http://localhost/service/owl_verbalizer/owl_to_ace

Hope you can find something with this info

Thanks in beforehand

Kind regards

Eddy Vanderlinden

----- Original Message ----- 
From: "Kaarel Kaljurand" <kaljurand at gmail.com>
To: "Eddy Vanderlinden" <info at fadyart.com>
Cc: <attempto at lists.ifi.uzh.ch>
Sent: Sunday, April 26, 2009 4:52 PM
Subject: Re: [Attempto] Installation of local version of ACE view


Hi,

On Sun, Apr 26, 2009 at 00:32, Eddy Vanderlinden <info at fadyart.com> wrote:
>
> I had to copy several dll files to the downloaded directory (libpl.dll,
> plterm.dll, pthreadVC.dll) and could run the command asked here-under.
>
> The console returned following messages: see here-under.
> I do not know what to enter at the last question. Y does not help.

An exception is thrown there which you cannot recover from. So just abort
and make sure that all the required libraries are accessible.

> ERROR: Initialization goal socket:load_foreign_library(foreign(socket),
> install_socket) raised exception:
> ERROR: '$open_shared_object'/3: Kan opgegeven module niet vinden.

If Google Translate is correct then the English translation of this message 
is:

"Can not find specified module."

The OWL Verbalizer requires the following SWI-Prolog packages:

clib (provides memfile, socket, time, etc.),
sgml (provides XML support),
http (provides http_stream, etc.).

I would expect that the SWI-Prolog Windows installer has installed all of 
them
for you already.

So, you either do not have these packages installed (unlikely),
or lack an environment variable pointing to these libraries.

Can you send me the directory listing of the SWI-Prolog libraries' 
directory,
i.e. the directory where you copied the libpl.dll etc. from?
E.g. on a Linux machine, this directory contains the following shared 
libraries
(given that clib, sgml, and http are installed):

cgi.so
crypt.so
files.so             not present
http_stream.so
json.so
libjpl.so            not present
libpl.so
memfile.so
mime.so
process.so
random.so
readutil.so
rlimit.so            not present
sgml2pl.so
sha4pl.so
socket.so
streaminfo.so      not present
time.so
unix.so                not present

In your case, instead of the extension ".so", the extension is ".dll".

Now, if you have the same files on your machine, then it means that all the
required libraries are there. Then either copy all of them to the OWL 
Verbalizer
directory (this is an ugly solution), or reference this libraries'
directory using
some environment variable, maybe PATH, maybe LD_LIBRARIES_PATH,
I have no idea how these things work on Windows. :(

--
kaarel 



More information about the attempto mailing list