Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a virtual layer make the project empty #25914

Closed
qgib opened this issue Feb 1, 2018 · 4 comments
Closed

a virtual layer make the project empty #25914

qgib opened this issue Feb 1, 2018 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Feb 1, 2018

Author Name: Lee Han (Lee Han)
Original Redmine Issue: 18018
Affected QGIS version: 2.18.16
Redmine category:virtual_layers


It is not the first time I encounter this issue.(It is been around a lot by the way.)
My qgis project has some postgis and shapefile layers plus a virtual_layer.
Open the project : it is empty, nothing in the list or in the canevas
Edit the .qgs, remove the ... concerning the virtual_layer.
open again the .qgs and the project is ok.

Sometimes I can work with many virtual layers during days or weeks and suddenly, I don't know the reason why, the project may become empty.
I have tested this with different computers, same behaviour. This has been going on since virtual layers were added (to my knowledge).
Copy of project attached.


@qgib
Copy link
Contributor Author

qgib commented Mar 26, 2018

Author Name: Enrico Fiore (Enrico Fiore)


I have noticed the same issue in QGIS 2.18.17.
If there is one or more virtual layers that refers to layers that are been renamed or removed, QGIS project will be loaded empty.

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2018

Author Name: Regis Haubourg (@haubourg)


Could you provide a sample project file with data that allows to reproduce the issue. It tried to reproduce with no success here. (This is the hardest part in fixing such issues, making the condition reproducible for itself, and then for others).

Did you try QGIS 3.x to test future 3.4 LTR ?


  • resolution was changed from to not reproducable
  • priority_id was changed from High to Normal
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 29, 2018

Author Name: Lee Han (Lee Han)


I don't have any project file with the "bug" for now. If it happens, I will join it.
I am working with QGis 3.4 now. We'll see.

@qgib
Copy link
Contributor Author

qgib commented Oct 29, 2018

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Oct 29, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant