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

Issue with vplot on Window's directory structure #176

Open
jrenaud90 opened this issue Jun 7, 2021 · 0 comments
Open

Issue with vplot on Window's directory structure #176

jrenaud90 opened this issue Jun 7, 2021 · 0 comments

Comments

@jrenaud90
Copy link
Contributor

jrenaud90 commented Jun 7, 2021

Hi, VPlanet team! Looking forward to this week's workshop.

I was testing out my installation and found a small bug when running
vplot after a run on a Windows 10 install (conda install w/ Python 3.8).

I received this traceback (<PATH> is just my local system path to where I installed vplanet).

Traceback (most recent call last):
  File "C:\<PATH>\vpl\Scripts\vplot-script.py", line 33, in <module>
    sys.exit(load_entry_point('vplot', 'console_scripts', 'vplot')())
  File "C:\<PATH>\vpl\lib\site-packages\vplot-1.0.2-py3.8.egg\vplot\command_line.py", line 37, in _entry_point
    auto_plot(**args.__dict__)
  File "C:\<PATH>\vpl\lib\site-packages\vplot-1.0.2-py3.8.egg\vplot\auto_plot.py", line 66, in auto_plot
    output = get_output(sysname=sysname, path=path)
  File "<PATH>\vplanet\vplanet\output.py", line 300, in get_output
    log = get_log(sysname=sysname, path=path, units=units)
  File "<PATH>\vplanet\vplanet\log.py", line 308, in get_log
    raise ValueError("Error processing line {} of {}: ".format(i, lf) + str(e))
ValueError: Error processing line 3 of solarsystem.log: too many values to unpack (expected 2)

The issue is with this line in the solarsystem.log:
Executable: C:\<PATH>\vpl\Scripts\vplanet
It is getting confused with the 2nd ":". By removing that from the text file it works just fine.

Yay for cross-platform directory non-conformity!

Semi-related: I am also getting an "Unknown" for that file's version tag, not sure if that is as intended or not.

Version: Unknown

Cheers

@jrenaud90 jrenaud90 mentioned this issue Jun 7, 2021
5 tasks
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

1 participant