Comments (7)
@MattiaEffendi Ora funziona perfettamente!
Grazie per l'aiuto :)
from pdfgrabber.
Ciao! Sei sicuro di aver scaricato tutta la cartella di pdfgrabber con tutti i suoi file? Sembrerebbe che te ne mancano alcuni. Altrimenti se a fianco di main.py
c'è una cartella services
con dentro un file prn.py
dev'essere uno strano bug di windows.
from pdfgrabber.
@FelixFrog questo problema è dato dal fatto che qualsiasi file con nome nel formato prn.*
su windows non si può creare, infatti clonando il progetto (o scaricandolo come file .zip ed estraendolo), su windows il file viene rinominato in _prn.py
e quindi non riesce a trovare il modulo.
Per risolvere ho modificato il nome del file in prs.py
e cambiato la entry prn
con prs
alla riga 17 del file utils.py
.
Così il tutto sembra funzionare!
from pdfgrabber.
Ciao, non sono molto esperto, tuttavia ho scaricato due libri da bSmart senza problemi.
Se hai piacere posso mandarti qualche dettaglio più approfondito su Telegram.
from pdfgrabber.
@gabrySerra prova a fare come ti descrivo ora:
- Nella cartella
services
trova il file con nomeprn.py
o simili, rinominalo inprs.py
- Nel file
utils.py
, alla riga 17, sostituisci"prn"
con"prs"
A questo punto, ri-esegui il file main.py e dovrebbe andare tutto, ho avuto il tuo stesso problema oggi! :)
from pdfgrabber.
Grazie mille @MattiaEffendi di avermi illuminato riguardo a questa assoluta idiozia di windows che ci dobbiamo tirare dietro dagli anni 90'. Se non me lo avessi detto avrei potuto spenderci ora per cavarci qualcosa. Ora lo cambio in prs
e pubblico il cambiamento
from pdfgrabber.
Non c'è problema, ci mancherebbe ahah
Ci sono rimasto un po'male anche io oggi quando ho notato questa roba, infatti avendo visto il file nella cartella services chiamato _prn.py
mi sono reso conto di quale fosse il problema.
Fun fact: a quanto pare i file prn
contengono i comandi dei driver delle stampanti che vengono utilizzati per creare un print job
from pdfgrabber.
Related Issues (20)
- Pearson Plus gives No books! HOT 3
- Pearson Reader+: `StopIteration` at Extracting epub HOT 4
- Could this project be versioned somehow? HOT 3
- Binary release with Nutika HOT 4
- KeyError: 'encrypted_password' HOT 2
- Unsupported format HOT 1
- TypeError: string indices must be integers, not 'str' HOT 2
- Unsupported format ETEXT2_PXE HOT 2
- hbs error HOT 1
- bsmart key error HOT 2
- ValueError: row 24: page number out of range while downloading from blk HOT 1
- HUB Kids HOT 2
- Takedown notice HOT 8
- errore su pagine di libri: non tutto viene stampato sulla pagina HOT 2
- Hub Scuola error: no objects found HOT 3
- integrazione sfoglialibri hoepli HOT 2
- Keyerror in blk HOT 1
- Blinklearning download error HOT 3
- hubscuola HOT 2
- CNG KeyError: 'logicalPageNumber'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfgrabber.