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

AttributeError: 'World' object has no attribute #235

Closed
ftomassetti opened this issue Sep 30, 2016 · 1 comment · Fixed by #237
Closed

AttributeError: 'World' object has no attribute #235

ftomassetti opened this issue Sep 30, 2016 · 1 comment · Fixed by #237

Comments

@ftomassetti
Copy link
Member

From an e-mail of a user

Hi,

I have 2 Problems,

if i generate a world with "-ice", I get

Traceback (most recent call last):
File "", line 6, in
File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\cli.main", line 559, in main
File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\cli.main", line 101, in draw_icecaps_map
File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\worldengine.draw", line 824, in draw_icecaps_on_file
AttributeError: 'World' object has no attribute 'icecap'

and if i export a world (without -ice), I get

Traceback (most recent call last):
File "", line 6, in
File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\cli.main", line 600, in main
File "C:\Users\psi29a\Workspace\worldengine\build\worldengine\out00-PYZ.pyz\worldengine.imex", line 95, in export
AttributeError: 'World' object has no attribute 'elevation'

I think its the same issue, both methods use the old attribute not the layer.

It would be very nice if somebody can fix it and create a new release because i can't install it from source. I need the windows executable.

Thanks

@c-w
Copy link
Contributor

c-w commented Oct 13, 2016

@ftomassetti: I submitted a fix for this issue in #237 -- could you please take a look?

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

Successfully merging a pull request may close this issue.

2 participants