Open jacorybrady opened 1 year ago
Interesting, we are having trouble where our QGIS Server running on Windows Server 2019 gives the following error on a .qgs file:
13:49:45 WARNING [8864]: Error opening zip archive: 'C:/XXXXXXX/Projects/Property_attachments.zip' (Error code: 11)
We get similar errors in our server log when trying to get the capabilities from a .qgz file:
CRITICAL Server[16832]: Error when loading project file 'C:/XXXXXXX/Projects/Property.qgz': Unable to unzip file 'C:/XXXXXXX/Projects/Property.qgz'
The desktop application does not have an issue. I wonder if there is a write permission issue.
We're running version 3.28.5 LTR from OSGeo4W. This seems related to your issue, @jacorybrady . Hopefully it will help anybody looking into this.
This issue continues to occur, I've seen it twice now since the original posting. Judging by the error/warning message it gave when trying to save (see attached screenshot), I'm wondering if it has something to do with the computer being in different time zones. For background, I travel for work regularly, bouncing back and forth between EST & CST zones - 1 hour difference.
Perhaps if the project was opened in one time zone but then the computer's internal clock changes to another time zone with QGIS program still active, that is why this occurring? If so, it did not occur with prior version used, which would lead me to believe it is a bug specific to 3.28.2-Firenze.
Previous version used on this computer: QGIS version 3.22.11-Białowieża
I'm getting the same thing with 3.28.6-Firenze on Ubuntu Linux 22.04.2 LTS. Initially it only happened with new projects that hadn't been saved before. Existing projects were still saving successfully, and I was able to save them to a new location without problem. As I was testing what the conditions were that generated the error saving existing projects stopped working, and now all saving produces the error.
Starting qgis from the command line and then trying to save a new project gives me this error message:
Qt: Session management error: networkIdsList argument is NULL
The packages I have installed (reported by the About window) are:
QGIS version | 3.28.6-Firenze | QGIS code revision | 868c9fa03b |
---|---|---|---|
Qt version | 5.15.3 | ||
Python version | 3.10.6 | ||
GDAL/OGR version | 3.4.1 | ||
PROJ version | 8.2.1 | ||
EPSG Registry database version | v10.041 (2021-12-03) | ||
GEOS version | 3.10.2-CAPI-1.16.0 | ||
SQLite version | 3.37.2 | ||
PDAL version | 2.3.0 | ||
PostgreSQL client version | unknown | ||
SpatiaLite version | 5.0.1 | ||
QWT version | 6.1.4 | ||
QScintilla2 version | 2.11.6 | ||
OS version | Ubuntu 22.04.2 LTS | ||
Active Python plugins SemiAutomaticClassificationPlugin | 7.10.11 quick_map_services | 0.19.33 grassprovider | 2.12.99 db_manager | 0.1.20 sagaprovider | 2.12.99 MetaSearch | 0.3.6 processing | 2.12.99
What is the bug or the crash?
QGIS (3.28.2-Firenze) QGZ save error gives the message: "Unable to perform zip" This occurs when trying to save, or save as. Folder location does not matter either.
Trying to save the project as a QGS gives this error: "Unable to save attachments archive." It QGS does save the file though. And also saves a qgs~ version as well. (Pasted portion of that file from text editor below in the Additional context box.)
This is a project that has been saved numerous times over the past 5 or 6 months, with no issues. The last save date was 2 days prior (thought it was saved yesterday, but apparently not by the datestamp)
Opening up the saved QGS file under a different profile worked, appears to work properly with no issues or errors (at a cursory glance). Saving a QGZ of the project was then possible. That file opens properly with no apparent issues as well.
Shutting down QGIS and opening back up from the new save works and could not make the errors re-occur.
Steps to reproduce the issue
Versions
QGIS version 3.28.2-Firenze QGIS code revision b47e00ba60 Qt version 5.15.2 Python version 3.9.5 GDAL/OGR version 3.3.2 PROJ version 8.1.1 EPSG Registry database version v10.028 (2021-07-07) GEOS version 3.9.1-CAPI-1.14.2 SQLite version 3.35.2 PDAL version 2.3.0 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.11.5 OS version macOS Mojave (10.14)
Active Python plugins processing 2.12.99 sagaprovider 2.12.99 grassprovider 2.12.99 db_manager 0.1.20 MetaSearch 0.3.6
Supported QGIS version
New profile
Additional context
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>