Re: [GRASS-dev] [GRASS GIS] #4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported

2020-01-23 Thread GRASS GIS
#4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is
unsupported
+-
  Reporter:  neteler|  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  7.8.3
 Component:  Python ctypes  |Version:  git-releasebranch78
Resolution: |   Keywords:  ctypes, python3
   CPU:  Unspecified|   Platform:  Unspecified
+-

Comment (by neteler):

 Replying to [comment:4 mmetz]:
 > Python 3.7.6 and Python 3.8.0 are also affected and need to be patched.

 I have filed a bug report on Fedora:
 https://bugzilla.redhat.com/show_bug.cgi?id=1794572

 Of course, other distros will face the same problem.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] GRASS GIS issues now on GitHub!

2020-01-23 Thread Markus Neteler
*GRASS GIS bug reporting and feature request on GitHub now! *

As it was treated in the last GRASS GIS community sprint
,
and with the aim of keeping
things as simple as possible, we have finally activated the issue tracker
for bug reports
and feature requests in the GRASS GIS GitHub repo
.

The old good trac  site still remains active
for tickets that were originally open there. So, if
you have opened a ticket in trac, please either close it and open a new one
in GitHub
referencing the discussion in trac, or just keep it open and comment there.

For *new issues starting today*, please use GitHub
 :)

We'll soon create a template to better follow the different issue types
(bug or enhancement),
topics/tags, operating systems, GRASS GIS versions, etc.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported

2020-01-23 Thread GRASS GIS
#4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is
unsupported
+-
  Reporter:  neteler|  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  7.8.3
 Component:  Python ctypes  |Version:  git-releasebranch78
Resolution: |   Keywords:  ctypes, python3
   CPU:  Unspecified|   Platform:  Unspecified
+-

Comment (by mmetz):

 Replying to [comment:3 carmenTawalika]:
 > Recompiling Python3.8.1 with this patch from pull/17960
 
(https://github.com/python/cpython/commit/eb9ba2f66df2195a9c6295e73ab3d545a1445f05.patch)
 looks promising until now...

 Great, thanks for figuring this out!

 Python 3.7.6 and Python 3.8.0 are also affected and need to be patched.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] communication of community sprint decisions

2020-01-23 Thread Veronica Andreo
done :)

https://grass.osgeo.org/news/88/15/GRASS-GIS-issues-now-in-GitHub/


El jue., 23 ene. 2020 a las 14:14, Veronica Andreo ()
escribió:

> Great news!
>
> El jue., 23 ene. 2020 13:55, Markus Neteler  escribió:
>
>> Hi all,
>>
>> I have now modified
>>
>> - trac permissions:
>> - For the role "authenticated" I have remove [X] TICKET_CREATE
>> - trac menu [1]:
>> - View Tickets --> https://github.com/OSGeo/grass/issues
>> - New Ticket --> https://github.com/OSGeo/grass/issues/new
>> - GitHub
>> - issues enabled: https://github.com/OSGeo/grass/issues  (yet empty
>> ;-)
>>
>> Let me know if I overlooked anything.
>>
>> TODOs:
>> - write an announcement to the lists / "News" section on the web site
>> - define a GitHub issue template.
>>
>> Volunteers welcome.
>
>
> I can help with the announcement part
>
> Vero
>
>
>
> [1] trac menu modified in trac.ini, according to
>>
>> https://trac.edgewall.org/wiki/TracInterfaceCustomization#CustomNavigationEntries
>>
>> Cheers,
>> Markus
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] communication of community sprint decisions

2020-01-23 Thread Veronica Andreo
Great news!

El jue., 23 ene. 2020 13:55, Markus Neteler  escribió:

> Hi all,
>
> I have now modified
>
> - trac permissions:
> - For the role "authenticated" I have remove [X] TICKET_CREATE
> - trac menu [1]:
> - View Tickets --> https://github.com/OSGeo/grass/issues
> - New Ticket --> https://github.com/OSGeo/grass/issues/new
> - GitHub
> - issues enabled: https://github.com/OSGeo/grass/issues  (yet empty
> ;-)
>
> Let me know if I overlooked anything.
>
> TODOs:
> - write an announcement to the lists / "News" section on the web site
> - define a GitHub issue template.
>
> Volunteers welcome.


I can help with the announcement part

Vero



