[GRASS-dev] [GRASS GIS] #1554: wxGUI Cartographic Composer: preview broken on Windows

Anna Kratochvílová kratochanna at gmail.com
Thu May 2 03:12:43 PDT 2013


On Thu, May 2, 2013 at 8:29 AM, SWAPAN GHOSH <swap.ghsh at gmail.com> wrote:
> Hi all,
>
> It needs to change the code for "EpsImagePlugin.py" in the Python PIL
> packages as below-
>
> command = ["gswin32c",
>                "-q",                    # quite mode
>                "-g%dx%d" % size,        # set output geometry (pixels)
>                "-dNOPAUSE -dSAFER",     # don't pause between pages, safe
> mode
>                "-sDEVICE=ppmraw",       # ppm driver
>                "-sOutputFile=%s" % file # output file
>               ]
>
> Then It will work in windows.
>
> Regards,
>

Thanks, it was already fixed. The problem was indeed the command.
There are more bugs discussed in the ticket, so the status can be
unclear.

Anna

> Swapan
>
>
>
> On Sun, Apr 28, 2013 at 6:53 PM, GRASS GIS <trac at osgeo.org> wrote:
>>
>> #1554: wxGUI Cartographic Composer: preview broken on Windows
>>
>> ----------------------------------------------------+-----------------------
>>  Reporter:  martinl                                 |       Owner:
>> grass-dev@…
>>      Type:  defect                                  |      Status:  new
>>  Priority:  critical                                |   Milestone:  6.4.3
>> Component:  wxGUI                                   |     Version:
>> unspecified
>>  Keywords:  cartographic composer, psmap, wingrass  |    Platform:
>> MSWindows XP
>>       Cpu:  Unspecified                             |
>>
>> ----------------------------------------------------+-----------------------
>>
>> Comment(by annakrat):
>>
>>  Replying to [comment:40 martinl]:
>>  > Replying to [comment:38 annakrat]:
>>  >
>>  > > > Quick test: `ps2pdf` works from cmd, cartographic composer fails
>>  with `Cannot open this file: _.at`
>>  > >
>>  > > and it complains about missing gssetgs.bat (in terminal)
>>  >
>>  > added to `gs` package (9.07-3)
>>
>>  still not working, some 'unrecoverable error' shows in the terminal
>>
>> --
>> Ticket URL: <https://trac.osgeo.org/grass/ticket/1554#comment:41>
>> GRASS GIS <http://grass.osgeo.org>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list