[Qgis-user] QGIS 3.40.10 and QGIS 3.40.7 – Python Support Disabled After Second Launch of QGIS
Mohsin Kamal
mohsin.kamal at mup-group.com
Sun Aug 24 23:38:21 PDT 2025
Dear QGIS Support Team,
We are facing a recurring issue with QGIS Desktop on our new Windows multi-session machine.
*
On first launch, QGIS loads fine with Python support and plugins.
*
On second launch, Python support fails with the error:
Environment
*
QGIS 3.40.10 (Bratislava) – new server
*
QGIS 3.40.7 – old server (works fine for same users)
Steps Already Tried
*
Created new QGIS profiles
*
Reinstalled QGIS (offline installer)
*
Renamed/deleted profiles\default
*
Copied working profiles from old server
*
Edited user.py to handle exist_ok=True and file checks
*
Deleting expressions works only once → error returns on next launch
Request
Could you please confirm what's the solution to the issue with QGIS is and advise on a permanent fix?
Snapshots of the errors are attached.
Best regards,
Mohsin Kamal
L3 Specialist ‑ Server Admin
|
(IT Department)
SIERA AGENCY
[cid:1326ecbe-7cfc-41e1-8411-c08d6352a3e0]
mohsin.kamal at mup-group.com<mailto:mohsin.kamal at mup-group.com>
[cid:4e27c0d3-68ec-4dc5-ae79-3d2cbe4f8e9e]<https://eu.content.exclaimer.net?url=http%3A%2F%2Fwww.example.com%2F&tenantid=EOkRHthdEe2fdAANOry0EQ&templateid=36e672ecbbdfef1188f800224881aeb4&excomponenttype=Glyph&signature=oA0gF0gxAnFzID3i8uavv1KAgkEnwKL1MFlTvQy4CjaY1Dto8vOduA_-CNHkWYNLV0cxWCrx28oOV18QdzE634t4L47poXpum9hMMwOLSOeRrlBPWtRd9ZIl5zKqgHbXvOaxwroY8xzuak7XBprGEn5Zt2xPX73dISKJzJdcDsH8ZfsoF_QVgfLwXeVQd_w1-A-hpGnwYC-MqiJKUdJZ8dp8WEKlnFzpcq7tovFJ0nyBP_wF-XKpCJo2phVXNOXmWP7Tnc87glmuVN9bYdi56NmEr7Ka9Pt_vA9OBHyVBnp1MQOLLyY8Y6gRtZKdw9ulU7bWqMStq3WRSu1-t997DA&v=1>
www.siera-alliance.com<https://eu.content.exclaimer.net?url=https%3A%2F%2Fsiera-alliance.com%2F&tenantid=EOkRHthdEe2fdAANOry0EQ&templateid=36e672ecbbdfef1188f800224881aeb4&excomponentid=NH3cO2QgxlFJk5kTyMn1_b4qx2yALA1cTNck6LEDOzU&excomponenttype=Link&signature=qXun2xZnnB798Bj55ZVAr11JMaIQ_rQ-sPsZ-u07LRANvUrC1lOSsdWnbzoJ67Vz09Wuj-Pbi6ZuZArxarpsgB5BdVdxIR0V2RkyuJsDmuL4VV9_UGSQaiIuRxdGD9YDXauYp5k4j61FddPJfLWIc_UWYoUQBA4FrK07w95wvwZhoEYx25OyutQKP-mirTzLH09AQZwBZi46PHeOgD7nMjyqLOp8QcnDP5IuZO6s1V2ooC1S-gJ0HQ177uYatTQteJh9ek4mLg34QQh5cw98Y4JzFeib_7xf7l_R5hXk03zlv9HN1YiA8TP8tpioEBodv-E9b3EXDxFn21eokbpGhQ&v=1>
[cid:d90063c1-3c13-45a3-9ebd-0a4e51b086c5]
This e‑mail may contain confidential and / or privileged information. If you are not the intended recipient or have received this e‑mail in error,
please notify the sender immediately and destroy this e‑mail. Any unauthorized copying, disclosure or distribution of the material in this e‑mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image121439.png
Type: image/png
Size: 498 bytes
Desc: image121439.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image938157.png
Type: image/png
Size: 678 bytes
Desc: image938157.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image220997.png
Type: image/png
Size: 70341 bytes
Desc: image220997.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QGIS ERROR1.png
Type: image/png
Size: 366144 bytes
Desc: QGIS ERROR1.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QGIS Error2.png
Type: image/png
Size: 214924 bytes
Desc: QGIS Error2.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250825/01d7d2ef/attachment-0009.png>
More information about the QGIS-User
mailing list