PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • 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 4411 times)

oriondollar

  • Contributor
  • Posts: 1
MacOS Execution Error
« on: 11/02/18 18:55 »
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: 16/03/18 13:51 »
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: 4074
Re: MacOS Execution Error
« Reply #2 on: 18/03/18 01:13 »
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
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2