[GRASS-dev] [GRASS GIS] #3621: Cannot create map frame in cartographic composer
GRASS GIS
trac at osgeo.org
Sun Aug 26 12:32:02 PDT 2018
#3621: Cannot create map frame in cartographic composer
--------------------------+----------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.4.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: map frame, cartographic composer
CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------------------
Old description:
> Because the button to save a display to an image file is also broken,
> there is no way to export a map from GRASS. So I'm elevating both bug
> reports to blockers. This is broken in at least v. 7.4.1 and up.
>
> I can draw a dotted line rectangle but it does not create a map frame. So
> nothing else works in the composer.
>
> Here is the error:
>
> Traceback (most recent call last):
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/frame.py", line 1463, in MouseActions
>
> self.OnLeftUp(event)
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/frame.py", line 1611, in OnLeftUp
>
> settings=self.instruction, rect=rectPaper)
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/dialogs.py", line 772, in __init__
>
> notebook=False)
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/dialogs.py", line 846, in __init__
>
> self._layout()
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/dialogs.py", line 1122, in _layout
>
> convertRGB(self.mapFrameDict['color']))
> File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/psmap/utils.py", line 181, in convertRGB
>
> color = wx.Colour(*color)
> TypeError
> :
> Colour(): arguments did not match any overloaded call:
> overload 1: too many arguments
> overload 2: argument 1 has unexpected type 'float'
> overload 3: argument 1 has unexpected type 'float'
> overload 4: argument 1 has unexpected type 'float'
New description:
Because the button to save a display to an image file is also broken,
there is no way to export a map from GRASS. So I'm elevating both bug
reports to blockers. This is broken in at least v. 7.4.1 and up.
I can draw a dotted line rectangle but it does not create a map frame. So
nothing else works in the composer.
Here is the error:
{{{
Traceback (most recent call last):
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/frame.py", line 1463, in MouseActions
self.OnLeftUp(event)
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/frame.py", line 1611, in OnLeftUp
settings=self.instruction, rect=rectPaper)
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/dialogs.py", line 772, in __init__
notebook=False)
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/dialogs.py", line 846, in __init__
self._layout()
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/dialogs.py", line 1122, in _layout
convertRGB(self.mapFrameDict['color']))
File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
xpython/psmap/utils.py", line 181, in convertRGB
color = wx.Colour(*color)
TypeError
:
Colour(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 1 has unexpected type 'float'
overload 3: argument 1 has unexpected type 'float'
overload 4: argument 1 has unexpected type 'float'
}}}
--
Comment (by neteler):
(properly formatting error report)
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3621#comment:1>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list