Bug 465560 - Tools > Scripts > Export Layers close when I select "Initial directory"
Summary: Tools > Scripts > Export Layers close when I select "Initial directory"
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: 5.1.5
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 21:24 UTC by d2clon
Modified: 2023-02-17 03:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash without message here (50.28 KB, image/png)
2023-02-10 21:24 UTC, d2clon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d2clon 2023-02-10 21:24:13 UTC
Created attachment 156136 [details]
Crash without message here

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. New File
2. Create multiple layers
3. Tools > Scripts > Export Layers
4. Select "Initial directory"

OBSERVED RESULT
Export Layers modal close without any message, neither the export result


EXPECTED RESULT
To complete the Export Layers process


SOFTWARE/OS VERSIONS
macOS: Ventura 13.1


ADDITIONAL INFORMATION
Steam version
Comment 2 vanyossi 2023-02-16 02:34:51 UTC
I'm sorry I cannot reproduce this issue neither on 5.1.5 nor master, could you paste the system information from: krita -> help

I use and test the python script always using that script and the scripter
Comment 3 d2clon 2023-02-16 14:16:39 UTC
hi @vanyossi, thanks for checking out

System information:
==================================
Krita

 Version: 5.1.5
 Hidpi: true

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: darwin
  Kernel Version: 22.2.0
  Pretty Productname: macOS 13.1
  Product Type: osx
  Product Version: 13.1

Locale

  Languages: en_GB
  C locale: C
  QLocale current: en-DE
  QLocale system: en-DE
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Intel Inc." 
  Renderer:  "Intel(R) Iris(TM) Plus Graphics 655" 
  Version:  "4.1 INTEL-20.2.48" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
  Current format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
     Version: 4.1
     Supports deprecated functions false 
     is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     "GL_ARB_shader_bit_encoding" 
     "GL_ARB_vertex_attrib_64bit" 
     "GL_APPLE_flush_render" 
     "GL_APPLE_rgb_422" 
     "GL_ARB_sample_shading" 
     "GL_ARB_explicit_attrib_location" 
     "GL_ARB_vertex_type_2_10_10_10_rev" 
     "GL_ARB_sampler_objects" 
     "GL_ARB_transform_feedback2" 
     "GL_EXT_debug_label" 
     "GL_ARB_shading_language_include" 
     "GL_ARB_texture_cube_map_array" 
     "GL_APPLE_object_purgeable" 
     "GL_ARB_instanced_arrays" 
     "GL_ARB_blend_func_extended" 
     "GL_EXT_texture_filter_anisotropic" 
     "GL_ARB_gpu_shader_fp64" 
     "GL_ARB_texture_storage" 
     "GL_ARB_texture_query_lod" 
     "GL_EXT_texture_compression_s3tc" 
     "GL_EXT_framebuffer_multisample_blit_scaled" 
     "GL_ARB_separate_shader_objects" 
     "GL_ARB_timer_query" 
     "GL_ARB_texture_rgb10_a2ui" 
     "GL_ARB_texture_gather" 
     "GL_ARB_shader_subroutine" 
     "GL_NV_texture_barrier" 
     "GL_ATI_texture_mirror_once" 
     "GL_APPLE_texture_range" 
     "GL_ARB_viewport_array" 
     "GL_ARB_tessellation_shader" 
     "GL_APPLE_client_storage" 
     "GL_EXT_debug_marker" 
     "GL_EXT_texture_sRGB_decode" 
     "GL_ARB_texture_buffer_object_rgb32" 
     "GL_ARB_texture_swizzle" 
     "GL_ARB_gpu_shader5" 
     "GL_APPLE_row_bytes" 
     "GL_ARB_draw_indirect" 
     "GL_ARB_ES2_compatibility" 
     "GL_ARB_occlusion_query2" 
     "GL_ARB_transform_feedback3" 
     "GL_APPLE_container_object_shareable" 
     "GL_ARB_draw_buffers_blend" 
     "GL_ARB_internalformat_query" 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: desktop
  Memory: 16384 Mb
  Number of Cores: 8
  Swap Location: /private/var/folders/6y/3sx9kpx94sq7wpqcsncvy48c0000gn/T
  Built for: sse4.1
  Base instruction set: sse4.1
  Supported instruction sets: fma3+avx2 avx2 fma3+avx avx fma4 fma3+sse4.2 sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: /private/var/folders/6y/3sx9kpx94sq7wpqcsncvy48c0000gn/T
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /Users/userme/Library/Application Support/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	batch_exporter
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts


Display Information
Number of screens: 1
	Screen: 0
		Name: DELL U2719DC
		Depth: 24
		Scale: 1
		Physical DPI109
		Logical DPI72
		Physical Size: 596.55, 335.56
		Position: 0, 0
		Resolution in pixels: 2560x1440
		Manufacturer: 
		Model: 
		Refresh Rate: 59.875







Session log after trying Tools > Scripts > Export Layers 
================================================================================
SESSION: 16 Feb 2023 15:12:35 +0100. Executing /Users/userme/Library/Application Support/Steam/steamapps/common/Krita/krita.app/Contents/MacOS/krita

Krita Version: 5.1.5, Qt version compiled: 5.12.12, loaded: 5.12.12. Process ID: 67020
-- -- -- -- -- -- -- --
16 Feb 2023 15:12:35 +0100: Style: macintosh. Available styles: macintosh, Windows, Fusion
16 Feb 2023 15:12:36 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.1.5, at Fri Jan 6 21:00:35 2023
16 Feb 2023 15:12:39 +0100: Importing application/x-krita to application/x-krita. Location: /Users/userme/Development/SpaceBlastersSquad/Art/Cover.kra. Real location: /Users/userme/Development/SpaceBlastersSquad/Art/Cover.kra. Batchmode: 0
16 Feb 2023 15:12:39 +0100: Loaded image from application/x-krita. Size: 304 * 171 pixels, 0.0138889 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 11a
Comment 4 Bug Janitor Service 2023-02-17 03:49:07 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.