KH Coder on macOS won't start: "AppleEvent (-10000)" error #1241
-
Version number of KH Coderkhcoder3- mac version semi-manual installer 301-macdl 17.34.34 Details about the error or the problemOS I have downloaded and installed XQuartz as required, and completed the process of KH Coder with OK, but KH coder still failed to install successfully due to an Apple event handler error. Terminal encountered an issue, with the specific script shown in the screenshot below. How should I deal with this problem Language of the Text Type of the data file CPU Contents of the console windowtell application "Finder" to set current_dir to ((path to me as text) & "::")
set current_dir to POSIX path of (current_dir as Unicode text)
tell application "Terminal" to activate
tell application "Terminal"
set wCount to count (every window)
if wCount = 0 then
do script "bash -c ' cd \"" & current_dir & "\";export LANG_BAK=$LANG;export TMPDIR=\"" & current_dir & "config\";export LANG=ja_JP.UTF-8;export LC_ALL=ja_JP.UTF-8;export XMODIFIERS=\"@im=uim\";export GTK_IM_MODULE=uim;export DYLD_FALLBACK_LIBRARY_PATH=\"" & current_dir & "deps/mysql-5.6.17/lib\"; ./x_mac64'"
else
do script "bash -c ' cd \"" & current_dir & "\";export LANG_BAK=$LANG;export TMPDIR=\"" & current_dir & "config\";export LANG=ja_JP.UTF-8;export LC_ALL=ja_JP.UTF-8;export XMODIFIERS=\"@im=uim\";export GTK_IM_MODULE=uim;export DYLD_FALLBACK_LIBRARY_PATH=\"" & current_dir & "deps/mysql-5.6.17/lib\"; ./x_mac64'" in front window
end if
end tell |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
When you get this "AppleEvent (-10000)" error, please try the following procedure and let us know if it works.
To open a new Terminal window, in a Finder window, go to "Application" -> "Utility" and double click "Terminal".
From next time onwards, you will probably be able to start KH Coder by simply double-clicking "kh_coder". |
Beta Was this translation helpful? Give feedback.
-
Hello, following your instructions, the operation was successful. However, the "OK" message appeared again during the process. After clicking to close it and rerunning the terminal, I was able to open the file. Should I repeat the aforementioned steps every time the "OK" message appears? |
Beta Was this translation helpful? Give feedback.
-
What do you mean by "during the process"??? And what is the "OK" message?????? First, if you try to start KH Coder by double-clicking "kh_coder", but an "AppleEvent (-10000)" error occurs and KH Coder won't start. In this situation, you need to open a new terminal window and double-click "kh_coder" again. Second, if you are already using KH Coder and are getting the "AppleEvent (-10000)" error. In this case, just click "OK" to close the error screen. Third, if you are talking about other message window that has "OK" button, post a screenshot of that window. |
Beta Was this translation helpful? Give feedback.
-
Hello, the issue has been resolved. I was talking about the first situation just now. “First, if you try to start KH Coder by double-clicking "kh_coder", an "AppleEvent (-10000)" error occurs and KH Coder won't start. In this situation, you need to open a new terminal window and double-click "kh_coder" again. ” Because I repeated this step several times before I could open KH Coder.
Thank you so much for your patient guidance!
…________________________________
发件人: ko-ichi-h ***@***.***>
发送时间: 2024年3月19日 20:24
收件人: ko-ichi-h/khcoder ***@***.***>
抄送: ZHU, Danyang [Student] ***@***.***>; Author ***@***.***>
主题: Re: [ko-ichi-h/khcoder] Assistance Required for Resolving KH Coder Installation Error on macOS. (Discussion #1241)
CAUTION: This email is not originated from PolyU. Do not click links or open attachments unless you recognize the sender and know the content is safe.
However, the "OK" message appeared again during the process
What do you mean by "during the process"??? And what is the "OK" message??????
First, if you try to start KH Coder by double-clicking "kh_coder", an "AppleEvent (-10000)" error occurs and KH Coder won't start. In this situation, you need to open a new terminal window and double-click "kh_coder" again.
Second, if you are already using KH Coder and are getting the "AppleEvent (-10000)" error. In this case, just click "OK" to close the error screen.
If you are talking about other message window that has "OK" button, post a screenshot of that window.
―
Reply to this email directly, view it on GitHub<#1241 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHCI42PUEXLQJ3IQRSCZLV3YZAVBNAVCNFSM6AAAAABE5L6YYKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNBQGA3DS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
[https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature.jpg]
Disclaimer:
This message (including any attachments) contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and notify the sender and The Hong Kong Polytechnic University (the University) immediately. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful.
The University specifically denies any responsibility for the accuracy or quality of information obtained through University E-mail Facilities. Any views and opinions expressed are only those of the author(s) and do not necessarily represent those of the University and the University accepts no liability whatsoever for any losses or damages incurred or caused to any party as a result of the use of such information.
|
Beta Was this translation helpful? Give feedback.
When you get this "AppleEvent (-10000)" error, please try the following procedure and let us know if it works.
To open a new Terminal window, in a Finder window, go to "Application" -> "Utility" and double click "Terminal".
From next time onwards, you will probably be able to start KH Coder by simply double-clicking "kh_coder".