User abort: Submit failed with code 7: null
See original GitHub issueWhen I run the following
daml sandbox .daml\dist\quickstart-0.0.1.dar \
--wall-clock-time \
--address 0.0.0.0 \
--ledgerid MyLedger \
--auth-jwt-hs256-unsafe=secret
daml script --dar .daml\dist\quickstart-0.0.1.dar \
--script-name Setup:initialize \
--ledger-host localhost \
--ledger-port 6865 \
--wall-clock-time \
--access-token-file accessToken.txt
I get
Reading token from accessToken.txt...
Slf4jLogger started
Error: User abort: Submit failed with code 7: null
Exception in thread "main" com.digitalasset.daml.lf.speedy.SError$DamlEUserError
at com.digitalasset.daml.lf.speedy.SBuiltin$SBError$.execute(SBuiltin.scala:1278)
at com.digitalasset.daml.lf.speedy.Speedy$CtrlValue.execute(Speedy.scala:361)
at com.digitalasset.daml.lf.speedy.Speedy$Machine.step(Speedy.scala:120)
at com.digitalasset.daml.lf.engine.script.Runner.stepToValue$1(Runner.scala:281)
at com.digitalasset.daml.lf.engine.script.Runner.go$1(Runner.scala:312)
at com.digitalasset.daml.lf.engine.script.Runner.$anonfun$runExpr$7(Runner.scala:361)
at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:303)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:47)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:47)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
daml-helper: Received ExitFailure 1 when running
Raw command: java "-Dlogback.configurationFile=C:\\Users\\NIrving\\AppData\\Roaming\\daml\\sdk\\0.13.55\\daml-sdk/script-logback.xml" -jar "C:\\Users\\NIrving\\AppData\\Roaming\\daml\\sdk\\0.13.55\\daml-sdk/daml-sdk.jar" script --dar ".daml\\dist\\quickstart-0.0.1.dar" --script-name Setup:initialize --ledger-host localhost --ledger-port 6865 --wall-clock-time --access-token-file accessToken.txt
The token payload is accessToken.txt
{
"https://daml.com/ledger-api": {
"ledgerId": "MyLedger",
"applicationId": "foobar",
"admin": true
}
}
Any ideas? It works if I don’t use Access Tokens.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PhotoKit: Can't access user's albums? - Apple Developer
Using Xcode 13 beta 4, I seem to have lost the ability to access user-created photo albums with PhotoKit (via PHAssetCollection.fetchAssetCollections ).
Read more >dyld`__abort_with_payload: Without an error message
This problem appeared after a system update up to macOS 10.15. 2 beta (Catalina). Disabling "Thread Sanitizer" solved the issue (Xcode 11.2).
Read more >How to Fix 'Terminated With Exit Code 1' Error - Komodor
Exit Code 1 indicates that a container shut down, either because of an application failure or because the image pointed to an invalid...
Read more >Result and Error Codes - SQLite
The SQLITE_PERM result code indicates that the requested access mode for a newly created database could not be provided. (4) SQLITE_ABORT. The ...
Read more >SMPP Error Codes - OpenMarket
Hex value Decimal Description
0x00000000 0 No Error
0x00000001 1 Message length is invalid
0x00000002 2 Command length is invalid
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep working on that right now 👍
You will get a clear
PERMISSION_DENIED
error in the next release. We might extend this further to make it more explicit which command got the permission denied error but for now, I’m closing this issue.