Giter Site home page Giter Site logo

Comments (6)

paperboi avatar paperboi commented on May 18, 2024

Hi, chances are you have a book that has no author listed in it's metadata. Will write a fix for this and include it in the next release.

from kindle2notion.

dawidwelna avatar dawidwelna commented on May 18, 2024

yes I have a few books that have no author. I have many articles etc..
But I managed to solve it by setting up the repo myself and installing the dependencies with conda and then installing the package inside my conda environment

python setup.py install

I'm also planning now to try to make this package to work with my language polish etc. Because during copying the characters like "ę", "ą", "ł" are lost
maybe you already know how to solve it?

from kindle2notion.

paperboi avatar paperboi commented on May 18, 2024

yes I have a few books that have no author. I have many articles etc..
But I managed to solve it by setting up the repo myself and installing the dependencies with conda and then installing the package inside my conda environment

python setup.py install

I'm also planning now to try to make this package to work with my language polish etc. Because during copying the characters like "ę", "ą", "ł" are lost
maybe you already know how to solve it?

I know it's an issue with the way the file is read in kindle2notion/reading.py but haven't been successful so far in getting it right. Please do look into it if you can and update here what you find. Thanks for taking the initiative!

from kindle2notion.

paperboi avatar paperboi commented on May 18, 2024

yes I have a few books that have no author. I have many articles etc..
But I managed to solve it by setting up the repo myself and installing the dependencies with conda and then installing the package inside my conda environment

python setup.py install

I'm also planning now to try to make this package to work with my language polish etc. Because during copying the characters like "ę", "ą", "ł" are lost
maybe you already know how to solve it?

Hi @dawidwelna, if it's okay, can you please forward me a clipping of one such article which has no author listed from your My Clippings file? I had written a function to account for this case earlier and wanted to know how this would have gone past that.

from kindle2notion.

dawidwelna avatar dawidwelna commented on May 18, 2024

@paperboi here is a draft PR #55
I fixed the issue with missing polish characters. I still need to add unit tests, so please wait for it. I've been busy recently.
Also there is an example file you asked which you may use. I am not sure if this is a correct excerpt that generated an error, but definitely there is a book without an author inside.

from kindle2notion.

paperboi avatar paperboi commented on May 18, 2024

@dawidwelna, just got the fix for this up- please update to the latest version (1.0.0) and try again. The setup is a little different too so please go through the README file and docs.

from kindle2notion.

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.