Cross-OS nightmare!

I recently decided to create a small (standalone desktop) program to help me on tracking the time I spend on my different projects during the day (see Considering I have developed a cross-browser web application for quite some time now, I have decided to give it a try and make this program available for Windows, MacOS, and Linux. Surprisingly developing and deploying it under windows was the easiest of all.

Under MacOS, the application runs normally when I call it from the original code “python3.7 ./” (see image below), however, when I build it to “C” code (using Cython) and try to execute it, I get the following:

This program needs access to the screen. Please run with a Framework build of python, and only when you are logged in on the main display of your Mac.

Currently, I have no clue how to solve it. Under Windows and Ubuntu, this step worked without any issues.

Under Ubuntu, sadly, too many dependency issues. First with python3, then with pip not able to install wxpython because of pillow and libpng12 dependencies.

Ubuntu 18.04 Desktop – Gtk-Message: Failed to load module “canberragtk-module”

Pango:ERROR:pango-layout.c:3871:pango_layout_check_lines: I believe this one has to do with threads and interaction with the GUI. However, under MacOS and Windows, there are no such problems! Well, this issue was easily fixed by implemeting threading communication “correctly” (as required by the WX environment) –>

For now, sorry my MacOS friends, but I have no capacity to keep investigating. Releases will only be available for Windows 10 (and possibly Ubuntu soon).

Armando Perico


Leave a Reply

Your e-mail address will not be published. Required fields are marked *

Post comment