~~boss~~
05/26/2025, 11:41 AMfloitsch
05/26/2025, 11:44 AMfloitsch
05/26/2025, 11:44 AMfloitsch
05/26/2025, 11:45 AMfloitsch
05/26/2025, 11:46 AM~~boss~~
05/26/2025, 11:50 AMfloitsch
05/26/2025, 11:52 AMfloitsch
05/26/2025, 11:53 AMfloitsch
05/26/2025, 11:53 AM~~boss~~
05/26/2025, 11:54 AMfloitsch
05/26/2025, 11:54 AM-d host. That means you are not running with a device.floitsch
05/26/2025, 11:54 AMfloitsch
05/26/2025, 11:54 AM~~boss~~
05/26/2025, 11:54 AM~~boss~~
05/26/2025, 11:55 AMfloitsch
05/26/2025, 11:55 AMfloitsch
05/26/2025, 11:56 AMfloitsch
05/26/2025, 11:56 AMfloitsch
05/26/2025, 11:56 AMᐅ jag decode WyNVBVVYU1UQdjIuMC4wLWFscGhhLjE4MFNVAFskVSNVECSEkGZrEVWZtpebppNXCtFbI1UEVUVTVRdQUklNSVRJVkVfTE9PS1VQX0ZBSUxFRFNVHUZhaWxlZCB0byBmaW5kIHByaW1pdGl2ZSAyNTowWyNVAlVTWyNVD1sjbAAAAANVRlUASQEBWyNsAAAAA1VGVQFVB1sjbAAAAANVRlUCSQ32WyNsAAAAA1VGVQNJDlZbI2wAAAADVUZVBEkCZFsjbAAAAANVRlUFSQHQWyNsAAAAA1VGVQZV6VsjbAAAAANVRlUHSQglWyNsAAAAA1VGVQhJCeZbI2wAAAADVUZVCUkJ/VsjbAAAAANVRlUKSSRUWyNsAAAAA1VGVQtJJGxbI2wAAAADVUZVDEkjkFsjbAAAAANVRlUNSSQYWyNsAAAAA1VGVQ5JCD4=
PRIMITIVE_LOOKUP_FAILED error.
Failed to find primitive 25:0
No such file: /home/flo/.local/state/toit/snapshots/24849066-6b11-5599-b697-9ba693570ad1.snapshot
Error: cannot decode stacktrace without snapshot for program: 24849066-6b11-5599-b697-9ba693570ad1~~boss~~
05/26/2025, 11:57 AMfloitsch
05/26/2025, 11:57 AMfloitsch
05/26/2025, 11:58 AMfloitsch
05/26/2025, 11:58 AMprimitive 25:0 error is because you are trying to use GPIO pins, but you are running on your host (desktop/laptop) machine.floitsch
05/26/2025, 11:58 AMfloitsch
05/26/2025, 11:59 AMfloitsch
05/26/2025, 11:59 AMfloitsch
05/26/2025, 11:59 AMjag scanfloitsch
05/26/2025, 11:59 AMfloitsch
05/26/2025, 12:00 PMjag monitor. That gives you the serial output of the device.floitsch
05/26/2025, 12:01 PMfloitsch
05/26/2025, 12:01 PMjag monitor).floitsch
05/26/2025, 12:01 PMprint, then you would also see that with jag monitor.~~boss~~
05/26/2025, 12:02 PM~~boss~~
05/27/2025, 11:03 AM~~boss~~
05/27/2025, 11:03 AMfloitsch
05/27/2025, 11:05 AM~~boss~~
05/27/2025, 11:10 AMPS C:\Users\bossc\OneDrive\เดสก์ท็อป\test website> jajag scan
Scanning ...
v fierce-egg (address: http://192.168.1.126:9000, 32-bit)
PS C:\Users\bossc\OneDrive\เดสก์ท็อป\test website> jag run test.toit
Running 'test.toit' on 'fierce-egg' ...
EXCEPTION error.floitsch
05/27/2025, 11:10 AMfloitsch
05/27/2025, 11:13 AMfloitsch
05/27/2025, 11:15 AMfloitsch
05/27/2025, 11:15 AMGet-WinSystemLocale | Select-Object Name, DisplayName,
@{ n='OEMCP'; e={ $_.TextInfo.OemCodePage } },
@{ n='ACP';floitsch
05/27/2025, 11:15 AMfloitsch
05/27/2025, 11:16 AMfloitsch
05/27/2025, 11:18 AMfloitsch
05/27/2025, 11:19 AM~~boss~~
05/27/2025, 11:22 AMPS C:\Users\bossc\OneDrive\เดสก์ท็อป\test website> GeGet-WinSystemLocale
LCID Name DisplayName
---- ---- -----------
1054 th-TH Thai (Thailand)~~boss~~
05/27/2025, 11:23 AMPS C:\Users\bossc\OneDrive\เดสก์ท็อป\test website> @{Get-WinSystemLocale | Select-Object Name, DisplayName,
>> @{ n='OEMCP'; e={ $_.TextInfo.OemCodePage } },
>> @{ n='ACP'; e={ $_.TextInfo.AnsiCodePage } }
Name DisplayName OEMCP ACP
---- ----------- ----- ---
th-TH Thai (Thailand) 874 874floitsch
05/27/2025, 11:24 AMfloitsch
05/27/2025, 11:27 AM$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
(Maybe use chatgpt to confirm that this command is benign)floitsch
05/27/2025, 11:28 AMfloitsch
05/27/2025, 11:28 AMfloitsch
05/27/2025, 2:29 PMtest.toit?floitsch
05/27/2025, 2:30 PMtoit is failing while trying to parse the name of an element. However that should always be ascii, so I'm not sure how we can get the error there.floitsch
05/27/2025, 2:32 PMfloitsch
05/27/2025, 2:32 PMfloitsch
05/27/2025, 2:33 PMfloitsch
05/27/2025, 2:44 PM~~boss~~
05/27/2025, 2:56 PM~~boss~~
05/27/2025, 2:56 PMfloitsch
05/27/2025, 2:56 PMfloitsch
05/27/2025, 2:56 PMfloitsch
05/27/2025, 2:57 PM~~boss~~
05/27/2025, 2:58 PMfloitsch
05/27/2025, 2:59 PMfloitsch
05/27/2025, 2:59 PMfloitsch
05/27/2025, 2:59 PMfloitsch
05/27/2025, 3:01 PMfloitsch
05/27/2025, 3:12 PMlib files in your toit folder?
I think that would be in c:\Users\bossc\AppData\Local\jaguar\sdk\lib (maybe?)
I'm still leaning towards the filenames being the issue, but if the lib files were written in the wrong encoding, then that could maybe also be bad (and definitely something that would need to be fixed).~~boss~~
05/27/2025, 3:18 PMfloitsch
05/27/2025, 3:18 PMfloitsch
05/27/2025, 7:44 PM~~boss~~
05/28/2025, 11:47 AM~~boss~~
05/28/2025, 11:47 AMfloitsch
05/28/2025, 11:48 AMfloitsch
05/28/2025, 11:48 AMfloitsch
05/28/2025, 11:48 AMfloitsch
05/28/2025, 11:49 AMfloitsch
05/28/2025, 11:50 AM~~boss~~
05/28/2025, 11:59 AMfloitsch
05/28/2025, 12:00 PM~~boss~~
05/28/2025, 12:00 PMfloitsch
05/28/2025, 12:00 PMfloitsch
05/28/2025, 12:00 PMfloitsch
05/28/2025, 12:01 PMfloitsch
05/28/2025, 12:02 PMfloitsch
06/03/2025, 8:00 AMfloitsch
06/06/2025, 2:53 PMfloitsch
06/06/2025, 2:54 PMfloitsch
06/06/2025, 2:54 PM~~boss~~
06/06/2025, 3:04 PMfloitsch
06/06/2025, 3:05 PM~~boss~~
06/06/2025, 3:05 PMPS C:\Users\bossc\OneDrive\เดสก์ท็อป\test website> jajag run test.toit
Running 'test.toit' on 'fierce-egg' ...
EXCEPTION error.
ILLEGAL_UTF_8
0: ByteArrayBase_.to-string <sdk>\core\collections.toit:1520:5
1: StringSegment.read-element_ D:\a\toit\toit\tools\snapshot.toit:1550:24
2: ListSegment.read-contents_.<block> D:\a\toit\toit\tools\snapshot.toit:1385:25
3: Array_.<block> <sdk>\core\collections.toit:876:31
4: SmallInteger_.repeat <sdk>\core\numbers.toit:1288:3
5: Array_ <sdk>\core\collections.toit:876:10
6: List <sdk>\core\collections.toit:187:31
7: ListSegment.read-contents_ D:\a\toit\toit\tools\snapshot.toit:1385:12
8: SourceSegment.content D:\a\toit\toit\tools\snapshot.toit:1363:33
9: ListSegment.content D:\a\toit\toit\tools\snapshot.toit:1387:27
10: SourceSegment.read-string_ D:\a\toit\toit\tools\snapshot.toit:1370:21
11: MethodSegment.read-element_ D:\a\toit\toit\tools\snapshot.toit:1435:14
12: MapSegment.read-contents_.<block> D:\a\toit\toit\tools\snapshot.toit:1405:18
13: SmallInteger_.repeat <sdk>\core\numbers.toit:1288:3
14: MapSegment.read-contents_ D:\a\toit\toit\tools\snapshot.toit:1404:12
15: SourceSegment.content D:\a\toit\toit\tools\snapshot.toit:1363:33
16: MapSegment.content D:\a\toit\toit\tools\snapshot.toit:1409:26
17: Program D:\a\toit\toit\tools\snapshot.toit:90:68
18: SnapshotBundle.decode D:\a\toit\toit\tools\snapshot.toit:213:12
19: snapshot-to-image D:\a\toit\toit\tools\snapshot_to_image.toit:154:30
20: build-command.<lambda> D:\a\toit\toit\tools\snapshot_to_image.toit:127:16
21: Command.run.<block> <pkg:pkg-cli>\cli.toit:308:40
22: Parser_.parse <pkg:pkg-cli>\parser_.toit:212:5
23: Command.run <pkg:pkg-cli>\cli.toit:306:12
24: main D:\a\toit\toit\tools\toit.toit:523:16floitsch
06/06/2025, 3:06 PMjag toit compile --snapshot -o test.snapshot test.toit ?floitsch
06/06/2025, 3:06 PMtest.snapshot file.floitsch
06/06/2025, 3:07 PM~~boss~~
06/06/2025, 3:09 PMfloitsch
06/06/2025, 3:09 PMfloitsch
06/06/2025, 3:09 PMfloitsch
06/06/2025, 5:02 PMC:\Users\bossc\OneDrive\�ʡ�ͻ\test website\test.toit.
Now trying to be able to reproduce on our buildbot.floitsch
06/07/2025, 9:02 AMfloitsch
06/08/2025, 12:19 PM~~boss~~
06/09/2025, 8:43 AM