[GRASS-user] g.extension -

Ok - so to work around the problem I compiled GRASS 70 with the following flags following the instructions at

http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS

Not seeing any compilation errors.

CFLAGS=“-O2 -Wall” LDFLAGS=“-s” ./configure
–enable-largefile=yes
–enable-64bit
–with-libs=/usr/lib
–with-nls
–with-cxx
–with-proj-share=/usr/share/proj
–with-geos=/usr/bin/geos-config
–with-readline
–with-python=yes
–with-wxwidgets
–with-cairo
–with-opengl-libs=/usr/include/GL
–with-motif
–with-tcltk-includes=“/usr/include/tcl8.5”
–with-ffmpeg=yes --with-ffmpeg-includes=“/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale /usr/include/libavutil”
–with-freetype=yes --with-freetype-includes=“/usr/include/freetype2/”
–with-postgres=no
–with-postgresql=no
–with-sqlite=yes
–with-mysql=no
–with-odbc=no

On Fri, Jan 31, 2014 at 3:56 PM, Craig Aumann <craigaumann@gmail.com> wrote:

Ok - so to work around the problem I compiled GRASS 70 with the following
flags following the instructions at

http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS

Not seeing any compilation errors.

CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
--enable-largefile=yes \
--enable-64bit \
--with-libs=/usr/lib \
--with-nls \
--with-cxx \
--with-proj-share=/usr/share/proj \
--with-geos=/usr/bin/geos-config \
--with-readline \
--with-python=yes \
--with-wxwidgets \
--with-cairo \
--with-opengl-libs=/usr/include/GL \
--with-motif \
--with-tcltk-includes="/usr/include/tcl8.5" \
--with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec
/usr/include/libavformat /usr/include/libswscale /usr/include/libavutil" \
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \
--with-postgres=no \
--with-postgresql=no \
--with-sqlite=yes \
--with-mysql=no \
--with-odbc=no

---------------------------------

When I start grass 70 I get:

Hit RETURN to continue
Starting GRASS GIS...
access: No such file or directory
ERROR: LOCATION </home/caumann/<UNKNOWN>> not available
Traceback (most recent call last):
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py", line 48, in
<module>
    from gui_core.dialogs import TextEntryDialog
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py",
line 49, in <module>
    from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py",
line 59, in <module>
    import grass.temporal as tgis
  File "/usr/local/grass-7.0.svn/etc/python/grass/temporal/__init__.py",
line 29, in <module>
    from temporal_vector_algebra import *
  File
"/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py",
line 436, in <module>
    m_overlay = pygrass.Module('v.overlay', quiet=True, run_=False)
  File
"/usr/local/grass-7.0.svn/etc/python/grass/pygrass/modules/interface/module.py",
line 252, in __init__
    tree = fromstring(self.xml)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1302, in XML
    return parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in
_raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
Error in GUI startup. If necessary, please report this error to the GRASS
developers.
Switching to text mode now.

Hit RETURN to continue...
^CTraceback (most recent call last):
  File "/usr/local/bin/grass70", line 1324, in <module>
    set_data()
  File "/usr/local/bin/grass70", line 679, in set_data
    gui_startup()
  File "/usr/local/bin/grass70", line 700, in gui_startup
    sys.stdin.readline()
KeyboardInterrupt

-------------------------

What did I forget to include???

You did everything right and you discovered another bug. I unfortunately

cannot reproduce it (Ubuntu 12.04).

Try please GRASS revision 58806:

svn up -r58806
make distclean
./configure...
make
./bin.../grass70

and if it will work (and you will have still strength to continue) please
try also revision 58807.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

The good news is that r58806 works!

Bad news is that r58807 is giving the same errors as what I had before:

ERROR: LOCATION </home/caumann/Desktop/> not available
Traceback (most recent call last):
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py”, line 48, in
from gui_core.dialogs import TextEntryDialog
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py”, line 49, in
from gui_core.gselect import LocationSelect, MapsetSelect, Select,
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py”, line 59, in
import grass.temporal as tgis
File “/usr/local/grass-7.0.svn/etc/python/grass/temporal/init.py”, line 29, in
from temporal_vector_algebra import *
File “/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py”, line 436, in

