JOSS Review: Plotting Error on Ubuntu Subshell for Windows
Andrew-S-Rosen opened this issue · 2 comments
RE: openjournals/joss-reviews#3089
Describe the bug
When I use ifermi plot
, I receive the following error message:
Start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ Start "file:///home/arosen/ifermi/fermi-surface.html"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
To Reproduce
- Install IFermi
- Run
ifermi plot
on an examplevasprun.xml
(e.g. vasprun.zip).
Expected behavior
A plot. There is no plot.
Hypothesis
Again, perhaps this is a Windows thing. I am running IFermi on the Ubuntu subsystem for Windows since two of my common Linux workstation had issues with the installation (see #17).
Hi @arosen93, that is a very strange error message. It doesn't look like something from python. Is there anything else printed from that command? Lastly, can you confirm that no files have been written to: /home/arosen/ifermi/ ?
@utf: My apologies -- I didn't see the .html file that was actually generated. It worked perfectly despite the strange Ubuntu error message! I will admit, I have no clue what it's complaining about, but the image looks great!
Edit: It was because it was trying to visualize the plot in a web browser, which did not exist on my machine. See #21.