Hi, It makes sense now, your python version used with blender is too old. I dont know about macos soft, but could you check if you can use an up to date version of python ?
Cheers, Cedric On Wed, 2009-05-20 at 18:53 +0200, Rafa Gaitan wrote: > Hi Cedric, > > I'm getting also problems with the osgexport, here is my output > > [ 0%] /Users/rgaitan/Projects/OSG/osgexport/data/robot/robot.blend > guessing 'blender' == > '/Users/rgaitan/Applications/blender.app/Contents/MacOS/blender' > Compiled with Python version 2.3.5. > Checking for installed Python... got it! > Traceback (most recent call last): > File "osgExport.py", line 35, in ? > import osg > File "./osg/__init__.py", line 1, in ? > import osgconf > File "./osg/osgconf.py", line 25, in ? > import osgobject > File "./osg/osgobject.py", line 31 > CONCAT = lambda s, j="": j.join(str(v) for v in s) > ^ > SyntaxError: invalid syntax > > Error executing Python script from command-line: > osgExport.py (at line 31). > > Blender quit > .... > > For the rest of the models is the same error. > > Rafa. > > > On Tue, May 19, 2009 at 12:27 PM, Cedric Pinson > <cedric.pin...@plopbyte.net> wrote: > > Hi, > > > > Humm very strange, ok try this: > > - hg clone http://hg.plopbyte.net/osgexport/ > > - cd osgexport > > - mkdir build > > - cd build > > - cmake ../ > > - make > > it should say something in the console while exporting > > Can you report the content of the console output ? > > > > It works on my ubuntu 9.04 here > > > > Cheers, > > Cedric > > > > On Tue, 2009-05-19 at 10:07 +1200, Hartmut Seichter wrote: > >> Thanks, Cedric - I just checked out latest revision. Same result ... > >> > >> On a fresh Ubuntu 9.04 with blender 2.48.1 > >> > >> - install into ~/.blender/scripts (the readme says ~/.blender - this > >> however does not work at all) > >> - open blender with default layout and template (including the unit > >> box) > >> - File > Export > OpenSceneGraph (.osg) > >> - Leave everything as default > >> - Press "Write" button > >> - Name file "Test.osg" (directory is $HOME) > >> - Press "Export AnimTK" button > >> - No error message (btw. on Mac OSX I get a message about checking on > >> the console which is futile because no error messages are logged) > >> - Check if Test.osg exists ... no - however Test.log exists with 0byte > >> > >> - I tested to add a simple translation animation - also no avail > >> > >> Disclaimer - I poke more or less in the dark with blender however I > >> would suspect the exporter can handle a single box - or is the > >> exporter only capable to export rigged animations, which would raise > >> the question how this exporter can work in conjuntion with the > >> existing osg exporter. > >> > >> > >> Cheers, > >> Hartmut > >> > >> > >> On 19/5/09 1:14 AM, Cedric Pinson wrote: > >> > Hi Harmut, > >> > I just updated the osgexport repository with some bug fixes if you use > >> > this exporter maybe it could help, else i will need a blender file to > >> > debug it. > >> > > >> > Cheers, > >> > Cedric > >> > > >> > On Mon, 2009-05-18 at 11:36 +0200, Cedric Pinson wrote: > >> > > >> > > Hi Hartmut, > >> > > > >> > > Can you give more information about the exporter you are using ? > >> > > i take care of the version on this page > >> > > http://www.openscenegraph.org/projects/osg/wiki/Community/NodeKits/osgAnimation > >> > > > >> > > If you have problem with it, could you report the blender file and step > >> > > that result in a empty osg file, without that i can't really help > >> > > > >> > > Cheers, > >> > > Cedric > >> > > > >> > > On Mon, 2009-05-18 at 18:05 +1200, Hartmut Seichter wrote: > >> > > > >> > > > Hi there, > >> > > > > >> > > > I am having a hard time to get the osgexport doing "anything" - is > >> > > > there > >> > > > a known-to-work revision? Right now with the latest rev I get the GUI > >> > > > but after "Write File" an empty Filename.log file - so kind of hard > >> > > > to > >> > > > debug. > >> > > > > >> > > > Cheers, > >> > > > Hartmut > >> > > > > >> > > > > >> > > _______________________________________________ > >> > > osg-users mailing list > >> > > osg-users@lists.openscenegraph.org > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > > >> > > > >> > > __________________________________________________________________ > >> > > > >> > > _______________________________________________ > >> > > osg-users mailing list > >> > > osg-users@lists.openscenegraph.org > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > > >> > >> > >> -- > >> Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ > > -- > > +33 (0) 6 63 20 03 56 Cedric Pinson mailto:morni...@plopbyte.net > > http://www.plopbyte.net > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > -- +33 (0) 6 63 20 03 56 Cedric Pinson mailto:morni...@plopbyte.net http://www.plopbyte.net
signature.asc
Description: This is a digitally signed message part
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org