···

On Fri, Jan 31, 2014 at 2:08 PM, wenzeslaus [via OSGeo.org] <[hidden email]> wrote:


grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user


If you reply to this email, your message will be added to the discussion below:

http://osgeo-org.1560.x6.nabble.com/g-extension-tp5101045p5101289.html

To unsubscribe from g.extension -, click here.
NAML

On Fri, Jan 31, 2014 at 3:56 PM, Craig Aumann <[hidden email]> wrote:

Ok - so to work around the problem I compiled GRASS 70 with the following flags following the instructions at

http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS

Not seeing any compilation errors.

CFLAGS=“-O2 -Wall” LDFLAGS=“-s” ./configure
–enable-largefile=yes
–enable-64bit
–with-libs=/usr/lib
–with-nls
–with-cxx
–with-proj-share=/usr/share/proj
–with-geos=/usr/bin/geos-config
–with-readline
–with-python=yes
–with-wxwidgets
–with-cairo
–with-opengl-libs=/usr/include/GL
–with-motif
–with-tcltk-includes=“/usr/include/tcl8.5”
–with-ffmpeg=yes --with-ffmpeg-includes=“/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale /usr/include/libavutil”
–with-freetype=yes --with-freetype-includes=“/usr/include/freetype2/”
–with-postgres=no
–with-postgresql=no
–with-sqlite=yes
–with-mysql=no
–with-odbc=no


When I start grass 70 I get:

Hit RETURN to continue
Starting GRASS GIS…
access: No such file or directory
ERROR: LOCATION </home/caumann/> not available
Traceback (most recent call last):
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py”, line 48, in
from gui_core.dialogs import TextEntryDialog
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py”, line 49, in
from gui_core.gselect import LocationSelect, MapsetSelect, Select,
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py”, line 59, in
import grass.temporal as tgis
File “/usr/local/grass-7.0.svn/etc/python/grass/temporal/init.py”, line 29, in
from temporal_vector_algebra import *
File “/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py”, line 436, in
m_overlay = pygrass.Module(‘v.overlay’, quiet=True, run_=False)
File “/usr/local/grass-7.0.svn/etc/python/grass/pygrass/modules/interface/module.py”, line 252, in init
tree = fromstring(self.xml)
File “/usr/lib/python2.7/xml/etree/ElementTree.py”, line 1302, in XML
return parser.close()
File “/usr/lib/python2.7/xml/etree/ElementTree.py”, line 1655, in close
self._raiseerror(v)
File “/usr/lib/python2.7/xml/etree/ElementTree.py”, line 1507, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
Error in GUI startup. If necessary, please report this error to the GRASS developers.
Switching to text mode now.

Hit RETURN to continue…
^CTraceback (most recent call last):
File “/usr/local/bin/grass70”, line 1324, in
set_data()
File “/usr/local/bin/grass70”, line 679, in set_data
gui_startup()
File “/usr/local/bin/grass70”, line 700, in gui_startup
sys.stdin.readline()
KeyboardInterrupt


What did I forget to include???

You did everything right and you discovered another bug. I unfortunately cannot reproduce it (Ubuntu 12.04).

Try please GRASS revision 58806:

svn up -r58806

make distclean
./configure…
make
./bin…/grass70

and if it will work (and you will have still strength to continue) please try also revision 58807.


grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, Jan 31, 2014 at 4:46 PM, caumann <craigaumann@gmail.com> wrote:

The good news is that r58806 works!

Bad news is that r58807 is giving the same errors as what I had before:

ERROR: LOCATION </home/caumann/Desktop/<UNKNOWN>> not available
Traceback (most recent call last):
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py", line 48, in
<module>
    from gui_core.dialogs import TextEntryDialog
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py",
line 49, in <module>
    from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py",
line 59, in <module>
    import grass.temporal as tgis
  File "/usr/local/grass-7.0.svn/etc/python/grass/temporal/__init__.py",
