Re: Hippocanvas error :(
On Sat, May 24, 2008 at 11:27 PM, Waqas Toor [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 2:09 AM, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 11:00 PM, Waqas Toor [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 1:52 AM, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 10:48 PM, Waqas Toor [EMAIL PROTECTED] wrote: Marco, some body has this same error http://pastebin.ca/raw/1019759 i tried dpkg-reconfigure on each and every module of hippo in my system but still no luck I even reinstalled python-hippocanvas bindings but still same error what to do :( Something you could do (assuming the hippo canvas on your system is recent enough) is to make jhbuild skip building it... Interesting thing that I noticed is that building hippo in jhbuild updates the source directory every time ... but hippo.so is present in /usr/lib/python2.5/site-packages/ which has nothing to do with the build path of jhbuild :-/ The reason of the undefined symbol is that it's using /usr/lib/python2.5/site-packages/hippo.so with the jhbuild libhippocanvas.so. So if you remove jhbuild libhippocanvas.so it might work... no use what so ever can any body tell what this symbol in hippo.so ? undefined symbol: hippo_cascade_mode_get_type 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? Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
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 ??? Regards, Tomeu -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
On Sun, May 25, 2008 at 11:07 AM, Waqas Toor [EMAIL PROTECTED] 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 Works for you? Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
Please post the logs for one on the activities which is failing to start... Marco On Sun, May 25, 2008 at 11:07 AM, Waqas Toor [EMAIL PROTECTED] 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 ??? Regards, Tomeu -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
On Sun, May 25, 2008 at 10:39 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote: 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? Yeah probably it would be better if it required to turn them off explicitly (though it would get very annoying if we had more bindings in it). Ideally the python bindings would be a separate module. I think Waqas problem is different though. hippo.so is actually built for him, but for whatever reason his python doesn't load it (despite sys.path being correct). Marco ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :( [Solved]
On Sun, May 25, 2008 at 2:14 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 11:07 AM, Waqas Toor [EMAIL PROTECTED] 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 BUT now Icons are huge =D == ** (sugar-shell:19090): CRITICAL **: hippo_canvas_context_get_style: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_new: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_set_link_type: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_context_get_style: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_new: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_set_link_type: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_padding: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed DEBUG:ActivitiesRing:RingLayout.do_allocate: 0 0 800 525 0 0 True DEBUG:sugar.presence.presenceservice:Reused proxy Buddy object at 0x8eb1784 (sugar+presence+buddy+Buddy at 0x8edba00) ** (sugar-shell:19090): CRITICAL **: hippo_canvas_context_get_style: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_new: assertion `HIPPO_IS_CANVAS_CONTEXT(context)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_set_link_type: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **: hippo_canvas_style_get_border_width: assertion `HIPPO_IS_CANVAS_STYLE(style)' failed ** (sugar-shell:19090): CRITICAL **:
Re: Hippocanvas error :( [Solved]
On Sun, May 25, 2008 at 4:04 PM, Waqas Toor [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 2:14 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 11:07 AM, Waqas Toor [EMAIL PROTECTED] 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :( [Solved]
On 5/25/08, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 4:04 PM, Waqas Toor [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 2:14 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 11:07 AM, Waqas Toor [EMAIL PROTECTED] 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 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Hippocanvas error :(
Hello all, Every time I try sugar-jhbuild I keep getting this error .. ImportError: /usr/lib/python2.5/site-packages/hippo.so: undefined symbol: hippo_cascade_mode_get_type here is the complete trace == [EMAIL PROTECTED]:~/sugar/sugar-jhbuild$ ./sugar-jhbuild run INFO:sugar-emulator:Attempting to find free port for X11 (Xephyr) INFO:sugar-emulator: Found free port: #2 (6002) INFO:sugar-emulator:Starting the Xephyr nested X display on display 2 DEBUG:sugar-emulator:Xephyr command: Xephyr :2 -ac -fullscreen -dpi 96 INFO:sugar-emulator:Attempting to launch sugar to replace this process: dbus-launch dbus-launch --exit-with-session sugar-shell expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected keysym, got XF86KbdBrightnessUp: line 72 of pc expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected keysym, got XF86KbdBrightnessUp: line 72 of pc Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! Traceback (most recent call last): File /home/waqas/sugar/sugar-jhbuild/install/bin/sugar-shell, line 30, in module from main import main File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/main.py, line 34, in module import view.Shell File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/view/Shell.py, line 38, in module from view.frame import frame File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/view/frame/frame.py, line 21, in module import hippo ImportError: /usr/lib/python2.5/site-packages/hippo.so: undefined symbol: hippo_cascade_mode_get_type == I am using jhbuild on ubuntu , build is always successful but this error remains every time any clue? -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
Marco, some body has this same error http://pastebin.ca/raw/1019759 i tried dpkg-reconfigure on each and every module of hippo in my system but still no luck I even reinstalled python-hippocanvas bindings but still same error what to do :( -- wt On Sun, May 25, 2008 at 1:43 AM, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: The problem is that it's trying to load /usr/lib/python2.5/site-packages/hippo.so instead of the one built in jhbuild. I don't really understand why that's happening, since sys.path is correct as we verified in irc. Marco On Sat, May 24, 2008 at 10:33 PM, Waqas Toor [EMAIL PROTECTED] wrote: Hello all, Every time I try sugar-jhbuild I keep getting this error .. ImportError: /usr/lib/python2.5/site-packages/hippo.so: undefined symbol: hippo_cascade_mode_get_type here is the complete trace == [EMAIL PROTECTED]:~/sugar/sugar-jhbuild$ ./sugar-jhbuild run INFO:sugar-emulator:Attempting to find free port for X11 (Xephyr) INFO:sugar-emulator: Found free port: #2 (6002) INFO:sugar-emulator:Starting the Xephyr nested X display on display 2 DEBUG:sugar-emulator:Xephyr command: Xephyr :2 -ac -fullscreen -dpi 96 INFO:sugar-emulator:Attempting to launch sugar to replace this process: dbus-launch dbus-launch --exit-with-session sugar-shell expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected keysym, got XF86KbdBrightnessUp: line 72 of pc expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected keysym, got XF86KbdBrightnessUp: line 72 of pc Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! Traceback (most recent call last): File /home/waqas/sugar/sugar-jhbuild/install/bin/sugar-shell, line 30, in module from main import main File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/main.py, line 34, in module import view.Shell File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/view/Shell.py, line 38, in module from view.frame import frame File /home/waqas/sugar/sugar-jhbuild/install/share/sugar/shell/view/frame/frame.py, line 21, in module import hippo ImportError: /usr/lib/python2.5/site-packages/hippo.so: undefined symbol: hippo_cascade_mode_get_type == I am using jhbuild on ubuntu , build is always successful but this error remains every time any clue? -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Hippocanvas error :(
On Sun, May 25, 2008 at 2:09 AM, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 11:00 PM, Waqas Toor [EMAIL PROTECTED] wrote: On Sun, May 25, 2008 at 1:52 AM, Marco Pesenti Gritti [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 10:48 PM, Waqas Toor [EMAIL PROTECTED] wrote: Marco, some body has this same error http://pastebin.ca/raw/1019759 i tried dpkg-reconfigure on each and every module of hippo in my system but still no luck I even reinstalled python-hippocanvas bindings but still same error what to do :( Something you could do (assuming the hippo canvas on your system is recent enough) is to make jhbuild skip building it... Interesting thing that I noticed is that building hippo in jhbuild updates the source directory every time ... but hippo.so is present in /usr/lib/python2.5/site-packages/ which has nothing to do with the build path of jhbuild :-/ The reason of the undefined symbol is that it's using /usr/lib/python2.5/site-packages/hippo.so with the jhbuild libhippocanvas.so. So if you remove jhbuild libhippocanvas.so it might work... no use what so ever can any body tell what this symbol in hippo.so ? undefined symbol: hippo_cascade_mode_get_type Marco -- Waqas Toor member of OLPC Pakistan Team member of Ubuntu Pakistan Team ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel