First time here? Check our help page!
3

How to repair a broken Measure

I downloaded the "Add PSZ-HP to all zones" measures from BCL, it is showing a broken script kind of red icon besides it. When i try to add the measure it says "Failed to compute arguments for the measure" Unable to locate primary Ruby Script path. It also doesnot show in the measures window. But when i run the model it throws an error "Measure "Add PSZ-HP to all zones" is missing its measure.rb file, update this measure and try again.

I tried downloading it again from BCL, however not able to as it is greyed out i.e. not allowing me to re-download. Kindly suggest how to update the measure or solution to remove the error at runtime.

Gurneet's avatar
306
Gurneet
asked 2015-11-29 10:27:08 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2015-11-30 03:11:16 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

That's a measure of mine, and it's working for me, not sure why it wasn't working on your end. I just reuploaded a new version to the BCL here. Can you try again and let me know if you still have problems?

Otherwise, you can always find the measure on my personal Github repository here.

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2015-11-30 03:10:58 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for your reply. I was able to solve the issue by downloading the component directly from BCL and the replacing the file in C:\Users\Name\BCL folder. Now it is working, I believe the issue was the .rb file was in a subfolder so it was not able to locate the same, so I copied the same in root folder same as the xml file

Gurneet's avatar Gurneet (2015-12-05 00:37:28 -0500) edit
add a comment see more comments