Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error using rddl.translate.RDDL2Format -> cannot translate dbn_prop.rddl to .sperseus format #1

Open
GoogleCodeExporter opened this issue Jun 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

diego@d:~/Documents/workspace/rddlsim-read-only$ ls files/simple-rddl/
dbn_prop.rddl
diego@d:~/Documents/workspace/rddlsim-read-only$ ls files/simple-sperseus/
diego@d:~/Documents/workspace/rddlsim-read-only$ ./run 
rddl.translate.RDDL2Format files/simple-rddl/ files/simple-sperseus/ 
spudd_sperseus
[r, q, p, r', q', p']
State vars:  {r=[[]], q=[[]], p=[[]]}
Action vars: {a=[[]]}
Observ vars: {}
Processing: r
[FLUSHING CACHES...  TIME: 1  RESULT: 0.962  CACHE: 0] Processing: q
[FLUSHING CACHES...  TIME: 1  RESULT: 0.962  CACHE: 7] Processing: p
[FLUSHING CACHES...  TIME: 0  RESULT: 0.962  CACHE: 9] Vars relevant to reward: 
[<r, []>, <q, []>, <p, []>]

Transition: <noop, p>=77
Transition: <noop, q>=59
Transition: <noop, r>=2


Action-based reward: noop=39

General reward = 39
Error processing: files/simple-rddl/dbn_prop.rddl
java.io.FileNotFoundException: /prop_dbn.inst_dbn.spudd (Permission denied)
java.io.FileNotFoundException: /prop_dbn.inst_dbn.spudd (Permission denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
    at java.io.FileWriter.<init>(FileWriter.java:46)
    at rddl.translate.RDDL2Format.export(RDDL2Format.java:132)
    at rddl.translate.RDDL2Format.main(RDDL2Format.java:910)


===

Error processing: files/simple-rddl/dbn_prop.rddl

At this point it seemed the argument parsing think I want the output in /, so I 
changed the output_dir to . 

diego@d:~/Documents/workspace/rddlsim-read-only$ ./run 
rddl.translate.RDDL2Format files/simple-rddl/ . spudd_sperseus
[r, q, p, r', q', p']
State vars:  {r=[[]], q=[[]], p=[[]]}
Action vars: {a=[[]]}
Observ vars: {}
Processing: r
[FLUSHING CACHES...  TIME: 1  RESULT: 0.962  CACHE: 0] Processing: q
[FLUSHING CACHES...  TIME: 0  RESULT: 0.962  CACHE: 7] Processing: p
[FLUSHING CACHES...  TIME: 0  RESULT: 0.962  CACHE: 9] Vars relevant to reward: 
[<r, []>, <q, []>, <p, []>]

Transition: <noop, p>=77
Transition: <noop, q>=59
Transition: <noop, r>=2


Action-based reward: noop=39

General reward = 39
Error processing: files/simple-rddl/dbn_prop.rddl
java.lang.NullPointerException
java.lang.NullPointerException
    at rddl.translate.RDDL2Format.exportSPUDDAction(RDDL2Format.java:217)
    at rddl.translate.RDDL2Format.exportSPUDD(RDDL2Format.java:195)
    at rddl.translate.RDDL2Format.export(RDDL2Format.java:139)
    at rddl.translate.RDDL2Format.main(RDDL2Format.java:910)


===

Error processing: files/simple-rddl/dbn_prop.rddl



Original issue reported on code.google.com by [email protected] on 19 Jan 2011 at 4:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant