Closed MiuKaShi closed 4 years ago
Hello,
I notice that the error line has to do with python itself, and not pandoc-plot directly. Did you use a configuration file .pandoc-plot.yml
? Can I see the code block, if you don't mind?
I see what you mean about the path having a space. It could also be this. I have found that the paths were not enclosed in quotes.
Let me try to fix this quickly!
Your problem should be fixed with release 0.2.2.0.
Please uninstall the previous version before installing the new one, and let me know how it goes.
Thank you for your reply and help. I just update the pandoc-plot to 0.2.2.0, and the paths problem is fixed! It works well for me.
Wonderful!
Thank you for filing a bug report. Please do not hesitate if you find anything else that doesn't work as expected :)
Hello, Laurent. Thank you for your great project. I am getting a similar error (previousely worked fine on v. 0.5.0.0). Error message:
ERROR | self._reader = parsers.TextReader(src, **kwds)
ERROR | File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
ERROR | File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source
ERROR | FileNotFoundError: [Errno 2] No such file or directory: 'db/COVID-19/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
ERROR |
ERROR | *******
ERROR | Script failed with exit code 1 and the following message: python3 "/tmp/pandocplot6574213974346944389.py"
Hello @Dvbnhbq,
It appears that the script you are running requires a file ("time_series_covid19_confirmed_global.csv").
Is the file path specified absolutely, or relatively to where you run pandoc-plot
?
Hi @LaurentRDC,
This path is relative to the current directory where pandoc --filter pandoc-plot
is executed.
This was working fine until some update.
I've just downgraded to v. 0.5.0.0
to test if something is broken on my side, and everything is working correctly with the same path after the downgrade.
I think I know what's going on. I'll try to push a fix today.
I'm sorry for the trouble - getting these details right for every plotting toolkit has proven to be rather arduous.
Thank you for maintaining this. I've built this from the latest commit, looks fine now!
That's great news. Once this last round of testing has passed, look out for version 0.9.4.0.
Version 0.9.4.0 was just published to Hackage and Github. conda-forge will follow in the next 24h.
I will close this for now. Don't hesitate to re-open this issue if the problem persists!
Laurent, First, thank you for creating this pandoc filter plugin. I used your prebuilt plugin for windows but it can not work.
I had checked the running environment, it seems ok
I notice that there is a space in my computer user name
zhang ke
, so I think maybe the pandoc-plot can not recognize the correct route path due to this space. Cloud you help me to fix this problem ? Thank You,