Opened 8 years ago

Closed 8 years ago

#2808 closed defect (worksforme)

grass --version throws an exception

Reported by: pmav99 Owned by: grass-dev@…
Priority: normal Milestone: 7.0.3
Component: Packaging Version: 7.0.2
Keywords: Ubuntu Cc:
CPU: Unspecified Platform: Linux


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 <>
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
Traceback (most recent call last):
  File "/usr/bin/grass", line 1355, in <module>
  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'

Change History (3)

comment:1 by neteler, 8 years ago

Keywords: Ubuntu added
Platform: UnspecifiedLinux

comment:2 by neteler, 8 years ago


No such file or directory: '/usr/lib/grass70/etc/license'

you need to report that to the Ubuntu packaging team.

comment:3 by neteler, 8 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.