# Sandbox declaration needed to executed tabled code in Windows hosted swish

**URL:** https://swi-prolog.discourse.group/t/sandbox-declaration-needed-to-executed-tabled-code-in-windows-hosted-swish/1851
**Category:** Help!
**Tags:** swish
**Created:** [February 10, 2020, 3:11pm UTC](https://swi-prolog.discourse.group/t/sandbox-declaration-needed-to-executed-tabled-code-in-windows-hosted-swish/1851 "2020-02-10T15:11:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![CapelliC](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/capellic/32/17_2.png) [@CapelliC](https://swi-prolog.discourse.group/u/CapelliC)
#### Post date: [February 10, 2020, 3:11pm UTC](https://swi-prolog.discourse.group/t/sandbox-declaration-needed-to-executed-tabled-code-in-windows-hosted-swish/1851/1 "2020-02-10T15:11:15Z")

</div>

I get this error

> No permission to call sandboxed `‘$get\_predicate\_attribute’(\_1550,\_1542,\_1544)’  
> Reachable from:  
> not\_exists(A)  
> rule(A,B,C,D)  
> state(A,B,C,D)  
> label(A,B,C)  
> model(A,B)

when running the argumentation framework notebook (that is, argue.pl) on a Windows10 hosted swish instance (swipl.exe upgraded to development version 8.1.21).

Could be that the versione 8.1.21-67-gc08d28d, (built from source on Ubuntu and executing the notebook without problems) added the sandbox declaration I’m missing ?

I’ve been unable to find out (on Ubuntu) the relevant details.

---

<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: [February 10, 2020, 4:37pm UTC](https://swi-prolog.discourse.group/t/sandbox-declaration-needed-to-executed-tabled-code-in-windows-hosted-swish/1851/2 "2020-02-10T16:37:05Z")

</div>

> [@CapelliC](#):
>
> Could be that the versione 8.1.21-67-gc08d28d, (built from source on Ubuntu and executing the notebook without problems) added the sandbox declaration I’m missing ?

As far as I recall, support for not\_exists/1 for sandboxing was indeed added later.

---

<div class="post-metadata">

### Author: ![CapelliC](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/capellic/32/17_2.png) [@CapelliC](https://swi-prolog.discourse.group/u/CapelliC)
#### Post date: [February 10, 2020, 4:51pm UTC](https://swi-prolog.discourse.group/t/sandbox-declaration-needed-to-executed-tabled-code-in-windows-hosted-swish/1851/3 "2020-02-10T16:51:19Z")

</div>

Thanks Jan  
I found at line of 858 of sandbox.pl the declaration `safe_meta('$tabling':not_exists(G), [G]).`
