2.0.6 import does not work on macOS14 sonoma
I tried to migrate my scripts from macOS 12 to macOS 14.
On macOS 12, I used Sikulix 2.0.5 and now I use 2.0.6 on macOS 14.
When I check script, it stop at importing module which worked on 2.0.5.
I tried to check other post and try to fix it, but not work.
Can anybody check where is wrong?
=========
logfolder.py
=========
import shutil
import os
import os.path
import datetime
from sikuli import *
use()
def mklogfolderlogo
now = datetime.
new_dir_path = 'screenshots/
os.
return(
def mklogfolderlogin():
now = datetime.
new_dir_path = 'screenshots/
os.
return(
=============
UItest.py
============
import datetime
import os
import sys
sys.path.
import logfolder
#import sys
#sys.path.
#import check_signin_status
import sys
sys.path.
import account_screen
logpath = logfolder.
print(logpath)
wait(3)
launch_
wait(3)
=======
From UItest.py, I try to call logfolder.py's code.
but It stop at the [import logfolder] part.
Error message is
[error] script [ UITest ] stopped with error in line 14
[error] ImportError ( No module named logfolder )
[error] --- Traceback --- error source first
line: module ( function ) statement
14: main ( <module> ) import logfolder
[error] --- Traceback --- end --------------
Please help....
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Yoshi Kamino for more information if necessary.