[GRASS-dev] d.mon using PIL tostring() (not used anymore), tobytes() to be used.

Hi,

in SVN trunk using Ubuntu 16.04 LTS

-----------------------------

     pilImageRgbData = pilImageCopyRGB.tostring()
   File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 686, in tostring
     "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
  100%

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

On Wed, Dec 2, 2015 at 4:06 AM, Yann <ychemin@gmail.com> wrote:

Hi,

in SVN trunk using Ubuntu 16.04 LTS

-----------------------------

    pilImageRgbData = pilImageCopyRGB.tostring()
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 686, in
tostring
    "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
100%

Please try r67011.

Anna

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

All good now,

Yann

On 03/12/2015 04:14, Anna Petrášová wrote:

On Wed, Dec 2, 2015 at 4:06 AM, Yann <ychemin@gmail.com> wrote:

Hi,

in SVN trunk using Ubuntu 16.04 LTS

-----------------------------

     pilImageRgbData = pilImageCopyRGB.tostring()
   File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 686, in
tostring
     "Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.
  100%

Please try r67011.

Anna

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34