Michal Čihař - Blog Archives for English

Wammu for Windows is back

This week I finally realized where problem with random crashes in Wammu and python-gammu lies - python-gammu was using two version of C library - mscvrt.dll and mscvr71.dll. First one came from Gammu and second one from Python. Starting with 1.19.0, Gammu is built with mscvr71.dll and random crashes are gone. Any tester did not report problems with Windows binary, so I decided to make it finally an official release.

So after year or more Windows users can finally use up to date Wammu version! Fortunately I can produce this version without even touching Windows. Thanks to tools such as MinGW and Wine, everything from compiling to generating installer can be scripted and done automatically on Linux!

So Windows users can now also download current version from http://wammu.eu/download/, enjoy it.

Gammu stable version 1.19.0

Good news everyone, new stable Gammu release is out. Since 1.18.92 it brings only few small fixes in build system, but there is quite big list of changes compared to 1.18.0:

  • Add option to disable compiled in protection.
  • Fixed detection of PostgreSQL.
  • Improve debug messages when connecting to phone (bug #508).
  • Fixed handling of some charsets in AT engine (bug #525).
  • Identify more Nokia phones (thanks to Iván Gabriel).
  • Fixed regression with DKU2 cables on Windows (bug #533).
  • Better compatibility with iCalendar files (bug #538).
  • Do not link with irprops.lib on Windows.
  • Various MSVC compilation fixes.
  • Improved AT model parsing and added tests.
  • Fixed possible crash in reading SMS from AT phones (bug #515).
  • Proper fall back to automatic model when user enters wrong one.
  • Added identification of several phones.
  • Fixed reading of messages from AT phones without ME memory.
  • Improve charset detection on Motorola phones (bug #522).

You can download from usual place: http://cihar.com/gammu/.

python-gammu 0.25

New version of python-gammu has been just released. It fixes annoying problem with reporting wrong Gammu version and brings compatibility with Gammu 1.19.0. Full list of changes:

  • Compatibility with current gammu.
  • Fixed Gammu version reported by python-gammu.

Download from usual place: http://cihar.com/gammu/python/

Wammu 0.26

I just released version 0.26 of Wammu. This release fixes various problems found by users. Full list of changes:

  • Various attempts to make Windows version back to usable state, but it is not ready yet as there are quite random crashes in python-gammu on Windows. Anybody with knowledge of python modules on Windows who is willing to help is welcome.
  • Dropped GNOME Bluetooth (btctl) support, it crashes too often.
  • Fix icons size to be all 16x16.
  • Fixed crash when D-Bus can not launch notification service.

There is still no working binary for Windows. I don't have time and environment for maintaining them. Volunteers are welcome!

Jabber server side message archiving

One of reasons to setup my own Jabber server was to be able to store history on server while having data under my control. I use Jabber clients from several locations and having history on the server seems to be logical step.

Unfortunately implementations of XEP-0136 are a bit lacking. During install I enabled mod_archive, but it was not using up to date specification and there is no client which works with it, so there was no way to view data in it. Recently I found out that rewrite of this module exists - mod_archive_odbc. It is implementing current version of XEP-0136 and is using SQL database for storage (so at least writing SQL query to grab data is not that complicated as with Mnesia database used by original version).

Migrating of current history went quite good using wswutils, at least I did not notice any problems so far. The only problem is no support from clients. The only reliable way which works for now is Jabber archive web reader, but I'd really like to see integration in Gajim, any volunteers? :-)

Ukolovnik 1.0

New version of simple todo manager called Ukolovnik has been just released. There are no major changes in this release compared to 0.9, it mostly happened to indicate that this small piece of code has reached some level of stability and wanted level of features.

Gammu test version 1.18.91

New Gammu testing version is out. This time release period is a bit longer than usual, mostly because my moving back to Prague. 1.18.91 again only fixes some bugs:

  • Improve debug messages when connecting to phone (bug #508).
  • Fixed handling of some charsets in AT engine (bug #525).
  • Identify more Nokia phones (thanks to Iván Gabriel).
  • Fixed regression with DKU2 cables on Windows (bug #533).

You can download from usual place: http://cihar.com/gammu/.

PS: Debian users can get packages from experimental.

Network manager not working?

For a long time I had problems on my work computers with Network manager still thinking that it is not connected. And I was really lazy to debug it. But as more and more application take online/offline settings from it, this became more and more annoying.

After some googling I found out that the problem might be in /etc/network/interfaces file, which is parsed by Network manager. Some "complex" things might confuse it. Well in my case the complex thing was calling of some script in post-up. Commenting this out magically fixes everything. Moving script to /etc/network/if-up.d/ also is not a big problem, but why the hell the Network manager thing does not tell where the problem is?

How to name your job?

If you don't know much about things you do, work for a small company and want to look like a professional working for a big company, then the Japanese way to do this is to write following job name on your business card:

Embedded System Technical Division
Operating System Section
Chief Engineer

When I saw this for first time, I thought this business card is some kind of joke, but not, they're real.

When non ASCII names will finally work?

By using my name in various web services I usually spot bad implementation of displaying name field in their website. I can see that over years the amount of servers which cripple my name to something like ÄŒihaÅ™ is getting lower, but there are still lots of them. When I find way how to report it, I usually do so and I always enjoy fields like "How to repeat". This time the guilty one is the MySQL bugtracker.

PS: Fortunately all Debian pages seem to catch up this year and my name is no longer crippled in NEW queue or Lintian pages :-).