Search found 3 matches

by beantree
Wed Nov 18, 2020 9:36 am
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24141

Re: [SOLVED] Using btree for key-value-database (OSError: 0)

I solved this. My code was failing to close the database when I trapped an error and then errored when I tried to open it again.
by beantree
Wed Nov 18, 2020 9:35 am
Forum: Other Boards
Topic: [W600 PICO] Help with deepsleep
Replies: 1
Views: 2087

[W600 PICO] Help with deepsleep

I am struggling to work with deepsleep. MicroPython v1.10-282-g6a9b3cb-dirty on 2019-09-17; WinnerMicro module with W600 Type "help()" for more information. >>> from machine import deepsleep >>> deepsleep() Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid pa...
by beantree
Thu Sep 24, 2020 10:51 am
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24141

Re: [SOLVED] Using btree for key-value-database (OSError: 0)

This fix has not solved my problem. >>> records() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 11, in records File "db.py", line 43, in db_open OSError: 0 class db(): def __init__(self): self._dbfile='/sd/mydb' def db_open(self): try: self.f = open(self...