Replies: 1 comment
-
|
Yes, unfortunately, this is one of the widgets that don't work yet in Pythonista Lab. I'm aware of the issue, but don't have a workaround right now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I get an error when trying to use the FileUpload widget from ipywidgets.
I’m on iOS 26 public beta 4, which may be the issue.
I tried uploading both from photos and files.
PythonistaLab.app/Frameworks/Py3Kit.framework/pylib/site-packages/ipywidgets/widgets/widget_upload.py:27, in _deserialize_single_file(js)
25 uploaded_file = Bunch()
26 for attribute in ['name', 'type', 'size', 'content']:
---> 27 uploaded_file[attribute] = js[attribute]
28 uploaded_file['last_modified'] = dt.datetime.fromtimestamp(
29 js['last_modified'] / 1000,
30 tz=dt.timezone.utc
31 )
32 return uploaded_file
KeyError: 'content'
Beta Was this translation helpful? Give feedback.
All reactions