You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\zzzzz\Downloads\EasyTrans-master\EasyTrans\trans\output_file\translated_file.pdf
Traceback (most recent call last):
File "trans_file.py", line 54, in
img_list = cur_page.getImageList() # 获取当前页面的图片对象
AttributeError: 'Page' object has no attribute 'getImageList'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "trans_file.py", line 218, in
new_pdf.save(new_file_name, garbage=4, deflate=True, clean=True) # 保存翻译后的pdf
File "C:\Users\zzzzz\AppData\Roaming\Python\Python38\site-packages\fitz\fitz.py", line 4456, in save
raise ValueError("cannot save with zero pages")
ValueError: cannot save with zero pages
The text was updated successfully, but these errors were encountered:
C:\Users\zzzzz\Downloads\EasyTrans-master\EasyTrans\trans\output_file\translated_file.pdf
Traceback (most recent call last):
File "trans_file.py", line 54, in
img_list = cur_page.getImageList() # 获取当前页面的图片对象
AttributeError: 'Page' object has no attribute 'getImageList'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "trans_file.py", line 218, in
new_pdf.save(new_file_name, garbage=4, deflate=True, clean=True) # 保存翻译后的pdf
File "C:\Users\zzzzz\AppData\Roaming\Python\Python38\site-packages\fitz\fitz.py", line 4456, in save
raise ValueError("cannot save with zero pages")
ValueError: cannot save with zero pages
The text was updated successfully, but these errors were encountered: