sys.exit(main())
| | -> <function main at 0x7f0edb112b00>
| ->
-> <module 'sys' (built-in)>
File "/usr/local/lib/python3.7/site-packages/flexget/init.py", line 44, in main
manager.start()
| -> <function Manager.start at 0x7f0ed46ba680>
-> <flexget.manager.Manager object at 0x7f0ed77ae410>
File "/usr/local/lib/python3.7/site-packages/flexget/manager.py", line 383, in start
self.initialize()
| -> <function Manager.initialize at 0x7f0ed46ba440>
-> <flexget.manager.Manager object at 0x7f0ed77ae410>
File "/usr/local/lib/python3.7/site-packages/flexget/manager.py", line 225, in initialize
extra_components=[os.path.join(self.config_base, 'components')],
| | | | -> '/root/.config/flexget'
| | | -> <flexget.manager.Manager object at 0x7f0ed77ae410>
| | -> <function join at 0x7f0edc6cf170>
| -> <module 'posixpath' from '/usr/local/lib/python3.7/posixpath.py'>
-> <module 'os' from '/usr/local/lib/python3.7/os.py'>
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 550, in load_plugins
_load_plugins_from_dirs(extra_plugins)
| -> ['/root/.config/flexget/plugins', '/usr/local/lib/python3.7/site-packages/flexget/plugins']
-> <function _load_plugins_from_dirs at 0x7f0ed75215f0>
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 468, in _load_plugins_from_dirs
_import_plugin(module_name, plugin_path)
| | -> PosixPath('/root/.config/flexget/plugins/nexusphp.py')
| -> 'flexget.plugins.nexusphp'
-> <function _import_plugin at 0x7f0ed75189e0>
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 419, in _import_plugin
import_module(module_name)
| -> 'flexget.plugins.nexusphp'
-> <function import_module at 0x7f0edc667ef0>
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
| | | | | -> 0
| | | | -> None
| | | -> 0
| | -> 'flexget.plugins.nexusphp'
| -> <function _gcd_import at 0x7f0edc7a2b00>
-> <module 'importlib._bootstrap' (frozen)>
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/root/.config/flexget/plugins/nexusphp.py", line 242
elif text in ['可连�?, '可連接', '公网']:
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/flexget/init.py", line 44, in main
manager.start()
File "/usr/local/lib/python3.7/site-packages/flexget/manager.py", line 383, in start
self.initialize()
File "/usr/local/lib/python3.7/site-packages/flexget/manager.py", line 225, in initialize
extra_components=[os.path.join(self.config_base, 'components')],
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 550, in load_plugins
_load_plugins_from_dirs(extra_plugins)
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 468, in _load_plugins_from_dirs
_import_plugin(module_name, plugin_path)
File "/usr/local/lib/python3.7/site-packages/flexget/plugin.py", line 419, in _import_plugin
import_module(module_name)
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/root/.config/flexget/plugins/nexusphp.py", line 242
elif text in ['可连�?, '可連接', '公网']:
^
SyntaxError: invalid syntax
3.pip Version: 21.0 4.flexget -V 3.1.102 5.nexusphp v1.4 x 6.nexusphp v1.3 ✓ 可用
错误 代码