西莫电机圈

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

查看: 1792|回复: 2

[原创] 打开Overlay报错问题

[复制链接]

该用户从未签到

发表于 2012-10-19 14:17 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
通过Overlay--> Load a certificated overlay 选择模板,
提示:Forbiden operation : open a project before.
不知道大家有没有遇到类似问题? 还是我的系统缺少文件。
在高级里面显示具体信息:
stdcom.error.JavaException: Forbiden operation : open a project before.
        at cad.core.kernel.dbmanager.DbManager.checkProjectDataLoaded(Unknown Source)
        at cad.core.kernel.dbmanager.DbManager.newProjectInstance(Unknown Source)
        at cad.flux.kernel.actions.implementation.algo.macro.AbstractLoadOverlayAction.doAction(Unknown Source)
        at cad.core.common.dynamic.actions.UIActionManager.postAction(Unknown Source)
        at cad.core.kernel.KernelCommon.postAction(Unknown Source)
        at cad.core.kernel.Supervisor.executeJavaCommand(Unknown Source)
        at cad.core.kernel.Supervisor.executeCommand(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.python.core.PyReflectedFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at pydb$py.executeCommand$181(G:\devf3d\flux1110_cvs\Java_sources\sources\factory\core\modules\corekernel\sources\cad\core\kernel\interpreter\pydb.py:1347)
        at pydb$py.call_function(G:\devf3d\flux1110_cvs\Java_sources\sources\factory\core\modules\corekernel\sources\cad\core\kernel\interpreter\pydb.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at pydb$py.__call__$159(G:\devf3d\flux1110_cvs\Java_sources\sources\factory\core\modules\corekernel\sources\cad\core\kernel\interpreter\pydb.py:1204)
        at pydb$py.call_function(G:\devf3d\flux1110_cvs\Java_sources\sources\factory\core\modules\corekernel\sources\cad\core\kernel\interpreter\pydb.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.core.PyInstance.__call__(Unknown Source)
        at org.python.pycode._pyx4.f$0(<iostream>:1)
        at org.python.pycode._pyx4.call_function(<iostream>)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyCode.call(Unknown Source)
        at org.python.core.Py.runCode(Unknown Source)
        at org.python.util.PythonInterpreter.execfileSingle(Unknown Source)
        at org.python.util.PythonInterpreter.execfileSingle(Unknown Source)
        at cad.core.kernel.components.PythonWrapper.executeTuiRequest(Unknown Source)
        at cad.core.kernel.actions.implementation.algo.python.ExecuteCommandAction.doAction(Unknown Source)
        at cad.core.common.dynamic.actions.UIActionManager.postAction(Unknown Source)
        at cad.core.common.dynamic.actions.UIActionManager.postAction(Unknown Source)
        at cad.core.kernel.KernelCommon.postAction(Unknown Source)
        at cad.core.kernel.encoder.ActionServerRequestsInputPlug.postAction(Unknown Source)
        at stdcom.protocole.actionserverrequests.ActionServerRequestsRouter.postAction(Unknown Source)
        at stdcom.protocole.actionserverrequests.ActionServerRequestsOutputPlug.postAction(Unknown Source)
        at cad.core.frontal.decoder.FrontalDecoder.postAction(Unknown Source)
        at cad.core.frontal.actions.implementation.algo.python.ExecuteCommandAction.act(Unknown Source)
        at cad.core.frontal.actions.implementation.ModalImplementer.internalRun(Unknown Source)
        at cad.core.frontal.frontalthread.WorkerThreadsManager.requestExecuteImplementer(Unknown Source)
        at cad.core.frontal.actions.implementation.AbstractImplementer.run(Unknown Source)
        at cad.core.frontal.actions.implementation.algo.macro.LoadOverlay.act(Unknown Source)
        at cad.core.frontal.actions.implementation.ModalImplementer.internalRun(Unknown Source)
        at cad.core.frontal.frontalthread.WorkerThread.executeImplementer(Unknown Source)
        at cad.core.frontal.frontalthread.WorkerThread.run(Unknown Source)
西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过

该用户从未签到

 楼主| 发表于 2012-11-2 11:34 | 显示全部楼层
本帖最后由 20041199 于 2013-1-21 22:09 编辑

已经解决了。
打开flux 2d, 点击 New ,然后关闭 Close sketcher 2dcontext,
通过Extensions-->Overlay-->Load a certified overlay,选择模板就可以了
西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过
回复

使用道具 举报

该用户从未签到

发表于 2013-1-18 14:59 | 显示全部楼层
感谢楼上实践,帮我解决了同样的问题
西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|西莫电机圈 ( 浙ICP备10025899号-3 浙公网安备:33028202000436号

GMT+8, 2024-11-23 18:48 , Processed in 0.075063 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表