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

Delimited text plugin causes crash #13380

Closed
qgib opened this issue Dec 11, 2010 · 2 comments
Closed

Delimited text plugin causes crash #13380

qgib opened this issue Dec 11, 2010 · 2 comments
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 11, 2010

Author Name: Chris Crook (@ccrook)
Original Redmine Issue: 3320

Redmine category:data_provider
Assignee: Gary Sherman


Following from message on qgis-user list at

http://lists.osgeo.org/pipermail/qgis-user/2010-December/010628.html

relating to QGis crash caused by delimited text plugin. This error appears to be due to reading files with variable number of fields, which is tested in the provider constructor function, but not in the nextFeature function.

The attached patch should fix this. It takes a slightly different approach to previously - instead of ignoring lines with the wrong number of fields, it adds blank strings to ensure that there are the expected number.

Also fixes a problem with line number counting.


@qgib
Copy link
Contributor Author

qgib commented Dec 11, 2010

Author Name: Gary Sherman (@g-sherman)


Patch applied at b52d074 (SVN r14891). Thanks!

@qgib
Copy link
Contributor Author

qgib commented Dec 11, 2010

Author Name: Gary Sherman (@g-sherman)


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant