Smallworld 5 BOLOs

Be On the Look Out!!! These are things to look for if you have weirdness with Smallworld 5 that worked under previous versions….

SWIFT Issues

Resizing/Redrawing Issues

Here are a few things to check…

  • Verify that you aren't creating a secondary sw_canvas_container instead of using a sw_container. The top most container under a frame should be sw_canvas_container, but containers under this should not be sw_canvas_container, except for specialized coding…

Tabular_list_view Issues

The pre SWIFT tabular_list_views don't really work within SW5 that well. The sizing is all messed up if on a panel, or even on a multi row/col rowcol object. The best way I have seen to get the tabular_list_view working correctly is to place them inside a 1x1 rowcol object. You should still use num_rows option on the tabular_list_view along with height on the rowcol.

JARs are Locked

JARs are Locked This link provides details about JAR locking and builds.


Weird stuff with text input streams

I was seeing a "Failed to translate characters: %nul" pop up (at which point I had to kill Smallworld as there was no end to it). Error raised was text_converter_strange_input. This was reading a stream from a HTTP request. It turns out you need to define the encoding like the following before initializing the stream. Same code worked fine in 4.3, but in 5.1.5 it was failing.

_dynamic !text_encoding! << :iso8859_1
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License