Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- PS C:\Users\dcestau> cd C:\Users\dcestau\Desktop\freelancer
- PS C:\Users\dcestau\Desktop\freelancer> python .\emma_pdfs.py
- [+] Added uuid 768488DS0 to database
- [+] Added uuid 699347GD6 to database
- [+] Added uuid 674690BP6 to database
- [+] Added uuid 700824EG6 to database
- [+] Added uuid 917202YD9 to database
- [+] Added uuid 914318C99 to database
- [+] Added uuid 462460S49 to database
- [+] Added uuid 018231CX6 to database
- [+] Added uuid 768488DC5 to database
- [+] Added uuid 700824CW3 to database
- [+] Added uuid 700824FN0 to database
- [+] Added uuid 697396BC2 to database
- [+] Added uuid 700824FB6 to database
- [+] Added uuid 0106087S0 to database
- [+] Added uuid 838192FL1 to database
- [+] Added uuid 018231DE7 to database
- [+] Added uuid 34160WA20 to database
- [+] Added uuid 699347KE9 to database
- [+] Added uuid 700824DC6 to database
- [+] Added uuid 451295VM8 to database
- [I] Getting info for pages.
- [I+] Got info for 1 out of 20 pages.
- [I+] Got info for 2 out of 20 pages.
- [I+] Got info for 3 out of 20 pages.
- [I+] Got info for 4 out of 20 pages.
- [I+] Got info for 5 out of 20 pages.
- [I+] Got info for 6 out of 20 pages.
- [I+] Got info for 7 out of 20 pages.
- [I+] Got info for 8 out of 20 pages.
- [I+] Got info for 9 out of 20 pages.
- [I+] Got info for 10 out of 20 pages.
- [I+] Got info for 11 out of 20 pages.
- [I+] Got info for 12 out of 20 pages.
- [I+] Got info for 13 out of 20 pages.
- [I+] Got info for 14 out of 20 pages.
- [I+] Got info for 15 out of 20 pages.
- [I+] Got info for 16 out of 20 pages.
- [I+] Got info for 17 out of 20 pages.
- [I+] Got info for 18 out of 20 pages.
- [I] Info gathering done.
- [II] Downloading the files we need.
- [II+] Downloaded files for 1 out of 20
- [II+] Downloaded files for 2 out of 20
- [II+] Downloaded files for 3 out of 20
- [II+] Downloaded files for 4 out of 20
- [II+] Downloaded files for 5 out of 20
- [II+] Downloaded files for 6 out of 20
- [II+] Downloaded files for 7 out of 20
- [II+] Downloaded files for 8 out of 20
- [II+] Downloaded files for 9 out of 20
- [II+] Downloaded files for 10 out of 20
- [II+] Downloaded files for 11 out of 20
- [II+] Downloaded files for 12 out of 20
- [II+] Downloaded files for 13 out of 20
- [II+] Downloaded files for 14 out of 20
- [II+] Downloaded files for 15 out of 20
- [II+] Downloaded files for 16 out of 20
- [II+] Downloaded files for 17 out of 20
- [II+] Downloaded files for 18 out of 20
- [II] Downloading done.
- [III] Making text from PDFs.
- Extracted text from 1 out of 22
- Extracted text from 2 out of 22
- Extracted text from 3 out of 22
- Extracted text from 4 out of 22
- Extracted text from 5 out of 22
- Extracted text from 6 out of 22
- Extracted text from 7 out of 22
- Extracted text from 8 out of 22
- Extracted text from 9 out of 22
- Extracted text from 10 out of 22
- Extracted text from 11 out of 22
- Extracted text from 12 out of 22
- Extracted text from 13 out of 22
- Extracted text from 14 out of 22
- Extracted text from 15 out of 22
- Extracted text from 16 out of 22
- Extracted text from 17 out of 22
- Extracted text from 18 out of 22
- Extracted text from 19 out of 22
- Extracted text from 20 out of 22
- Extracted text from 21 out of 22
- Extracted text from 22 out of 22
- [III] Done making text.
- [IV] Preparing the final files.
- Recognizing images of pdf optically
- Recognizing images of pdf optically
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:10:41 2019 <Greenlet at 0x1656ca869c8: place_results(<__main__.Page object at 0x000001656CB002E8>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:10:47 2019 <Greenlet at 0x1656ca86a60: place_results(<__main__.Page object at 0x000001656F9614A8>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:10:52 2019 <Greenlet at 0x1656ca86af8: place_results(<__main__.Page object at 0x000001656F961E48>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:10:57 2019 <Greenlet at 0x1656ca86b90: place_results(<__main__.Page object at 0x000001656F581668>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:11:02 2019 <Greenlet at 0x1656ca86c28: place_results(<__main__.Page object at 0x000001656F3C5B38>)> failed with OperationalError
- Recognizing images of pdf optically
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:11:07 2019 <Greenlet at 0x1656ca86df0: place_results(<__main__.Page object at 0x000001656F4FC908>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:11:12 2019 <Greenlet at 0x1656ca86e88: place_results(<__main__.Page object at 0x000001656F4FC080>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:11:17 2019 <Greenlet at 0x1656ca86f20: place_results(<__main__.Page object at 0x000001656F4FC390>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:11:22 2019 <Greenlet at 0x1656ca865a0: place_results(<__main__.Page object at 0x000001656F4FC668>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:19:53 2019 <Greenlet at 0x1656ca86508: place_results(<__main__.Page object at 0x000001656F4FC7F0>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:19:58 2019 <Greenlet at 0x1656ca4be88: place_results(<__main__.Page object at 0x000001656F4FCCC0>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:20:08 2019 <Greenlet at 0x1656ca4b0e0: place_results(<__main__.Page object at 0x000001656F4FC048>)> failed with OperationalError
- Recognizing images of pdf optically
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- sqlite3.OperationalError: database is locked
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 284, in place_results
- document.save()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 5180, in save
- rows = self.update(**field_dict).where(self._pk_expr()).execute()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1447, in inner
- return method(self, database, *args, **kwargs)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1518, in execute
- return self._execute(database)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 1928, in _execute
- cursor = database.execute(self)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2497, in execute
- return self.execute_sql(sql, params, commit=commit)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2491, in execute_sql
- self.commit()
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2287, in __exit__
- reraise(new_type, new_type(*exc_args), traceback)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 170, in reraise
- raise value.with_traceback(tb)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\peewee.py", line 2484, in execute_sql
- cursor.execute(sql, params or ())
- peewee.OperationalError: database is locked
- Wed Jan 23 15:20:13 2019 <Greenlet at 0x1656ca4b210: place_results(<__main__.Page object at 0x000001656F4FC6D8>)> failed with OperationalError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 269, in place_results
- images = pdf2image.convert_from_path(document.pdf_path)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pdf2image\pdf2image.py", line 23, in convert_from_path
- proc = Popen(args, stdout=PIPE, stderr=PIPE)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 554, in __init__
- restore_signals, start_new_session)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 898, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Wed Jan 23 15:20:13 2019 <Greenlet at 0x1656ca86800: place_results(<__main__.Page object at 0x000001656F4DDA58>)> failed with FileNotFoundError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 269, in place_results
- images = pdf2image.convert_from_path(document.pdf_path)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pdf2image\pdf2image.py", line 23, in convert_from_path
- proc = Popen(args, stdout=PIPE, stderr=PIPE)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 554, in __init__
- restore_signals, start_new_session)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 898, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Wed Jan 23 15:20:13 2019 <Greenlet at 0x1656ca86d58: place_results(<__main__.Page object at 0x000001656F4FC978>)> failed with FileNotFoundError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 269, in place_results
- images = pdf2image.convert_from_path(document.pdf_path)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pdf2image\pdf2image.py", line 23, in convert_from_path
- proc = Popen(args, stdout=PIPE, stderr=PIPE)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 554, in __init__
- restore_signals, start_new_session)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 898, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Wed Jan 23 15:20:13 2019 <Greenlet at 0x1656ca4b9c8: place_results(<__main__.Page object at 0x000001656F4FCB38>)> failed with FileNotFoundError
- Traceback (most recent call last):
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\greenlet.py", line 536, in run
- result = self._run(*self.args, **self.kwargs)
- File ".\emma_pdfs.py", line 269, in place_results
- images = pdf2image.convert_from_path(document.pdf_path)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pdf2image\pdf2image.py", line 23, in convert_from_path
- proc = Popen(args, stdout=PIPE, stderr=PIPE)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 554, in __init__
- restore_signals, start_new_session)
- File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\gevent\subprocess.py", line 898, in _execute_child
- startupinfo)
- FileNotFoundError: [WinError 2] The system cannot find the file specified
- Wed Jan 23 15:20:13 2019 <Greenlet at 0x1656ca86898: place_results(<__main__.Page object at 0x000001656CABCCF8>)> failed with FileNotFoundError
- [IV] The process is done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement