You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Zinnia cannot start Spark: Uncaught SyntaxError: Unexpected end of input at spark/lib/tasker.js:128:34 #581
ExecaError: Command failed with exit code 1: /core/modules/zinnia/zinniad spark/main.js
[2024-08-26T10:17:06Z INFO zinniad] Starting zinniad with config CliArgs { wallet_address: "0x71Ea926BE433983D3B48E058EF17504C017587Fa", station_id: "302a300506032b65700321...
File "/root/.cache/filecoin-station-core/sources/spark/lib/tasker.js", line 128
export async function pickTasksFo
File "/core/lib/zinnia.js", line 163
await p
File "/core/lib/zinnia.js", line 173, in catchChildProcessExit
await Promise.race(tasks)
File "/core/lib/zinnia.js", line 304, in run
await Promise.all([
File "/core/commands/station.js", line 113, in station
await Promise.all([
...
(6 additional frame(s) were not displayed)
@juliangruber have you seen this error before? Is it possible that Station Core's auto-updater wrote only partial content of the file sources/spark/lib/tasker.js?
Also, IIUC, Sentry detected this error in console output. The logs also say that Reporting the problem to Sentry for inspection by the Station team. - are we reporting this issue twice? Do you know how to configure Sentry in Station Desktop to not create issues from stdout/stderr logs produced by Station Core?
However if Station Core exits while downloading the source, yes, a partial copy will be left behind.
Also, IIUC, Sentry detected this error in console output. The logs also say that Reporting the problem to Sentry for inspection by the Station team. - are we reporting this issue twice? Do you know how to configure Sentry in Station Desktop to not create issues from stdout/stderr logs produced by Station Core?
Whether this issue has been reported once or twice isn't a high priority for me atm. Do you want to look into that?
Activity
bajtos commentedon Aug 26, 2024
Console output:
bajtos commentedon Aug 26, 2024
@juliangruber have you seen this error before? Is it possible that Station Core's auto-updater wrote only partial content of the file
sources/spark/lib/tasker.js?Also, IIUC, Sentry detected this error in console output. The logs also say that Reporting the problem to Sentry for inspection by the Station team. - are we reporting this issue twice? Do you know how to configure Sentry in Station Desktop to not create issues from stdout/stderr logs produced by Station Core?
juliangruber commentedon Aug 26, 2024
No I haven't
On an extraction error, Station Core will try to delete the source directory:
https://github.com/filecoin-station/core/blob/0f9198ef903173f4190392d39a7b5a6e1c4b0ec1/lib/modules.js#L222-L224
However if Station Core exits while downloading the source, yes, a partial copy will be left behind.
Whether this issue has been reported once or twice isn't a high priority for me atm. Do you want to look into that?
bajtos commentedon Aug 29, 2024
@juliangruber thank you for the answers. This is not urgent; I just wanted to capture the issue in a place where we are more likely to find it.