antirez / antirez/freakwan

maximum recursion depth exceeded

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
503
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Hello, I have previously posted a BLE issue. It may actually depend on another upstream problem, which I'm describing below.
Micropython=1.23.0
Just typing `hello world` triggers a runtime error shown below.
Thank you in advance for your consideration.

```
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4728
load:0x40078000,len:14888
load:0x40080400,len:3368
entry 0x400805cc
[net] Sending HELLO message
~device2 Sent:2 SendQueue:1 CacheLen:1 FreeMem:78704 DutyCycle: 0.00%
~device2 Sent:3 SendQueue:1 CacheLen:1 FreeMem:78704 DutyCycle: 0.00%
~device2 Sent:4 SendQueue:0 CacheLen:1 FreeMem:78736 DutyCycle: 0.00%
CLI: hello world
Unhandled exception in IRQ callback handler
Traceback (most recent call last):
File "bt.py", line 130, in irq_handler
File "freakwan.py", line 695, in ble_receive_callback
File "clictrl.py", line 130, in exec_user_command
File "freakwan.py", line 313, in refresh_view
File "scroller.py", line 181, in refresh
File "icons.py", line 93, in refresh
File "icons.py", line 45, in draw_battery
File "freakwan.py", line 337, in get_battery_perc
File "device_config.py", line 26, in get_battery_microvolts
File "axp192.py", line 20, in get_battery_volts
RuntimeError: maximum recursion depth exceeded
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.