收料通知单下推采购入库单提示:No module named App

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

收料通知单下推采购入库单提示:No module named App

【背景】收料通知单下推采购入库单提示:No module named App,一般是早上9点到9点半出现报错,过了一会儿之后,可以正常下推不会报错

clipboard.webp


查看日志发现如下,
2021-07-05 09:04:42,955 [45] ERROR - BOS - Code:ed63b222cc4b46acb4f8d93127d10070,FormId:PUR_ReceiveBill,LoadData:[]
Kingdee.BOS.KDException: No module named App ---> IronPython.Runtime.Exceptions.ImportException: No module named App
   IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String name)
   IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
   IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
   Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
   Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
   IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
   IronPython.Runtime.Operations.PythonOps.ImportStar(CodeContext context, String fullName, Int32 level)
   Microsoft.Scripting.Interpreter.ActionCallInstruction`3.Run(InterpretedFrame frame)
   Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
   IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
   Kingdee.BOS.Core.Bill.PlugIn.PythonBillPlugIn.PythonInitialize()
   Kingdee.BOS.Core.Bill.PlugIn.PythonBillPlugIn.InvokePluginMethod(String name, Object args)
   Kingdee.BOS.Core.DynamicForm.PlugIn.AbstractDynamicFormPlugIn.AfterBindData(EventArgs e)
   Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireAfterBindData(EventArgs e)
   Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.UpdateView()
   Kingdee.BOS.Web.Bill.BillView.UpdateView()
   Kingdee.BOS.Web.Bill.BillView.LoadData()
   Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.LoadData()


通过查看堆栈,报错是表单注册了Python插件引起的, 模块引用不对,

先把Python插件取消注册,问题未重现,对比发现插件问题了,同时需要检查下app是哪个模块,

网上也有类似报错,可以参考
http://python.6.x6.nabble.com/IronPython-Runtime-Exceptions-ImportException-No-module-named-System-td2194315.html
https://stackoverflow.com/questions/45737763/ironpython-runtime-exceptions-importexception-no-module-named-os
https://stackoverflow.com/questions/54839602/ironpython-runtime-exceptions-importexception-no-module-named-pandas


收料通知单下推采购入库单提示:No module named App

【背景】收料通知单下推采购入库单提示:No module named App,一般是早上9点到9点半出现报错,过了一会儿之后,可以正常下推不会报错查...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息