Grasshopper

algorithmic modeling for Rhino

Hello, forum.

Trying to update ladybug and honeybee. So, removing old version gives me an error: 1.Solution exception:WindowsError

There is one thing I did when I put a load of LB&HB files the first time in UserObjects folder, I've put them in their own folder for the neatness sake. Could this be the reason? And is it ok if I manually delete the old files and replace them with the new ones?

P.S. I run Win10

Views: 892

Replies are closed for this discussion.

Replies to This Discussion

Tim,

All components must be at the level of User Objects directory and on their own!!

Normally i do what you are asking: I throw the new version files onto the directory, replacing the existing ones.

-A.

Thank you Abraham,

I've replaced the stuff, everything works fine.

But I get the point of the component that does this for you, people usually have all the .ghusers from other plugins mixed together, which can be confusing sometimes and whoooops, deleted something else.

Anyway, just wanted to be 100% sure it is ok and nothing tricky is happening under the hood, thanks.

Hi Tim and Abraham, Removing files manually is fine and that's what the component does. The issue of having them in a sub-directory is mainly with the update component. Update components don't look into sub-directories. There are solutions to make it work for all the cases. If you think it's something that we should consider feel free to add an issue on github.

Hey Mostapha

I've used update ladybug component recently and it worked fine.

Ha! I got lucky then. I should check the code again and see how I'm doing it! ;)

Hey Mostapha,

I was updating .ghusers in the office and noticed that pasting them on top didn't overwrite all the files, this reminded me of the same problem when I used update ladybug component. There are like three or four .ghuser files left after the cleanup.

I would like to know are these ok to remove, because you made new components that integrated them or these are more like completely done and nothing to add so they don't get updates???

Hi Tim. The way the update component works is first to try to remove the current version, which it assumes is located in root of userobjects directory and then copies the new version. If you have moved them from the root folder then it will generate duplicate userobjects. We can change the code to handle cases like yours but my suggestion for now is to have the userobjects in the root folder until we apply the changes. If you use update component you don't need to use remove old version, since it does it by default.

Got it.

Personally I'm for flexible components that check your subdirectories and serve you tea, but you guys have your own schedule, so won't poke you about it. Everything works fine now, it can be done any time your team has nothing to do. Thank you for response, Mostapha.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service