Comments (12)
It's possible that some recent changes to FoundationPlist broke compatibility with 10.6.x. I'll test later today when I have access to a 10.6.8 machine.
-Greg
On Jan 6, 2014, at 5:02 AM, henningkessler [email protected] wrote:
Hi,
i tried the 0.2.5. release unter two 10.6.8 server installations and both failed.
vmserver:RecipeOverrides virt$ autopkg list-recipes
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1247, in
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1241, in main
exit(subcommands[verb]'function')
File "/usr/local/bin/autopkg", line 848, in list_recipes
if valid_recipe(match):
File "/usr/local/bin/autopkg", line 102, in valid_recipe
return (valid_plist_with_keys(filename, ["Input", "Process"])
File "/usr/local/bin/autopkg", line 88, in valid_plist_with_keys
recipe_plist = FoundationPlist.readPlist(filename)
File "/Library/AutoPkg/FoundationPlist/FoundationPlist.py", line 72, in readPlist
plistData, NSPropertyListMutableContainersAndLeaves, None, None))
ValueError: too many values to unpack—
Reply to this email directly or view it on GitHub.
from autopkg.
I can reproduce this issue on 10.6.8.
-Greg
On Jan 6, 2014, at 7:24 AM, Gregory Neagle [email protected] wrote:
It's possible that some recent changes to FoundationPlist broke compatibility with 10.6.x. I'll test later today when I have access to a 10.6.8 machine.
-Greg
On Jan 6, 2014, at 5:02 AM, henningkessler [email protected] wrote:
Hi,
i tried the 0.2.5. release unter two 10.6.8 server installations and both failed.
vmserver:RecipeOverrides virt$ autopkg list-recipes
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1247, in
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1241, in main
exit(subcommands[verb]'function')
File "/usr/local/bin/autopkg", line 848, in list_recipes
if valid_recipe(match):
File "/usr/local/bin/autopkg", line 102, in valid_recipe
return (valid_plist_with_keys(filename, ["Input", "Process"])
File "/usr/local/bin/autopkg", line 88, in valid_plist_with_keys
recipe_plist = FoundationPlist.readPlist(filename)
File "/Library/AutoPkg/FoundationPlist/FoundationPlist.py", line 72, in readPlist
plistData, NSPropertyListMutableContainersAndLeaves, None, None))
ValueError: too many values to unpack—
Reply to this email directly or view it on GitHub.
from autopkg.
Good to know, is there a chance that autopkg will continue to support 10.6.8 or could this be a point where support will be dropped?
Henning
Am 06.01.2014 um 17:08 schrieb Greg Neagle [email protected]:
I can reproduce this issue on 10.6.8.
-Greg
On Jan 6, 2014, at 7:24 AM, Gregory Neagle [email protected] wrote:
It's possible that some recent changes to FoundationPlist broke compatibility with 10.6.x. I'll test later today when I have access to a 10.6.8 machine.
-Greg
On Jan 6, 2014, at 5:02 AM, henningkessler [email protected] wrote:
Hi,
i tried the 0.2.5. release unter two 10.6.8 server installations and both failed.
vmserver:RecipeOverrides virt$ autopkg list-recipes
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1247, in
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1241, in main
exit(subcommands[verb]'function')
File "/usr/local/bin/autopkg", line 848, in list_recipes
if valid_recipe(match):
File "/usr/local/bin/autopkg", line 102, in valid_recipe
return (valid_plist_with_keys(filename, ["Input", "Process"])
File "/usr/local/bin/autopkg", line 88, in valid_plist_with_keys
recipe_plist = FoundationPlist.readPlist(filename)
File "/Library/AutoPkg/FoundationPlist/FoundationPlist.py", line 72, in readPlist
plistData, NSPropertyListMutableContainersAndLeaves, None, None))
ValueError: too many values to unpack—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.
from autopkg.
We're not doing a lot of testing on 10.6 since that's three major OS releases ago. And no testing at all on 10.5.
-Greg
On Jan 6, 2014, at 8:11 AM, henningkessler [email protected] wrote:
Good to know, is there a chance that autopkg will continue to support 10.6.8 or could this be a point where support will be dropped?
Henning
Am 06.01.2014 um 17:08 schrieb Greg Neagle [email protected]:
I can reproduce this issue on 10.6.8.
-Greg
On Jan 6, 2014, at 7:24 AM, Gregory Neagle [email protected] wrote:
It's possible that some recent changes to FoundationPlist broke compatibility with 10.6.x. I'll test later today when I have access to a 10.6.8 machine.
-Greg
On Jan 6, 2014, at 5:02 AM, henningkessler [email protected] wrote:
Hi,
i tried the 0.2.5. release unter two 10.6.8 server installations and both failed.
vmserver:RecipeOverrides virt$ autopkg list-recipes
Traceback (most recent call last):
File "/usr/local/bin/autopkg", line 1247, in
sys.exit(main(sys.argv))
File "/usr/local/bin/autopkg", line 1241, in main
exit(subcommands[verb]'function')
File "/usr/local/bin/autopkg", line 848, in list_recipes
if valid_recipe(match):
File "/usr/local/bin/autopkg", line 102, in valid_recipe
return (valid_plist_with_keys(filename, ["Input", "Process"])
File "/usr/local/bin/autopkg", line 88, in valid_plist_with_keys
recipe_plist = FoundationPlist.readPlist(filename)
File "/Library/AutoPkg/FoundationPlist/FoundationPlist.py", line 72, in readPlist
plistData, NSPropertyListMutableContainersAndLeaves, None, None))
ValueError: too many values to unpack—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.
from autopkg.
I thought so. But 10.7 & 10.8 server releases had been to buggy or had missing features like LACP support. Upgrade to 10.9 is planned later this year. Until that support for 10.6.8 would be great (shame)
Henning
Am 06.01.2014 um 17:13 schrieb Greg Neagle [email protected]:
We're not doing a lot of testing on 10.6 since that's three major OS releases ago. And no testing at all on 10.5.
-Greg
from autopkg.
autopkg doesn't have to run on a server!
We'll try to maintain 10.6.8 compatibility, but as I said, we don't do a lot of testing there.
-Greg
On Jan 6, 2014, at 8:27 AM, henningkessler [email protected] wrote:
I thought so. But 10.7 & 10.8 server releases had been to buggy or had missing features like LACP support. Upgrade to 10.9 is planned later this year. Until that support for 10.6.8 would be great (shame)
Henning
Am 06.01.2014 um 17:13 schrieb Greg Neagle [email protected]:
We're not doing a lot of testing on 10.6 since that's three major OS releases ago. And no testing at all on 10.5.
-Greg
—
Reply to this email directly or view it on GitHub.
from autopkg.
Am 06.01.2014 um 17:39 schrieb Greg Neagle [email protected]:
autopkg doesn't have to run on a server!
Yes i know, but the both servers are the only constantly running machines on that site.We'll try to maintain 10.6.8 compatibility, but as I said, we don't do a lot of testing there.
That's great, and i don't mind encounter issues as I know that those servers run an ancient OS.
I am very very appreciating your guys work
Henning
from autopkg.
I believe this has been addressed here: 90b7a21
Please test with a version from the Git repo and let us know.
from autopkg.
Hi Greg,
yes, you are right. AutoPkg 0.2.6. is working now under 10.6.8.
Thank you very much.
Henning
Am 06.01.2014 um 19:57 schrieb Greg Neagle [email protected]:
I believe this has been addressed here: 90b7a21
Please test with a version from the Git repo and let us know.
—
Reply to this email directly or view it on GitHub.
from autopkg.
I just ran a recipe with a plist formatting error and it happened to catch this bug since this was refactored:
~/git/github/autopkg/Code/autopkg run -vv Dropbox.munki
Traceback (most recent call last):
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 1247, in <module>
sys.exit(main(sys.argv))
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 1241, in main
exit(subcommands[verb]['function'](argv))
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 1035, in run_recipes
recipe = load_recipe(recipe_path, override_dirs, search_dirs)
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 231, in load_recipe
name, override_dirs + recipe_dirs)
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 150, in find_recipe_by_identifier
if get_identifer_from_recipe_file(match) == identifier:
File "/Users/tsutton/git/github/autopkg/Code/autopkg", line 131, in get_identifer_from_recipe_file
recipe_plist = FoundationPlist.readPlist(filename)
File "/Users/tsutton/git/github/autopkg/Code/FoundationPlist/FoundationPlist.py", line 112, in readPlist
return _dataToPlist(data)
File "/Users/tsutton/git/github/autopkg/Code/FoundationPlist/FoundationPlist.py", line 84, in _dataToPlist
errmsg = u"%s in file %s" % (error, filepath)
NameError: global name 'filepath' is not defined
from autopkg.
Try this: a6be44c
from autopkg.
Worked great!
from autopkg.
Related Issues (20)
- Everything breaks if ~/Library/AutoPkg is missing HOT 1
- AutoPkg does not read GITHUB TOKEN from default path on fresh setup
- Add new AutoPkg command to validate GitHub API limits
- SparkleUpdateInfoProvider produces `can't concat str to bytes` error when building URL
- New recipe search logic can produce different results
- FR: Add python boto3 module for use with Jamf Pro HOT 1
- Archive vmule-recipes repository HOT 3
- Autopkg takes up to 70 min. to process recipe, no diagnostic output provided for majority of processing time HOT 8
- Error incorrect when "Ignore ownership on this volume" set on an APFS Volume
- Recipe Map doesn't locate items in `~/Library/AutoPkg/Recipes` HOT 2
- Feature Request: In versions 3.0+, make search for recipes case-insensitive again (or selectable by user?) HOT 4
- SparkleUpdateInfoProvider crashes with "AttributeError: 'str' object has no attribute 'decode'" HOT 9
- Fork jc0b-recipes HOT 5
- audit verb with plist output includes standard output
- Expose on-disk GitHub token as a variable for use in processors
- Add members to recipe repo team HOT 1
- Re-implement recipe chain trust verification
- Generating the Recipe Map for the first time is very slow
- GitHubReleasesInfoProvider additional functionality - raise a warning if a repo has been archived or disabled. HOT 2
- Add repo pandemicus-recipes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopkg.