TypeError: Cannot read property 'value' of undefined at a0_0x1b3666 (C:\Users\x\Desktop\Lantern\Lantern.js:1:20925) at Stream.<anonymous> (C:\Users\x\Desktop\Lantern\Lantern.js:1:77238) at Stream.emit (events.js:310:20) at drain (C:\Users\x\Desktop\node_modules\through\index.js:36:16) at Stream.stream.queue.stream.push (C:\Users\x\Desktop\node_modules\through\index.js:45:5) at Parser.parser.onValue (C:\Users\x\Desktop\node_modules\JSONStream\index.js:118:16) at Parser.proto.emit (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:337:8) at Parser.proto.pop (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:332:8) at Parser.proto.onToken (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:402:12) at Parser.parser.onToken (C:\Users\x\Desktop\node_modules\JSONStream\index.js:128:12) Press any key to continue . . .
I am pleased to provide an update on this issue, as it has been successfully resolved on my end. The underlying problem stems from the size of your save file, which is exceeding optimal parameters. To address this, I recommend utilizing the MagicBear Palworld Server Toolkit available on GitHub. Within the toolkit, you can execute the "Delete Unreferenced Item Container" function via the graphical user interface or command line. Following this procedure, your saved game file will be reduced to approximately 14 MB, ensuring compatibility with features such as the Lantern.
yeah should get in the habit of clicking the green check mark for verification on what you are downloading. its literally right above ( Download Vortex or Manual Download) just be cautious lol
Editing pals work suitabilities doesn't seem to do anything. The numbers change in the code, but the game still shows the same old base suitabilities (pal performance/behaviour also reflects this, so its not just a visual thing). Anyone got any ideas on how to change work suitabilities on a pal-by-pal basis?
Heya, I drag my Level.sav (or any other .sav file) onto any of the batch files found in Utility, and it spits out this error. It looks like its getting confused by "Program Files" in the address, seeing the space and calling it quits.
Edit: I managed to fix it by moving the lantern folder onto the desktop, but its still a pretty annoying bug
UESave file. Converting to JSON... python: can't open file 'C:\Program': [Errno 2] No such file or directory child_process.js:669 throw err; ^ Error: Command failed: python C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Data\palworld-save-tools\convert.py --to-json C:\Users\Andrew\AppData\Local\Pal\Saved\SaveGames\76561198028687602\0F1ABD0140E4C49F906B16B96627CAA3\Level.sav python: can't open file 'C:\Program': [Errno 2] No such file or directory at checkExecSyncError (child_process.js:630:11) at Object.execSync (child_process.js:666:15) at a0_0x5a9fd5 (C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Lantern.js:1:72099) at Object.<anonymous> (C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Lantern.js:1:76807) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) at internal/main/run_main_module.js:18:47 { status: 2, signal: null, output: [ null, <Buffer >, <Buffer 70 79 74 68 6f 6e 3a 20 63 61 6e 27 74 20 6f 70 65 6e 20 66 69 6c 65 20 27 43 3a 5c 50 72 6f 67 72 61 6d 27 3a 20 5b 45 72 72 6e 6f 20 32 5d 20 4e 6f ... 24 more bytes> ], pid: 26024, stdout: <Buffer >, stderr: <Buffer 70 79 74 68 6f 6e 3a 20 63 61 6e 27 74 20 6f 70 65 6e 20 66 69 6c 65 20 27 43 3a 5c 50 72 6f 67 72 61 6d 27 3a 20 5b 45 72 72 6e 6f 20 32 5d 20 4e 6f ... 24 more bytes> } Press any key to continue . . .
After dropping Level.sav on ImportPals.cmd, the following error is displayed and new.Level.sav.json is not generated.I would appreciate it if you could let me know if you know the solution.
TypeError: Cannot read property 'value' of undefined at Stream.<anonymous> (F:\Lantern_v1.5.7_Win\Lantern.js:1:88492) at Stream.emit (events.js:310:20) at drain (F:\node_modules\through\index.js:36:16) at Stream.stream.queue.stream.push (F:\node_modules\through\index.js:45:5) at Parser.parser.onValue (F:\node_modules\JSONStream\index.js:118:16) at Parser.proto.emit (F:\node_modules\jsonparse\jsonparse.js:337:8) at Parser.proto.pop (F:\node_modules\jsonparse\jsonparse.js:332:8) at Parser.proto.onToken (F:\node_modules\jsonparse\jsonparse.js:402:12) at Parser.parser.onToken (F:\node_modules\JSONStream\index.js:128:12) at Parser.proto.write (F:\node_modules\jsonparse\jsonparse.js:135:34) Import complete
As you taught me, I picked up some Level.sav from the backup and tried it, but the same error occurred and the result did not change.So, when I created new world data and tried it with a brand new Level.sav, new.Level.sav.json was successfully generated. Apparently my save data has been corrupted for quite some time. I don't know the cause of the corruption, but I have found the reason why new.Level.sav.json was not generated, so I would like to resolve it with this. Thank you very much for your reply!
135 comments
TypeError: Cannot read property 'value' of undefined
at a0_0x1b3666 (C:\Users\x\Desktop\Lantern\Lantern.js:1:20925)
at Stream.<anonymous> (C:\Users\x\Desktop\Lantern\Lantern.js:1:77238)
at Stream.emit (events.js:310:20)
at drain (C:\Users\x\Desktop\node_modules\through\index.js:36:16)
at Stream.stream.queue.stream.push (C:\Users\x\Desktop\node_modules\through\index.js:45:5)
at Parser.parser.onValue (C:\Users\x\Desktop\node_modules\JSONStream\index.js:118:16)
at Parser.proto.emit (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:337:8)
at Parser.proto.pop (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:332:8)
at Parser.proto.onToken (C:\Users\x\Desktop\node_modules\jsonparse\jsonparse.js:402:12)
at Parser.parser.onToken (C:\Users\x\Desktop\node_modules\JSONStream\index.js:128:12)
Press any key to continue . . .
Should work now
"node" is not recognized as an internal or external command, with latest 1.5.5. Any ideas?
<--- Last few GCs --->
[32116:000001CA27983920] 47162 ms: Mark-sweep 2038.3 (2062.1) -> 2036.6 (2043.8) MB, 110.0 / 0.0 ms (+ 330.5 ms in 97 steps since start of marking, biggest step 7.2 ms, walltime since start of marking 475 ms) (average mu = 0.185, current mu = 0.172) f[32116:000001CA27983920] 47186 ms: Scavenge 2040.1 (2043.8) -> 2036.1 (2065.6) MB, 5.5 / 0.0 ms (average mu = 0.185, current mu = 0.172) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 00007FF791CF716D]
Security context: 0x032f43ac08d1 <JSObject>
1: write [000003A9F9D66E51] [C:\Users\NoPantsCarl\Desktop\Palworld\Lantern\node_modules\jsonparse\jsonparse.js:~127] [pc=0000009D94D60ECA](this=0x01524f250369 <Parser map = 00000379FC13DEC9>,0x014a9b246309 <Uint8Array map = 00000379FC124749>)
2: /* anonymous */ [000000FA6CE915F1] [C:\Users\NoPantsCarl\Desktop\Palworld\Lantern\node_modules\JSONStrea...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF7910EC95F napi_wrap+112799
2: 00007FF79108CF36 v8::base::CPU::has_sse+55702
3: 00007FF79108DDC3 v8::base::CPU::has_sse+59427
4: 00007FF7918A9D9E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF791891E71 v8::SharedArrayBuffer::Externalize+833
6: 00007FF79175E30C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436
7: 00007FF791769540 v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312
8: 00007FF791766064 v8::internal::Heap::PageFlagsAreConsistent+3204
9: 00007FF79175B863 v8::internal::Heap::CollectGarbage+1283
10: 00007FF7917620F4 v8::internal::Heap::GlobalSizeOfObjects+212
11: 00007FF791797F1B v8::internal::StackGuard::HandleInterrupts+907
12: 00007FF7914E25F9 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+7737
13: 00007FF791CF716D v8::internal::SetupIsolateDelegate::SetupHeap+546637
14: 0000009D94D60ECA
Press any key to continue . . .
Detected: Trojan:win32/Wacatac.B!ml Anyone else get this? Is this safe? It was on the Latern_v1.5.2_win.zip
UESave file. Converting to JSON...
Converted C:\0\55451D884E457A4C612BF7B7107CF034\Level.sav to JSON.
<--- Last few GCs --->
[22096:000001DCD2F45C10]284797 ms: Mark-sweep 1973.2 (2096.0) -> 1973.2 (2096.0) MB, 1057.6 / 0.0 ms (average mu = 0.135, current mu = 0.000) allocation failure scavenge might not succeed
[22096:000001DCD2F45C10]285843 ms: Mark-sweep 1973.2 (2096.0) -> 1973.2 (2096.0) MB, 1045.4 / 0.0 ms (average mu = 0.072, current mu = 0.000) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x0306ead408d1 <JSObject>
0: builtin exit frame: stringify(this=0x0306ead5ec89 <Object map = 0000032F6C843549>,0,0x0066cb6801b9 <null>,0x03b0812bbba1 <Object map = 0000032F6C864929>,0x0306ead5ec89 <Object map = 0000032F6C843549>)
1: /* anonymous */ [000001230DF9C369] [C:\node_modules\JSONStream\index.js:196] [bytecode=0000019A3EA39969 offset=28](this=0x03b0812bbb29 <Stream map = 000002177441F6F9>,0x03b0812bbba1 ...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF69AB9C95F napi_wrap+112799
2: 00007FF69AB3CF36 v8::base::CPU::has_sse+55702
3: 00007FF69AB3DDC3 v8::base::CPU::has_sse+59427
4: 00007FF69B359D9E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF69B341E71 v8::SharedArrayBuffer::Externalize+833
6: 00007FF69B20E30C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1436
7: 00007FF69B219540 v8::internal::Heap::ProtectUnprotectedMemoryChunks+1312
8: 00007FF69B216064 v8::internal::Heap::PageFlagsAreConsistent+3204
9: 00007FF69B20B863 v8::internal::Heap::CollectGarbage+1283
10: 00007FF69B20AC54 v8::internal::Heap::CollectAllAvailableGarbage+196
11: 00007FF69B209F54 v8::internal::Heap::AddRetainedMap+2580
12: 00007FF69B231B8F v8::internal::Factory::NewRawTwoByteString+95
13: 00007FF69AF1FE7B v8::internal::StringStream::ClearMentionedObjectCache+9579
14: 00007FF69B14498D v8::internal::TimedHistogram::Stop+2093
15: 00007FF69B1459EB v8::internal::TimedHistogram::Stop+6283
16: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
17: 00007FF69B1483E4 v8::internal::TimedHistogram::Stop+17028
18: 00007FF69B14741E v8::internal::TimedHistogram::Stop+12990
19: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
20: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
21: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
22: 00007FF69B1483E4 v8::internal::TimedHistogram::Stop+17028
23: 00007FF69B14741E v8::internal::TimedHistogram::Stop+12990
24: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
25: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
26: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
27: 00007FF69B1469B7 v8::internal::TimedHistogram::Stop+10327
28: 00007FF69B1483E4 v8::internal::TimedHistogram::Stop+17028
29: 00007FF69B14AFF0 v8::internal::TimedHistogram::Stop+28304
30: 00007FF69B2D3624 v8::internal::Builtins::builtin_handle+84900
31: 00007FF69B7A726D v8::internal::SetupIsolateDelegate::SetupHeap+546893
32: 00007FF69B72C11C v8::internal::SetupIsolateDelegate::SetupHeap+42748
33: 000001303C18BE81
Import complete
Press any key to continue . . .
Anyone got any ideas on how to change work suitabilities on a pal-by-pal basis?
It looks like its getting confused by "Program Files" in the address, seeing the space and calling it quits.
Edit: I managed to fix it by moving the lantern folder onto the desktop, but its still a pretty annoying bug
UESave file. Converting to JSON...
python: can't open file 'C:\Program': [Errno 2] No such file or directory
child_process.js:669
throw err;
^
Error: Command failed: python C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Data\palworld-save-tools\convert.py --to-json C:\Users\Andrew\AppData\Local\Pal\Saved\SaveGames\76561198028687602\0F1ABD0140E4C49F906B16B96627CAA3\Level.sav
python: can't open file 'C:\Program': [Errno 2] No such file or directory
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at a0_0x5a9fd5 (C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Lantern.js:1:72099)
at Object.<anonymous> (C:\Program Files (x86)\Steam\steamapps\common\Palworld\PalEdit\Lantern\Lantern.js:1:76807)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
status: 2,
signal: null,
output: [
null,
<Buffer >,
<Buffer 70 79 74 68 6f 6e 3a 20 63 61 6e 27 74 20 6f 70 65 6e 20 66 69 6c 65 20 27 43 3a 5c 50 72 6f 67 72 61 6d 27 3a 20 5b 45 72 72 6e 6f 20 32 5d 20 4e 6f ... 24 more bytes>
],
pid: 26024,
stdout: <Buffer >,
stderr: <Buffer 70 79 74 68 6f 6e 3a 20 63 61 6e 27 74 20 6f 70 65 6e 20 66 69 6c 65 20 27 43 3a 5c 50 72 6f 67 72 61 6d 27 3a 20 5b 45 72 72 6e 6f 20 32 5d 20 4e 6f ... 24 more bytes>
}
Press any key to continue . . .
TypeError: Cannot read property 'value' of undefined
at Stream.<anonymous> (F:\Lantern_v1.5.7_Win\Lantern.js:1:88492)
at Stream.emit (events.js:310:20)
at drain (F:\node_modules\through\index.js:36:16)
at Stream.stream.queue.stream.push (F:\node_modules\through\index.js:45:5)
at Parser.parser.onValue (F:\node_modules\JSONStream\index.js:118:16)
at Parser.proto.emit (F:\node_modules\jsonparse\jsonparse.js:337:8)
at Parser.proto.pop (F:\node_modules\jsonparse\jsonparse.js:332:8)
at Parser.proto.onToken (F:\node_modules\jsonparse\jsonparse.js:402:12)
at Parser.parser.onToken (F:\node_modules\JSONStream\index.js:128:12)
at Parser.proto.write (F:\node_modules\jsonparse\jsonparse.js:135:34)
Import complete
Apparently my save data has been corrupted for quite some time. I don't know the cause of the corruption, but I have found the reason why new.Level.sav.json was not generated, so I would like to resolve it with this.
Thank you very much for your reply!