line 29, in <module>
    from temporal_vector_algebra import *
  File
"/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py",
line 436, in <module>

-----------------

Anyways - I'm a tad happier now and thanks for everyone's help!

And thank you for testing. This at least point us to some direction.

Vaclav

On Fri, Jan 31, 2014 at 2:08 PM, wenzeslaus [via OSGeo.org] <[hidden
email] <http://user/SendEmail.jtp?type=node&node=5101294&i=0&gt;&gt; wrote:

On Fri, Jan 31, 2014 at 3:56 PM, Craig Aumann <[hidden email]<http://user/SendEmail.jtp?type=node&node=5101289&i=0&gt;
> wrote:

Ok - so to work around the problem I compiled GRASS 70 with the
following flags following the instructions at

http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS

Not seeing any compilation errors.

CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \
--enable-largefile=yes \
--enable-64bit \
--with-libs=/usr/lib \
--with-nls \
--with-cxx \
--with-proj-share=/usr/share/proj \
--with-geos=/usr/bin/geos-config \
--with-readline \
--with-python=yes \
--with-wxwidgets \
--with-cairo \
--with-opengl-libs=/usr/include/GL \
--with-motif \
--with-tcltk-includes="/usr/include/tcl8.5" \
--with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec
/usr/include/libavformat /usr/include/libswscale /usr/include/libavutil" \
--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \
--with-postgres=no \
--with-postgresql=no \
--with-sqlite=yes \
--with-mysql=no \
--with-odbc=no

---------------------------------

When I start grass 70 I get:

Hit RETURN to continue
Starting GRASS GIS...
access: No such file or directory
ERROR: LOCATION </home/caumann/<UNKNOWN>> not available
Traceback (most recent call last):
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gis_set.py", line 48,
in <module>
    from gui_core.dialogs import TextEntryDialog
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/dialogs.py",
line 49, in <module>
    from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/gselect.py",
line 59, in <module>
    import grass.temporal as tgis
  File "/usr/local/grass-7.0.svn/etc/python/grass/temporal/__init__.py",
line 29, in <module>
    from temporal_vector_algebra import *
  File
"/usr/local/grass-7.0.svn/etc/python/grass/temporal/temporal_vector_algebra.py",
line 436, in <module>
    m_overlay = pygrass.Module('v.overlay', quiet=True, run_=False)
  File
"/usr/local/grass-7.0.svn/etc/python/grass/pygrass/modules/interface/module.py",
line 252, in __init__
    tree = fromstring(self.xml)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1302, in XML
    return parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in
_raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
Error in GUI startup. If necessary, please report this error to the
GRASS developers.
Switching to text mode now.

Hit RETURN to continue...
^CTraceback (most recent call last):
  File "/usr/local/bin/grass70", line 1324, in <module>
    set_data()
  File "/usr/local/bin/grass70", line 679, in set_data
    gui_startup()
  File "/usr/local/bin/grass70", line 700, in gui_startup
    sys.stdin.readline()
KeyboardInterrupt

-------------------------

What did I forget to include???

You did everything right and you discovered another bug. I unfortunately

cannot reproduce it (Ubuntu 12.04).

Try please GRASS revision 58806:

svn up -r58806
make distclean
./configure...
make
./bin.../grass70

and if it will work (and you will have still strength to continue) please
try also revision 58807.

_______________________________________________
grass-user mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=5101289&i=1&gt;
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=5101289&i=2&gt;
http://lists.osgeo.org/mailman/listinfo/grass-user

------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://osgeo-org.1560.x6.nabble.com/g-extension-tp5101045p5101289.html
To unsubscribe from g.extension -, click here.
NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html!nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers!nabble%3Aemail.naml-instant_emails!nabble%3Aemail.naml-send_instant_email!nabble%3Aemail.naml&gt;

------------------------------
View this message in context: Re: g.extension -<http://osgeo-org.1560.x6.nabble.com/g-extension-tp5101045p5101294.html&gt;

Sent from the Grass - Users mailing list archive<http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html&gt;at Nabble.com.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user