glutanimate / PDFMtEd

View and modify PDF metadata on Linux graphically
GNU General Public License v3.0
191 stars 22 forks source link

Syntax error in editor #25

Open ifohancroft opened 3 years ago

ifohancroft commented 3 years ago

Basically, when I run pdfmted-editor <book-name> in the terminal, I get:

Processing 1 of 1 File "", line 1 import gio; import sys; print Gio.File(sys.argv[1]).query_info('*').get_attribute_byte_string ('''thumbnail::path''') ^ SyntaxError: invalid syntax

Original metadata:

Everything besides showing the thumbnail works (perhaps that also works and I just don't have a valid thumbnail for my pdf, who knows)
ifohancroft commented 2 years ago

Apparently I have fixed this on my local copy. I need to see how and send a PR with the fix.