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 installing v2.3.0 standalone app #1

Closed
magmasource opened this issue Jul 29, 2024 · 1 comment
Closed

Error installing v2.3.0 standalone app #1

magmasource opened this issue Jul 29, 2024 · 1 comment
Assignees

Comments

@magmasource
Copy link
Owner

There is a typo in the packaged version of install.command (on line 19 "install2.command" should be "install.command"), which means installation fails with the following message:

Installation aborted or may be incomplete!
Use of uninitialized value $bin in concatenation (.) or string at ./install.command line 482.
Please log out and in and then and run the install script again.
Check the '' directory is in your path then choose 'n' to exit.
Press return to finish.

The packages will be updated soon, together with some other minor bug fixes. In the meantime, a workaround is to download the source file, which does not have the error, and replace the original (“Download raw file” is the button two the right from the “Raw” button):

https://github.com/magmasource/alphaMELTS/blob/main/workspaces/app/src/alphamelts/app/install.command

Alternatively, copy and paste the following one liner to a terminal to correct the file in place:

perl -i -pe 's/install2/install/g' install.command

Right-clicking and choosing "Open with..." or similar to edit the file in a text editor like Notepad or Textedit, will also work, as will renaming the file to "install2.command" instead.

@magmasource magmasource self-assigned this Jul 29, 2024
magmasource added a commit that referenced this issue Aug 3, 2024
…w always 'fluid'.

When v2.3.0 was released some older file versions were included in the .zip archives.
Notably among these was install.command, which had a bug that had been corrected elsewhere (see Issue #1).
Release v2.3.1 includes the correct files; it also updates the version numbers within the code and links point to GitHub.
The fluid phase is now consistently called 'fluid' everywhere (previously was 'water' in rMELTS 1.0.2 and pMELTS).

Some rearragement of C code in anticipation of building with poetry / cmake.
To do: rearrange header files to match.
@magmasource
Copy link
Owner Author

Release v2.3.1 has the corrected and updated install.command.

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

No branches or pull requests

1 participant