hubitat-packagemanager icon indicating copy to clipboard operation
hubitat-packagemanager copied to clipboard

Error installing

Open smartin1471 opened this issue 3 years ago • 3 comments

Sorry if I'm such a noobie that I am doing something wrong, but you don't know what you don't know. I'm trying to install the hubitat-packagemanager on my habitat and getting the following message when I try to save:

Importing [groovy.json.internal.LazyMap] is not allowed

Can you give me any assistance with how to solve this?

smartin1471 avatar Dec 31 '20 16:12 smartin1471

Where did you get the code from? The code doesn't import LazyMap so I'm confused why you'd get this error. Can you provide the exact url where you downloaded HPM? What version of Hubitat do youh have as well?

dcmeglio avatar Dec 31 '20 16:12 dcmeglio


EDIT- seems there are 2 versions floating around. 1.7 installed fine from copy paste while the 1.1.0 has the "LazyMap" error... I will go back track to find where I got the "bad" link to the "old code" and then updated the below accordingly..

EDIT - the "old code" is in "releases". Only 1.1.0 is in "Releases"

image

HI, I am a newb as well and have come to the same problem mentioned here.. Be gentle this is a whole new world for me :). I can only assume I have done something wrong.. .. Note I also posted over in the Hubitat community.

EDIT: - The below instructions will get you to the working version (v1.7.0) without the "LazyMap" issue.

I got the code from the below url. I first tried to "import" the custom app into Hubitat by just putting in the git hub url but it didnt do anything, so then I did the "Download Zip" from GitHub to my pc, extracted, opened in Notepad and copy/pasted the code into "New App" of Hubitat.

https://github.com/dcmeglio/hubitat-packagemanager --> Green Button "Download Code" --> Download Zip

image

NOTICE version 1.7.0

image

When using 1.1.0 I got the below.

image

cjmorri1018 avatar Jan 02 '21 18:01 cjmorri1018

Had the same error with 1.1.0. Had to go to branches and download 1.7.0 for it to work without error. Hubitat Elevation® Platform Version 2.2.6.134 Hardware Version Rev C-7

Lamda604 avatar Apr 05 '21 00:04 Lamda604