dalanicolai / doc-tools

Universal document viewing and editing tools for Emacs
https://github.com/dalanicolai/doc-tools/wiki
GNU General Public License v3.0
22 stars 2 forks source link

deferred error #2

Open divyaranjan1905 opened 1 year ago

divyaranjan1905 commented 1 year ago

Went through the installation process to check out the package but when opening a PDF it throws me this:

File mode specification error: (wrong-type-argument deferred #s(deferred deferred:default-callback deferred:default-errorback deferred:default-cancel nil nil nil)) deferred error : (wrong-type-argument deferred #s(deferred (lambda (args) (epc:log SIG RET: %S args) (apply 'epc:handler-return #s(epc:manager python doc-pymupdf-server.py epc:server:12 (python doc-pymupdf-server.py) 51317 #s(epc:connection epc con 13 epc con 13 *epc con 13* (epc con 13 nil (methods . #s(deferred (lambda (args) (epc:log SIG METHODS: %S args) (epc:handler-methods #4 (caadr args))) deferred:default-errorback deferred:default-cancel nil nil nil)) (epc-error . #s(deferred (lambda (args) (epc:log SIG EPC-ERROR: %S args) (apply 'epc:handler-epc-error #4 (epc:args args))) deferred:default-errorback deferred:default-cancel nil nil nil)) (return-error . #s(deferred (lambda (args) (epc:log SIG RET-ERROR: %S args) (apply 'epc:handler-return-error #4 (epc:args args))) deferred:default-errorback deferred:default-cancel nil nil nil)) (return . #1) (call . #s(deferred (lambda (args) (epc:log SIG CALL: %S args) (apply 'epc:handler-called-method #4 (epc:args args))) deferred:default-errorback deferred:default-cancel nil nil nil)))) nil ((14 . #s(deferred deferred:default-callback deferred:default-errorback deferred:default-cancel nil nil nil))) nil) (epc:args args))) deferred:default-errorback deferred:default-cancel nil nil nil))

dalanicolai commented 1 year ago

This looks like an error thrown for some reason by the epc-client. However, I do not really understand this error message. Also, the package seems to work fine here. I have recently added some match pattern to the server code, but this is only supported from python 3.10. What python version do you have installed?