[sugar] Hippocanvas error :( [Solved]

Marco Pesenti Gritti mpgritti
Sun May 25 14:36:24 EDT 2008


On Sun, May 25, 2008 at 4:04 PM, Waqas Toor <waqasnasirtoor at gmail.com> wrote:
> On Sun, May 25, 2008 at 2:14 PM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
>> On Sun, May 25, 2008 at 11:07 AM, Waqas Toor <waqasnasirtoor at gmail.com> wrote:
>>> Tomeu,
>>>
>>>
>>>> Talking with Joel, looks like hippo-canvas only builds the python
>>>> bindings if the prerequisites are already installed. If not, silently
>>>> omits them.
>>>>
>>>> I added python-cairo-dev to the ubuntu dependencies, but perhaps the
>>>> python bindings should be built incondicionaly?
>>>
>>> what I did was
>>> $ sudo apt-get duild-dep python-hippocanvas
>>> but still the error remains,
>>>
>>> Marco is right, hippo.so has conflict with libhippocanvas-0-1.so that
>>> is present in the install/lib/ directory, removing these libs makes
>>> hippo.so work but poses new errors
>>> that are
>>> journal fails to load and every other activity as well
>>> logmanager.py get permission denied errors to write to
>>> .sugar/default/logs directory :-/ and some error that says "Unable to
>>> create window at <hexa vaule some thing> "
>>>
>>> and again building libhippocanvas will remove these errors but "import
>>> hippo" will fail :(
>>>
>>> any body tried sugar-jhbuild in Ubuntu Hardy ???
>>
>> What I recommend you is:
>>
>> - cd sugar-jhbuild
>> - git-pull
>> - ./sugar-jhbuild depscheck and install any missing deps
>> - rm -rf source/hippo-canvas
>> - ./sugar-jhbuild buildone hippo-canvas
>
> after upgrading python-json package it worked, strange that it truned
> out that hippo.so (python-hippocanvas) is some what dependable on
> pyton-json package

Huh. That makes no sense... I wonder what is going on.

> BUT now Icons are huge =D

What resolution is your screen?

> ==========================================================================
> ** (sugar-shell:19090): CRITICAL **: hippo_canvas_context_get_style:
> assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed

Yeah these are "fine": Need to look into hippo and fix them at some point.

Marco



More information about the Sugar-devel mailing list