keeleysam / munkireport

Automatically exported from code.google.com/p/munkireport
Other
0 stars 0 forks source link

Prefpane error on users file upon first open. #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install MunkiReports from latest SVN revision
2. Open System Preferences -> MunkiReport
3. Error "Failed to load users file"

What version of the product are you using? On what operating system?
OS X Server 10.6.7 , MunkiReport-0.7.0.172

Please provide any additional information below.

The error comes after a fresh install.  I noticed that the file generated by 
mkuser.py in /Library/Application Support/MunkiReport is the older version's 
style .ini type file, but the PrefPane wants a Plist.  I tried just renaming 
the file but Sys Prefs will crash upon the file not being an actual plist.  
However I was able to get this to work by opening the Munkireport PrefPane, 
going to Users tab and click the "+".  Which in the interface did nothing.  
Then close and re-open the PrefPane and the error is gone and the user I 
created with mkuser.py is listed under the Users tab.  It seems the "+" sign 
created the necessary plist file and referenced my already generated users file.

What else is still incomplete with the PrefPane and let me know if there's 
anything else I can help test.

Thanks
-Trey

Original issue reported on code.google.com by treyd...@gmail.com on 19 Apr 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Unfortunately the whole core of the prefpane needs to be rewritten, as I failed 
to read (and understand) BetterAuthorizationSample - 
MunkiReportPrefPane/mrserver.py is a dead end. I started on the design, but 
there's no committed code yet.

Original comment by MagerV...@gmail.com on 20 Apr 2011 at 6:36