linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #15539
[Bug 1959417] Re: unable to use jupyter-notebook package with snap'd browsers like firefox or chromium
Chromium:
$ chromium file:///home/j/.local/share/jupyter/runtime/nbserver-45601-open.html
Gtk-Message: 18:55:47.022: Failed to load module "appmenu-gtk-module"
Gtk-Message: 18:55:47.023: Failed to load module "canberra-gtk-module"
[46086:46165:0128/185547.162380:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.ListActivatableNames: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.183" (uid=1000 pid=46086 comm="/snap/chromium/1878/usr/lib/chromium-browser/chrom" label="snap.chromium.chromium (enforce)") interface="org.freedesktop.DBus" member="ListActivatableNames" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
(chrome:46086): dbind-WARNING **: 18:55:47.242: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: Permission denied
[46178:46178:0128/185547.282857:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.
Fontconfig error: Cannot load default config file
[46086:46159:0128/185550.969823:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)] START: ReportBluetoothAvailability(). If you don't see the END: message, this is crbug.com/1216328.
[46086:46159:0128/185550.969872:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] END: ReportBluetoothAvailability()
[46086:46160:0128/185551.087333:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
Access to the file was denied
The file at file:///home/j/.local/share/jupyter/runtime/nbserver-45601-open.html is not readable. It may have been removed, moved, or file permissions may be preventing access.
ERR_ACCESS_DENIED
** Also affects: chromium-browser
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/1959417
Title:
unable to use jupyter-notebook package with snap'd browsers like
firefox or chromium
Status in Chromium Browser:
New
Status in Mozilla Firefox:
New
Status in snapd:
New
Status in chromium package in Ubuntu:
New
Status in firefox package in Ubuntu:
New
Status in jupyter-notebook package in Ubuntu:
New
Status in snapd package in Ubuntu:
New
Bug description:
Steps to reproduce:
1. Install Ubuntu 22.04 LTS
2. Install jupyter-notebook package
3. Open terminal to launch jupyter-notebook command
$ jupyter-notebook
[I 18:53:12.601 NotebookApp] Serving notebooks from local directory: /home/j
[I 18:53:12.601 NotebookApp] Jupyter Notebook 6.4.5 is running at:
[I 18:53:12.601 NotebookApp] http://localhost:8888/?token=6df6a314b44a50e058ff27f735d91cbd46bfaf0e403bd2e9
[I 18:53:12.601 NotebookApp] or http://127.0.0.1:8888/?token=6df6a314b44a50e058ff27f735d91cbd46bfaf0e403bd2e9
[I 18:53:12.601 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:53:12.635 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/j/.local/share/jupyter/runtime/nbserver-45601-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=6df6a314b44a50e058ff27f735d91cbd46bfaf0e403bd2e9
or http://127.0.0.1:8888/?token=6df6a314b44a50e058ff27f735d91cbd46bfaf0e403bd2e9
Expected results:
* default web-browser opened and it shows jupyter-notebook interface after redirection from local html-file to http://localhost:8888
Actual results:
* default web-browser opened with error message
> Access to the file was denied
> The file at /home/j/.local/share/jupyter/runtime/nbserver-45601-open.html is not readable.
> It may have been removed, moved, or file permissions may be preventing access.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: jupyter-notebook 6.4.5-4
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Fri Jan 28 18:49:44 2022
InstallationDate: Installed on 2022-01-28 (0 days ago)
InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220128)
PackageArchitecture: all
SourcePackage: jupyter-notebook
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile..etc.default.apport: 2022-01-28T14:45:41.897765
To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1959417/+subscriptions