Quantcast

IA7 error message

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

IA7 error message

Serge Martel (smartel)

I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:

 

Warning Collection ID 700: Authorize, is not defined in your collection.json.

 

I am running  this version of Misterhouse: develop-ref Build 1173 (b20d548

And IA7 says 1.3.601.

 

Did I do something wrong?

 

Thank you!


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

H Plato
For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:

  "700" : {
      "user" : "$Authorized"
   },

Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.

So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.

Do you see anything in the log at startup like this:

IA7_Collection_Updater] : Checking $file to current version 1.2

There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2

On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:

I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:
 
Warning Collection ID 700: Authorize, is not defined in your collection.json.
 
I am running  this version of Misterhouse: develop-ref Build 1173 (b20d548
And IA7 says 1.3.601.
 
Did I do something wrong?
 
Thank you!
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re : Re: IA7 error message

Serge Martel (smartel)
In reply to this post by Serge Martel (smartel)
Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!

Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :

For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:


  "700" : {
      "user" : "$Authorized"
   },

Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.

So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.

Do you see anything in the log at startup like this:

IA7_Collection_Updater] : Checking $file to current version 1.2

There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2

On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:

I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:
 
Warning Collection ID 700: Authorize, is not defined in your collection.json.
 
I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548
And IA7 says 1.3.601.
 
Did I do something wrong?
 
Thank you!
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

Serge Martel (smartel)
In reply to this post by Serge Martel (smartel)

After my power failure, although I have restarted a few times before,  I don’t have the error message in the IA7 interface anymore and everything is ok!

 

I still checked what you suggested and I have the file file lib/ia7_utilities.pl,but it does not run at startup, I copied it to my code directory, now it runs at startup but I get these messages in the log:

 

01/14/17 10:09:02  [IA7_Collection_Updater] : Checking ./../data/web/collections                                                                             .json to current version 1.2

01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for ./                                                                             ../data/web/collections.json. Please check this file!

01/14/17 10:09:02  [IA7_Collection_Updater] : Checking /opt/mrhousedata/data/web                                                                             /collections.json to current version 1.2

01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for /o                                                                             pt/mrhousedata/data/web/collections.json. Please check this file!

 

I checked my collections.json file and I don’t have a ‘meta’ field with a value of 1.2. Or am not sure how to check it?

 

Thanks again

 

 

De : Serge Martel [mailto:[hidden email]]
Envoyé : 11 janvier 2017 07:08
À : H Plato
Cc : [hidden email]
Objet : [mh] Re : Re: IA7 error message

 

Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!

 

Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :

For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:

 

  "700" : {
      "user" : "$Authorized"
   },

 

Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.

 

So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.

 

Do you see anything in the log at startup like this:

 

IA7_Collection_Updater] : Checking $file to current version 1.2

 

There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2

 

On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:

 

I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:

 

Warning Collection ID 700: Authorize, is not defined in your collection.json.

 

I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548

And IA7 says 1.3.601.

 

Did I do something wrong?

 

Thank you!

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.
http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:
https://lists.sourceforge.net/lists/listinfo/misterhouse-users

 


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

H Plato
Well, that’s interesting.

Check a few things;

line 852 of bin/mh should be: require 'ia7_utilities.pl’; Put that file back into lib, since to make the upgrade seamless, I think we wouldn’t want to rely on enabling new user code.

in your collections.json file do you have an entry “700” : { “user” :”$Authorized” }?

The Warning is saying that it’s trying to read in the collections.json file and failing — either accessing the file or decoding the json. Can you copy and paste these files into http://jsonlint.com to see if they are valid?

The upgrader looks for 3 files:

"$main::Pgm_Root/data/web/collections.json”
"$main::config_parms{data_dir}/web/collections.json"
"$main::config_parms{ia7_data_dir}/collections.json"

You’ll know if the upgrade worked, as the gear should now be color coded — purple admin, green family, red not logged in, and in the options modal, the ‘log in button’ is dynamic based on the authorization status:


