Grasshopper

algorithmic modeling for Rhino

Hi, guys,

I’m starting to learn Honeybee and I’m getting this error when I try to run one of the most basic simulations (with the component ‘run daylight analysis’). I’m getting the following message:

1.Solution exception: unable to find file 'C:\Users\username\AppData\Roaming\Ladybug\radiancetest\imageBasedSimulation\error.log'.

The model was based on a youtube workshop by Mostapha (1/7). The file is so simple (I got stuck in the first video), but I’m sending it attached anyway. Prior to this error, I got a message about gendaylit (I found the file and saved it in the proper folder).

I’m assuming that there might be some files that are missing in some folders. I never had such problems with Ladybug, only with Honeybee (eve though the message refers to the Ladybug folder).

I appreciate your help!

Views: 917

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

There is a similar discussionhere. Do you close the cmd window when it pops up?

No. It pops up three times and it closes. I changed the folder name and got the same error (apparently the program is not generating and/or locating the file that should be created and saved). 

I looked in the designated folder and there are many files (.rad, .sky, .hdr, .unf, etc). There is no error.log file (as the error states). Should I create such file?

Just checked your file and it runs fine on my machine after changing the weather file address. Here are my suggestions:

1. Download the latest version of Ladybug + Honeybee! You're using an older version.

2. Move the weather file to a different folder with no ~Arquivos and Arquivos Climáticos. I'm not sure that can be the problem since the sky seems to be generated correctly but just to make sure that's not the reason.

3. Set working directory to "c:\Ladybug" and pick a _radFileName_ with no space.

Mostapha

Hi Mostapha.  I'm seeing the same problem as RLima.  I've followed all the advice I can find in this thread and any others I can find that mention the error.log file.

I have tried:

  • using different weather files in different file locations
  • I have never closed a command window
  • My working directory is set to c:\ladybug
  • I have the latest versions of ladybug and honeybee.

However, I still can't successfully generate a simulation result.  The readme from runDaylightAnalysis consistently says Could not find file 'C:\ladybug\...\error.log'.  And it's true that it's not there.  If I create a blank text file called error.log and place it where it expects, running the GH script deletes it.

System:

  • Windows 7 64-bit
  • Rhino 5, base file has units of meters
  • Grasshopper 0.9.0.0076 (latest)
  • Ladybug 0.0.63, Honeybee 0.0.60
  • Radiance 5.0.a.12 (released 2 weeks ago)

I have attached my gh file which should not require a specific Rhino file to run.

Note that I followed parts of your example posted on Hydra.

Attachments:

Hi Colin,

Thank you for the clean file and the clear description. The reason you get this error instead of a meaningful error is because I don't log the errors for the init file which I should have. I will add that.

But the main error comes from the illegal vertical size of the image in fish-eye viewport. Let me check the details and get back to you. Looks like you're doing everything right.

Mostapha

Well, turns out you were doing something wrong. The cameraType starts at 0 and not 1. You need to update the value list component in your script to 0, 1, and 2. It's currently 1, 2 and 3. In your file, you were setting up a parallel run which is quite picky for vertical views.

Still, we need to add a log to init component to give a more meaningful error message.

Finally, you need to pick higher values for -ar and lower values for -aa for your analysis. It's not only about the number of bounces. Check pages 26 and 27 from this tutorial.

Cheers,

Mostapha

Mostapha, thank you so much for all your help.  And Christoph's GSD tutorial is a great reference that I didn't have.  Thank you.  It all works like a charm.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service