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

Reading online csv file in a model causes QGIS to freeze #28790

Closed
qgib opened this issue Jan 11, 2019 · 4 comments
Closed

Reading online csv file in a model causes QGIS to freeze #28790

qgib opened this issue Jan 11, 2019 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Jan 11, 2019

Author Name: Magnus Nilsson (Magnus Nilsson)
Original Redmine Issue: 20971
Affected QGIS version: 3.4.3
Redmine category:processing/modeller


I am trying to use an online CSV file and plot its content as points using a Processing model. These steps causes QGIS to freeze:

  1. Open a new model
  2. Add a vector input
  3. Add the algorithm for creating points from a table and configure it
  4. Run the model and select an online csv file. I used https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_day.csv
  5. QGIS now freezes before the model can run
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption labels May 25, 2019
@alexbruy alexbruy added Feedback Waiting on the submitter for answers and removed Crash/Data Corruption labels Jun 22, 2019
@alexbruy
Copy link
Contributor

Not reproducible with master. Also there is no way to use online CSV as input for "Point layer from table algorithm". Seems steps to reproduce are not correct.

@johnrobot
Copy link

Still a problem with QGIS 3.8.1, using Windows 10 64 bit. To reproduce:

  1. Create a new processing model.
  2. Add the algorithm for creating points from a table. Use https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_day.csv as source in the file picker window.
  3. Run the model.

This freezes QGIS and I have to stop QGIS using the Windows task manager.

@gioman gioman removed the Feedback Waiting on the submitter for answers label Aug 25, 2019
@alexbruy alexbruy added Feedback Waiting on the submitter for answers and removed Crash/Data Corruption labels Dec 17, 2019
@alexbruy
Copy link
Contributor

Still not reproducible with master.

First of all, you can not add online files as inputs in the Processing algorithms. This can be easily checked by opening "Create points layer from table" (or any other algorithm) dialog and trying to specify URL in the open dialog.

Also you can not use URL as input in the Modeler.

This can be a feature request - adding support for online layers to Processing.

@alexbruy
Copy link
Contributor

If there is a need to create table from online CSV, one can use file downloader algoroithm to download CVS to local machine and use this local file as input.

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! Feedback Waiting on the submitter for answers Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

4 participants