On Jan 14, 2017, at 8:23 AM, Serge Martel (smartel) <[hidden email]> wrote:

After my power failure, although I have restarted a few times before,  I don’t have the error message in the IA7 interface anymore and everything is ok! 
 
I still checked what you suggested and I have the file file lib/ia7_utilities.pl,but it does not run at startup, I copied it to my code directory, now it runs at startup but I get these messages in the log:
 
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking ./../data/web/collections                                                                             .json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for ./                                                                             ../data/web/collections.json. Please check this file!
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking /opt/mrhousedata/data/web                                                                             /collections.json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for /o                                                                             pt/mrhousedata/data/web/collections.json. Please check this file!
 
I checked my collections.json file and I don’t have a ‘meta’ field with a value of 1.2. Or am not sure how to check it?
 
Thanks again
 
 
De : Serge Martel [[hidden email]] 
Envoyé : 11 janvier 2017 07:08
À : H Plato
Cc : [hidden email]
Objet : [mh] Re : Re: IA7 error message
 
Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!
 
Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :

For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:

 
  "700" : {
      "user" : "$Authorized"
   },
 
Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.
 
So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.
 
Do you see anything in the log at startup like this:
 
IA7_Collection_Updater] : Checking $file to current version 1.2
 
There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2
 
On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:
 
I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:
 
Warning Collection ID 700: Authorize, is not defined in your collection.json.
 
I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548
And IA7 says 1.3.601.
 
Did I do something wrong?
 
Thank you!
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.
http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:
https://lists.sourceforge.net/lists/listinfo/misterhouse-users


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

Serge Martel (smartel)
In reply to this post by Serge Martel (smartel)

It really is interesting,

 

My line 852 in bin/mh does read require 'ia7_utilities.pl’

And the only way it runs is when it sits in my code folder.

 

My collections.json has an entry “700” : { “user” :”$Authorized” }

I have checked that my collections.json is valid into http://jsonlint.com  and it is validated

 

I have chmod my .json files to be accessible by everyone (777)

 

Something I don’t have is : {ia7_data_dir}/collections.json : do I need a  ia7_data_dir? I don’t have an entry in my ini files?

 

Cause the upgrade seem to somehow work because my gear is purple, although I’ve never bothered setting a password, I can see I logged in as admin, and I don’t get the message anymore....

 

 

De : H Plato [mailto:[hidden email]]
Envoyé : 14 janvier 2017 12:18
À : Serge Martel (smartel); [hidden email]
Objet : Re: [mh] IA7 error message

 

Well, that’s interesting.

 

Check a few things;

 

line 852 of bin/mh should be: require 'ia7_utilities.pl’; Put that file back into lib, since to make the upgrade seamless, I think we wouldn’t want to rely on enabling new user code.

 

in your collections.json file do you have an entry “700” : { “user” :”$Authorized” }?

 

The Warning is saying that it’s trying to read in the collections.json file and failing — either accessing the file or decoding the json. Can you copy and paste these files into http://jsonlint.com to see if they are valid?

 

The upgrader looks for 3 files:

 

"$main::Pgm_Root/data/web/collections.json”

"$main::config_parms{data_dir}/web/collections.json"
"$main::config_parms{ia7_data_dir}/collections.json"

 

You’ll know if the upgrade worked, as the gear should now be color coded — purple admin, green family, red not logged in, and in the options modal, the ‘log in button’ is dynamic based on the authorization status:

 

 

On Jan 14, 2017, at 8:23 AM, Serge Martel (smartel) <[hidden email]> wrote:

 

After my power failure, although I have restarted a few times before,  I don’t have the error message in the IA7 interface anymore and everything is ok! 

 

I still checked what you suggested and I have the file file lib/ia7_utilities.pl,but it does not run at startup, I copied it to my code directory, now it runs at startup but I get these messages in the log:

 

01/14/17 10:09:02  [IA7_Collection_Updater] : Checking ./../data/web/collections                                                                             .json to current version 1.2

01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for ./                                                                             ../data/web/collections.json. Please check this file!

01/14/17 10:09:02  [IA7_Collection_Updater] : Checking /opt/mrhousedata/data/web                                                                             /collections.json to current version 1.2

01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for /o                                                                             pt/mrhousedata/data/web/collections.json. Please check this file!

 

I checked my collections.json file and I don’t have a ‘meta’ field with a value of 1.2. Or am not sure how to check it?

 

Thanks again

 

 

De : Serge Martel [[hidden email]] 
Envoyé : 11 janvier 2017 07:08
À : H Plato
Cc : [hidden email]
Objet : [mh] Re : Re: IA7 error message

 

Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!

 

Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :

For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:

 

  "700" : {
      "user" : "$Authorized"
   },

 

Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.

 

So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.

 

Do you see anything in the log at startup like this:

 

IA7_Collection_Updater] : Checking $file to current version 1.2

 

There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2

 

On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:

 

I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:

 

Warning Collection ID 700: Authorize, is not defined in your collection.json.

 

I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548

And IA7 says 1.3.601.

 

Did I do something wrong?

 

Thank you!

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.
http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:
https://lists.sourceforge.net/lists/listinfo/misterhouse-users

 


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

H Plato
OK, so the upgrade worked, but it’s a little clunky. I’ll do a fresh install and then upgrade it to master to see if I can replicate it. I don’t know why that meta field isn’t being written. I don’t see it on my system either.

You don’t need an ia7_data_dir, it’s just an option if anyone wants to separate out the config files to a separate area. There was discussion in the past that data_dir should be a dynamically created directory, configuration data shouldn’t be stored there.  I


On Jan 14, 2017, at 1:37 PM, Serge Martel (smartel) <[hidden email]> wrote:

It really is interesting,
 
My line 852 in bin/mh does read require 'ia7_utilities.pl’
And the only way it runs is when it sits in my code folder.
 
My collections.json has an entry “700” : { “user” :”$Authorized” }
I have checked that my collections.json is valid into http://jsonlint.com  and it is validated
 
I have chmod my .json files to be accessible by everyone (777)
 
Something I don’t have is : {ia7_data_dir}/collections.json : do I need a  ia7_data_dir? I don’t have an entry in my ini files?
 
Cause the upgrade seem to somehow work because my gear is purple, although I’ve never bothered setting a password, I can see I logged in as admin, and I don’t get the message anymore....
 
 
De : H Plato [[hidden email]] 
Envoyé : 14 janvier 2017 12:18
À : Serge Martel (smartel); [hidden email]
Objet : Re: [mh] IA7 error message
 
Well, that’s interesting.
 
Check a few things;
 
line 852 of bin/mh should be: require 'ia7_utilities.pl’; Put that file back into lib, since to make the upgrade seamless, I think we wouldn’t want to rely on enabling new user code.
 
in your collections.json file do you have an entry “700” : { “user” :”$Authorized” }?
 
The Warning is saying that it’s trying to read in the collections.json file and failing — either accessing the file or decoding the json. Can you copy and paste these files into http://jsonlint.com to see if they are valid?
 
The upgrader looks for 3 files:
 
"$main::Pgm_Root/data/web/collections.json”
"$main::config_parms{data_dir}/web/collections.json"
"$main::config_parms{ia7_data_dir}/collections.json"
 
You’ll know if the upgrade worked, as the gear should now be color coded — purple admin, green family, red not logged in, and in the options modal, the ‘log in button’ is dynamic based on the authorization status:
 
<image001.png>
 
On Jan 14, 2017, at 8:23 AM, Serge Martel (smartel) <[hidden email]> wrote:
 
