Open xxxvik-xakerxxx opened 4 years ago
What exactly are you doing to get this error?
Same problems for me. jedi 0.17.2 anaconda-mode 0.1.14
anaconda_mode port 33429
127.0.0.1 - - [22/Jan/2021 15:25:41] ================================================================================
Traceback (most recent call last):
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 101, in apply
result = method(**params)
File "<string>", line 99, in wrapper
TypeError: __init__() takes from 1 to 2 positional arguments but 5 positional arguments (and 1 keyword-only argument) were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/providers/basehttp.py", line 40, in do_POST
status, response = self.server.service(data)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 50, in __call__
result = self.apply(method, args)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 105, in apply
server_error(args['id'], error)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/errors.py", line 91, in server_error
raise ServiceException(500, dumps(response))
service_factory.exceptions.ServiceException: (500, '{"jsonrpc": "2.0", "id": 1, "error": {"code": -32000, "message": "Server error", "data": "TypeError(\'__init__() takes from 1 to 2 positional arguments but 5 positional arguments (and 1 keyword-only argument) were given\')"}}')
127.0.0.1 - - [22/Jan/2021 15:25:45] ================================================================================
Traceback (most recent call last):
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 101, in apply
result = method(**params)
File "<string>", line 99, in wrapper
TypeError: __init__() takes from 1 to 2 positional arguments but 5 positional arguments (and 1 keyword-only argument) were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/providers/basehttp.py", line 40, in do_POST
status, response = self.server.service(data)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 50, in __call__
result = self.apply(method, args)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/service.py", line 105, in apply
server_error(args['id'], error)
File "/home/pnoel/.emacs.d/.local/etc/anaconda/0.1.13/service_factory-0.1.6-py3.9.egg/service_factory/errors.py", line 91, in server_error
raise ServiceException(500, dumps(response))
service_factory.exceptions.ServiceException: (500, '{"jsonrpc": "2.0", "id": 1, "error": {"code": -32000, "message": "Server error", "data": "TypeError(\'__init__() takes from 1 to 2 positional arguments but 5 positional arguments (and 1 keyword-only argument) were given\')"}}')
The error appears directly when I try to edit a python buffer
Hmm, in the exception it still says anaconda version 0.1.13
.
Try to update, and then either kill the anaconda process buffer of just restart Emacs. Hopefully that bug is already fixed.
@xxxvik-xakerxxx do you still have the problem with the newest anaconda version?
With the new version it works for me.
I`m using python 3.6 jedi 0.17 anaconda 0.1.13 Emacs version Doom Emacs