Re: strange problem with use_module

Jeff Rosenwald <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi Dominique:

It doesn't work at all on the Linux distro of SWIPL.

Please try: "use_module(my_module)." That is, omit the extension and see if that changes the symptom.

Regards,
Jeff R.

 

 

 

-----Original Message-----
From: db <[email protected]>
To: swi-prolog <[email protected]>
Sent: Sun, Mar 2, 2014 12:01 pm
Subject: [SWIPL] strange problem with use_module


Hello,

I use SWI-Prolog (Multi-threaded, 64 bits, Version 7.1.9)
on Ubuntu 12.04.

In a program I have the instruction :

use_module('my_module.pl').

It works if I do not use the graphical debugger.

But when I use the graphical debugger (with gtrace),
I obtain the following error :

ERROR: /home/Dominique/create_int_examples.pl:49: Initialization goal 
raised exception:
ERROR: Domain error: `module_file' expected, found 
`/home/dominique/Documents/Recherche/completion2.pl'

Anyone would have an explanation ?

Thanks a lot

Dominique




_______________________________________________
SWI-Prolog mailing list
[email protected]
https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

 
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.