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

Writing features without geometrier to SHP causes Python error #27086

Closed
qgib opened this issue Jun 25, 2018 · 3 comments
Closed

Writing features without geometrier to SHP causes Python error #27086

qgib opened this issue Jun 25, 2018 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Modeller Processing Relating to QGIS Processing framework or individual Processing algorithms stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@qgib
Copy link
Contributor

qgib commented Jun 25, 2018

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


When I drop the feature geometries in a processing model and specify SHP as output, I get this Pythin error:

Processing algorithm…

Algorithm 'modell' starting…

Indataparametrar:

{ 'indata' : 'C:/Users/Magnus/Desktop/Stenungsund/ay_1415.shp', 'native:dropgeometries_1:Resultat' : 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp' }

Förbered algoritm: native:dropgeometries_1

Kör Släng geometrier [1/1]

Indataparametrar:

{ INPUT: 'C:/Users/Magnus/Desktop/Stenungsund/ay_1415.shp', OUTPUT: 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp' }

OK. Exekveringen tog 0.339 s (1 utdata).

Modellen kördes korrekt. Exekverade 1 algoritmer totalt på 0.378 s.

Beräkningen utfördes på 0.39 sekunder

Resultat:

{'native:dropgeometries_1:Resultat': 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp'}

Läser in lagerresultat

Följande lager skapades inte korrekt.

  • C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp
Du kan kontrollera 'Loggmeddelande' panelen i QGIS huvudfönster för att hitta mer information om exekveringen av algoritmen.

SHP-files do of course need geometry, but this case should be better taken care of, for example with a warning to the user.

@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 labels May 25, 2019
@gioman gioman added Modeller Feedback Waiting on the submitter for answers labels Jun 26, 2021
@gioman
Copy link
Contributor

gioman commented Jun 26, 2021

Still true? If yes please attach the model.

@github-actions
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jul 14, 2021
@github-actions
Copy link

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

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 Modeller Processing Relating to QGIS Processing framework or individual Processing algorithms stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

2 participants