[GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

GRASS GIS trac at osgeo.org
Tue Nov 13 06:27:23 PST 2012


#1787: Profile Analysis Tool Problems
--------------------------+-------------------------------------------------
 Reporter:  stu           |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.3                    
Component:  wxGUI         |     Version:  6.4.3 RCs                
 Keywords:  profile tool  |    Platform:  Unspecified              
      Cpu:  OSX/Intel     |  
--------------------------+-------------------------------------------------

Comment(by stu):

 Replying to [comment:4 cmbarton]:
 > The error message reported in #1 doesn't make sense. Line 343 of
 profile.py is:
 >
 > pfile = path+'_'+str(r['name'])+'.csv'
 >
 > I also don't understand how a path on my computer is showing up in the
 error message since "path" in line 343 is defined by:
 >
 > path = dlg.GetPath()
 >
 > This doesn't at all look like GRASS 6.4.3

 Sorry to report that it is indeed 6.4.3

 I downloaded and reinstalled the 6.4.3 binary and was able to replicate
 these errors.

 The same function (Profile tool - save to csv) produces the following in
 GRASS 7.0 svn

 ''Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass70_dev/dist.x86_64
 -apple-darwin12.2.0/etc/gui/wxpython/wxplot/profile.py",
 line 340, in SaveProfileToFile

 ppt, pit, pet, pfn, pframe, pcur = rcur
 TypeError
 :
 string indices must be integers
 ''
 The plot itself has the same characteristics as reported in the bug report
 for 6.4.3

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1787#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list