prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.63k stars 1.92k forks source link

PrusaSlicer2.6alpha4 Cannot set locale to language "Chinese (Simplified, China)". #9779

Closed wisonlau closed 1 year ago

wisonlau commented 1 year ago

Description of the bug

image
MacOS ./PrusaSlicer --loglevel=5
[2023-02-19 11:11:27.943257] [0x0000000113108600] [trace]   Initializing StaticPrintConfigs
[2023-02-19 11:11:27.952650] [0x0000000113108600] [trace]   App updater default download path: "/Users/wisonlau/Downloads"
[2023-02-19 11:11:27.952725] [0x0000000113108600] [debug]   full path: 4072512567279585534
[2023-02-19 11:11:27.952736] [0x0000000113108600] [debug]   single instance: undefined. other params: ./PrusaSlicer;--loglevel=5
[2023-02-19 11:11:27.952742] [0x0000000113108600] [debug]   full lock path: /Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/4072512567279585534.lock
[2023-02-19 11:11:27.954183] [0x0000000113108600] [debug]   Creating lockfile.
[2023-02-19 11:11:27.954213] [0x0000000113108600] [info]    Instance check: Another instance not found or single-instance not set.
[2023-02-19 11:11:28.057299] [0x0000000113108600] [trace]   translation_language provided by PrusaSlicer.ini: zh_CN
[2023-02-19 11:11:28.060055] [0x0000000113108600] [trace]   System language detected (user locales and such): zh_CN
[2023-02-19 11:11:28.063184] [0x0000000113108600] [trace]   Best translation language detected (may be different from user locales): zh_TW
[2023-02-19 11:11:28.063438] [0x0000000113108600] [trace]   Switching wxLocales to zh_CN
[2023-02-19 11:11:28.198854] [0x0000000113108600] [info]    Checking if indices need to be installed from resources...
[2023-02-19 11:11:28.638696] [0x0000000113108600] [info]    3dx mac handler starts
[2023-02-19 11:11:28.638877] [0x0000000113108600] [error]   3dx drivers module loading error: dlopen(/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient, 0x0005): tried: '/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file), '/System/Library/Frameworks/3DconnexionClient.framework/3DconnexionClient' (no such file)
[2023-02-19 11:11:28.638887] [0x0000000113108600] [info]    3dx drivers loaded: NO
[2023-02-19 11:11:28.641071] [0x0000000113108600] [info]    Undo / Redo snapshot taken: 新项目, Undo / Redo stack memory: 0MB Resident memory: 128MB; Peak memory usage: 128MB
[2023-02-19 11:11:28.731605] [0x0000000113108600] [debug]   BuildVolume bed_shape clasified as: Rectangle
[2023-02-19 11:11:28.801485] [0x0000000113108600] [debug]   GLCanvas3D: Use Retina OpenGL: true
[2023-02-19 11:11:28.801524] [0x0000000113108600] [debug]   GLCanvas3D: Use Retina OpenGL: true
[2023-02-19 11:11:29.440854] [0x0000000113108600] [debug]   TriangleMesh::repair() started
[2023-02-19 11:11:29.441722] [0x0000000113108600] [debug]   TriangleMesh::repair() finished
[2023-02-19 11:11:30.844670] [0x0000000113108600] [error]   Hint notification without hypertext end marker: Hiding sidebar\nDid you know that you can hide the right sidebar using the shortcut <b>Shift+Tab</b>? You can also enable the icon for this from the<a>Preferences</a>.
[2023-02-19 11:11:30.844948] [0x0000000113108600] [error]   Hint notification without hypertext end marker: Configuration snapshots\nDid you know that you can roll back to a complete backup of all system and user profiles? You can view and move back and forth between snapshots using the Configuration - <a>Configuration snapshots menu</a>.
[2023-02-19 11:11:30.844989] [0x0000000113108600] [error]   Hint notification without hypertext end marker: Minimum shell thickness\nDid you know that instead of the number of top and bottom layers, you can define the<a>Minimum shell thickness</a>in millimeters? This feature is especially useful when using the variable layer height function.
[2023-02-19 11:11:30.847331] [0x0000000113108600] [info]    Checking for cached configuration updates...
[2023-02-19 11:11:30.847380] [0x0000000113108600] [info]    Confing bundle not installed for vendor Rigid3D, skipping:
[2023-02-19 11:11:30.847404] [0x0000000113108600] [info]    Confing bundle not installed for vendor TriLAB, skipping:
[2023-02-19 11:11:30.847425] [0x0000000113108600] [info]    Confing bundle not installed for vendor Geeetech, skipping:
[2023-02-19 11:11:30.847440] [0x0000000113108600] [info]    Confing bundle not installed for vendor Anker, skipping:
[2023-02-19 11:11:30.847451] [0x0000000113108600] [info]    Confing bundle not installed for vendor Print4Taste, skipping:
[2023-02-19 11:11:30.847462] [0x0000000113108600] [info]    Confing bundle not installed for vendor Elegoo, skipping:
[2023-02-19 11:11:30.847473] [0x0000000113108600] [info]    Confing bundle not installed for vendor Snapmaker, skipping:
[2023-02-19 11:11:30.851416] [0x0000000113108600] [debug]   Vendor: Templates, version installed: 1.0.0, version cached: 1.0.0
[2023-02-19 11:11:30.851475] [0x0000000113108600] [info]    Confing bundle not installed for vendor BIBO, skipping:
[2023-02-19 11:11:30.851491] [0x0000000113108600] [info]    Confing bundle not installed for vendor LulzBot, skipping:
[2023-02-19 11:11:30.867773] [0x0000000113108600] [debug]   Vendor: Prusa Research, version installed: 1.6.0-alpha1, version cached: 1.6.0-alpha1
[2023-02-19 11:11:30.867805] [0x0000000113108600] [info]    Confing bundle not installed for vendor Ultimaker, skipping:
[2023-02-19 11:11:30.867814] [0x0000000113108600] [info]    Confing bundle not installed for vendor Voron, skipping:
[2023-02-19 11:11:30.867821] [0x0000000113108600] [info]    Confing bundle not installed for vendor Infinity3D, skipping:
[2023-02-19 11:11:30.867829] [0x0000000113108600] [info]    Confing bundle not installed for vendor Jubilee, skipping:
[2023-02-19 11:11:30.867835] [0x0000000113108600] [info]    Confing bundle not installed for vendor FLSun, skipping:
[2023-02-19 11:11:30.867842] [0x0000000113108600] [info]    Confing bundle not installed for vendor Zonestar, skipping:
[2023-02-19 11:11:30.867848] [0x0000000113108600] [info]    Confing bundle not installed for vendor Anycubic, skipping:
[2023-02-19 11:11:30.867855] [0x0000000113108600] [info]    Confing bundle not installed for vendor gCreate, skipping:
[2023-02-19 11:11:30.867861] [0x0000000113108600] [info]    Confing bundle not installed for vendor Creality, skipping:
[2023-02-19 11:11:30.867868] [0x0000000113108600] [info]    Confing bundle not installed for vendor RatRig, skipping:
[2023-02-19 11:11:30.867874] [0x0000000113108600] [info]    Confing bundle not installed for vendor BIQU, skipping:
[2023-02-19 11:11:30.867881] [0x0000000113108600] [info]    Confing bundle not installed for vendor Artillery, skipping:
[2023-02-19 11:11:30.867888] [0x0000000113108600] [info]    Confing bundle not installed for vendor INAT, skipping:
[2023-02-19 11:11:30.867894] [0x0000000113108600] [info]    Confing bundle not installed for vendor MakerGear, skipping:
[2023-02-19 11:11:30.867905] [0x0000000113108600] [info]    No configuration updates available.
[2023-02-19 11:11:31.901580] [0x0000700004d05000] [info]    Syncing configuration cache
[2023-02-19 11:11:31.901623] [0x0000700004d05000] [info]    Downloading vedor profiles archive zip from https://files.prusa3d.com/wp-content/uploads/repository/vendor_indices.zip
[2023-02-19 11:11:31.901667] [0x0000700004d05000] [info]    Get: `https://files.prusa3d.com/wp-content/uploads/repository/vendor_indices.zip`
    -> `/Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/vendor_indices.zip`
    via tmp path `/Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/vendor_indices.zip.20301.download`
