Home Forums Software InstaDMG importdisk.py error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #379862
    elvisizer
    Participant

    Hello, didn’t find anything in the forum or docs concerning this error, apologies if it is documented anywhere.

    So, I just downloaded instaDMG 1.6 and tried running the ‘sudo ./instadmg/AddOns/InstaUp2Date/importDisk.py –automatic –legacy’ command. I’m getting [code]Traceback (most recent call last):
    File “./instadmg/AddOns/InstaUp2Date/importDisk.py”, line 3, in
    import sys, os, re, subprocess, optparse, Foundation
    ImportError: No module named Foundation[/code]
    I tried downloading the latest version of python 2.7 and got the same error after installing. This is on a 10.6.5 machine. Any tips? thanks!

    edit:
    just in case this helps:
    [code]nkalister$ echo $PATH
    /Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin[/code]

    #379867
    dead2sin
    Participant

    importDisk.py has always worked for me using the default version of Python that comes with OS X. I’d try it on a fresh machine and see if it works.

    Also as a side note, –legacy should no longer be used due to how InstaUp2Date functions. Just do –automatic now. (This is true if you got the latest SVN or even from the SVN in the past few months).

    Let me know how it goes.

    Nate

    #379909
    elvisizer
    Participant

    thanks, dead, a vanilla machine had no errors. I took the updated pythons out of the path on the original machine and also had success, so you were definitely correct.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed