Comments (3)
looks like PyPDF2 is really brittle. The crash happens when trying to parse the PDF, so nothing we could easily fix. Maybe we should wrap calls to PyPDF2 in a big
try:
# call PyPDF2
except Exception as e:
# log the exception
from refextract.
Yeah exactly.
from refextract.
we wouldn't lose much anyway: texkey extraction is useful only for articles using Inspire texkeys (and maybe other platforms like ADS in the future). Those will in the vast majority of cases be produced by a standard TeX pipeline, which we know works well with PyPDF2.
from refextract.
Related Issues (20)
- TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType HOT 1
- TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType HOT 2
- clean_pdf_file throws SystemError on MacOS with mmap: resizing not available HOT 1
- extract_references_from_file returns inconsistent data
- mmap resize unavailable
- refextract: month in pubnote HOT 2
- TypeError: coercing to Unicode HOT 5
- Error in importing HOT 2
- Syntax error in references/api.py line 96
- refextract: recognize DELPHI notes HOT 1
- Import refextract fails HOT 15
- dont split PTEP articleIDs at letter in the middle
- Year taken as page number when page number is 4 digits
- Error in extract_references_from_file(path) method HOT 2
- Issue with non a-zA-Z auther names
- TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType HOT 3
- Ininite loop on debian
- Refextract fails to extract from two-columned layout pdf HOT 2
- mmap: resizing not available HOT 4
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 refextract.