On Sun, 2 Aug 2015, Glynn Clements wrote:
As for why the wxPython check fails, I would assume that it's something
specific to your particular installation.
Glynn,
I suspected that the issue is related to having two wxPython versions
installed here. The build problem arose only after I
Rich Shepard wrote:
This situation appears related to generating some html. Does this
help indentifying the source of my problem?
The manual page for a module normally involves running the module with
the --html-description switch to get a list of its options. This
ensures that the
On Thu, 30 Jul 2015, Rich Shepard wrote:
There were no build errors from the svn checkout 3 weeks ago; no python or
gtk packages updated since then.
Actually, wxGTK was updated on 7 July. The last source updat and sucessful
build was the previous Friday, 3 July.
Yesterday I re-built and
Rich Shepard wrote:
The wxPython version is handled by the CheckForWx() function in
gui/wxpython/core/globalvar.py. The default is taken from the
GRASS_WXVERSION environment variable if that's defined, otherwise it
allows wxversion to select the version, subject to the constraint that
On Thu, 30 Jul 2015, Glynn Clements wrote:
export GRASS_WXVERSION=2.8-gtk2-unicode
Glynn,
In ~/.bash_profile either:
export GRASS_WXVERSION=wxGTK-2.8.12
or
export GRASS_WXVERSION=wx-2.8-gtk2-unicode
and sourced.
Both result in same error in:
On Mon, 27 Jul 2015, Glynn Clements wrote:
The wxPython version is handled by the CheckForWx() function in
gui/wxpython/core/globalvar.py. The default is taken from the
GRASS_WXVERSION environment variable if that's defined, otherwise it
allows wxversion to select the version, subject to the
On Mon, 27 Jul 2015, Anna Petrášová wrote:
There is nothing like that in the configure.
Anna,
I did not see any, either.
I don't have currently any good advice, but you don't have to modify the
code after every svn up if your local changes don't cause a conflict. If
you think there is
On Mon, 27 Jul 2015, Rich Shepard wrote:
Should I grep the source tree for 'import wx' or is there a single file in
which it is imported?
Sigh, As expected, it's in every .py file. I see an awk script in the near
future.
Thanks, Anna,
Rich
___
On Mon, 27 Jul 2015, Carlos Grohmann wrote:
maybe something like
--with-wxwidgets=/usr/local/lib/wxPython-3.0.2.0/bin/wx-config \
during configure?
Carlos,
The configuration file contains the line
--with-wxwidgets=/usr/bin/wx-config
and wx-config has a way of specifying a version using a
Rich,
If I just run wx-config, I get this:
wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release]
[--version-full]
[--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT]
[--universal[=yes|no]] [--unicode[=yes|no]] [--static[=yes|no]]
maybe something like
--with-wxwidgets=/usr/local/lib/wxPython-3.0.2.0/bin/wx-config \
during configure?
Carlos
On Mon, Jul 27, 2015 at 9:55 AM, Rich Shepard rshep...@appl-ecosys.com
wrote:
On Mon, 27 Jul 2015, Rich Shepard wrote:
Should I grep the source tree for 'import wx' or is there
Anna, Carlos, et al.:
Found the solution; perhaps this will help others in the future.
Add these lines to wxgui.py:
import wxversion
wxversion.select('3.0.2.0')
just above the line
import wx
That's the only place needed. I suspect that wxgui.py is not changed that
often so this is easy
On Mon, 27 Jul 2015, Rich Shepard wrote:
Found the solution; perhaps this will help others in the future.
Add these lines to wxgui.py:
Turns out to be a lot more complicated. It's always the tplot module that
fails, so I added the wxversion.select() to all *.py modules. Makes no
Rich Shepard wrote:
I have two wxPython versions installed: -2.8.12.1 for one application (I
forget which one requires this version) and -3.0.2.0 for applications I
develop.
In an application here the main module needs include these lines:
import wxversion
On Mon, 27 Jul 2015, Glynn Clements wrote:
The wxPython version is handled by the CheckForWx() function in
gui/wxpython/core/globalvar.py. The default is taken from the
GRASS_WXVERSION environment variable if that's defined, otherwise it
allows wxversion to select the version, subject to the
On Jul 26, 2015 1:56 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
I have two wxPython versions installed: -2.8.12.1 for one application (I
forget which one requires this version) and -3.0.2.0 for applications I
develop.
In an application here the main module needs include these
I have two wxPython versions installed: -2.8.12.1 for one application (I
forget which one requires this version) and -3.0.2.0 for applications I
develop.
In an application here the main module needs include these lines:
import wxversion
wxversion.select('3.0.2.0')
import wx
Because I
17 matches
Mail list logo