# No permission to call sandboxed \`source\_location(\_2216,\_2218)' error

**URL:** <https://swi-prolog.discourse.group/t/no-permission-to-call-sandboxed-source-location-2216-2218-error/1584>\
**Category:** SWI-Prolog web site and services\
**Tags:** swish\
**Created:** [December 8, 2019, 8:54am UTC](https://swi-prolog.discourse.group/t/no-permission-to-call-sandboxed-source-location-2216-2218-error/1584 "2019-12-08T08:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCR](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@JCR](https://swi-prolog.discourse.group/u/JCR)\
**Post date:** [December 8, 2019, 8:54am UTC](https://swi-prolog.discourse.group/t/no-permission-to-call-sandboxed-source-location-2216-2218-error/1584/1 "2019-12-08T08:54:06Z")

</div>

Hi!  
On [https://swish.swi-prolog.org](https://swish.swi-prolog.org) i get an error; it has not happened before with the same code. Maybe related to [this](https://groups.google.com/forum/#!topic/swi-prolog/QvyIV2VZmjc)? Sorry for the bad formatting (could not get \</\> or backticks to work for some reason on Safari mac).  
Cheers/JCR

Code:

```prolog
:- use_module(library(clpr)).
main:- {X = 1 + 2}, writeln(X).

```

Error:

```prolog
No permission to call sandboxed `source_location(_2216,_2218)'
Reachable from:
    system:'$assert_load_context_module'(A,B,C)
    system:'$load_file'(A,B,C)
    system:'$load_files'(A,B,C)
    load_files(A,B)

```

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [December 8, 2019, 10:39am UTC](https://swi-prolog.discourse.group/t/no-permission-to-call-sandboxed-source-location-2216-2218-error/1584/2 "2019-12-08T10:39:26Z")

</div>

Has happened a few times before. Still need to figure out why, but the problem never reproduced. Fixed using a restart.

---

<div class="post-metadata">

**Author:** ![JCR](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@JCR](https://swi-prolog.discourse.group/u/JCR)\
**Post date:** [December 8, 2019, 10:48am UTC](https://swi-prolog.discourse.group/t/no-permission-to-call-sandboxed-source-location-2216-2218-error/1584/3 "2019-12-08T10:48:04Z")

</div>

Thanks @jan!
