Public bug reported:
Glances fails to start on Kubuntu 14.04:
rdhruva@ubuntu:~$ sudo /etc/init.d/glances start
* Starting Glances server glances
*
Not starting glances: disabled by /etc/default/glances.
rdhruva@ubuntu:~$ glances
python: can't open file '/usr/share/pyshared/glances/glances.py': [Errno 2] No
such file or directory
rdhruva@ubuntu:~$ sudo glances
python: can't open file '/usr/share/pyshared/glances/glances.py': [Errno 2] No
such file or directory
This is the command I used to install it:
rdhruva@ubuntu:~$ sudo aptitude install glances
The following NEW packages will be installed:
glances python-jinja2{a} python-markupsafe{a} python-psutil{a}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 734 kB of archives. After unpacking 2,429 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-markupsafe amd64
0.18-1build1 [14.2 kB]
Get: 2 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-jinja2 all
2.7.2-2 [161 kB]
Get: 3 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-psutil amd64
1.2.1-1ubuntu1 [50.2 kB]
Get: 4 http://us.archive.ubuntu.com/ubuntu/ trusty/universe glances all 1.7.3-2
[509 kB]
Fetched 734 kB in 2s (344 kB/s)
Selecting previously unselected package python-markupsafe.
(Reading database ... 410826 files and directories currently installed.)
Preparing to unpack .../python-markupsafe_0.18-1build1_amd64.deb ...
Unpacking python-markupsafe (0.18-1build1) ...
Selecting previously unselected package python-jinja2.
Preparing to unpack .../python-jinja2_2.7.2-2_all.deb ...
Unpacking python-jinja2 (2.7.2-2) ...
Selecting previously unselected package python-psutil.
Preparing to unpack .../python-psutil_1.2.1-1ubuntu1_amd64.deb ...
Unpacking python-psutil (1.2.1-1ubuntu1) ...
Selecting previously unselected package glances.
Preparing to unpack .../glances_1.7.3-2_all.deb ...
Unpacking glances (1.7.3-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.6-1) ...
Setting up python-markupsafe (0.18-1build1) ...
Setting up python-jinja2 (2.7.2-2) ...
Setting up python-psutil (1.2.1-1ubuntu1) ...
Setting up glances (1.7.3-2) ...
Creating system user 'glances'.
* Starting Glances server glances
*
Not starting glances: disabled by /etc/default/glances.
Processing triggers for ureadahead (0.100.0-16) ...
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: glances 1.7.3-2
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Mar 17 11:40:36 2014
InstallationDate: Installed on 2014-01-24 (51 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140121.1)
PackageArchitecture: all
SourcePackage: glances
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: glances (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1293744
Title:
Glances fails to start: can't open file
'/usr/share/pyshared/glances/glances.py': [Errno 2] No such file or
directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glances/+bug/1293744/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs