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

QGIS crashes after editing shapefiles w/o dbf file #12085

Closed
qgib opened this issue Oct 20, 2009 · 4 comments
Closed

QGIS crashes after editing shapefiles w/o dbf file #12085

qgib opened this issue Oct 20, 2009 · 4 comments
Labels
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
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Oct 20, 2009

Author Name: zicke - (zicke -)
Original Redmine Issue: 2025

Redmine category:data_provider
Assignee: nobody -


  1. Load Shapefile
  2. Toggle Editing
  3. Select some features
  4. Merge Selected Features
  5. Toggle Editing -> Save
  6. QGIS crashes

gdb backtrace is attached.

I'm using QGIS 1.4.0-Trunk (code revision 11822).


@qgib
Copy link
Contributor Author

qgib commented Oct 20, 2009

Author Name: Marco Hugentobler (@mhugent)


Hm, it works without crash for me here. Could you add a sample dataset and a description which features you select exactly for merging?
From the backtrace, it seems there is an error writing to the dbf file. So I wonder if there is a problem related to the dbf file, e.g. file permission. Please also report your GDAL version.

Marco

@qgib
Copy link
Contributor Author

qgib commented Oct 21, 2009

Author Name: zicke - (zicke -)


It was a dbf file problem since it wasn't existing. QGIS is able to load a shapefile w/o dbf file and it is possible to move vertex points etc. But QGIS crashes after trying to save the edits.

Stefan

@qgib
Copy link
Contributor Author

qgib commented Oct 21, 2009

Author Name: Giovanni Manghi (@gioman)


Please then consider changing the title of this ticket.

@qgib
Copy link
Contributor Author

qgib commented Oct 21, 2009

Author Name: Jürgen Fischer (@jef-n)


fixed in dc92ab0 (SVN r11825): shapes files without DBFs lack the capability [[ChangeAttributeValues]], so the merge tool shouldn't work on them.


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@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 labels May 24, 2019
@qgib qgib added this to the Version 1.4.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant