[GRASS-dev] issue with r47915 for devbranch 6

I just backported a few recent changes in colorrules.py from trunk to devbranch 6 to catch up with recent updates to this module.

However, I find that it does not work. What is broken is not something I changed, so I'm not sure where trunk and devbranch 6 diverged so that backports don't work. So I don't want to try to fix this without understanding where these differ.

The error raised by colorrules.py in devbranch 6 is:

Traceback (most recent call last):
  File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
/wxpython/wxgui.py", line 992, in RulesCmd

ctable = colorrules.ColorTable(self, raster = False)
TypeError
:
__init__() takes at least 3 non-keyword arguments (2 given)

So it is not in colorrules.py proper.

Can someone take a look at this and advise on how best to proceed? A rollback or something else?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Hi Michael,

On Sun, Aug 28, 2011 at 1:47 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I just backported a few recent changes in colorrules.py from trunk to devbranch 6 to catch up with recent updates to this module.

However, I find that it does not work. What is broken is not something I changed, so I'm not sure where trunk and devbranch 6 diverged so that backports don't work. So I don't want to try to fix this without understanding where these differ.

everything is ok for me. The code which raises the error is old and it
was changed a few weeks ago. I guess you forgot to update wxgui.py.
Thanks for the enhancements in colorrules

Anna

The error raised by colorrules.py in devbranch 6 is:

Traceback (most recent call last):
File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
/wxpython/wxgui.py", line 992, in RulesCmd

ctable = colorrules.ColorTable(self, raster = False)
TypeError
:
__init__() takes at least 3 non-keyword arguments (2 given)

So it is not in colorrules.py proper.

Can someone take a look at this and advise on how best to proceed? A rollback or something else?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Thanks for checking Ann. It's a relief that it's not necessary to revert these backports.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Aug 28, 2011, at 12:15 AM, Anna Kratochvílová wrote:

Hi Michael,

On Sun, Aug 28, 2011 at 1:47 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

I just backported a few recent changes in colorrules.py from trunk to devbranch 6 to catch up with recent updates to this module.

However, I find that it does not work. What is broken is not something I changed, so I'm not sure where trunk and devbranch 6 diverged so that backports don't work. So I don't want to try to fix this without understanding where these differ.

everything is ok for me. The code which raises the error is old and it
was changed a few weeks ago. I guess you forgot to update wxgui.py.
Thanks for the enhancements in colorrules

Anna

The error raised by colorrules.py in devbranch 6 is:

Traceback (most recent call last):
File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
/wxpython/wxgui.py", line 992, in RulesCmd

ctable = colorrules.ColorTable(self, raster = False)
TypeError
:
__init__() takes at least 3 non-keyword arguments (2 given)

So it is not in colorrules.py proper.

Can someone take a look at this and advise on how best to proceed? A rollback or something else?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu