[GRASS-dev] [GRASS GIS] #1647: GRASS 6.4.2: g.extension.py crash on Fedora 16

GRASS GIS trac at osgeo.org
Wed Apr 25 03:22:45 EDT 2012


#1647: GRASS 6.4.2: g.extension.py crash on Fedora 16
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Python       |     Version:  svn-releasebranch64      
 Keywords:  g.extension  |    Platform:  Linux                    
      Cpu:  x86-32       |  
-------------------------+--------------------------------------------------
 Using the package from Fedora 16, 32bit:

 {{{
 (Wed Apr 25 09:18:26 2012)
 g.extension.py extension=r.vol.dem operation=add
 Traceback (most recent call last):
   File
 "/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
 802, in <module>
     sys.exit(main())
   File
 "/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
 790, in main
     check_dirs()
   File
 "/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
 735, in check_dirs
     check_style_files('grass_logo.png')
   File
 "/usr/lib/grass-6.4.2/etc/gui/scripts/g.extension.py", line
 717, in check_style_files
     shutil.copyfile(dist_file,addons_file)
   File "/usr/lib/python2.7/shutil.py", line 81, in copyfile
     with open(src, 'rb') as fsrc:
 IOError: [Errno 2] No such file or directory:
 '/usr/lib/grass-6.4.2/docs/html/grass_logo.png'
 (Wed Apr 25 09:18:26 2012) Befehl ausgeführt (0 sec)
 }}}

 But:

 {{{
 ls -la /usr/lib/python2.7/shutil.py
 -rw-r--r--. 1 root root 18302 27. Okt 03:36 /usr/lib/python2.7/shutil.py

 locate grass_logo.png | grep 6.4.2
 /usr/share/doc/grass-6.4.2/docs/html/grass_logo.png
 /usr/share/doc/grass-6.4.2/docs/html/nviz/grass_logo.png
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1647>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list