I wanted to test this app with ERPNext 11 on a Python 3 environment, but got the following errors when trying to install app:
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/AbbyyOnlineSdk.py'...
File "../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/AbbyyOnlineSdk.py", line 64
print requestUrl
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(requestUrl)?
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/MultipartPostHandler.py'...
File "../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/MultipartPostHandler.py", line 73
raise TypeError, "not a valid non-string sequence or mapping object", traceback
^
SyntaxError: invalid syntax
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/process.py'...
File "../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/process.py", line 29
print "Using proxy at %s" % proxyString
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Using proxy at %s" % proxyString)?
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/process_xml.py'...
File "../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/process_xml.py", line 16
print "Using proxy at %s" % proxyString
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Using proxy at %s" % proxyString)?
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/xml_reader.py'...
File "../apps/erpnext_ocr/erpnext_ocr/erpnext_ocr/xml_reader.py", line 203
print total
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(total)?
*** Error compiling '../apps/erpnext_ocr/erpnext_ocr/zap_hooks/SI.py'...
File "../apps/erpnext_ocr/erpnext_ocr/zap_hooks/SI.py", line 5
print "datadog"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("datadog")?
Hi,
I wanted to test this app with ERPNext 11 on a Python 3 environment, but got the following errors when trying to install app:
Will probably try to provide a PR for this.