On 10/17/2015 06:18 PM, Chamara Madushanka wrote:
> First of all thank you for your help....
>
> Finally I fixed error.
Great.
> I think there is an error in JPL. Because when the system variable
> path's no of characters are < 1024 then JPL works correctly. Else it
> give me above error.
Well, the error is related to %PATH%, we know as much as that. It might
be a real bug in Windows and it might be some detail in how SWI-Prolog
tries to get %PATH%. Just about nothing seems to reproduce though. The
solution to fix it often involves making %PATH% shorter, but sometimes
other changes work fine too ... At least [1] suggests the real problem
is in Windows. You can still help if you can provide details on
- The broken and correctly working setting of the Path variable
- Both the user and system setting
- How you set/edited the variable (delete/recreate var, copy/paste,
copy from which application, etc).
I also suspect installers used for other programs.
Also interesting for a PATH that breaks JPL/Prolog: what is the result of
`echo %PATH%` in cmd.exe and ?- getenv('PATH', Path). in Prolog?
This issue is popping up so often that it would be really nice to get rid of
it.
Cheers --- Jan
[1]
http://mailman.few.vu.nl/pipermail/cliopatria-list/2013-February/000162.html
>
> Anywey thank you for help me.
>