Search found 42 matches

by crizeo
Tue Aug 08, 2017 7:21 pm
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

Fortunately I can create it on my PC and only have to do few changes, so this will work for me. You saved me :D
by crizeo
Tue Aug 08, 2017 5:42 pm
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

:o

You are awesome! Thank you so much for your help!!!
by crizeo
Tue Aug 08, 2017 3:00 pm
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

Sounds bad...

Do you know any alternative that I could use?
by crizeo
Tue Aug 08, 2017 10:44 am
Forum: ESP8266 boards
Topic: microSD card reading
Replies: 23
Views: 62385

Re: microSD card reading

For those still wondering how to setup an SD card module on the ESP8266 using MicroPython 1.9.1 (as the process changed a bit, it is a lot easier now): Copy sdcard.py to the board (e.g. using ampy) Wiring SD card module <-> ESP8266 (GPIO): GND <-> GND DO/ MISO <-> MISO (12) DI/ MOSI <-> MOSI (13) CL...
by crizeo
Mon Aug 07, 2017 8:49 pm
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

Unfortunately, you can't find much about the btree module on the internet, but some hours ago I read something about this issue on the MicroPython Github repo., where they say that at some point you cannot store/read data. But 200 entries or sth shouldn't cause this error... Anyway, thank you so muc...
by crizeo
Mon Aug 07, 2017 5:28 pm
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

It worked for me (after installing os "./micropython -m micropython-os")! Thank you so much, Roberthh! :D Will try adding the keys and values now... Edit : Still not working... :cry: I created a btree database containing 1000 items on Unix and transfered it to the ESP. That's what I get when I searc...
by crizeo
Mon Aug 07, 2017 5:18 pm
Forum: ESP8266 boards
Topic: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)
Replies: 20
Views: 20613

Re: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)

Thanks a lot! Got it working on Linux (after apt-get install libffi-dev python-dev).
by crizeo
Mon Aug 07, 2017 10:57 am
Forum: ESP8266 boards
Topic: [SOLVED] Using btree for key-value-database (OSError: 0)
Replies: 31
Views: 24080

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

@pythoncoder: I had the same idea, but do you know how to create an btree database (based on Berkeley DB 1.8.5, which is very old and I can't get installed) on Windows or Linux/UNIX. Do you maybe know a tutorial on how to do that? @Roberthh: I know, I will use external storage (SD card), but the pro...
by crizeo
Sun Aug 06, 2017 11:41 pm
Forum: ESP8266 boards
Topic: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)
Replies: 20
Views: 20613

Re: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)

@jcea: Thanks! Is there a tutorial or something on compiling MicroPython on Linux/UNIX?
by crizeo
Sun Aug 06, 2017 10:00 pm
Forum: ESP8266 boards
Topic: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)
Replies: 20
Views: 20613

Re: 2nd ESP8266 projects stretch goal - Embedded Database (btree module)

I could not find the btree module (Oracle Berkeley DB 1.8.5). The only thing I can install on windows or Unix is Oracle Berkeley 6.x or something... Is there a python script or another simple possibility for creating a btree file on Unix (as it is exists in Micropython)?