Error: Unable to resolve constructor for: 'dijit.ColorPalette
-
When creating a new SNMP data point, the following error is generated and no data points can be created for the data source. Please help.
Error: Unable to resolve constructor for: 'dijit.ColorPalette'
I can purge my whole database and start new. I tried restoring an old version, but dont get that to work either.
-
I have now tried everything. I have reinstalled Mango, with same result. I have also changed from H2 to Mysql database with same result. This must have something to do with Java? Any help?
-
This is a javascript problem with your page, the message is a failed javascript command. Try and clearing your browser cache. If that fails try using the Google Chrome browser.
-
I tried using IE and Chrome as well as my cellphone browser. All gets the same error.
-
I am getting this on the terminal output:
WARN 2015-10-06 22:46:57,508 (com.serotonin.m2m2.web.dwr.MiscDwr.jsError:178) - Javascript error
Description: SyntaxError: expected expression, got '}'
Page: http://{server ip}/data_sources.shtm
Line: 6514
Browser name: Firefox
Browser version: 40
osName: Windows -
I have cleared the cache on Firefox and Chrome. Both still give the same error. I am unable to create any points. This problem seem to have started after I have imported some data points from another instance of mango. I cannot however understand that these are linked because I have reinstalled mango, and then also changed the database to MySQL to make sure there was not something left behind.
-
Did you accidentally modify any of the files in the SNMP module? It looks like the javascript syntax on the JSP page is wrong. I've tested this on both 2.5.2 and 2.6.0 beta and I cannot replicate it.
On the modules page, mark the module for deletion, then restart Mango. Then re-install it from the modules page. See if that helps.
-
I found the problem, although the cause is still unknown. There are 3 mobile operator networks in South Africa. Connecting to the mango server over the internet via Vodacom causes this error that prevent datasources from being created at all using any browser on any operating system. The mobile operator must be filtering some Ajax or HTML headers.