question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Turtle widgets support is just not workin ... and always giving error of "error loading nbextensions/mobilecheloninjs/turtlewidget"

See original GitHub issue

Environment data

  • VS Code version: 1.62
  • Jupyter Extension version (available under the Extensions sidebar): 2021.10.1001414422
  • Python Extension version (available under the Extensions sidebar): 2021.11.1
  • OS (Windows | Mac | Linux distro) and version: windows 10 build 19042
  • Python and/or Anaconda version: 3.9.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): n.a
  • Jupyter server running: Local | Remote | = local

Expected behaviour

it should show the turtle widget and start plotting and show the diagram…

Actual behaviour

it just do not show the widget of turtle and gice eroor of attribule eroor in “t.pensize” which is valid and shows widget to download support file but in the final it does nothing . and give more errors

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. just use this valid code .
  2. from mobilechelonian import Turtle from ipywidgets import interact import turtle t = Turtle() t.pencolor(“red”) turtle.begin_fill() t.pensize(3) t.left(50) t.forward(113) t.circle(50,200) t.right(140) t.circle(50,200) t.forward(133) turtle.end_fill() input()

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

"Eroor given by jupyter :- "

AttributeError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_1972/308323382.py in <module> 5 t.pencolor(“red”) 6 turtle.begin_fill() ----> 7 t.pensize(3) 8 t.left(50) 9 t.forward(113)

AttributeError: ‘Turtle’ object has no attribute ‘pensize’

Arpan kumar 

email : - arpankumar11119@gmail.com note :- add support for turtle also in jupyter vs code ....

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Dec 14, 2021

what is the root cause of this

The root cause has been clearly documented , in the previous comment.

anything can be done to fix this …?

Unfortunately this issue hasn’t been priotized yet, we prioritize issues based on community engagement (upvotes) and usage.

1reaction
arpan02122004commented, Dec 14, 2021

what is the root cause of this … anything can be done to fix this …?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error loading Jupyter Notebook Extensions - Stack Overflow
While the notebooks work fine on my system, I cannot view the nbextensions tab. The following is the error log I see on...
Read more >
Troubleshooting — jupyter_contrib_nbextensions 0.5.0 ...
If you have a large notebook, extensions can stop working after the notebook is loaded. Unfortunately, although this can be caused by nbextensions...
Read more >
PowerBI-Jupyter widget does not render in Jupyter
But whenever I finally run the cell to render the report, it returns the error: "Error displaying widget: model not found", which is...
Read more >
Voila does not work for me - fastai dev - fast.ai Course Forums
from utils import * from fastai2.vision.widgets import * from ... Then I click “voila” to run it and I get a very cryptic...
Read more >
Interact broken. SageMath 9.5 on Apple Mac OSX 12.1 ...
Safari supports widgets at Cocalc so I can't think that it won't support them ... Could not open comm -- Error: Class jupyter.widget...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found