Re: strange problem with use_module

db <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi Jeff,

I have tried your solution but there is still
the same problem :

the instruction
use_module(my_module) (without the extension .pl)
works without the graphical debugger
and does not work with it.

Thanks for your answer.

Regards
Dominique


Le 02/03/2014 19:48, Jeff Rosenwald a écrit :
> 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]  <mailto:[email protected]>
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>
> !DSPAM:152,53137fee48511605879615!
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.