Skip to content

Error refreshing variables in GeoJSON file #6264

Open
@ivelasq

Description

System details:

Positron and OS details:

Positron Version: 2025.01.0 (Universal) build 152
Code - OSS Version: 1.95.0
Commit: 66aa3fb
Date: 2025-01-06T02:47:02.050Z
Electron: 32.2.1
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0

Interpreter details:

Python 3.13.1

Describe the issue:

When reading a large GeoJSON file, I encounter an RPC timeout error. The specific error message is:

RPC timed out after 5 seconds: {"jsonrpc":"2.0","method":"list"} Error (-32603)

I can proceed with working with the file.

Steps to reproduce the issue:

In a Python script, run:

import requests
import geopandas as gpd

url = 'https://github.com/zeke/us-counties/raw/refs/heads/master/county.geo.json'
response = requests.get(url)
with open('us-counties.geojson', 'wb') as f:
    f.write(response.content)
gdf = gpd.read_file('us-counties.geojson')

Expected or desired behavior:

I do not expect an error.

Were there any error messages in the UI, Output panel, or Developer Tools console?

Error refreshing variables: RPC timed out after 5 seconds: {"jsonrpc":"2.0","method":"list"}  Error (-32603)
c @ workbench.desktop.main.js:616229

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: variablesIssues related to Variables category.bugSomething isn't workinglang: python

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions