@All -
The key info that I was missing was the need to actually read in the @auto nodes. There is so much to leo, and the docs are so rich, that some key pieces of information are lost in all that. I'll do what I can to help on this as I learn leo.


@Matt -
I tried importing your dataset, leo log below.

It seems that you have whitespace errors in your python files. For instance, in fusion.py, you have whitespace before a newline at line 54:

Original file...

  52 u'    def __init__(self,geoTr):\n'
  53 u'        self.set(geoTr)\n'
  54 u'    \n'
  55 u'    def __str__(self):\n'
  56 u'        s = str(self.toList())\n'

Imported file...

  52 u'    def __init__(self,geoTr):\n'
  53 u'        self.set(geoTr)\n'
  54 u'\n'
  55 u'    def __str__(self):\n'
  56 u'        s = str(self.toList())\n'

Other files have different errors...

reading: @auto gdal_vrtmerge.py
error: intermixed blanks and tabs
error: inconsistent leading whitespace. tabs converted to blanks


Thanks for the help, you unblocked me!

-Todd

---------------------------
leo.log
---------------------------
saved: workbook.leo
done
reading: @auto AliasFeatureclassConversion.py
reading: @auto list-fc-aliases.py
reading: @auto xx-set-alias.py
reading: @auto fusion.py
error: @auto did not import @auto fusion.py perfectly
first mismatched line: 54 (original) = 54 (imported)
Original file...

  52 u'    def __init__(self,geoTr):\n'
  53 u'        self.set(geoTr)\n'
  54 u'    \n'
  55 u'    def __str__(self):\n'
  56 u'        s = str(self.toList())\n'

Imported file...

  52 u'    def __init__(self,geoTr):\n'
  53 u'        self.set(geoTr)\n'
  54 u'\n'
  55 u'    def __str__(self):\n'
  56 u'        s = str(self.toList())\n'
inserting @ignore
errors inhibited read @auto /home/todd/temp/maphew/maphew-3bdfb2adb6d9/gis/gdal_extras/bin/fusion.py
reading: @auto gdal_vrtmerge.py
error: intermixed blanks and tabs
error: inconsistent leading whitespace. tabs converted to blanks
inserting @ignore
errors inhibited read @auto /home/todd/temp/maphew/maphew-3bdfb2adb6d9/gis/gdal_extras/bin/gdal_vrtmerge.py
reading: @auto gdalcopyproj.py
reading: @auto gdalsetnull.py
reading: @auto Tool_BrightContrastGamma.py
error: intermixed blanks and tabs
error: inconsistent leading whitespace. tabs converted to blanks
warning: underindented python comments.
Extra leading whitespace will be added
#        box.pack_start(but)
warning: underindented python comments.
Extra leading whitespace will be added
#        box.pack_start(but)
inserting @ignore
errors inhibited read @auto /home/todd/temp/maphew/maphew-3bdfb2adb6d9/gis/gdal_extras/tools/Tool_BrightContrastGamma.py
reading: @auto cyg-apt.py
error: inconsistent leading whitespace. tabs converted to blanks
inserting @ignore
errors inhibited read @auto /home/todd/temp/maphew/maphew-3bdfb2adb6d9/gis/o4w_extras/bin/cyg-apt.py
reading: @auto gdal-makeworld.py
reading: @auto apt.py
finished

On 11/30/2012 02:10 AM, Matt Wilkie wrote:
 > I get the same results: the structure is created but the @auto nodes
are empty.

that should read: I get the same results using "Recursive create @auto
nodes"...

--
You received this message because you are subscribed to the Google
Groups "leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.


--
Todd Greenwood-Geer

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to