Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Error installing on Linux

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
JohnN
Posts: 7
Joined: Sat 07 Feb 2015 9:16 pm
Weather Station: Davis Vantage Vue
Operating System: Windows Vista
Location: Howell, NJ
Contact:

Error installing on Linux

Post by JohnN »

I'm trying to install MX, but I keep getting an error.

Code: Select all

john@john-Dell-DXP051:~$ cd /home/john/CumulusMX
john@john-Dell-DXP051:~/CumulusMX$ sudo mono CumulusMX.exe
[sudo] password for john: 
Current culture: English (United States)
System.TypeInitializationException: An exception was thrown by the type initializer for CumulusMX.Cumulus ---> System.TypeLoadException: Could not load type 'System.Net.Http.HttpClientHandler' from assembly 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  --- End of inner exception stack trace ---
  at .Main (System.String[] args) [0x00000] in <filename unknown>:0 
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
I'm running Zorin OS 9 64 bit. I don't see any reason to attach the MXDiags folder, since it is empty. Let me know if there is any other information I need to post to help diagnose this error.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Error installing on Linux

Post by steve »

It can't find the file System.Net.Http.dll, or at least the version that it's expecting. The assembly is provided as part of the distribution, so I don't know why it isn't finding it. Perhaps it is loading another version because it's before it on the search path, but I believe it should first look in the current directory. I've just tried a fresh install of 3025 on my Pi, and it runs without that error. What version of mono is installed on your system (do 'mono --version')?
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Error installing on Linux

Post by steve »

As an experiment, I deleted the System.net.Http.dll file from my Pi install - and it still runs without error. Perhaps the version I am bundling is not actually the required version, but there hasn't been a problem so far because everyone has that assembly installed as part of mono (it's a system assembly, as indicated by the name). Did you install Mono just for MX, or did you already have it installed? What package(s) did you install? What output do you get from 'gacutil -l System.Net.Http'?
Steve
JohnN
Posts: 7
Joined: Sat 07 Feb 2015 9:16 pm
Weather Station: Davis Vantage Vue
Operating System: Windows Vista
Location: Howell, NJ
Contact:

Re: Error installing on Linux

Post by JohnN »

This is what I get for Mono version:

Code: Select all

Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1.1)
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
As far as I know, Mono was already installed. When I looked for it in the software center, it was shown as installed, and I don't remember installing it previously. For gacutil -l System.Net.Http I get

Code: Select all

john@john-Dell-DXP051:~$ gacutil -l System.Net.Http
The following assemblies are installed into the GAC:
Number of items = 0
Let me know if you need anything else.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Error installing on Linux

Post by steve »

JohnN wrote:For gacutil -l System.Net.Http I get

Code: Select all

john@john-Dell-DXP051:~$ gacutil -l System.Net.Http
The following assemblies are installed into the GAC:
Number of items = 0
Let me know if you need anything else.
This is the problem, you apparently do not have the required Mono system assemblies on your system. You need to install the 'mono-complete' package, assuming one exists for the Linux distribution you are using. This should install the required assemblies.
Steve
JohnN
Posts: 7
Joined: Sat 07 Feb 2015 9:16 pm
Weather Station: Davis Vantage Vue
Operating System: Windows Vista
Location: Howell, NJ
Contact:

Re: Error installing on Linux

Post by JohnN »

I think I found what I needed in the software center. I'll install it and get back to you with an update.
JohnN
Posts: 7
Joined: Sat 07 Feb 2015 9:16 pm
Weather Station: Davis Vantage Vue
Operating System: Windows Vista
Location: Howell, NJ
Contact:

Re: Error installing on Linux

Post by JohnN »

I found the mono-complete package in the software center, installed it, and now Cumulus seems to be running fine. Thanks for the help.
Locked