[OSGeoLive] #2071: SciTools IRIS 2.10 missing from Python3

OSGeoLive trac_osgeolive at osgeo.org
Mon Dec 14 12:21:50 PST 2020


#2071: SciTools IRIS 2.10 missing from Python3
------------------------------------+----------------------------
 Reporter:  darkblueb               |       Owner:  osgeolive@…
     Type:  defect                  |      Status:  new
 Priority:  critical                |   Milestone:  OSGeoLive14.0
Component:  OSGeoLive               |  Resolution:
 Keywords:  python, IRIS, scitools  |
------------------------------------+----------------------------

Comment (by kalxas):

 Current Iris build error:

 {{{
 Unable to create '/usr/lib/python3/dist-
 packages/pyke/krb_compiler/krbparser_tables.py'
 [Errno 13] Permission denied: '/usr/lib/python3/dist-
 packages/pyke/krb_compiler/krbparser_tables.py'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/pyke/knowledge_engine.py", line
 108, in __init__
     target_package.compile(self)
   File "/usr/lib/python3/dist-packages/pyke/target_pkg.py", line 285, in
 compile
     self.do_by_ext('compile',
   File "/usr/lib/python3/dist-packages/pyke/target_pkg.py", line 265, in
 do_by_ext
     return getattr(self, "%s_%s" % (prefix, ext))(filename, *args)
   File "/usr/lib/python3/dist-packages/pyke/target_pkg.py", line 298, in
 compile_krb
     return krb_compiler.compile_krb(rb_name, self.package_name,
   File "/usr/lib/python3/dist-packages/pyke/krb_compiler/__init__.py",
 line 114, in compile_krb
     ast = krbparser.parse(krbparser, filename)
   File "/usr/lib/python3/dist-packages/pyke/krb_compiler/krbparser.py",
 line 595, in parse
     scanner.init(scanner, debug, check_tables)
   File "/usr/lib/python3/dist-packages/pyke/krb_compiler/scanner.py", line
 688, in init
     lexer = lex.lex(module=this_module, optimize=1,
   File "/usr/lib/python3/dist-packages/pyke/krb_compiler/ply/lex.py", line
 1004, in lex
     lexobj.writetab(lextab,outputdir)
   File "/usr/lib/python3/dist-packages/pyke/krb_compiler/ply/lex.py", line
 176, in writetab
     tf = open(filename,"w")
 PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-
 packages/pyke/krb_compiler/scanner_tables.py'
 error: command '/usr/bin/python3' failed with exit status 1
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2071#comment:11>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list