¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Script Error when starting XEphem on MacOS


 

Hi,

I was able to run XEphem on my Mac, but suddenly I get the following error message when starting it.

Can¡¯t make POSIX path of alias "/Applications/XEphem.app" into type Unicode text. (-1700)

This normal starting script is suddenly causing the error.

do shell script "export TELHOME=" & POSIX path of (path to me) & "/Contents/Resources; cd $TELHOME/xephem/bin/osx; ./xephem"

Probably some new setting on my Mac (10.14.6) that I am not aware of that is creating the issue, but maybe someone here is knowledgeable in Apple scripts and can point me to possible error sources or even help me fix this error. Searching for error message on the internet didn't result in anything helpful to me at least.

Thanks!

RK


 

Could the "path to me" thing contain any special characters
that would trigger some kind of Unicode mess in the process ?
--
fm


On Fri, 17 Jan 2020, randolf0klein@... wrote:

Hi,
I was able to run XEphem on my Mac, but suddenly I get the following error message when starting it.

Can¡¯t make POSIX path of alias "/Applications/XEphem.app" into type Unicode text. (-1700)
This normal starting script is suddenly causing the error.

do shell script "export TELHOME=" & POSIX path of (path to me) & "/Contents/Resources; cd
$TELHOME/xephem/bin/osx; ./xephem"
Probably some new setting on my Mac (10.14.6) that I am not aware of that is creating the issue, but maybe someone here
is knowledgeable in Apple scripts and can point me to possible error sources or even help me fix this error. Searching
for error message on the internet didn't result in anything helpful to me at least.
Thanks!
RK


 

I doubt it since the path is only "/Applications/XEphem.app".


 

I circumvented the issue going a different installation path. I compiled xephem from the sources and followed those installation instructions.