After my power failure, although I have restarted a few times before,  I don’t have the error message in the IA7 interface anymore and everything is ok! 
 
I still checked what you suggested and I have the file file lib/ia7_utilities.pl,but it does not run at startup, I copied it to my code directory, now it runs at startup but I get these messages in the log:
 
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking ./../data/web/collections                                                                             .json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for ./                                                                             ../data/web/collections.json. Please check this file!
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking /opt/mrhousedata/data/web                                                                             /collections.json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for /o                                                                             pt/mrhousedata/data/web/collections.json. Please check this file!
 
I checked my collections.json file and I don’t have a ‘meta’ field with a value of 1.2. Or am not sure how to check it?
 
Thanks again
 
 
De : Serge Martel [[hidden email]] 
Envoyé : 11 janvier 2017 07:08
À : H Plato
Cc : [hidden email]
Objet : [mh] Re : Re: IA7 error message
 
Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!
 
Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :
For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:
 
  "700" : {
      "user" : "$Authorized"
   },
 
Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.
 
So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.
 
Do you see anything in the log at startup like this:
 
IA7_Collection_Updater] : Checking $file to current version 1.2
 
There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2
 
On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:
 
I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:
 
Warning Collection ID 700: Authorize, is not defined in your collection.json.
 
I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548
And IA7 says 1.3.601.
 
Did I do something wrong?
 
Thank you!
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.
http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:
https://lists.sourceforge.net/lists/listinfo/misterhouse-users


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

H Plato
I think this has been fixed. I updated master. Thanks again for testing!

I also set the new object logger enabled by default. For anyone running a write sensitive platform like a raspberry pi, this can be disabled in the mh.ini


On Jan 14, 2017, at 4:33 PM, H Plato <[hidden email]> wrote:

OK, so the upgrade worked, but it’s a little clunky. I’ll do a fresh install and then upgrade it to master to see if I can replicate it. I don’t know why that meta field isn’t being written. I don’t see it on my system either.

You don’t need an ia7_data_dir, it’s just an option if anyone wants to separate out the config files to a separate area. There was discussion in the past that data_dir should be a dynamically created directory, configuration data shouldn’t be stored there.  I


On Jan 14, 2017, at 1:37 PM, Serge Martel (smartel) <[hidden email]> wrote:

It really is interesting,
 
My line 852 in bin/mh does read require 'ia7_utilities.pl’
And the only way it runs is when it sits in my code folder.
 
My collections.json has an entry “700” : { “user” :”$Authorized” }
I have checked that my collections.json is valid into http://jsonlint.com  and it is validated
 
I have chmod my .json files to be accessible by everyone (777)
 
Something I don’t have is : {ia7_data_dir}/collections.json : do I need a  ia7_data_dir? I don’t have an entry in my ini files?
 
Cause the upgrade seem to somehow work because my gear is purple, although I’ve never bothered setting a password, I can see I logged in as admin, and I don’t get the message anymore....
 
 
De : H Plato [[hidden email]] 
Envoyé : 14 janvier 2017 12:18
À : Serge Martel (smartel); [hidden email]
Objet : Re: [mh] IA7 error message
 
Well, that’s interesting.
 
Check a few things;
 
line 852 of bin/mh should be: require 'ia7_utilities.pl’; Put that file back into lib, since to make the upgrade seamless, I think we wouldn’t want to rely on enabling new user code.
 
in your collections.json file do you have an entry “700” : { “user” :”$Authorized” }?
 
The Warning is saying that it’s trying to read in the collections.json file and failing — either accessing the file or decoding the json. Can you copy and paste these files into http://jsonlint.com to see if they are valid?
 
The upgrader looks for 3 files:
 
"$main::Pgm_Root/data/web/collections.json”
"$main::config_parms{data_dir}/web/collections.json"
"$main::config_parms{ia7_data_dir}/collections.json"
 
