Opened 9 years ago
Closed 9 years ago
#2808 closed defect (worksforme)
grass --version throws an exception
| Reported by: | pmav99 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.3 |
| Component: | Packaging | Version: | 7.0.2 |
| Keywords: | Ubuntu | Cc: | |
| CPU: | Unspecified | Platform: | Linux |
Description
It seems that the license file is missing.
(venv)grassuser@7d152add9280:~/repo$ dpkg -s grass
dpkg-query: package 'grass' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
(venv)grassuser@7d152add9280:~/repo$ dpkg -s grass7
Package: grass7
Status: install ok installed
Priority: optional
Section: metapackages
Installed-Size: 37
Maintainer: “GRASS GIS” team on Launchpad <grass@lists.launchpad.net>
Architecture: all
Version: 7.0.2-1~ubuntu14.04.1
Depends: grass7-core, grass7-gui
Recommends: grass7-doc
Suggests: grass7-dev
(venv)grassuser@7d152add9280:~/repo$ grass --version
GRASS GIS 7.0.1
Traceback (most recent call last):
File "/usr/bin/grass", line 1355, in <module>
parse_cmdline()
File "/usr/bin/grass", line 1267, in parse_cmdline
message('\n' + readfile(gfile("etc", "license")))
File "/usr/bin/grass", line 139, in readfile
f = open(path, 'r')
IOError: [Errno 2] No such file or directory: '/usr/lib/grass70/etc/license'
(venv)grassuser@7d152add9280:~/repo$
Change History (3)
comment:1 by , 9 years ago
| Keywords: | Ubuntu added |
|---|---|
| Platform: | Unspecified → Linux |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
See https://wiki.ubuntu.com/UbuntuGIS
Closing here.
Note:
See TracTickets
for help on using tickets.

Since
No such file or directory: '/usr/lib/grass70/etc/license'
you need to report that to the Ubuntu packaging team.