PhreeqcUsers Discussion Forum

Please email phreeqcusers at gmail.com with your name and affiliation to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • Installation questions »
  • Run PhreeqC on MAC, execution Problems with Database
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Run PhreeqC on MAC, execution Problems with Database  (Read 12967 times)

kaitandon

  • Contributor
  • Posts: 1
Run PhreeqC on MAC, execution Problems with Database
« on: 29/06/17 15:17 »
Hi,

I am trying to run PhreeqC on my mac, installed the batch Version as mentioned in the instructions. When i want to execute the "run phreeqC" program there is always the same error occuring:

«class cfol» "database" of alias "732E1BD7-ADFF-4E64-A74E-9D4991ABFC7B:d:" kann nicht in Typ alias umgewandelt werden.

I think I could figure out where the problem is but don´t kno whow to solve it:

tell application "Finder"
   set dbdir to folder "database" of topdir as alias
end tell

Does anyone have an idea how to solve the problem?

Thank you in advance!
Logged

bmarshall

  • Contributor
  • Posts: 5
Re: Run PhreeqC on MAC, execution Problems with Database
« Reply #1 on: 27/11/17 18:33 »
This problem will be fixed in the next release.

To fix this using Script Editor:

Replace the line: set fdb to choose file with prompt "Choose database to use:" default location dbdir as alias without invisibles

With: set fdb to choose file with prompt "Choose database to use:" default location dbdir without invisibles

In other words, just remove "as alias" from this line.

Re-save as application and replace the run phreeqc app.


Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • Installation questions »
  • Run PhreeqC on MAC, execution Problems with Database
 

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