*   Trying 185.115.1.124:443...
*   Trying 185.115.1.124:443...
* Connected to files.prusa3d.com (185.115.1.124) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Connected to files.prusa3d.com (185.115.1.124) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=files.prusa3d.com
*  start date: Jan  4 20:25:50 2023 GMT
*  expire date: Apr  4 20:25:49 2023 GMT
*  subjectAltName: host "files.prusa3d.com" matched cert's "files.prusa3d.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7ff197b94000)
> GET /wp-content/uploads/repository/vendor_indices.zip HTTP/2
Host: files.prusa3d.com
user-agent: PrusaSlicer/2.6.0-alpha4+MacOS-x64
accept: */*

* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=files.prusa3d.com
*  start date: Jan  4 20:25:50 2023 GMT
*  expire date: Apr  4 20:25:49 2023 GMT
*  subjectAltName: host "files.prusa3d.com" matched cert's "files.prusa3d.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7ff19688f800)
> GET /wp-content/uploads/repository/PrusaSlicer-settings-master/live/PrusaSlicer.version HTTP/2
Host: files.prusa3d.com
user-agent: PrusaSlicer/2.6.0-alpha4+MacOS-x64
accept: */*

* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Sun, 19 Feb 2023 03:11:33 GMT
< content-type: text/plain;charset=UTF-8
< vary: Accept-Encoding
< vary: Accept-Encoding
<
* Connection #0 to host files.prusa3d.com left intact
[2023-02-19 11:11:32.934728] [0x0000700004d88000] [info]    Got PrusaSlicer online version: `2.6.0-alpha4`. Sending to GUI thread...
[2023-02-19 11:11:32.934816] [0x0000700004d88000] [info]    parsing version string: url: https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.5.0/PrusaSlicer-2.5.0+MacOS-universal-202209060719.dmg
[2023-02-19 11:11:32.934842] [0x0000700004d88000] [info]    parsing version string: expected size: 89710582
[2023-02-19 11:11:32.934859] [0x0000700004d88000] [info]    Got PrusaSlicer online version: `2.5.0`. Sending to GUI thread...
< HTTP/2 200
< server: nginx
< date: Sun, 19 Feb 2023 03:11:33 GMT
< content-type: application/zip
< content-length: 9822
< last-modified: Sun, 19 Feb 2023 03:00:11 GMT
< etag: "265e-5f504beaf44b4"
< accept-ranges: bytes
<
* Connection #0 to host files.prusa3d.com left intact
[2023-02-19 11:11:32.991408] [0x0000700004d05000] [debug]   No such vendor: Rigid3D
[2023-02-19 11:11:32.991428] [0x0000700004d05000] [debug]   No such vendor: TriLAB
[2023-02-19 11:11:32.991434] [0x0000700004d05000] [debug]   No such vendor: Geeetech
[2023-02-19 11:11:32.991438] [0x0000700004d05000] [debug]   No such vendor: Anker
[2023-02-19 11:11:32.991442] [0x0000700004d05000] [debug]   No such vendor: Print4Taste
[2023-02-19 11:11:32.991446] [0x0000700004d05000] [debug]   No such vendor: Elegoo
[2023-02-19 11:11:32.991450] [0x0000700004d05000] [debug]   No such vendor: Snapmaker
[2023-02-19 11:11:32.991494] [0x0000700004d05000] [info]    The downloaded index /Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/vendor/Templates.idx for vendor Templates is older than the active one. Ignoring the downloaded index.
[2023-02-19 11:11:32.991506] [0x0000700004d05000] [debug]   No such vendor: BIBO
[2023-02-19 11:11:32.991510] [0x0000700004d05000] [debug]   No such vendor: LulzBot
[2023-02-19 11:11:32.992037] [0x0000700004d05000] [debug]   PresetUpdater: Copying "/Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/vendor/PrusaResearch.idx" -> "/Users/wisonlau/Library/Application Support/PrusaSlicer-alpha/cache/PrusaResearch.idx"
[2023-02-19 11:11:32.992086] [0x0000700004d05000] [debug]   boost::filesystem::permisions before copy error message (this could be irrelevant message based on file system): No such file or directory
[2023-02-19 11:11:32.993104] [0x0000700004d05000] [debug]   Got index for vendor: Prusa Research: current version: 1.6.0-alpha1, recommended version: 1.6.0-alpha1
[2023-02-19 11:11:32.993123] [0x0000700004d05000] [debug]   No such vendor: Ultimaker
[2023-02-19 11:11:32.993128] [0x0000700004d05000] [debug]   No such vendor: Voron
[2023-02-19 11:11:32.993132] [0x0000700004d05000] [debug]   No such vendor: Infinity3D
[2023-02-19 11:11:32.993136] [0x0000700004d05000] [debug]   No such vendor: Jubilee
[2023-02-19 11:11:32.993140] [0x0000700004d05000] [debug]   No such vendor: FLSun
[2023-02-19 11:11:32.993144] [0x0000700004d05000] [debug]   No such vendor: Zonestar
[2023-02-19 11:11:32.993148] [0x0000700004d05000] [debug]   No such vendor: Anycubic
[2023-02-19 11:11:32.993152] [0x0000700004d05000] [debug]   No such vendor: gCreate
[2023-02-19 11:11:32.993156] [0x0000700004d05000] [debug]   No such vendor: Creality
[2023-02-19 11:11:32.993161] [0x0000700004d05000] [debug]   No such vendor: RatRig
[2023-02-19 11:11:32.993165] [0x0000700004d05000] [debug]   No such vendor: BIQU
[2023-02-19 11:11:32.993169] [0x0000700004d05000] [debug]   No such vendor: Artillery
[2023-02-19 11:11:32.993173] [0x0000700004d05000] [debug]   No such vendor: INAT
[2023-02-19 11:11:32.993178] [0x0000700004d05000] [debug]   No such vendor: MakerGear
[2023-02-19 11:11:33.003908] [0x0000700004d05000] [info]    Resource TriLAB / AQI_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.003962] [0x0000700004d05000] [info]    Resource TriLAB / DQ2_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.003991] [0x0000700004d05000] [info]    Resource TriLAB / DQ2P_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004020] [0x0000700004d05000] [info]    Resource TriLAB / DQ2+FP2_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004048] [0x0000700004d05000] [info]    Resource TriLAB / DQ2P+FP2_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004075] [0x0000700004d05000] [info]    Resource TriLAB / DQ2+FP_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004104] [0x0000700004d05000] [info]    Resource TriLAB / DQ2P+FP_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004130] [0x0000700004d05000] [info]    Resource TriLAB / DQM_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004189] [0x0000700004d05000] [info]    Resource TriLAB / DQL_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.004247] [0x0000700004d05000] [info]    Resource TriLAB / DQXL_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026517] [0x0000700004d05000] [info]    Resource PrusaResearch / mini.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026562] [0x0000700004d05000] [info]    Resource PrusaResearch / mini_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026581] [0x0000700004d05000] [info]    Resource PrusaResearch / MINI_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026599] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026617] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026634] [0x0000700004d05000] [info]    Resource PrusaResearch / MK3S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026648] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026662] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026677] [0x0000700004d05000] [info]    Resource PrusaResearch / MK3_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026693] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026717] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026738] [0x0000700004d05000] [info]    Resource PrusaResearch / MK3SMMU2S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026753] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026771] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026803] [0x0000700004d05000] [info]    Resource PrusaResearch / MK3MMU2_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026819] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026833] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026855] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2.5S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026892] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026914] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026931] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2.5_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026945] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.026960] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.026977] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2.5SMMU2S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.026999] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.027079] [0x0000700004d05000] [info]    Resource PrusaResearch / mk3_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.027110] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2.5MMU2_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.027134] [0x0000700004d05000] [info]    Resource PrusaResearch / mk2.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.027161] [0x0000700004d05000] [info]    Resource PrusaResearch / mk2_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.027182] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.027196] [0x0000700004d05000] [info]    Resource PrusaResearch / mk2.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.027211] [0x0000700004d05000] [info]    Resource PrusaResearch / mk2_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.027226] [0x0000700004d05000] [info]    Resource PrusaResearch / MK2SMM_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.027240] [0x0000700004d05000] [info]    Resource PrusaResearch / sl1.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.027255] [0x0000700004d05000] [info]    Resource PrusaResearch / sl1_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.027423] [0x0000700004d05000] [info]    Resource PrusaResearch / SL1_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:11:33.027445] [0x0000700004d05000] [info]    Resource PrusaResearch / sl1s.svg found in resources folder. No need to download.
[2023-02-19 11:11:33.027467] [0x0000700004d05000] [info]    Resource PrusaResearch / sl1s_bed.stl found in resources folder. No need to download.
[2023-02-19 11:11:33.027484] [0x0000700004d05000] [info]    Resource PrusaResearch / SL1S_thumbnail.png found in resources folder. No need to download.
[2023-02-19 11:12:13.245498] [0x0000000113108600] [debug]   message handler shutdown().

Project file & How to reproduce

https://github.com/prusa3d/PrusaSlicer/issues/9476

Checklist of files included above

Version of PrusaSlicer

PrusaSlicer-2.6.0-alpha4+MacOS-universal-202302180021.dmg

Operating system

macos 12.6.1

Printer model

prusa mk3s

ycbwb commented 1 year ago

The same problem. mac os 13.2.1 version: alpha5

AlexTOOT commented 1 year ago

Same problem 2.6.0 Alpha6 Macos 13.2.1

gongzuo51 commented 1 year ago

Same problem 2.6.0 b4 macos 13.4

lukasmatena commented 1 year ago

Thanks for the report. Fixed in 2.6.0-rc1. Closing.