Skip to content

TypeError when dealing with large notebooks #243

Description

@liweichen6
[error] [Window] TypeError: Cannot read properties of undefined (reading 'content')
	at c.downloadWorkspaceItem (c:\Users\WL\.vscode\extensions\paiqo.databricks-vscode-2.8.6\dist\node\extension.js:2:29165)
	at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
	at async t.DatabricksWorkspaceProvider.readFile (c:\Users\WL\.vscode\extensions\paiqo.databricks-vscode-2.8.6\dist\node\extension.js:2:53163)

When viewing/downloading a few >10 MB py notebooks I encountered the error above.
The smallest one caused the error is 10,929 KB, while a 7,230 KB one worked fine. I still need to test more to determine the exact size to cause the error.
The large size of these notebooks is mainly due to the output, so I can bypass it entirely by setting the Export Formats from .ipynb to .py. I haven't tested if a large notebook without the output would cause the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions