Thonny print feature wont work with Snapped Browsers

Bug #2031228 reported by Sameer Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Thonny-Snap
Opinion
Undecided
Unassigned

Bug Description

Thonny's print feature wont work with firefox snap and most probably other snap browsers.
Producing the following error in the browser itself.

```
Access to the file was denied
The file at /home/xyz/snap/thonny/141/temp/thonny_re6cq3yf.html is not readable.
It may have been removed, moved, or file permissions may be preventing access.
```

The browser is opened but the above error is produced.

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

This is most likely due to the fact that snaps cant access files from other snap's data directories and as such firefox or any other browser snap wont be able to access the thonny snap's files and data within its folders, the fix may be to store the temp file outside the snaps's folders somewhere in home which is accessible to snap apps.

Changed in thonny-snap:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Sameer Sharma (capecrusader-121)
status: Triaged → Won't Fix
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Cant be fixed on my side since its a snap security/sand-box feature and will have to be looked by upstream.

summary: - Thonny print feature wont work with firefox snap
+ Thonny print feature wont work with snap browsers
Revision history for this message
Sameer Sharma (sameersharma2006) wrote : Re: Thonny print feature wont work with snap browsers

Lets keep this triaged only, for now we can try by modifying TMPDIR.

Changed in thonny-snap:
status: Won't Fix → Triaged
summary: - Thonny print feature wont work with snap browsers
+ Thonny print feature wont work with Snapped Browsers
Changed in thonny-snap:
importance: Medium → Low
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Not something that can be fixed by Me.

Changed in thonny-snap:
status: Triaged → Opinion
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.