darobin / notion-backup

Simple command to backup a Notion workspace
MIT License
425 stars 63 forks source link

No task status, waiting. Task was: ... #42

Open therontau0054 opened 3 months ago

therontau0054 commented 3 months ago

I have trouble like #32 these two days. I use the latest version which has fixed #32, but the trouble happened recently. Any one can help me?

Run notion-backup
Enqueued task: [redacted]
No task status, waiting. Task was:
{
  "eventName": "exportSpace",
  "request": {
    "spaceId": "***",
    "exportOptions": {
      "exportType": "markdown",
      "timeZone": "America/New_York",
      "locale": "en"
    },
    "shouldExportComments": false
  },
  "actor": {
    "table": "notion_user",
    "id": [redacted]
  },
  "rootRequest": {
    "eventName": "exportSpace",
    "requestId": [redacted]
  },
  "requestAncestors": {
    "depth": 1,
    "requests": [
      {
        "eventName": "enqueueTask",
        "requestId": [redacted]
      }
    ]
  },
  "headers": {
    "ip": "20.55.[11]
    "cityFromIp": "Washington",
    "countryCodeFromIp": "US",
    "subdivision1FromIp": "US-VA"
  },
  "id": "[redacted]",
  "equeuedAt": [redacted],
  "state": "not_started"
}

/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/notion-backup/node_modules/yauzl/index.js:187
    callback(new Error("end of central directory record signature not found"));
             ^
Error: end of central directory record signature not found
    at /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/notion-backup/node_modules/yauzl/index.js:187:14
    at /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/notion-backup/node_modules/yauzl/index.js:631:5
    at /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/notion-backup/node_modules/fd-slicer/index.js:32:7
    at FSReqCallback.wrapper [as oncomplete] (node:fs:677:5)
Node.js v18.20.4
Error: Process completed with exit code 1.
sjung87 commented 3 months ago

Getting the same error message. It seems like the zip file isn't valid / incomplete. Maybe Notion changed something on their end? Any help would be really appreciated!