Closed simonmarti1992 closed 1 year ago
Were you able to follow this tutorial: https://umep-docs.readthedocs.io/projects/tutorial/en/latest/Tutorials/PythonProcessing1.html? It seems that you have some issue with pandas. Maybe @j3r3m1 can help. He wrote this execrise.
@biglimp thank you for your answer.
Yes I have tried the shadowmapping generation from exemple n°1 with the python console of QGIS (works well). Now I'd like to run the example from pycharm.
I'll check the "jupyter notebook" section of this exemple 👍
Best regards
Description Here is the error code found in the console
"C:\Program Files\QGIS 3.28.0\apps\Python39\python.exe" C:\Users\simon\python-scripts\tipee-umep\main.py C:\Users\simon\AppData\Roaming\Python\Python39\site-packages\pandas\core\reshape\merge.py:916: FutureWarning: In a future version, the Index constructor will not infer numeric dtypes when passed object-dtype sequences (matching Series behavior) key_col = Index(lvals).where(~mask_left, rvals) Process finished with exit code -1073741819 (0xC0000005)
Thank you for reporting. Can you give more information about the error message you got ? Do you know where exactly the code stopped ? I only see a warning in the message you mentionned.
Note that the first part of the script you mention has to be executed within the Python console. The second part (starting from "# Defines the directory where have been exported the path and variables") has to be executed in a separate script (outside QGIS).
thank you @biglimp and @j3r3m1
How did you solve your problem ? Was the problem related to the fact that the 1st part of the script should be executed in a QGIS Python console ?
I solved the problem by executing the script directly in the QGIS python console. I'll try to generate 100% python code after solving all the issues I face with generating proper databases ;)
Dear all,
I'm facing a bug while trying to execute the example
Description Here is the error code found in the console
To Reproduce
Desktop (please complete the following information):