网易我的世界论坛

标题: 上传的4个地图全部都出现这个代码检测失败 [打印本页]

作者: 拇指玩1    时间: 2019-9-12 01:12
标题: 上传的4个地图全部都出现这个代码检测失败
组件ID:4633471212130884050, 失败原因:[{'code_check': [{'message': "No name 'system' in module 'client'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/clientEvent.py', 'line': 3, 'message-id': 'E0611', 'type': 'error', 'symbol': 'no-name-in-module', 'module': 'modScript.clientEvent'}, {'message': "Unable to import 'client.system.clientSystem'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/clientEvent.py', 'line': 3, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.clientEvent'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/clientEvent.py'}, {'code_check': [{'message': "Unable to import 'modScript.ui.Data.MetaDef'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/ui/__init__.py', 'line': 2, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.ui'}, {'message': "Unable to import 'PyQt5.QtCore'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/ui/__init__.py', 'line': 15, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.ui'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/ui/__init__.py'}, {'code_check': [{'message': "Unable to import 'modScript.Data.MetaDef'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/__init__.py', 'line': 2, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript'}, {'message': "Unable to import 'PyQt5.QtCore'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/__init__.py', 'line': 15, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/__init__.py'}, {'code_check': [{'message': "No name 'system' in module 'server'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/serverEvent.py', 'line': 3, 'message-id': 'E0611', 'type': 'error', 'symbol': 'no-name-in-module', 'module': 'modScript.serverEvent'}, {'message': "Unable to import 'server.system.serverSystem'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/serverEvent.py', 'line': 3, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.serverEvent'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/serverEvent.py'}, {'code_check': [{'message': 'invalid syntax (<string>, line 3)', 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modServer.py', 'line': 3, 'message-id': 'E0001', 'type': 'error', 'symbol': 'syntax-error', 'module': 'modScript.modServer'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modServer.py'}, {'code_check': [{'message': "Unable to import 'modServer'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py', 'line': 5, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.modMain'}, {'message': "No name 'system' in module 'common'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py', 'line': 6, 'message-id': 'E0611', 'type': 'error', 'symbol': 'no-name-in-module', 'module': 'modScript.modMain'}, {'message': "Unable to import 'common.system.systemRegister'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py', 'line': 6, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.modMain'}, {'message': "No name 'system' in module 'common'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py', 'line': 7, 'message-id': 'E0611', 'type': 'error', 'symbol': 'no-name-in-module', 'module': 'modScript.modMain'}, {'message': "Unable to import 'common.system.systemRegister'", 'obj': '', 'column': 0, 'path': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py', 'line': 7, 'message-id': 'E0401', 'type': 'error', 'symbol': 'import-error', 'module': 'modScript.modMain'}], 'module_check': None, 'api_check': None, 'file': '/tmp/PackScripts/item_4633471212130884050_2_v2_85utc3tl/002/behavior_packs/behavior_pack/modScript/modMain.py'}]
作者: 雾都漫游者    时间: 2019-9-12 20:21
我看后台你应该是处理过了吧,如果是纯地图,把文件夹里的py文件都删掉。
现在编辑器退出保存处理有问题,部分情况会导致审核不成功,我们会在下周修复。

作者: 雾都漫游者    时间: 2019-9-12 20:56
删除地图文件夹下的这个文件夹\behavior_packs\behavior_pack\modScript,如下图所示:删除红框中的modScript文件夹。
[attach]907318[/attach]

这样就可以避免打包错误了。




欢迎光临 网易我的世界论坛 (http://mc.netease.com/) Powered by Discuz! X3.3