Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

YottaDB r1.34 released

212 views
Skip to first unread message

K.S. Bhaskar

unread,
Feb 25, 2022, 5:12:05 PM2/25/22
to
While YottaDB r1.34 is an otherwise modest successor to r1.32, internal changes allow the popular programming language Python to be fully Supported. We are excited about making YottaDB available to the large Python user community. Here is a “Hello, World” Python program that updates the database and illustrates YottaDB’s Unicode support:

import yottadb

if __name__ == "__main__":
yottadb.set("^hello", ("Python",), value="नमस्ते दुनिया")

The Python wrapper can be installed with pip install yottadb. Full details of the API are in the Python wrapper user documentation (https://docs.yottadb.com/MultiLangProgGuide/pythonprogram.html). The current Debian Docker image at Docker Hub (https://hub.docker.com/r/yottadb/yottadb-debian) includes the Python wrapper. We thank Peter Goss for his contributions to the Python wrapper.

Python joins C, Go, M, node.js, Perl, and Rust as languages with APIs to access YottaDB.

Owing to an internal change required to support the Python wrapper, application code written in Go and Rust will need to be compiled with new versions of the Go and Rust wrappers. We anticipate no regressions, and apologize for the inconvenience. (The new Rust wrapper is available now; the new Go wrapper will be released next week.)

As promised in recent blog post on Fuzz Testing YottaDB (https://yottadb.com/fuzz-testing-yottadb/), we accelerated the release of YottaDB r1.34 to release fixes to the first tranche of bugs found by fuzz testing. We thank Zachary Minneker of Security Innovation (https://www.securityinnovation.com/) for Fuzz Testing YottaDB and bringing its benefits to our attention.

In addition to fixes for issues, whether found by fuzz testing or otherwise, YottaDB r1.34 has enhancements that make it faster and more friendly, e.g.,

– Faster stringpool garbage collection, thanks to Alexander Sergeev and Konstantin Aristov.
– HOME and END keys work in direct mode for READ, thanks to Sergey Kamenev.
– Multiple improvements to ydbinstall / ydbinstall.sh.
– Enhancements to ydb_env_set to improve performance under some conditions and to be compatible with existing environments created without ydb_env_set.
– Enhancements to the %RSEL utility program.

YottaDB r1.34 also inherits enhancements and fixes from GT.M V6.3-011.

Details are in the release notes.

Please try YottaDB r1.34 and let us know what you think. Thank you for your interest in YottDB.

Regards
– Bhaskar

David Wicksell

unread,
Feb 27, 2022, 2:39:20 PM2/27/22
to
Congratulations Bhaskar and the team at YottaDB!

--
David Wicksell
Owner/CEO
Fourth Watch Software LC

OldMster

unread,
Mar 28, 2022, 5:40:46 PM3/28/22
to
I'm having difficulties installing r1.34 on an Ubuntu Linux 20.4 system that r1.32 installed on successfully. The error is:
%YDBENV-F-ICUNOTFIND UTF-8 character set specified but ICU version not found
$ZSTATUS="150379506,set+72^%YDBENV,%YDB-E-SETECODE, Non-empty value assigned to $ECODE (user-defined error trap)"
Sourcing /usr/local/lib/yottadb/r134/ydb_env_set returned status 243

I'm working figuring out what exactly needs to be installed/configured for YottaDB to be happy. So far I've had to install pkgconfig to support the line that is generating the error:
. . . open "pkg-config --modversion icu-io":(shell="/bin/sh":command="pkg-config --modversion icu-io":readonly)::"pipe" use "pkg-config --modversion icu-io"

(pkgconfig is the apt install package for pkg-config). I haven't figured out yet how to get the icu-io package, but I'll keep plugging away at it.

Mark

OldMster

unread,
Mar 28, 2022, 5:43:42 PM3/28/22
to
Ok, I knew all I had to do was post here to figure it out. The apt install package needed is libicu-dev.

Mark

K.S. Bhaskar

unread,
Mar 28, 2022, 9:52:16 PM3/28/22
to
Glad you figured it out, Mark. One thing to be aware of is that if YottaDB is installed with UTF-8 support, sourcing ydb_env_set will run YottaDB in UTF-8 mode. For M mode either install it without UTF-8 support or set ydb_chset=M before sourcing ydb_env_set.

Regards
– Bhaskar

OldMster

unread,
Mar 29, 2022, 6:42:41 PM3/29/22
to
Hmmm, I don't know what I'm running in then. I don't source ydb_env_set, I set the various environment variables in my own shell script, I don't set ydb_chset, so whatever the default is.
yottadb.com appears to be down right now. I was going to look at the administrators guide documentation to get a better understanding of how to set up or not set up UTF-8 support, but I'll try again later.

Mark

David Wicksell

unread,
Mar 29, 2022, 7:52:14 PM3/29/22
to
> Hmmm, I don't know what I'm running in then. I don't source ydb_env_set, I set the various environment variables in my own shell script, I don't set ydb_chset, so whatever the default is.
> yottadb.com appears to be down right now. I was going to look at the administrators guide documentation to get a better understanding of how to set up or not set up UTF-8 support, but I'll try again later.
>
> Mark

Hi Mark,

If you are not setting ydb_chset or gtm_chset to utf-8 or equivalent, then you'll get the default configuration without UTF-8 turned on, supporting the M character set. You can check while in direct mode, via write $zchset.

--
David Wicksell
Fourth Watch Software LC
0 new messages