Errors With Canary Variant (Bionic)

Bug #2035013 reported by Sameer Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Thonny-Snap
Won't Fix
Undecided
Unassigned

Bug Description

While using thonny canary builds, using manage packages options wont work with the folllowing error .

```
Traceback (most recent call last):
  File "/snap/thonny/201/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/workbench.py", line 1109, in dispatch_from_menu
    dispatch(None)
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/workbench.py", line 1035, in dispatch
    handler()
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/pip_gui.py", line 1590, in open_backend_pip_gui
    pg = pg_class(get_workbench())
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/pip_gui.py", line 1001, in __init__
    super().__init__(master)
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/pip_gui.py", line 66, in __init__
    self._show_instructions()
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/pip_gui.py", line 351, in _show_instructions
    self._show_read_only_instructions()
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/pip_gui.py", line 380, in _show_read_only_instructions
    if self._get_target_directory():
  File "/snap/thonny/201/lib/python3.9/site-packages/thonny/plugins/cpython_frontend/cp_pip_gui.py", line 25, in _get_target_directory
    os.makedirs(usp, exist_ok=True)
  File "/snap/thonny/201/usr/lib/python3.9/os.py", line 210, in makedirs
    head, tail = path.split(name)
  File "/snap/thonny/201/usr/lib/python3.9/posixpath.py", line 103, in split
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
```

Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Thonny canary powered by ;

--> Core18
--> python 3.9.18
--> source build

tags: added: canary
Changed in thonny-snap:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Sameer Sharma (capecrusader-121)
tags: added: core18 python3.9.18
Revision history for this message
Sameer Sharma (sameersharma2006) wrote (last edit ):

Let's see if this exists after upgrading to core20 ?

We have now upgraded canary to focal from bionic.

Edit: The situation only gets worse sadly with upgrade to focal. 🥴

summary: - Errors With Canary Variant
+ Errors With Canary Variant (Bionic)
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

No longer pursued.

Changed in thonny-snap:
status: Triaged → Won't Fix
importance: Low → Undecided
assignee: Sameer Sharma (capecrusader-121) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.