ST意法半导体
直播中

杨帆

7年用户 1433经验值
私信 关注
[问答]

崩溃后无法启动SPC5工作室

你好,


在使用引脚映射向导期间崩溃后,我无法启动SPC5 Studio。当我启动应用程序时,它只显示我已经创建了.log中的错误日志。该条目显示以下错误:
!ENTRY org.eclipse.core.resources 2 10035 2014-10-21 12:25:17.456

!MESSAGE工作区退出,上一个会话中有未保存的更改;刷新工作区以恢复更改。
!ENTRY org.eclipse.osgi 4 0 2014-10-21 12:25:17.861

!MESSAGE自动激活bundle com.st.tools.spc5时发生错误(611)。
!堆叠0

如何在不重新安装SPC5 Studio的情况下修复我的工作区或创建新工作区?


最好的祝福,

帕特里克

以上来自于谷歌翻译


以下为原文




Hello,


I am not able to start SPC5 Studio after it crashes during I worked with the pin map wizard. When I start the application, it only shows me that an error log in the .log has been created. The entry shows me following errors:

!ENTRY org.eclipse.core.resources 2 10035 2014-10-21 12:25:17.456

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.osgi 4 0 2014-10-21 12:25:17.861

!MESSAGE An error occurred while automatically activating bundle com.st.tools.spc5 (611).
!STACK 0
  
How can I repair my workspace or create a new one without re-installing SPC5 Studio?

  
Best regards,

Patrik

回帖(6)

李辛华

2018-11-15 11:18:30
你好Patrick,
 
 
 首先,将应用程序文件夹备份到安全的地方。 (您的应用程序当前位于C: SPC5Studio  workspace <您的应用程序名称>)
 
 那么你能提供以下的东西(作为这个帖子的回复中的附件)? :
  - configuration.xml(在C: SPC5Studio  workspace <您的应用程序名称>文件夹中)
  - 日志文件(在C: SPC5Studio  workspace  .metadata文件夹中)
  - 启动时选择的应用程序的名称(例如:SPC560Dxx OS-Less Test Application for Discovery)
 
 
 最好的祝福。
 
 Ghislain Ballester。

以上来自于谷歌翻译


以下为原文





Hello Patrick,


First of all, backup your application folder in a safe place. (Your application is currently in C:SPC5Studioworkspace)

Then can you provide the following things (as attachments in the reply of this thread )? :
- the configuration.xml (in C:SPC5Studioworkspace folder)
- the log file (in C:SPC5Studioworkspace.metadata folder)
- the name of the application you chose when you started up (for example: SPC560Dxx OS-Less Test Application for Discovery)


Best Regards.

Ghislain Ballester.
举报

杨帆

2018-11-15 11:29:46
你好,
 
 
 我的工作区文件夹中有几个SPC5项目。我附上了我在SPC5 Studio崩溃时工作的项目的配置。
 
 实际上,我能够再次打开SPC5 Studio。我在互联网上找到了这个eclipse的解决方案:
 尝试删除如评论中所建议:如果使用Eclipse 4,您可能还必须删除该文件。
 之后,我又能够再次启动SPC5 Studio。然后我创建了一个新工作区并在这个新工作区中导入了我的项目。但现在,编辑器在我的代码中显示了几个错误(我附上了截图)。我甚至从未在每个错误行的左侧看到这个小错误。不过,我可以毫无错误地构建项目。这怎么可能?一位同事安装了SPC5 Studio全新(他从来没有在他的电脑上使用它)。当他导入我的项目时,它显示相同的行为。
 
 最好的祝福,
 帕特里克

以上来自于谷歌翻译


以下为原文






Hello,


I have several SPC5 projects within my workspace folder. I attached the configuration of the project I worked on when SPC5 Studio crashed.

Actually, i was able to open the SPC5 Studio again. I found this solution for eclipse on the internet:

  • Try deleting

    • /.metadata/.plugins/org.eclipse.core.resources/.snap

  • As suggested in a comment: If using Eclipse 4, you may have to delete the file

    • .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
    aswell.

After that, I was able to start SPC5 Studio again. Then I created a new workspace and imported my project in this new workspace. But now, the editor shows severall errors within my code (i attached a screenshot). I even never saw this little bugs on the left side of each error line. Nevertheless, i can build the project without any errors. How is this possible? A colleague installed SPC5 Studio completly new (he never had it on his PC). When he imports my project, it shows the same behaviour.

Best regards,
Patrik
举报

李辛华

2018-11-15 11:48:57
你好Patrick,
 
 
 如果修改代码分析策略,则应删除您看到的装饰器。
 
 这样做也是如此(参见附件):
 
 打开首选项窗口:
 窗口/首选项。
 
 打开代码分析部分:
 ''C / C ++''/代码分析。
 
 确保仅:勾选了潜在的编程问题复选框。
 
 问候。
 
 Ghislain Ballester。

以上来自于谷歌翻译


以下为原文





Hello Patrick,


The decorators that you see should be removed if you modify the code analysis policies.

This is done as such (see attachment as well) :

Open the preferences window:
     Window/Preferences.

Open the Code Analysis section:
     ''C/C++''/Code Analysis.

Make sure that only: potential Programming Problems check boxes are ticked.

Regards.

Ghislain Ballester.
举报

杨帆

2018-11-15 12:07:03
你好!
 
 
 谢谢,这个修改有帮助。但是在SPC Studio崩溃之前我没有看到装饰器的原因是什么?为什么在同事的PC上显示SPC5 Studio的新安装有相同的行为?此设置是项目的一部分还是一般的SPC5 Studio设置?
 
 最好的祝福,
 帕特里克

以上来自于谷歌翻译


以下为原文





Hello!


Thanks, this modification helped. But what was the reason that I didn´t saw the decorators before the SPC Studio crashes? And why shows a new installation of SPC5 Studio on the PC of my colleague the same behaviour? Is this setting part of the project or a general SPC5 Studio setting?

Best regards,
Patrik
举报

更多回帖

发帖
×
20
完善资料,
赚取积分