Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Filenames #5

Open
slavakurilyak opened this issue May 20, 2018 · 0 comments
Open

Parsing Filenames #5

slavakurilyak opened this issue May 20, 2018 · 0 comments

Comments

@slavakurilyak
Copy link

Running $ python flask_app.py on Python 2.7 produces the following error:

PdfReadWarning: Xref table not zero-indexed. ID numbers for objects will be corrected. [pdf.py:1736]
PdfReadWarning: Superfluous whitespace found in object header 1 0 [pdf.py:1666]
PdfReadWarning: Superfluous whitespace found in object header 2 0 [pdf.py:1666]
PdfReadWarning: Superfluous whitespace found in object header 3 0 [pdf.py:1666]
PdfReadWarning: Superfluous whitespace found in object header 36 0 [pdf.py:1666]
Traceback (most recent call last):
  File "flask_app.py", line 45, in <module>
    pdf = open(my_file, 'rb')
IOError: [Errno 2] No such file or directory: '/Users/skurilyak/dev/testing/MichaelMMeskhi/MLRP/resumes/5a4e6e7f8e2b-resum\x92\xa9.pdf'

The issue seems to related to parsing the following filenames:

  1. resumes/06c10679ea37-XinŠ—…s_Resume.pdf
  2. resumes/4a5419e4cfd3-Gabriel_s_R’©sum’©.pdf
  3. resumes/5a4e6e7f8e2b-resum’©.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant