Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #508

Open
Reto995 opened this issue Apr 11, 2024 · 5 comments
Open

Installation error #508

Reto995 opened this issue Apr 11, 2024 · 5 comments

Comments

@Reto995
Copy link

Reto995 commented Apr 11, 2024

Hello everyone

I have installed bifacial radiance according to the installation video on youtube.
When completing the installation and running the file main.py, the explorer appears in the video where a folder must be selected for saving. This does not appear for me. Accordingly, the entire process is not carried out for me. I didn't think too much about it because it's only for testing.

image

But if I want to import something from bifacial_radiance later, as in a tutorial, a type error always appears "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' " does this have anything to do with each other and how can I fix this error?

image

Thank you very much for your help.

@Funerus
Copy link

Funerus commented Apr 13, 2024

Hey Reto,

Could you add print(demo.basename) before calling the .analysis method and share the output?

Cheers,
Alex

@Reto995
Copy link
Author

Reto995 commented Apr 22, 2024

Hey

nothing happens

image

or there is an error

image

@Funerus
Copy link

Funerus commented Apr 22, 2024

Basically, the variable demo has the class RadianceObj stored in it. "basename" is not a recognizable attribute of this class. Instead try using demo.name

@Reto995
Copy link
Author

Reto995 commented Apr 22, 2024

it's the same
image

image

maybe it is also because it is now the file main.py and no longer bifacial_radiance.py. could this not have become obsolete with an update?

@Funerus
Copy link

Funerus commented Apr 23, 2024

Weird!

demo.name should print out just fine. In the bottom screenshot I see that you are trying to access demo.name within the source code. This unnecessarily complicates things. You should try to access demo.name in the first script that you shared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants