Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: object() takes no parameters: still proiblem with 6.1.0 #534

Closed
3fon3fonov opened this issue Mar 20, 2020 · 3 comments
Closed

Comments

@3fon3fonov
Copy link

Unfortunately, the new release did not solve the problem below:

See 3fon3fonov/exostriker#55

It works fine with e.g. jupyter_client==5.3.1

===== 2020.03.20 09:03:45 =====
Traceback (most recent call last):
File "es_gui.py", line 7222, in
main()
File "es_gui.py", line 7205, in main
window = Exo_striker()
File "es_gui.py", line 6712, in init
self.console_widget = ConsoleWidget_embed(font_size = 9)
File "./lib/Jupyter_emb.py", line 24, in init
self.kernel_client = self._kernel_manager.client()
File "/usr/local/lib/python3.6/dist-packages/qtconsole/base_frontend_mixin.py", line 63, in kernel_client
if kernel_client.channels_running:
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/client.py", line 141, in channels_running
self.control_channel.is_alive())
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/client.py", line 200, in control_channel
socket, self.session, self.ioloop
TypeError: object() takes no parameters

@davidbrochart
Copy link
Member

Yes, a release has to be made in https://github.com/ipython/ipykernel.

@3fon3fonov
Copy link
Author

Oh, I did not get that... Since the problem appears in jupyter_client/client.py,
I thought that a general fix must be done in the jupyter-client, not in the ipykernel.

I thought that ipython/ipykernel#489 is just a temporary fix.

Ok then, let's wait for a new release of the ipykernel to see if things will be sorted out.

Thanks!

@3fon3fonov
Copy link
Author

3fon3fonov commented Mar 21, 2020

After the new release of ipykernel everything seems to be back to normal!

Closing, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants