Page 1 of 1

Ubuntu 64 bit makehuman alfa 2

PostPosted: Tue May 19, 2009 2:14 pm
by tyyppijkl
Well,
At least I have problem with this version. If I want change example nose, scale something with mouse, it does not work. In console I can see than python does not like property dy. Mouse control fill area to red, but not change anything.
Everything else works, example change age.

Pre release version woks okey, but alpha versions went bad in some point.
Any Idea of this.
And one issue: 64 bit building is very soon more asked than 32 bit building.

Re: Ubuntu 64 bit makehuman alfa 2

PostPosted: Tue May 19, 2009 4:48 pm
by joepal
Do the 32-bit nightly builds at http://mh.jwp.se work on your box?

Re: Ubuntu 64 bit makehuman alfa 2

PostPosted: Wed May 20, 2009 6:24 am
by ezteban
Hello,
i just compiled rev. 131 on opensuse 11.1.
If i try to move or scale a bodypart, i only get lots of these errors on the console:

Code: Select all
Traceback (most recent call last):
  File "./mh_core/module3d.py", line 1284, in mouseMotion
    self.application.mouseMove(mouseState, x, y, xRel, yRel)
  File "./mh_core/gui3d.py", line 400, in mouseMove
    self.mouseDownObject.callEvent("onMouseDragged", event)
  File "./mh_core/events3d.py", line 47, in callEvent
    getattr(self, eventType)(event)
  File "main.py", line 120, in onMouseDragged
    self.tool.callEvent("onMouseDragged", event)
  File "./mh_core/events3d.py", line 47, in callEvent
    getattr(self, eventType)(event)
  File "./mh_plugins/guidetailmodelling.py", line 223, in onMouseDragged
    d = event.dy
AttributeError: MouseEvent instance has no attribute 'dy'


greetings
ezteban

Re: Ubuntu 64 bit makehuman alfa 2

PostPosted: Thu May 21, 2009 4:05 pm
by mkeyl
I was able to solve the problem with the following simple patch (against rev. 131):

Code: Select all
--- mh_core/events3d.py.orig    2009-05-19 14:16:42.000000000 +0000
+++ mh_core/events3d.py 2009-05-21 15:35:14.000000000 +0000
@@ -10,6 +10,8 @@
     self.button = button
     self.x = x
     self.y = y
+    self.dx = dx
+    self.dy = dy

   def __repr__(self):
     return "event: %s, %s, %s, %s, %s" %(self.button, self.x, self.y, self.dx, self.dy)


The nightly build does not work for me because its linked against python 2.5 while I am using 2.6.

Re: Ubuntu 64 bit makehuman alfa 2

PostPosted: Sun May 24, 2009 8:41 am
by ezteban
Thanks, it works with your patch!

greetings
ezteban

Re: Ubuntu 64 bit makehuman alfa 2

PostPosted: Thu May 28, 2009 8:42 am
by Manuel
Fixed in svn also.
Thanks,

Manuel