AmpersandTarski / Ampersand

Build database applications faster than anyone else, and keep your data pollution free as a bonus.
http://ampersandtarski.github.io/
GNU General Public License v3.0
40 stars 8 forks source link

command line argument error: While looking for /scripts/repositoryumcu.archimate File does not exist. #1255

Closed ElMakkiHaddouchi closed 2 years ago

ElMakkiHaddouchi commented 2 years ago

What happened

When using the script below: Docker run –it –v C:\Temp\Test:/scripts ampersandtarski/ampersand:v4.6.0 check repositoryumcu.archimate

I get the following message: Command line argument error: While looking for /scripts/repositoryumcu.archimate File does not exist

What I expected

Check of constraints on the imported archi model

Version of ampersand that was used

4.6.0

Steps to reproduce

  1. Use the files docker-compose.yml, Dockerfile, myModel and the archi file: repositoryumcu.archimate
  2. Run the dockerscript: Docker run –it –v C:\Temp\Test:/scripts ampersandtarski/ampersand:v4.6.0 check repositoryumcu.archimate

Screenshot / Video

Context / Source of ampersand script

stefjoosten commented 2 years ago

This is not an error in Ampersand. It is a command-line argument error. The message is clear: your operating system cannot find the file. So, Ampersand has not even been called... Apart from the capital letter (which in itself does not explain the message) I cannot see a mistake in this command. It looks good.

Michiel-s commented 2 years ago

Hi @ElMakkiHaddouchi, can you check if:

  1. The script with filename repositoryumcu.archimate is in the directory C:\Temp\Test. I noticed that it has the file extension .archimate is that correct? Isn't it a .adl file?
  2. Docker can bind the volume –v C:\Temp\Test:/scripts
ElMakkiHaddouchi commented 2 years ago

Hi Michiel,

This problem is already solved by a new docker installation. Now the script is doing very well. The file extension is correct and is working with .archimate in the version 4.6.0.

Thank you for your answer.

El Makki


Van: Michiel Stornebrink @.> Verzonden: woensdag 1 december 2021 13:52 Aan: AmpersandTarski/Ampersand @.> CC: ElMakkiHaddouchi @.>; Mention @.> Onderwerp: Re: [AmpersandTarski/Ampersand] command line argument error: While looking for /scripts/repositoryumcu.archimate File does not exist. (Issue #1255)

Hi @ElMakkiHaddouchihttps://github.com/ElMakkiHaddouchi, can you check if:

  1. The script with filename repositoryumcu.archimate is in the directory C:\Temp\Test. I noticed that it has the file extension .archimate is that correct? Isn't it a .adl file?
  2. Docker can bind the volume –v C:\Temp\Test:/scripts

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/AmpersandTarski/Ampersand/issues/1255#issuecomment-983610237, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM2VBIGQNL2RMRW3S4Q5PILUOYK7LANCNFSM5IR35MAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.