You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code: ./target/unifmu generate python test-py
succesfully worked. However using the -z flag as in ./target/unifmu generate -z python test-py
produced the error: [2021-08-27T11:20:40Z INFO unifmu] Generating FMU for language 'Python' with tmpdir "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0" and final output path "test-py" [2021-08-27T11:20:40Z INFO unifmu] "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/binaries/win64/unifmu.dll" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/backend.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/backend.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/model.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/model.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "auto_generated/unifmu_fmi2_pb2.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/schemas/unifmu_fmi2_pb2.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/launch.toml" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/launch.toml" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/README.md" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/README.md" thread 'main' panicked at 'not yet implemented', cli/src/lib.rs:163:17 note: run with RUST_BACKTRACE=1environment variable to display a backtrace bash-3.2$
I am on an Apple machine.
The text was updated successfully, but these errors were encountered:
Thanks for the report. I will add the functionality soonish.
In the mean time you can manually zip the FMU using 7zip or similar, and manually change the extension from .zip to .fmu :)
The code:
./target/unifmu generate python test-py
succesfully worked. However using the
-z
flag as in./target/unifmu generate -z python test-py
produced the error:
[2021-08-27T11:20:40Z INFO unifmu] Generating FMU for language 'Python' with tmpdir "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0" and final output path "test-py" [2021-08-27T11:20:40Z INFO unifmu] "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/binaries/win64/unifmu.dll" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/backend.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/backend.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/model.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/model.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "auto_generated/unifmu_fmi2_pb2.py" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/schemas/unifmu_fmi2_pb2.py" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/launch.toml" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/launch.toml" [2021-08-27T11:20:40Z INFO unifmu] copying resource "python/README.md" to "/var/folders/g6/kltshxrn3198s863_j7l4b_m0000gp/T/.tmpNHQ2H0/resources/README.md" thread 'main' panicked at 'not yet implemented', cli/src/lib.rs:163:17 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace bash-3.2$
I am on an Apple machine.
The text was updated successfully, but these errors were encountered: