Hello,i'm unable to start the panel,Please help me!
error.log:
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 35, in <module>
from BTPanel import app,sys,public
File "/www/server/panel/BTPanel/init.py", line 33, in <module>
import public
File "class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
task.log:
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 24, in <module>
import public
File "/www/server/panel/class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
SSH command
`[root@localhost ~]# bt 16
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 17, in <module>
import public,time,json
File "/www/server/panel/class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
[root@localhost ~]# bt
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 17, in <module>
import public,time,json
File "/www/server/panel/class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
[root@localhost ~]# bt restart
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
Starting Bt-Panel............failed
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 35, in <module>
from BTPanel import app,sys,public
File "/www/server/panel/BTPanel/init.py", line 33, in <module>
import public
File "class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 35, in <module>
from BTPanel import app,sys,public
File "/www/server/panel/BTPanel/init.py", line 33, in <module>
import public
File "class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
Error: BT-Panel service startup failed.
done
Starting Bt-Tasks... failed
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 24, in <module>
import public
File "/www/server/panel/class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 24, in <module>
import public
File "/www/server/panel/class/public.py", line 408
if uid != 1 or any(key in logMsg for key in ['default.db', 'public.py', 'users_main.py', 'config.py', '.jQuery.', 'init.py', 'sysadmin']): return
^
SyntaxError: invalid syntax
Error: BT-Task service startup failed.
`