[英]Monodevelop exception at startup: TypeInitializationException
I recently updated mono to the latest version 4.0.2 and ever since, Monodevelop won't start. 我最近将mono更新到了最新版本4.0.2,从那时起,Monodevelop就无法启动。
I tried to purge all packages associated with mono and monodevelop 我试图清除与mono和monodevelop相关的所有软件包
I remembered, that I had tried to compile mono from source, quite some time ago. 我记得,很早以前我曾尝试从源代码编译mono。 Therefore I manually removed all folders named mono from
因此,我从中手动删除了所有名为mono的文件夹。
After that, I was rather sure that mono was removed completely. 之后,我相当确定单声道已完全删除。 I tried to find remains with mlocate and whereis but the system seemed clean.
我试图找到mlocate和whereis的遗骸,但系统看起来很干净。 Then I installed - mono-complete - monodevelop
然后我安装了-mono-complete-monodevelop
Monodevelop still crashes. Monodevelop仍然崩溃。
This is the output of monodevelop: http://pastebin.com/AmGsXB4M 这是monodevelop的输出: http : //pastebin.com/AmGsXB4M
Here is a more detailed version: http://pastebin.com/YB0rkBgV 这是更详细的版本: http : //pastebin.com/YB0rkBgV
Mono is the latest version: Mono是最新版本:
mono --version
Mono JIT compiler version 4.0.2 (Stable 4.0.2.5/c99aa0c Wed Jun 24 10:04:37 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
The monodevelop version should be the latest, too. monodevelop版本也应该是最新的。 But I can't check since
但是我不能检查
monodevelop --version
provokes the same crash. 引发同样的崩溃。
My os is ubuntu 15.04 64-bit. 我的操作系统是ubuntu 15.04 64位。
UPDATE: 更新:
The monodevelop version is 5.9.4 http://pastebin.com/EkL1wnH7 monodevelop版本为5.9.4 http://pastebin.com/EkL1wnH7
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.LoggingService ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <runtime> (/usr/lib/monodevelop/bin/MonoDevelop.exe.config line 3)
It appears there is a mismatch in your install. 看来您的安装不匹配。 If you look at the debug output in provided, you loading assemblies from /usr/local/lib and /usr/lib.
如果查看提供的调试输出,则从/ usr / local / lib和/ usr / lib加载程序集。
I would look at the mono configs that it is picking up and might sure that it not finding an old 3.x dll map file: 我将查看它正在拾取的单声道配置,并可能确定它没有找到旧的3.x dll映射文件:
Mono: Config attempting to parse: '/usr/local/etc/mono/config'.
Mono: Config attempting to parse: '/home/lars/.mono/config'.
A 'clean' monodevelop 5.9.x startup on Ubuntu 15.04 : gist Ubuntu 15.04上的``干净''monodevelop 5.9.x启动: 要点
A monodevelop.exe.config 5.9.x file : gist monodevelop.exe.config 5.9.x文件: 要点
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.