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
File "/Users/T800/venvs/Py3_12/lightw-charts/tutorial.py", line 28, in <module> sleep(1) KeyboardInterrupt
Again hitting CTRL-C:
T800s-MacBook-Pro-5:lightw-charts T800$ /usr/local/Cellar/python@3.12/3.12.1_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 14 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
It needs a 3rd Ctrl-C to get back to console.
I searched the ISSUES but only found solutions to similar issues by updating the library since hotfixes are released. Since I am on the latest version, I wonder what causes this behavior.
The very simple example 'setting_data.py' gives the same issue within python script. But I managed to run this simple script in JupyterLab using
if name == 'main':
chart = JupyterChart()
# Columns: time | open | high | low | close | volume
df = pd.read_csv('ohlcv.csv')
chart.set(df)
chart.load()
Expected Behavior
Hi.
Discovered the library and want to re-create the provided examples on my machine. First tried to run example "2_live_data" within JupyterLab.
Current Behaviour
The example does not work. A black windoww pops up. Then switched to Python script. Same behavior. Got the message:
if (!window.wzdcbbmu.chart.priceScale("right").options.autoScale) window.wzdcbbmu.chart.priceScale("right").applyOptions({autoScale: true}) window.wzdcbbmu.toolBox?.clearDrawings()', error -> SyntaxError[4:33] Unexpected token '.'
hitting CTRL-C:
File "/Users/T800/venvs/Py3_12/lightw-charts/tutorial.py", line 28, in <module> sleep(1) KeyboardInterrupt
Again hitting CTRL-C:
T800s-MacBook-Pro-5:lightw-charts T800$ /usr/local/Cellar/python@3.12/3.12.1_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 14 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
It needs a 3rd Ctrl-C to get back to console.
I searched the ISSUES but only found solutions to similar issues by updating the library since hotfixes are released. Since I am on the latest version, I wonder what causes this behavior.
The very simple example 'setting_data.py' gives the same issue within python script. But I managed to run this simple script in JupyterLab using
if name == 'main':
Reproducible Example
Environment
The text was updated successfully, but these errors were encountered: