Afther update QGis 3.14.15-1 to QGis 3.14.16-1 python error..!!

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Afther update QGis 3.14.15-1 to QGis 3.14.16-1 python error..!!

N. Veenstra

Hello,

After i did a update treu OSGeo4W setup i get the following error/warning

2020-09-16T10:56:30     WARNING    Traceback (most recent call last):
              File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 777, in _import
              new_path = os.environ['PATH']
              File "C:\OSGEO4~1\apps\Python37\lib\os.py", line 675, in __getitem__
              value = self._data[self.encodekey(key)]
              File "C:\OSGEO4~1\apps\Python37\lib\os.py", line 744, in encodekey
              return encode(key).upper()
             RecursionError: maximum recursion depth exceeded


Is there a solution to repair this ???


             

Met vriendelijke groeten,

N Veenstra


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Afther update QGis 3.14.15-1 to QGis 3.14.16-1 python error..!!

Bo Victor Thomsen

It has already been reported as a bug: https://github.com/qgis/QGIS/issues/38720

But I don't know when a fix is issued :-/. The OSGEO4W installer reports, that build 3.14.16-1 is the latest QGIS build

-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen
Den 16-09-2020 kl. 11:14 skrev N. Veenstra:

Hello,

After i did a update treu OSGeo4W setup i get the following error/warning

2020-09-16T10:56:30     WARNING    Traceback (most recent call last):               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 777, in _import               new_path = os.environ['PATH']               File "C:\OSGEO4~1\apps\Python37\lib\os.py", line 675, in __getitem__               value = self._data[self.encodekey(key)]               File "C:\OSGEO4~1\apps\Python37\lib\os.py", line 744, in encodekey               return encode(key).upper()              RecursionError: maximum recursion depth exceeded

Is there a solution to repair this ???

             

Met vriendelijke groeten,

N Veenstra


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
 

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Afther update QGis 3.14.15-1 to QGis 3.14.16-1 python error..!!

Andrea Giudiceandrea
In reply to this post by N. Veenstra
Hi N Veenstra,
there is already patch:
https://github.com/qgis/QGIS/commit/df273945520f6bf13c468a0231938d4f0c9248ac

but there is not yet a new QGIS release that incorporates the fix.

However you can workaround the problem by manually editing the file utils.py
in C:\OSGEO4~1\apps\qgis\python\qgis\ as indicated in the patch:
- remove line 789
- remove line 784
- in line 783, substitute "if p:" with "if p is not None and p not in
_import_path:"


Regards,

Andrea Giudiceandrea



N. Veenstra wrote
>             * RecursionError: maximum recursion depth exceeded*
>
>
> Is there a solution to repair this ???





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user