I'm trying to build CM7 for Google Nexus One.
I am following the instructions from http://wiki.cyanogen...nogenMod_(Linux).
I'm on the step: ". build/envsetup.sh && brunch passion"
envsetup.sh runs fine and I believe most of brunch passion works fine too. The error I'm getting looks like it has something to do with SetPermissionsRecursive.
Here's the error message being generated:
running: imgdiff /tmp/tmpM2Cd0h /tmp/tmp6dc1De /tmp/tmpv4IL0t
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 813, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 788, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 405, in WriteFullOTAPackage
Item.Get("system").SetPermissions(script)
File "./build/tools/releasetools/ota_from_target_files", line 249, in SetPermissions
recurse(self, (-1, -1, -1, -1))
File "./build/tools/releasetools/ota_from_target_files", line 235, in recurse
script.SetPermissionsRecursive("/"+item.name, *item.best_subtree)
File "/mnt/android/system/build/tools/releasetools/edify_generator.py", line 271, in SetPermissionsRecursive
% (uid, gid, dmode, fmode, fn))
TypeError: %d format: a number is required, not NoneType
make: *** [out/target/product/passion/cyanogen_passion-ota-eng.root.zip] Error 1
I've tried everything I can think of but still am unable to get past this problem. Does anyone have any idea why this is failing?
Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Guest Message by DevFuse
brunch passion causes error with SetPermissionsRecursive
Started by Paul Jack, Nov 08 2011 04:46 PM
CM7
2 replies to this topic














