[sugar] Hippocanvas error :( [Solved]
Waqas Toor
waqasnasirtoor at gmail.com
Sun May 25 15:23:05 EDT 2008
On 5/25/08, Marco Pesenti Gritti <mpgritti at gmail.com> wrote:
> 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?
its 800x600
I have reported a bug, zoom factor has to be 0.72 for these resolution
as I am getting 95.0 dpi every time when I shit between resolutions
_get_screen_dpi() in style.py
>
>
> > ==========================================================================
> > ** (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
>
--
Waqas Toor
member of OLPC Pakistan Team
member of Ubuntu Pakistan Team
More information about the Sugar
mailing list