Skip to content

Body does not have attribute 'age' #325

@lauren-morley

Description

@lauren-morley

Hello! I have just started using VPLanet to work on some research, and I can't seem to get any example running. I began with the introduction VenusWaterLoss example. The simulation seems to run fine, but when I try to plot it, I get a string of errors that I cannot seem to figure out. This error has occurred multiple times when I run the 'python makeplot.py' command. I have tried running the simulation on both a linux system and a macos system, as I originally thought maybe it was an issue with my linux system. If anyone has any ideas on how I can fix this please let me know! It may just be something incredibly simple that I am missing. My colleague has run the same simulation on a macos system and seemed to have no issues, so I am wondering if it is an error with my computer? The error output is attached below! I did not make any changes to the input file before running the simulation.

ERROR:Error processing line 106 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 109 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 162 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 165 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 218 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 221 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 320 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 323 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 376 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 379 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 432 of solarsystem.log: Cannot interpret unit (null).
ERROR:Error processing line 435 of solarsystem.log: Cannot interpret unit (null).
Traceback (most recent call last):
File "/home/user/Downloads/vplanet-main/examples/VenusWaterLoss/makeplot.py", line 22, in
time = output.sun.Age
^^^^^^^^^^^^^^
AttributeError: 'Body' object has no attribute 'Age'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions