Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Rep argument is not a dictionary"

I tried to follow these instructions in Mountain Lion and this command:


sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1


Returned this error:


"Rep argument is not a dictionary".


What do I do now?!?


Thanks!


-Adam.

MacBook Pro, OS X Mountain Lion

Posted on Aug 15, 2012 5:09 AM

Reply
1 reply

Aug 21, 2015 8:37 AM in response to AussieHealer

I found this link on the default you are trying to write. When I had the exact same error message (while setting a different default), it turns out I was missing a required attribute on the value I was trying to set. A list of all attributes can be found if you perform a read on the entire plist.


sudo defaults read /Library/Preferences/com.apple.AppleShareClient.plist

"Rep argument is not a dictionary"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.