You are not logged in.
Hello I've just installed monodevelop using pacman, running monodevelop gives me the following errors:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.LoggingService ---> System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.
at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0
at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0
at System.DateTime.get_Now () [0x00000] in <filename unknown>:0
at MonoDevelop.Core.LoggingService..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0
at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.LoggingService ---> System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.
at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0
at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0
at System.DateTime.get_Now () [0x00000] in <filename unknown>:0
at MonoDevelop.Core.LoggingService..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0
at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0
I can't seem to find out what is the matter,
regards
Last edited by Paludan (2015-04-14 15:21:21)
Offline
I've been searching for a solution all day, I'm using it at the university so I really need to get it working, any help is appreciated
Offline
Just guessing, what is the output of
timedatectl status
?
Local time: Tue 2015-04-14 13:34:36 UTC
Universal time: Tue 2015-04-14 13:34:36 UTC
RTC time: Tue 2015-04-14 13:34:37
Time zone: n/a (UTC, +0000)
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
Also I've tried to install omnisharp and when I had to use the
xbuild
I also received an error. So I think the error stems with mono itself.
Offline
Just guessing, what is the output of
timedatectl status
?
Wait holy crap I just changed my time to where I actually live and now it works >_>.. Can you explain to me why this was the reason it didn't work?
Offline
Looking at the error messages, it could not get your system's time zone. So I assumed that there must be something wrong with that.
And it really was, looking at your output of timedatectl (there was no time zone set).
However I'm a little amazed that an IDE would crash because it cannot get the system time zone. I'd just throw an warning message and use a sane default (UTC+0).
You may want to file a bug report. While not having the system time and date set correctly is indeed rather unusual, an application should handle that gracefully (but that's my personal opinion).
EDIT Don't forget to mark this thread as solved.
Last edited by ayekat (2015-04-14 13:52:32)
Offline
Looking at the error messages, it could not get your system's time zone. So I assumed that there must be something wrong with that.
And it really was, looking at your output of timedatectl (there was no time zone set).However I'm a little amazed that an IDE would crash because it cannot get the system time zone. I'd just throw an warning message and use a sane default (UTC+0).
You may want to file a bug report. While not having the system time and date set correctly is indeed rather unusual, an application should handle that gracefully (but that's my personal opinion).EDIT Don't forget to mark this thread as solved.
I too am quite amazed, I'll file a bugreport now.
Solved.
Offline