Blendigo Install On Mac

Announcements, requests and support regarding the Blender Indigo export script
User avatar
spencer
Posts: 6
Joined: Sat Dec 05, 2009 5:05 am

Blendigo Install On Mac

Post by spencer » Mon Dec 07, 2009 8:09 pm

Hi there,

I've been using previous versions of Indigo on my Windows PC for a while, but so far i am unable to get it to work on my mac, i have blender installed in it's own folder in the applications folder and the indigo app in the applications folder on it's own, when i try and run the script from blender i get the following error from the console:

----------------------
BLENDIGO v2.2.9
----------------------
Linux-platform: darwin os.sep: /


Traceback (most recent call last):
File "/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/blendigo.py", line 4403, in drawGUI
responsecurvepath = os.path.join(indigo.getResourcesPath(),"data\camera_response_functions")
File "/Applications/blender/blender.app/Contents/MacOS/.blender/scripts/blendigopkg/indigo.py", line 19, in getResourcesPath
return open(os.path.join(os.path.expanduser("~"), ".indigo/location")).read().strip()
IOError: [Errno 2] No such file or directory: '/Users/michaelwalker/.indigo/location'


Im not as o-fay with the details of mac installations as on a PC but im stumped, if anyone couls show me how to get the blendigo plug in to see the main indigo program i would be for ever greatfull as this has been driving me mad all weekend!!!!!.

Cheers Mikey.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo Install On Mac

Post by dougal2 » Mon Dec 07, 2009 11:25 pm

I think this is a problem with the installer for Indigo itself; it is failing to write the following file:

Code: Select all

~/.indigo/location
For now, to fix this you can create this file yourself, and put in it the location of where Indigo is installed.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: Blendigo Install On Mac

Post by FakeShamus » Tue Dec 08, 2009 12:33 am

create the .indigo/ folder in your home directory (you should make sure you show all hidden files and folders, the dot before indigo makes it hidden) then make a new document in textedit, or whatever text program you want, type in the full path to your indigo installation, for example: "/Applications/Indigo2.2.8/Indigo.app" and save it as "location" with no extension in the new .indigo folder.

here is another thing Blendigo could handle differently, dougal2, instead of exiting with an error if it doesn't find this location file, maybe it should just give a warning? Blendigo should still work fine to export igs's and meshes, it just won't work to autorun the render or to preview materials, etc.

User avatar
spencer
Posts: 6
Joined: Sat Dec 05, 2009 5:05 am

Re: Blendigo Install On Mac

Post by spencer » Tue Dec 08, 2009 1:10 am

Thanks guys i will give this a try when i get home tonight, fingers crossed!

:D

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo Install On Mac

Post by dougal2 » Tue Dec 08, 2009 2:03 am

FakeShamus wrote:here is another thing Blendigo could handle differently, dougal2, instead of exiting with an error if it doesn't find this location file, maybe it should just give a warning? Blendigo should still work fine to export igs's and meshes, it just won't work to autorun the render or to preview materials, etc.
Agreed, Blendigo could be more helpful in this situation.

User avatar
spencer
Posts: 6
Joined: Sat Dec 05, 2009 5:05 am

Re: Blendigo Install On Mac

Post by spencer » Tue Dec 08, 2009 10:24 am

Ok, gave that a try and im sort of in business, i have the Blendigo interface up and running in blender all fine, but i made up a quick test scene with a few spheres and hit render it won't initiate Indigo.

I get the following:

INDIGO EXPORT

* Material.001
exportMeshBinary()
Building IGMESH object Done. (Took 0.0107011795044 s)
Saving igmesh to '/private/tmp/Sphere_003_0.igmesh...
Done. (Took 0.0370359420776 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.010773897171 s)
Saving igmesh to '/private/tmp/Sphere_002_1.igmesh...
Done. (Took 0.037318944931 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.0270531177521 s)
Saving igmesh to '/private/tmp/Sphere_001_2.igmesh...
Done. (Took 0.0596449375153 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.0104229450226 s)
Saving igmesh to '/private/tmp/Sphere_3.igmesh...
Done. (Took 0.0368590354919 s)
Processing time: 0.535437

Launching
2009-12-07 22:16:28.193 open[283:903] CFPropertyListCreateFromXMLData(): Unexpected end of file. Missing semicolon or value in dictionary.
2009-12-07 22:16:28.195 open[283:903] CFPropertyListCreateFromXMLData(): Unexpected end of file. Missing semicolon or value in dictionary.
Unable to find application named '{rtf1ansiansicpg1252cocoartf1038cocoasubrtf110'
sh: -c: line 1: syntax error near unexpected token `}'
sh: -c: line 1: `{\fonttbl\f0\froman\fcharset0 Times-Roman;}'


I don't think there's an issue with the Blender side of things????.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo Install On Mac

Post by dougal2 » Tue Dec 08, 2009 11:10 am

@spencer
I think you've saved your .indigo/location file not as a simple text file but as something else. possibly RTF?

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: Blendigo Install On Mac

Post by FakeShamus » Tue Dec 08, 2009 11:12 am

yeah, make sure it's plain text

User avatar
benn
Posts: 1046
Joined: Mon Dec 08, 2008 12:47 pm
Location: Wellington, New Zealand
Contact:

Re: Blendigo Install On Mac

Post by benn » Tue Dec 08, 2009 11:28 am

The Indigo location should be written out the first time that Indigo runs (if i remember correctly). So you just start Indigo and the .indigo file should be made correctly.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: Blendigo Install On Mac

Post by FakeShamus » Tue Dec 08, 2009 2:57 pm

for some reason it doesn't, cause I had the same problem and I had to create that folder and the location file

User avatar
spencer
Posts: 6
Joined: Sat Dec 05, 2009 5:05 am

Re: Blendigo Install On Mac

Post by spencer » Tue Dec 08, 2009 7:56 pm

good morning all,
ok, right i've resaved the location file as plain text and the error has gone!, now i have this new one!:

----------------------
BLENDIGO v2.2.9
----------------------
Linux-platform: darwin os.sep: /
scene.getCurrentCamera() deprecated!
use scene.objects.camera instead
Export Still to /private/tmp/default.igs

INDIGO EXPORT

* Material.001
exportMeshBinary()
Building IGMESH object Done. (Took 0.0106821060181 s)
Saving igmesh to '/private/tmp/Sphere_003_0.igmesh...
Done. (Took 0.0368649959564 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.0111329555511 s)
Saving igmesh to '/private/tmp/Sphere_002_1.igmesh...
Done. (Took 0.0368480682373 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.0269870758057 s)
Saving igmesh to '/private/tmp/Sphere_001_2.igmesh...
Done. (Took 0.058886051178 s)
exportMeshBinary()
Building IGMESH object Done. (Took 0.0104699134827 s)
Saving igmesh to '/private/tmp/Sphere_3.igmesh...
Done. (Took 0.0366718769073 s)
Processing time: 0.661273

Launching
FSPathMakeRef(/Applications/indigo/Indigo.app/indigo) failed with error -43.


Any ideas on what error '-43' could be?.

FakeShamus
Posts: 512
Joined: Wed May 02, 2007 11:34 am

Re: Blendigo Install On Mac

Post by FakeShamus » Wed Dec 09, 2009 12:47 am

I guess the path in your location file needs to read just "/Applications/Indigo/"?
honestly I haven't gotten Indigo to auto-start on export either. but you still get the igs file you need to render.

User avatar
spencer
Posts: 6
Joined: Sat Dec 05, 2009 5:05 am

Re: Blendigo Install On Mac

Post by spencer » Wed Dec 09, 2009 1:16 am

I will try tweaking the location file tonight to see if i can get it to auto run when i hit render in Blendigo.

Glendaloch
Posts: 6
Joined: Fri Nov 27, 2009 8:55 am

Re: Blendigo Install On Mac

Post by Glendaloch » Wed Dec 09, 2009 1:56 am

I must say I've found it impossible to get Indigo to work properly on Mac OSX!

Have tried everything and have discovered a really mad workaround using windows 1.1.18 file exporter on the Mac that enables the writing of the IGS so I can open it in the new Mac 2,0,13 version.

This is very unsatisfactory and have tried this solution here as well, but no go. Also must say i reckon the path would be in the 'location file':

/Applications/Indigo/Contents/MacOS/Indigo

and no .app at the end either.(Luxrender doesn't like .app at the end)

I am getting the following error:

Error: IndigoDriverExcep: No Scene file path specified.

I find everything works fine if rendering the default Blender cube scene, but as soon as I import any sort of mesh to this same file, it fails and gives the above error.

Real pity this can't work properly, obviously something very small!

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Re: Blendigo Install On Mac

Post by dougal2 » Wed Dec 09, 2009 2:19 am

I will have to defer the details of this Mac issue to benn for now as I don't have an Intel Mac to play with :(

Post Reply
30 posts

Who is online

Users browsing this forum: No registered users and 1 guest