Re: [Qgis-user] QGIS 3.34 and QGZ on network drives

2024-05-03 Thread Andrea Giudiceandrea via QGIS-User

Thomas Schüttenberg thomas at qgis.de
Fri May 3 01:47:25 PDT 2024


The only other or older libzip version available in osgeo4w is v1.7.3. 
Exchanging the current bin/zipp.dll (libzip v1.10.1) from the QGIS 3.34.6 install with a zip.dll of a QGIS 3.34.5 install (or older), which should be v1.7.3, does solve the problem (for now). - So the problem lies within the libzip 1.10.1 version.

But the upstream issue remains and will re-occur in upcoming QGIS releases. So 
far I have no idea on how to support the fixing (apart from contributing to 
#382).



Hi Thomas,
glad I was of help. I think it would be useful if you could report such 
issue to the OSGeo4W team opening a new ticket at 
https://trac.osgeo.org/osgeo4w/ and describing the issue and the 
workaround and also pointing to this thread.


Best regards.

Andrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.34 and QGZ on network drives

2024-05-03 Thread Thomas Schüttenberg via QGIS-User
Hi Andrea,

thanks for pointing me to libzip.
In addition to the mentioned error message in the QGIS log panel "error code 
28" is displayed. A web search revealed, that this might refer to 
[ZIP_ER_OPNOTSUPP] Operation not supported 
(https://libzip.org/documentation/zip_errors.html).

Checking for related libzip issues I get this one 
https://github.com/nih-at/libzip/issues/382 and maybe this 
https://github.com/nih-at/libzip/issues/381 - but this is beyond my 
understanding.

The only other or older libzip version available in osgeo4w is v1.7.3. 
Exchanging the current bin/zipp.dll (libzip v1.10.1) from the QGIS 3.34.6 
install with a zip.dll of a QGIS 3.34.5 install (or older), which should be 
v1.7.3, does solve the problem (for now). - So the problem lies within the 
libzip 1.10.1 version.

But the upstream issue remains and will re-occur in upcoming QGIS releases. So 
far I have no idea on how to support the fixing (apart from contributing to 
#382).

All the best
Thomas


> Andrea Giudiceandrea via QGIS-User  hat am 
> 02.05.2024 21:52 CEST geschrieben:
> 
>  
> > Thomas Schüttenberg thomas at qgis.de
> > Thu May 2 07:12:35 PDT 2024
> > All findings described below refer to QGIS 3.34.6. 
> > I am affraid it is connected to the extensive updates liste here 
> > https://lists.osgeo.org/pipermail/qgis-user/2024-April/054334.html ?
> 
> > Thu May 2 05:44:11 PDT 2024
> > "Unable to unzip file ''" is displayed and the 
> > project does not open.
> 
> 
> 
> Hi Thomas,
> AFAIK the error message is displayed when the zip_open function of the 
> libzip library, used by QGIS, fails to open the .qgz project file.
> Are there other related error messages in the Log Messages panel?
> 
> Since you think the issue may be related to the recent OSGeo4W packages 
> update, have you tried to downgrade the libzip library using the OSGeo4W 
> Setup program to the previous version?
> 
> Best regards.
> 
> Andrea
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.34 and QGZ on network drives

2024-05-02 Thread Andrea Giudiceandrea via QGIS-User

Thomas Schüttenberg thomas at qgis.de
Thu May 2 07:12:35 PDT 2024
All findings described below refer to QGIS 3.34.6. 
I am affraid it is connected to the extensive updates liste here https://lists.osgeo.org/pipermail/qgis-user/2024-April/054334.html ?



Thu May 2 05:44:11 PDT 2024
"Unable to unzip file ''" is displayed and the 
project does not open.




Hi Thomas,
AFAIK the error message is displayed when the zip_open function of the 
libzip library, used by QGIS, fails to open the .qgz project file.

Are there other related error messages in the Log Messages panel?

Since you think the issue may be related to the recent OSGeo4W packages 
update, have you tried to downgrade the libzip library using the OSGeo4W 
Setup program to the previous version?


Best regards.

Andrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS 3.34 and QGZ on network drives

2024-05-02 Thread Thomas Schüttenberg via QGIS-User
Update on "Unable to unzip file ''": This issue does 
not appear with QGIS 3.34.5.

All findings described below refer to QGIS 3.34.6. 
I am affraid it is connected to the extensive updates liste here 
https://lists.osgeo.org/pipermail/qgis-user/2024-April/054334.html ?

Anyway, still interested to hear, if someone experienced something similar.
All the best
Thomas

> Thomas Schüttenberg via QGIS-User  hat am 
> 02.05.2024 14:44 CEST geschrieben:
> 
>  
> Hello everyone,
> 
> I am currently preparing the rollout of QGIS 3.34.6 for our administration 
> and have encountered a strange and very inconsistent behaviour when opening 
> project files from our network drives (Windows):
> 
> When double-clicking on such a project tile on the welcome page, the error 
> message. 
> "Unable to unzip file ''" is displayed and the 
> project does not open.
> 
> If you try it via the selection in the menu 'Project - Open recent' you get 
> the same result.
> 
> If you use 'Open project' (Ctrl+O) to open the Windows File Explorer and 
> select the QGZ in question, it works. 
> 
> If you close the project and then click again on its 'Recent projects' entry 
> on the welcome page or in the 'Recently used' menu, this also works now.
> 
> However, if you wait a while (approx. 1-2 minutes) before clicking on a 
> recent link, it does not work any more!
> The time can also elapse while the project is open, i.e. closing the project 
> and then clicking on the recent link does not work (any more).
> 
> First I thought, that saving or re-saving a QGZ with QGIS 3.34 would solve 
> the problem, but today I encounter the same phenomenon on 3.34-QGZs, which I 
> saved a few days ago.
> 
> Furthermore, if the link to a project on the welcome page does not work and I 
> then touch (i.e. single click) this qgz-file via the Windows file explorer, 
> the recent link in QGIS works afterwards.
> 
> User profiles or age or version of the QGZ do not seem to play a role. All of 
> this cannot be reproduced with QGIS 3.28 using the same project-files.
> 
> So, there seems to be a strange interference between QGIS 3.34 and the access 
> to our network drives, which could become quite a blocker for our rollout. 
> Only local QGZ are not affected.
> What do you think, has anyone heard of similar phenomena? I am grateful for 
> any ideas!
> 
> Best regards
> Thomas
> 
> -- 
> QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS 3.34 and QGZ on network drives

2024-05-02 Thread Thomas Schüttenberg via QGIS-User
Hello everyone,

I am currently preparing the rollout of QGIS 3.34.6 for our administration and 
have encountered a strange and very inconsistent behaviour when opening project 
files from our network drives (Windows):

When double-clicking on such a project tile on the welcome page, the error 
message. 
"Unable to unzip file ''" is displayed and the 
project does not open.

If you try it via the selection in the menu 'Project - Open recent' you get the 
same result.

If you use 'Open project' (Ctrl+O) to open the Windows File Explorer and select 
the QGZ in question, it works. 

If you close the project and then click again on its 'Recent projects' entry on 
the welcome page or in the 'Recently used' menu, this also works now.

However, if you wait a while (approx. 1-2 minutes) before clicking on a recent 
link, it does not work any more!
The time can also elapse while the project is open, i.e. closing the project 
and then clicking on the recent link does not work (any more).

First I thought, that saving or re-saving a QGZ with QGIS 3.34 would solve the 
problem, but today I encounter the same phenomenon on 3.34-QGZs, which I saved 
a few days ago.

Furthermore, if the link to a project on the welcome page does not work and I 
then touch (i.e. single click) this qgz-file via the Windows file explorer, the 
recent link in QGIS works afterwards.

User profiles or age or version of the QGZ do not seem to play a role. All of 
this cannot be reproduced with QGIS 3.28 using the same project-files.

So, there seems to be a strange interference between QGIS 3.34 and the access 
to our network drives, which could become quite a blocker for our rollout. Only 
local QGZ are not affected.
What do you think, has anyone heard of similar phenomena? I am grateful for any 
ideas!

Best regards
Thomas

-- 
QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user