[GRASS GIS] #570: startup problem with standalone GRASS install

60 messages Options
Embed this post
Permalink
1 2 3
GRASS GIS

Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#570: startup problem with standalone GRASS install
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  timmie  
      Type:  defect        |      Status:  reopened
  Priority:  normal        |   Milestone:  6.4.0    
 Component:  Installation  |     Version:  6.4.0 RCs
Resolution:                |    Keywords:          
  Platform:  MSWindows XP  |         Cpu:  x86-32  
---------------------------+------------------------------------------------
Comment (by timmie):

 Replying to [comment:17 hamish]:
 > > Where can upload a ZIP for verification?
 > verification of what? what's in the ZIP file?
 Yes. I mean, now it works on my computer.
 But I guess we need to verify if others with different python
 installations are also affected.
 Take the contents of the ZIP to compare what has changed.

 > > One small issue: When GRASS is started from the menu shortcut,
 > > there is still an empty dos CLI in the background.
 Sorry, I should have written:
 An empty DOS window with no command promp. Just a black window.

 >  - in Colin's stand-alone installer the empty dos box is now minimized
 by default. maybe some valuable error messages could end up there; maybe
 Glynn will rewrite grass.bat into a general launch_grass.py.
 I think after my replacement of the win32* packages in the GRASS python
 install, Colins minimisation doesn't work.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/570#comment:18>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

GRASS GIS wrote:

>  >  - in Colin's stand-alone installer the empty dos box is now minimized
>  by default. maybe some valuable error messages could end up there; maybe
>  Glynn will rewrite grass.bat into a general launch_grass.py.

Can anyone tell me where to find a Windows version of wxPython which
works for compiling GRASS?

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/7 Glynn Clements <[hidden email]>:
>
> GRASS GIS wrote:
>
>>  >  - in Colin's stand-alone installer the empty dos box is now minimized
>>  by default. maybe some valuable error messages could end up there; maybe
>>  Glynn will rewrite grass.bat into a general launch_grass.py.
>
> Can anyone tell me where to find a Windows version of wxPython which
> works for compiling GRASS?

do you mean for compiling extensions like vdigit or nviz? If so, I
don't know ... It's possible to compile the extensions with wxPython
from osgeo4w, but loading fails due to the swig-related errors.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Martin Landa wrote:

> >>  >  - in Colin's stand-alone installer the empty dos box is now minimized
> >>  by default. maybe some valuable error messages could end up there; maybe
> >>  Glynn will rewrite grass.bat into a general launch_grass.py.
> >
> > Can anyone tell me where to find a Windows version of wxPython which
> > works for compiling GRASS?
>
> do you mean for compiling extensions like vdigit or nviz? If so, I
> don't know ... It's possible to compile the extensions with wxPython
> from osgeo4w, but loading fails due to the swig-related errors.

I mean "configure --with-python --with-wxwidgets=...".

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS

Glynn:
> > > Can anyone tell me where to find a Windows version of wxPython
> > > which works for compiling GRASS?

Martin wrote:
> > do you mean for compiling extensions like vdigit or nviz? If so, I
> > don't know ... It's possible to compile the extensions with wxPython
> > from osgeo4w, but loading fails due to the swig-related errors.

Glynn:
> I mean "configure --with-python --with-wxwidgets=...".

ie where to find the wx-config program? I've filed a ticket with osgeo4w,
hopefully it's not noise.

http://trac.osgeo.org/osgeo4w/ticket/85


Hamish



     

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/8 Hamish <[hidden email]>:
>> I mean "configure --with-python --with-wxwidgets=...".
>
> ie where to find the wx-config program? I've filed a ticket with osgeo4w,
> hopefully it's not noise.
>
> http://trac.osgeo.org/osgeo4w/ticket/85

wx-config is not part of the OSGeo4w wxPython package. Probably you
need to compile your own wxPython using mingw. Also python-config is
missing. Question: do we need python-config? wxGUI extensions are
build using setup.py. So --with-python could check only if 'python'
binaries are available (?)

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Martin Landa wrote:

> >> I mean "configure --with-python --with-wxwidgets=...".
> >
> > ie where to find the wx-config program? I've filed a ticket with osgeo4w,
> > hopefully it's not noise.
> >
> > http://trac.osgeo.org/osgeo4w/ticket/85
>
> wx-config is not part of the OSGeo4w wxPython package. Probably you
> need to compile your own wxPython using mingw. Also python-config is
> missing. Question: do we need python-config? wxGUI extensions are
> build using setup.py. So --with-python could check only if 'python'
> binaries are available (?)

Okay, I'm going to hold off doing anything regarding Windows until
that gets sorted out.

Ultimately, one of the biggest problems facing the Windows version is
that it's *still* a major hassle to compile GRASS on Windows.

Anyone interested in having GRASS work well on Windows would be well
advised to spend less time worrying about end users, and spend more
time making life easy for developers.

Otherwise, we're going to remain stuck in the situation where, at any
given time, at most one person has the ability to compile GRASS on
Windows, that one person spends their time focusing on end users, but
they eventually get fed up and quit because they're having to do it
all themselves.

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/8 Glynn Clements <[hidden email]>:
>> wx-config is not part of the OSGeo4w wxPython package. Probably you
>> need to compile your own wxPython using mingw. Also python-config is
>
> Ultimately, one of the biggest problems facing the Windows version is
> that it's *still* a major hassle to compile GRASS on Windows.
>
> Anyone interested in having GRASS work well on Windows would be well
> advised to spend less time worrying about end users, and spend more
> time making life easy for developers.

Agreed.

>> missing. Question: do we need python-config? wxGUI extensions are
>> build using setup.py. So --with-python could check only if 'python'
>> binaries are available (?)

to the question: any objection to make python-config checking
optional? So --with-python will check if python binaries are available
and optionally also python-config.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Martin Landa wrote:

> >> missing. Question: do we need python-config? wxGUI extensions are
> >> build using setup.py. So --with-python could check only if 'python'
> >> binaries are available (?)
>
> to the question: any objection to make python-config checking
> optional? So --with-python will check if python binaries are available
> and optionally also python-config.

Whatever works, really.

Preferably, whatever works with the wxPython binary packages from
wxpython.org, rather than requiring a GRASS-specific version.

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/9 Glynn Clements <[hidden email]>:
>> to the question: any objection to make python-config checking
>> optional? So --with-python will check if python binaries are available
>> and optionally also python-config.
>
> Whatever works, really.
>
> Preferably, whatever works with the wxPython binary packages from
> wxpython.org, rather than requiring a GRASS-specific version.

OK, done in r37060.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Martin Landa wrote:

> >> to the question: any objection to make python-config checking
> >> optional? So --with-python will check if python binaries are available
> >> and optionally also python-config.
> >
> > Whatever works, really.
> >
> > Preferably, whatever works with the wxPython binary packages from
> > wxpython.org, rather than requiring a GRASS-specific version.
>
> OK, done in r37060.

Er, I think I misread "python-config" as "wx-config".

While this change is reasonable enough in itself, it doesn't help with
the issue of needing a working wx-config program in order to build the
extensions.

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Glynn Clements wrote:

> > >> to the question: any objection to make python-config checking
> > >> optional? So --with-python will check if python binaries are available
> > >> and optionally also python-config.
> > >
> > > Whatever works, really.
> > >
> > > Preferably, whatever works with the wxPython binary packages from
> > > wxpython.org, rather than requiring a GRASS-specific version.
> >
> > OK, done in r37060.
>
> Er, I think I misread "python-config" as "wx-config".
>
> While this change is reasonable enough in itself,

Actually, I take that back. The SWIG wrappers need PYTHON_CFLAGS etc,
so configure should generate a fatal error if --with-python is given
but python-config can't be found. Either that, or configure needs to
get this information from setup.py.

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/9 Glynn Clements <[hidden email]>:

[...]

>> > OK, done in r37060.
>>
>> Er, I think I misread "python-config" as "wx-config".
>>
>> While this change is reasonable enough in itself,
>
> Actually, I take that back. The SWIG wrappers need PYTHON_CFLAGS etc,
> so configure should generate a fatal error if --with-python is given
> but python-config can't be found. Either that, or configure needs to
> get this information from setup.py.

Probably SWIG wrappers should be also build with setup.py...

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS

> Martin Landa wrote:
> > wx-config is not part of the OSGeo4w wxPython package.
> > Probably you need to compile your own wxPython using mingw.
> > Also python-config is missing. Question: do we need python-
> >config? wxGUI extensions are build using setup.py. So --with-
> >python could check only if 'python' binaries are available
> > (?)
Glynn:
> Okay, I'm going to hold off doing anything regarding
> Windows until that gets sorted out.

(if you guys haven't already read jef's input from that osgeo4w
bug report it may be useful..)

 
> Ultimately, one of the biggest problems facing the Windows
> version is that it's *still* a major hassle to compile GRASS
> on Windows.
>
> Anyone interested in having GRASS work well on Windows would
> be well advised to spend less time worrying about end users,
> and spend more time making life easy for developers.

my hope was to patch up few remaining issues so we can ship a
fully featued 6.4.0 out the door now, and make it pretty later.
as the core 6.4 is quite well tested now most wingrass user
issues tend to stem from build issues, so hopefully working
from both ends complement each other.

 
> Otherwise, we're going to remain stuck in the situation
> where, at any given time, at most one person has the ability
> to compile GRASS on Windows, that one person spends their time
> focusing on end users, but they eventually get fed up and
> quit because they're having to do it all themselves.

no arguement there.


Hamish



     

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
Hi,

2009/5/9 Hamish <[hidden email]>:
>> Okay, I'm going to hold off doing anything regarding
>> Windows until that gets sorted out.
>
> (if you guys haven't already read jef's input from that osgeo4w
> bug report it may be useful..)

personally I spent a lot of my time trying to compile and run wxGUI
vdigit on MS Windows - without success till now. And to be honest I am
going to be frustrated from that. ;-)

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink

Martin Landa wrote:

> >> Okay, I'm going to hold off doing anything regarding
> >> Windows until that gets sorted out.
> >
> > (if you guys haven't already read jef's input from that osgeo4w
> > bug report it may be useful..)
>
> personally I spent a lot of my time trying to compile and run wxGUI
> vdigit on MS Windows - without success till now. And to be honest I am
> going to be frustrated from that. ;-)

FWIW, I eventually managed to get most of 7.0 to compile on Windows,
although a few bugs needed fixing. I had to upgrade make to 3.81.

r.li, r.tileset and Tcl/Tk NVIZ failed to compile.

r.li and r.tileset are known issues; r.li is Unix-specific, while
r.tileset is a bash script. I don't know what's up with NVIZ; it's
throwing up "undefined reference" errors for Tcl/Tk and OpenGL which
imply that the linker finds the import libraries but not the DLLs.

This is --without-python (I don't have SWIG installed) and
--without-wxwidgets (AFAICT, the wxWidgets and wxPython binary
packages don't work with wx-config.exe). The wxGUI works.

--
Glynn Clements <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#570: startup problem with standalone GRASS install
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  timmie          
      Type:  defect        |      Status:  reopened        
  Priority:  normal        |   Milestone:  6.4.0          
 Component:  Installation  |     Version:  svn-develbranch6
Resolution:                |    Keywords:                  
  Platform:  MSWindows XP  |         Cpu:  x86-32          
---------------------------+------------------------------------------------
Changes (by timmie):

  * version:  6.4.0 RCs => svn-develbranch6

Comment:

 Hello,
 this problem persists on my computer with the latest where PythonXY is
 installed to the path:
 C:\python25.

 regards,
 Timmie

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/570#comment:19>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#570: startup problem with standalone GRASS install
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  timmie          
      Type:  defect        |      Status:  reopened        
  Priority:  normal        |   Milestone:  6.4.0          
 Component:  Installation  |     Version:  svn-develbranch6
Resolution:                |    Keywords:                  
  Platform:  MSWindows XP  |         Cpu:  x86-32          
---------------------------+------------------------------------------------
Comment (by timmie):

 The problem still persists with
 WinGRASS-6.4.0RC5-1-Setup.exe -
 http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe

 But it appears to be a problem of PythonXY.
 we are trying to fix it there:
 http://groups.google.com/group/pythonxy/browse_thread/thread/8ccf18a2790a3b56?hl=en

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/570#comment:20>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#570: startup problem with standalone GRASS install
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  timmie          
      Type:  defect        |      Status:  reopened        
  Priority:  normal        |   Milestone:  6.4.0          
 Component:  Installation  |     Version:  svn-develbranch6
Resolution:                |    Keywords:                  
  Platform:  MSWindows XP  |         Cpu:  x86-32          
---------------------------+------------------------------------------------
Comment (by hamish):

 Are the GRASS_PYTHON, PATH, and PYTHON_PATH environment variables all set
 to pick up a consistent version of modern python? if grass tries to run
 it's own python.exe but the PATH order grabs the .dll from PythonXY first,
 it's likely you will see errors.


 Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/570#comment:21>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #570: startup problem with standalone GRASS install

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#570: startup problem with standalone GRASS install
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  timmie          
      Type:  defect        |      Status:  reopened        
  Priority:  normal        |   Milestone:  6.4.0          
 Component:  Installation  |     Version:  svn-develbranch6
Resolution:                |    Keywords:  wingrass, python
  Platform:  MSWindows XP  |         Cpu:  x86-32          
---------------------------+------------------------------------------------
Changes (by hamish):

  * keywords:  => wingrass, python

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/570#comment:22>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
1 2 3