Yeah.  I had successfully compiled an earlier build of 0.67 (might've been
0.67-RC2) into similar directories, and it had all the same dependencies,
except for the change where the full microsoft visual C++ 2008
redistribution package is now needed, instead of the just the libraries
in Microsoft.VC90.CRT.  I have the full redistribution package now, and it
is being used during the building process.

The windows/ script runs successfully and without error all
the way through to the creation of the zim standalone and portable
executables, but zim won't run from them.  The non-debug executables don't
seem to do anything at all when I try to use them, even with any command
line options (like zim --help).  I am only about to get that debug output
using the zim debug executables.

My strange directory naming scheme is almost never an issue with anything
related to software development (tools, libraries, IDEs), that is except
for microsoft development programs like Visual Studio and microsoft SQL
server.  The irony of this is not lost on me.

So basically, I did not include any other error messages because there
aren't any.  I can't figure out what DLL file it might be trying to load
during runtime but not while building it.


On Mon, Aug 28, 2017 at 5:01 PM, Brendan Kidwell <> wrote:

> Did you install all of the requirements listed in the Windows build readme?
> desktop-wiki/master/windows/README-BUILD-win32.txt
> Silly question: do you think the folder name "MyCode.Source\Source.Upload"
> might have anything to do with it? Having periods in the name SHOULDN'T be
> a problem, but you never know with old broken systems like GTK2.
> I can't be sure from your debug log, so I'm just checking: Did you run
> windows/ with the project root folder being the current
> working folder? Did that script display any errors?
> Brendan Kidwell
> On Sun, Aug 27, 2017, at 00:50, mystyc wrote:
> Is anyone else having trouble with trying to build Zim on Windows from the
> current 0.67 source on github?  I'm actually able to fully build the
> executables, but they won't run.
> Here's what I get for the debugger output when I try to run the zim
> executable:
> INFO: This is zim 0.67
> DEBUG: Python version is sys.version_info(major=2, minor=7, micro=13,
> releaselevel='final', serial=0)
> DEBUG: Platform is nt
> DEBUG: No bzr version-info found
> DEBUG: Running from a source dir: D:\MyCode.Source\Source.
> Upload\Zim\windows\build\ZimDesktopWiki
> DEBUG: Set XDG_DATA_HOME to D:\MyCode.Source\Source.
> Upload\Zim\windows\App\Data
> DEBUG: Set XDG_DATA_DIRS to [<Dir: D:\MyCode.Source\Source.
> Upload\Zim\windows\.local\share>]
> DEBUG: Set XDG_CONFIG_HOME to D:\MyCode.Source\Source.
> Upload\Zim\windows\App\Config
> DEBUG: Set XDG_CONFIG_DIRS to [<Dir: D:\MyCode.Source\Source.
> Upload\Zim\windows\.config>]
> DEBUG: Set XDG_CACHE_HOME to D:\MyCode.Source\Source.
> Upload\Zim\windows\App\Cache
> ERROR: Exception in main()
> Traceback (most recent call last):
>   File "zim\main\__init__.pyo", line 844, in main
>   File "zim\main\__init__.pyo", line 626, in run
>   File "zim\main\__init__.pyo", line 656, in _run_cmd
>   File "zim\main\__init__.pyo", line 663, in _run_main_loop
>   File "gtk\__init__.pyo", line 40, in <module>
>   File "gtk\_gtk.pyo", line 12, in <module>
>   File "gtk\_gtk.pyo", line 10, in __load
> ImportError: DLL load failed: The specified module could not be found.
> With respect to the error referenced for line 663 of
> zim\main\__init__.pyo, I can import gtk and gobject in IDLE without any
> issues.
> Thanks~
> ~Kevin
> *_______________________________________________*
> Mailing list:
> Post to     :
> Unsubscribe :
> More help   :
> _______________________________________________
> Mailing list:
> Post to     :
> Unsubscribe :
> More help   :
Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to