Code Monkey home page Code Monkey logo

Comments (12)

LaurentRDC avatar LaurentRDC commented on June 17, 2024 1

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.

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024 1

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!

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

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?

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

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!

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

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.

from pandoc-plot.

MiuKaShi avatar MiuKaShi commented on June 17, 2024

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.

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

Wonderful!

Thank you for filing a bug report. Please do not hesitate if you find anything else that doesn't work as expected :)

from pandoc-plot.

Dvbnhbq avatar Dvbnhbq commented on June 17, 2024

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"

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

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?

from pandoc-plot.

Dvbnhbq avatar Dvbnhbq commented on June 17, 2024

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.

from pandoc-plot.

Dvbnhbq avatar Dvbnhbq commented on June 17, 2024

Thank you for maintaining this. I've built this from the latest commit, looks fine now!

from pandoc-plot.

LaurentRDC avatar LaurentRDC commented on June 17, 2024

That's great news. Once this last round of testing has passed, look out for version 0.9.4.0.

from pandoc-plot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.