-
Notifications
You must be signed in to change notification settings - Fork 4
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
Option 1: Daml Sandbox - Invalid dar file #33
Comments
Are you running the |
Yes, I run the daml sandbox command after I CD into App folder.
Please see attached screenshot:
[cid:8779E6EB-B5E2-4546-89F7-E14028683D78]
Best,
Chris
CHRIS RIVERS
CEO | Optimis, Inc.
222 South Church Street, Suite 100 |
Charlotte, NC 28202
M: + 1 (704) 565-9704
optimisinc.co<http://optimisinc.co>
On Feb 3, 2020, at 5:42 AM, Georg Schneider <[email protected]<mailto:[email protected]>> wrote:
Are you running the daml sandbox .daml/dist/CdmSwaps-1.0.0.dar command from the app directory? You need to run this from the root dir in the repo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33?email_source=notifications&email_token=AJVSYUD3ECSJWDOIVTHVA2DRA7YJBA5CNFSM4KOUBSI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKTLAXI#issuecomment-581349469>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJVSYUA6GG2BR672TV5TK73RA7YJBANCNFSM4KOUBSIQ>.
|
You need to run the sandbox command from the root repo folder. |
After running the daml build and (cd app; sbt compile) commands, I cd back into the root folder and ran the daml sandbox command successfully within the same shell. (Might I suggest the root folder instruction be included on Git?)
I opened a second shell for daml navigator server command and ran this successfully.
I opened another shell for REPL command. This too was run successfully.
I opened the last shell for the automation command and got this error:
[cid:509F73EF-6215-4A24-9BBE-C1D7F03D9B82]
CHRIS RIVERS
CEO | Optimis, Inc.
222 South Church Street, Suite 100 |
Charlotte, NC 28202
M: + 1 (704) 565-9704
optimisinc.co<http://optimisinc.co>
On Feb 4, 2020, at 2:20 AM, Georg Schneider <[email protected]<mailto:[email protected]>> wrote:
You need to run the sandbox command from the root repo folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33?email_source=notifications&email_token=AJVSYUCQQROTZTATZJUJG33RBEJLXA5CNFSM4KOUBSI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKWTB4Q#issuecomment-581775602>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJVSYUEHOCTOTOSH6JNS27DRBEJLXANCNFSM4KOUBSIQ>.
|
Further to my below, upon closer inspection, I receive an out of memory error when running the daml navigator server command. It appears that the 16 GB hardware limit is needed for both Options 1 and 2…?
CHRIS RIVERS
CEO | Optimis, Inc.
222 South Church Street, Suite 100 |
Charlotte, NC 28202
M: + 1 (704) 565-9704
optimisinc.co<http://optimisinc.co>
On Feb 4, 2020, at 6:12 PM, Christopher Rivers <[email protected]<mailto:[email protected]>> wrote:
After running the daml build and (cd app; sbt compile) commands, I cd back into the root folder and ran the daml sandbox command successfully within the same shell. (Might I suggest the root folder instruction be included on Git?)
I opened a second shell for daml navigator server command and ran this successfully.
I opened another shell for REPL command. This too was run successfully.
I opened the last shell for the automation command and got this error:
<Screen Shot 2020-02-04 at 6.11.43 PM.png>
CHRIS RIVERS
CEO | Optimis, Inc.
222 South Church Street, Suite 100 |
Charlotte, NC 28202
M: + 1 (704) 565-9704
optimisinc.co<http://optimisinc.co/>
On Feb 4, 2020, at 2:20 AM, Georg Schneider <[email protected]<mailto:[email protected]>> wrote:
You need to run the sandbox command from the root repo folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33?email_source=notifications&email_token=AJVSYUCQQROTZTATZJUJG33RBEJLXA5CNFSM4KOUBSI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKWTB4Q#issuecomment-581775602>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJVSYUEHOCTOTOSH6JNS27DRBEJLXANCNFSM4KOUBSIQ>.
|
Yes, the CDM model is quite large, so it could be that it requires >8gb to run navigator. I haven't tested the exact requirements yet for this option. |
Ok understood. I look forward to your feedback.
I’ve considered deploying the docker container in the cloud. Have you consider that as a 3rd option? It would increase the usability of the app (and may be a quicker workaround than reworking code changes)
Best,
Chris
Christopher Rivers
CEO | Optimis, Inc.
222 South Church Street, Suite 100 |
Charlotte, NC 28202
M: +1 (704) 565-9704<tel:+1%20(704)%20565-9704>
optimisinc.co<http://optimisinc.co/>
On Feb 10, 2020, at 8:17 AM, Georg Schneider <[email protected]> wrote:
Yes, the CDM model is quite large, so it could be that it requires >8gb to run navigator. I haven't tested the exact requirements yet for this option.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#33?email_source=notifications&email_token=AJVSYUEKAYGJF6GNN4WAGQLRCFHWZA5CNFSM4KOUBSI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIO2YQ#issuecomment-584117602>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJVSYUD6K5XCAGKP7JE2DJDRCFHWZANCNFSM4KOUBSIQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After running the 'daml build' and '(cd app; sbt compile)', for the Option 1 implementation, I receive an "invalid dar file: CdmSwaps-1.0.0.dar" ExitFailure 1 error after running this command: daml sandbox .daml/dist/CdmSwaps-1.0.0.dar.
The raw command: java -jar /Users/craniac/.daml/sdk/0.13.22/sandbox/sandbox.jar .daml/dist/CdmSwaps-1.0.0.dar
The text was updated successfully, but these errors were encountered: