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

Saving Processing's Package Layers algorithm's output to default temporary output leaves no result #30535

Closed
kannes opened this issue Jul 3, 2019 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@kannes
Copy link
Contributor

kannes commented Jul 3, 2019

Describe the bug
If you do not select a file to write to for Processing's Package Layers algorithm, it will produce no result. The default output is a temporary file which makes no sense for this kind of functionality.

How to Reproduce

  1. Load some layers
  2. Open Package Layers algorithm
  3. Select layers
  4. Click Run
  5. You get nothing

QGIS and OS versions

QGIS 3.8.0

@kannes kannes added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 3, 2019
@alexbruy alexbruy added the Feedback Waiting on the submitter for answers label Sep 19, 2019
@alexbruy
Copy link
Contributor

Not reproducible on master and 3.8: output file created and contains selected layers.

@kannes
Copy link
Contributor Author

kannes commented Sep 19, 2019

I can confirm that and I wonder if I really looked properly back then.

Example output with a temporary output, which writes a GPKG to the temporary path:

QGIS version: 3.9.0-Master
QGIS code revision: 738ced6488
Qt version: 5.13.1
GDAL version: 3.0.1
GEOS version: 3.7.2-CAPI-1.11.2 b55d2125
PROJ version: Rel. 6.2.0, September 1st, 2019
Processing algorithm…
Algorithm 'Package layers' starting…
Input parameters:
{ 'LAYERS' : ['/tmp/ne_10m_coastline.shp','/tmp/ne_10m_geography_marine_polys.shp','/tmp/ne_10m_geography_regions_elevation_points.shp'], 'OUTPUT' : 'TEMPORARY_OUTPUT', 'OVERWRITE' : False, 'SAVE_STYLES' : True }

Packaging layer 1/3: ne_10m_coastline
Packaging layer 2/3: ne_10m_geography_marine_polys
Packaging layer 3/3: ne_10m_geography_regions_elevation_points
Execution completed in 0.34 seconds
Results:
{'OUTPUT': '/tmp/processing_f59b8b556834422a975f8dcb1ef3bd76/ea4dbe74a97e4b478da0883b89b79371/OUTPUT.gpkg',
'OUTPUT_LAYERS': ['/tmp/processing_f59b8b556834422a975f8dcb1ef3bd76/ea4dbe74a97e4b478da0883b89b79371/OUTPUT.gpkg|layername=ne_10m_coastline',
'/tmp/processing_f59b8b556834422a975f8dcb1ef3bd76/ea4dbe74a97e4b478da0883b89b79371/OUTPUT.gpkg|layername=ne_10m_geography_marine_polys',
'/tmp/processing_f59b8b556834422a975f8dcb1ef3bd76/ea4dbe74a97e4b478da0883b89b79371/OUTPUT.gpkg|layername=ne_10m_geography_regions_elevation_points']}

Loading resulting layers
Algorithm 'Package layers' finished

@kannes kannes closed this as completed Sep 19, 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! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

2 participants