[1] trac menu modified in trac.ini, according to
>
> https://trac.edgewall.org/wiki/TracInterfaceCustomization#CustomNavigationEntries
>
> Cheers,
> Markus
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] communication of community sprint decisions

2020-01-23 Thread Markus Neteler
Hi all,

I have now modified

- trac permissions:
- For the role "authenticated" I have remove [X] TICKET_CREATE
- trac menu [1]:
- View Tickets --> https://github.com/OSGeo/grass/issues
- New Ticket --> https://github.com/OSGeo/grass/issues/new
- GitHub
- issues enabled: https://github.com/OSGeo/grass/issues  (yet empty ;-)

Let me know if I overlooked anything.

TODOs:
- write an announcement to the lists / "News" section on the web site
- define a GitHub issue template.

Volunteers welcome.

[1] trac menu modified in trac.ini, according to
https://trac.edgewall.org/wiki/TracInterfaceCustomization#CustomNavigationEntries

Cheers,
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #4023: TypeError: a bytes-like object is required, not 'str'

2020-01-23 Thread GRASS GIS
#4023: TypeError: a bytes-like object is required, not 'str'
--+-
  Reporter:  pvanbosgeo   |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:
 Component:  Default  |Version:  unspecified
Resolution:   |   Keywords:
   CPU:  Unspecified  |   Platform:  MSWindows
--+-

Comment (by annakrat):

 Should be enough to remove 'b' from:


 {{{
 fileConf = open(confilename, 'wb')
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported

2020-01-23 Thread GRASS GIS
#4015: ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is
unsupported
+-
  Reporter:  neteler|  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  7.8.3
 Component:  Python ctypes  |Version:  git-releasebranch78
Resolution: |   Keywords:  ctypes, python3
   CPU:  Unspecified|   Platform:  Unspecified
+-

Comment (by carmenTawalika):

 Recompiling Python3.8.1 with this patch from pull/17960
 
(https://github.com/python/cpython/commit/eb9ba2f66df2195a9c6295e73ab3d545a1445f05.patch)
 looks promising until now...

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3883: GRASS master does not compile with Python 3 on Mac

2020-01-23 Thread GRASS GIS
#3883: GRASS master does not compile with Python 3 on Mac
--+-
  Reporter:  cmbarton |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  major|  Milestone:  7.8.3
 Component:  Default  |Version:  svn-trunk
Resolution:   |   Keywords:
   CPU:  Unspecified  |   Platform:  MacOSX
--+-

Comment (by guano):

 Searching for this error I found it to be quite common with python2 code
 being ported to python3, as with python3 all strings are unicode.

 {{{
 >>> b'\x9c'.decode('cp1252')
 'œ'
 >>> b'\x9c'.decode('utf8')
 Traceback (most recent call last):
   File "", line 1, in 
 UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 0:
 invalid start byte
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] #4023: TypeError: a bytes-like object is required, not 'str'

2020-01-23 Thread GRASS GIS
#4023: TypeError: a bytes-like object is required, not 'str'
+-
 Reporter:  pvanbosgeo  |  Owner:  grass-dev@…
 Type:  defect  | Status:  new
 Priority:  normal  |  Milestone:
Component:  Default |Version:  unspecified
 Keywords:  |CPU:  Unspecified
 Platform:  MSWindows   |
+-
 Running the addon r.diversity on grass 7.9 (Windows 10), I get the
 following error:

 {{{

 C:\Users\hsc\Documents\GRASSGIS\scripts\r.diversity.py --overwrite
 input=landschap@datamodel prefix=renyi3 alpha=0.6 method=renyi
 Traceback (most recent call last):
   File
 "C:\Users\hsc\Documents\GRASSGIS\scripts\r.diversity.py",
 line 283, in 
 sys.exit(main())
   File
 "C:\Users\hsc\Documents\GRASSGIS\scripts\r.diversity.py",
 line 149, in main
 quiet, overwrite)
   File
 "C:\Users\hsc\Documents\GRASSGIS\scripts\r.diversity.py",
 line 160, in calculateM
 createConfFile(r, map_in, home)
   File
 "C:\Users\hsc\Documents\GRASSGIS\scripts\r.diversity.py",
 line 240, in createConfFile
 fileConf.writelines(outputLine)
 TypeError: a bytes-like object is required, not 'str'
 (Wed Jan 22 12:02:17 2020) Command finished (3 sec)

 }}}

 I guess something to do with Python2 vs Python 3 (using the latter), but I
 can't pin it down.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev