Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2024, 08:34 AM   #1
Leilu
Member
Leilu began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2023
Device: Kindle Oasis 3 / Kobo Libra 2
Question I need help to start coding

Hi,

I would like to start coding. I'm a beginner and I'd like to learn from real cases that interest me. Here's a plugin for synchronizing metadata between Calibre and KOReader that I use every day. I've been wracking my brains over this for two afternoons now, ending up frustrated at not understanding.


Windows Development Environment

I'm having problems with Calibre's official documentation, which isn't detailed enough for my limited skills.
https://manual.calibre-ebook.com/dev...nt-environment
I think this is done.

Calibre source code is here
Code:
C:\Users\leilu\Source\Repos\calibre\src
Calibre binaries are here
Code:
C:\Program Files\Calibre2
KOReader calibre plugin repository
I cloned here
Code:
C:\Users\leilu\Source\Repos\koreader-calibre-plugin
this repo https://github.com/harmtemolder/koreader-calibre-plugin to comment it with GPT4 to understand its code and why not contribute to this project in the future.


Errors in my IDE

I've got lots of import errors, as you can see from these screenshots




Python interpreter is set



What I want to achieve today
As I see here https://manual.calibre-ebook.com/cre...ugging-plugins I want to be able to
Code:
print("I'm ready to code")
in this koreader-calibre-plugin running this command:
Code:
calibre-debug -s; calibre-customize -b C:\Users\leilu\Source\Repos\koreader-calibre-plugin; calibre
I think the koreader-calibre-plugin dev included a way to kinda do this

But for now I'd like to at least sort out the import problems linked to my development environment, I think.


Last edited by Leilu; 05-20-2024 at 08:56 AM. Reason: Smaller image to not break the forum layout
Leilu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting coding... Karellen ePub 16 09-21-2023 02:47 PM
Is there hidden coding? rbruce1314 Sigil 16 02-18-2016 10:19 PM
Coding Errors vinny3777 Recipes 1 06-01-2014 05:29 PM
Seriously thoughtful Coding Help Requested poohbear_nc Lounge 10 08-24-2010 11:42 AM
python coding... alexxxm Sony Reader 8 01-31-2008 01:25 PM


All times are GMT -4. The time now is 04:30 AM.


MobileRead.com is a privately owned, operated and funded community.