You’ll know if the upgrade worked, as the gear should now be color coded — purple admin, green family, red not logged in, and in the options modal, the ‘log in button’ is dynamic based on the authorization status:
 
<image001.png>
 
On Jan 14, 2017, at 8:23 AM, Serge Martel (smartel) <[hidden email]> wrote:
 
After my power failure, although I have restarted a few times before,  I don’t have the error message in the IA7 interface anymore and everything is ok! 
 
I still checked what you suggested and I have the file file lib/ia7_utilities.pl,but it does not run at startup, I copied it to my code directory, now it runs at startup but I get these messages in the log:
 
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking ./../data/web/collections                                                                             .json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for ./                                                                             ../data/web/collections.json. Please check this file!
01/14/17 10:09:02  [IA7_Collection_Updater] : Checking /opt/mrhousedata/data/web                                                                             /collections.json to current version 1.2
01/14/17 10:09:02  [IA7_Collection_Updater] : WARNING: decode_json failed for /o                                                                             pt/mrhousedata/data/web/collections.json. Please check this file!
 
I checked my collections.json file and I don’t have a ‘meta’ field with a value of 1.2. Or am not sure how to check it?
 
Thanks again
 
 
De : Serge Martel [[hidden email]] 
Envoyé : 11 janvier 2017 07:08
À : H Plato
Cc : [hidden email]
Objet : [mh] Re : Re: IA7 error message
 
Thank you I will check it out and keep you posted, I am out of electricity right now and am in the dark!
 
Serge

Le 10/01/17 à 21:40, H Plato <[hidden email]> a écrit :
For IA7 1.2+ I needed to make a structural change to the collections.json file, to add:
 
  "700" : {
      "user" : "$Authorized"
   },
 
Originally there was a user module that had to be enabled, but that made the upgrade process a little clunky.
 
So, there should be a file lib/ia7_utilities.pl and at startup it should seamlessly upgrade collections.json behind the scene.
 
Do you see anything in the log at startup like this:
 
IA7_Collection_Updater] : Checking $file to current version 1.2
 
There should also be a ‘meta’ field in the collections.json after the upgrade with a value 1.2
 
On Jan 10, 2017, at 6:24 PM, Serge Martel (smartel) <[hidden email]> wrote:
 
I upgraded to master this week end to get the latest code, and IA7 is a lot more responsive works great, but today I started receiving messages when I push a button:
 
Warning Collection ID 700: Authorize, is not defined in your collection.json.
 
I am running  this version of Misterhouse:develop-ref Build 1173 (b20d548
And IA7 says 1.3.601.
 
Did I do something wrong?
 
Thank you!
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.
http://sdm.link/xeonphi________________________________________________________
To unsubscribe from this list, go to:
https://lists.sourceforge.net/lists/listinfo/misterhouse-users



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

Eloy Paris
Hi Howard,

On Sat, Jan 14, 2017 at 07:31:19PM -0700, H Plato wrote:

[...]

> I also set the new object logger enabled by default. For anyone
> running a write sensitive platform like a raspberry pi, this can be
> disabled in the mh.ini

Dumb question but what does object logger do?

Cheers,

Eloy Paris.-



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IA7 error message

H Plato
Hi Eloy, this is part of the change around the item modals (the other is the neat Schedule Control that Wayne added)

It writes a CSV for all the events for each object. This integrates into IA7 by displaying a green graph button next to the object log if object logger data is available:


Clicking the green button will bring up a new screen that can display all events within a date range:

And a nice date picker to choose the ranges:


On Jan 16, 2017, at 7:42 AM, Eloy Paris <[hidden email]> wrote:

Hi Howard,

On Sat, Jan 14, 2017 at 07:31:19PM -0700, H Plato wrote:

[...]

I also set the new object logger enabled by default. For anyone
running a write sensitive platform like a raspberry pi, this can be
disabled in the mh.ini

Dumb question but what does object logger do?

Cheers,

Eloy Paris.-




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Loading...