You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add a collection from a repository that only has a branch called "main", I get the following error (b'refs/heads/master'):
I was able to solve the problem by creating a new branch called "master".
I'm guessing the the branch name "master" is hardcoded into the QGIS Resource Sharing plugin somewhere. Maybe there is a way to automatically find the default branch?
Steps to reproduce the issue
Let me know if you would like for me to remove the "master" branch from my repo for testing.
Versions
QGIS version
3.28.1-Firenze
QGIS code revision
fde3b8fbb8
Qt version
5.15.3
Python version
3.9.5
Compiled against GDAL/OGR
3.6.0
Running against GDAL/OGR
3.6.1
PROJ version
9.1.1
EPSG Registry database version
v10.076 (2022-08-31)
GEOS version
3.11.1-CAPI-1.17.1
SQLite version
3.39.4
PDAL version
2.4.3
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
What is the bug or the crash?
When trying to add a collection from a repository that only has a branch called "main", I get the following error (b'refs/heads/master'):
I was able to solve the problem by creating a new branch called "master".
I'm guessing the the branch name "master" is hardcoded into the QGIS Resource Sharing plugin somewhere. Maybe there is a way to automatically find the default branch?
Steps to reproduce the issue
Let me know if you would like for me to remove the "master" branch from my repo for testing.
Versions
QGIS version
3.28.1-Firenze
QGIS code revision
fde3b8fbb8
Qt version
5.15.3
Python version
3.9.5
Compiled against GDAL/OGR
3.6.0
Running against GDAL/OGR
3.6.1
PROJ version
9.1.1
EPSG Registry database version
v10.076 (2022-08-31)
GEOS version
3.11.1-CAPI-1.17.1
SQLite version
3.39.4
PDAL version
2.4.3
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
Active Python plugins
mmqgis
2021.9.10
nominatim
1.4.3
pcraster_tools
0.2.0
plugin_reloader
0.9.2
processing_wbt
1.3.1
qgis2web
3.16.0-color-svg
qgis_resource_sharing
1.0.0
QNEAT3
1.0.4
QuickOSM
2.1.1
quick_map_services
0.19.32
RasterAttributeTable
1.2
SRTM-Downloader
3.1.17
StreetView
3.2
valuetool
3.0.15
zoom_level
0.2.0
db_manager
0.1.20
processing
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: