Click here to donate to keep PhreeqcUsers open
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
MacOS Execution Error
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: MacOS Execution Error (Read 3673 times)
oriondollar
Contributor
Posts: 1
MacOS Execution Error
«
on:
February 11, 2018, 06:55:26 PM »
Hey all,
I'm getting a similar but slightly different error as some other users of the Mac version of phreeqc. When I try to run the executable I get the error
Can’t get «class cfol» "database" of item "d" of «class cdis» "B30E541C-8A23-464E-BE8D-5740B1401617" of application "Finder".
Notice that it says of item "d" rather than as alias. I tried the solution mentioned in another post which was to remove as alias from the line "set fdb to choose file with prompt "Choose database to use:" default location dbdir as alias without invisibles" but that didn't fix the problem. Any suggestions?
Logged
stbrown
Contributor
Posts: 1
Re: MacOS Execution Error
«
Reply #1 on:
March 16, 2018, 01:51:48 PM »
Just curious if you found a solution to this problem. It happened when I tried to install phreeqc on my Mac today.
Logged
dlparkhurst
Global Moderator
Posts: 3759
Re: MacOS Execution Error
«
Reply #2 on:
March 18, 2018, 01:13:14 AM »
Note that this is still a batch program, and not a graphical user interface.
Here is a fix that has been reported. It involves changing the script that runs PHREEQC for the Mac. I think the file attached has Mac line endings, but there may be problems with line endings or spaces between commands. (If changes are needed, please post.)
1. In the src folder, open the run phreeqc script (this will open Script Editor).
2. Copy the code below and replace the code in Script Editor.
3. In Script Editor, select the Compile command from the Script menu (there should be no feedback or errors).
4. In Script Editor, select the Export command from the File menu.
5. In the dialog that opens:
a. Export As: run phreeqc (this should be the default).
b. Ensure that the directory is the phreeqc home folder and not the src folder.
c. File Format = Application
d. Select Show startup screen
e. Select Run-only
6. Click Save and opt to replace the existing run phreeqc application.
7. Quit Script Editor (no need to save changes if prompted).
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
MacOS Execution Error