On Thu, Sep 3, 2009 at 7:50 PM, Robin<[email protected]> wrote:
> On Thu, Sep 3, 2009 at 4:56 PM, björn<[email protected]> wrote:
>> Oh?  Well, the build log doesn't give the full output from the icon
>> generation script.  Please go into the icons/ folder, type "make" and
>> copy&paste the output.
>
> Below,
>
> jm-g26b101:MacVim robince$ cd icons/
> jm-g26b101:icons robince$ make
> make -C makeicns
> make[1]: `makeicns' is up to date.
> /usr/bin/python make_icons.py .
> make_icons.py:16: RuntimeWarning: Python C API version mismatch for
> module loadfont: This Python has API version 1013, module loadfont has
> version 1012.
>  import loadfont
> MacVim-cpp
> Traceback (most recent call last):
>  File "make_icons.py", line 198, in <module>
>    main()
>  File "make_icons.py", line 190, in main
>    textrenderer=SmallTextRenderer, backgroundrenderer=NoIconRenderer)
>  File "/Users/robince/code/macvim/src/MacVim/icons/docerator.py",
> line 561, in makedocicon
>    makedocicon_opts(optsFromDict(**kwargs))
>  File "/Users/robince/code/macvim/src/MacVim/icons/docerator.py",
> line 537, in makedocicon_opts
>    icons = dict([(s, renderer.createIconAtSize(s)) for s in sizes])
>  File "/Users/robince/code/macvim/src/MacVim/icons/docerator.py",
> line 516, in createIconAtSize
>    return createIcon(s, self.bgRenderer, self.textRenderer, self.testtext)
>  File "/Users/robince/code/macvim/src/MacVim/icons/docerator.py",
> line 370, in createIcon
>    textRenderer.drawTextAtSize(text[s], s)
>  File "make_icons.py", line 152, in drawTextAtSize
>    attribs = self.attribsAtSize(s)
>  File "/Users/robince/code/macvim/src/MacVim/icons/docerator.py",
> line 274, in attribsAtSize
>    self.cache[s] = self._attribsAtSize(s)
>  File "make_icons.py", line 140, in _attribsAtSize
>    assert font
> AssertionError
> make: *** [MacVim-generic.icns] Error 1
>

Just got home and got time to have a look at this myself. In fact the
loadfont module wasn't cleaned properly and so I guess was built with
an old version of python.
Doing "make clean" then make in icons seemed to fix this.

I had tried xcodebuild clean in MacVim beforehand... shouldn't this
call make clean in icons?

Cheers

Robin

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to