Vegasman81 / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

environment.plist gets corrupted #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. my environment.plist before executing the script in terminal:
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   <plist version="1.0">
   <dict/>
   </plist>

2. The following output is shown in Terminal:
The domain/default pair of (/Users/vivo/.MacOSX/environment, PATH) does not
exist
2008-05-05 21:28:00.649 defaults[84509:10b] 
The domain/default pair of (/Users/vivo/.MacOSX/environment, MANPATH) does
not exist
2008-05-05 21:28:00.904 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x32dbd0 of class NSPathStore2 autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d30c7 0x949dab1f 0x949da61e 0x949df0cb 0xc78e6
0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.908 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x32f030 of class NSPathStore2 autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d30c7 0x949d21c9 0x949dc642 0x949df2a2 0xc78e6
0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.908 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x330940 of class NSPathStore2 autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d30c7 0x949dab1f 0x949da61e 0x949da526 0x949e05c8
0xc79fc 0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be
0x93d7f5ab 0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9
0x407a71 0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.909 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x3302c0 of class NSBundle autoreleased with no pool in place - just
leaking
Stack: (0x94ac512f 0x949d1ec2 0xc79fc 0xc7b5b 0x949b7f97 0x949b82f6
0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab 0x94defdef 0x4241be 0x427e41
0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71 0x96a7e5cd 0x949b6168 0x423708
0x423826 0x423959 0x423160 0x42390d 0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.923 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x32f7c0 of class NSCFArray autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d1ec2 0x94a03f61 0x94a03f2a 0xc7ad2 0xc7b5b
0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.925 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x331320 of class NSPathStore2 autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d30c7 0x949d21c9 0x949dc642 0x949dc4d2 0x94a046ca
0x94a0402f 0x94a03f2a 0xc7ad2 0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74
0x93d73648 0x93d7c7be 0x93d7f5ab 0x94defdef 0x4241be 0x427e41 0x428004
0x40fc81 0x40ff4b 0x40ffe9 0x407a71 0x96a7e5cd 0x949b6168 0x423708 0x423826
0x423959 0x423160 0x42390d 0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.927 osascript[84530:10b] LCC Scroll Enhancer loaded
2008-05-05 21:28:00.928 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x333050 of class NSMachPort autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d1ec2 0x949f15d5 0x94a184bf 0xce702 0xce5bf 0xc7b2e
0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.929 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x334300 of class NSCFNumber autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d1ec2 0xcf1b2 0xce766 0xce5bf 0xc7b2e 0xc7b5b
0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.930 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x334740 of class NSCFString autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d1ec2 0x94a524ea 0xce766 0xce5bf 0xc7b2e 0xc7b5b
0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.931 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x334780 of class NSPathStore2 autoreleased with no pool in place -
just leaking
Stack: (0x94ac512f 0x949d30c7 0x949e13e5 0xce782 0xce5bf 0xc7b2e 0xc7b5b
0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648 0x93d7c7be 0x93d7f5ab
0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81 0x40ff4b 0x40ffe9 0x407a71
0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959 0x423160 0x42390d
0x96a7e5cd 0x949c7513 0x20c9)
2008-05-05 21:28:00.931 osascript[84530:10b] *** _NSAutoreleaseNoPool():
Object 0x334910 of class NSCFData autoreleased with no pool in place - just
leaking
Stack: (0x94ac512f 0x949d1ec2 0x949e62a5 0x949f406a 0x949f3f28 0x949f3d45
0xce79e 0xce5bf 0xc7b2e 0xc7b5b 0x949b7f97 0x949b82f6 0x93d81c74 0x93d73648
0x93d7c7be 0x93d7f5ab 0x94defdef 0x4241be 0x427e41 0x428004 0x40fc81
0x40ff4b 0x40ffe9 0x407a71 0x96a7e5cd 0x949b6168 0x423708 0x423826 0x423959
0x423160 0x42390d 0x96a7e5cd 0x949c7513 0x20c9)
button returned:OK

3. And the contents of the file (as displayed in Emacs) after executing the
script:
bplist00<D2>^A^B^C^DTPATHWMANPATH_^P[/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bi
n:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin_^PR/usr/local/man:/usr/share/ma
n:/usr/local/share/man:/usr/X11/man:/usr/local/git/ma^M^R^Zx
^@^@^@^@^@^@^A^A^@^@^@^@^@^@^@^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@<CD>

What version of the product are you using? On what operating system?
I am using OSX 10.5.2

Original issue reported on code.google.com by victor.v...@gmail.com on 5 May 2008 at 7:31

GoogleCodeExporter commented 8 years ago
Yikes - sounds like something is seriously wrong with your computer.  Anyone 
else getting this?

Original comment by timchar...@gmail.com on 5 May 2008 at 7:34

GoogleCodeExporter commented 8 years ago
Found the solution: The Logitech Mouse Controller is the culprit (see
http://lists.apple.com/archives/applescript-users/2008/Apr/msg00094.html). So 
it has
nothing to do with your installer, it was just the first "osascript" I executed 
in
Terminal.

Please close the issue.

Original comment by victor.v...@gmail.com on 6 May 2008 at 9:09

GoogleCodeExporter commented 8 years ago

Original comment by timchar...@gmail.com on 6 May 2008 at 9:38

GoogleCodeExporter commented 8 years ago
sorry, but my environment.plist still gets corrupted. I looked into the wrong 
user
account. So the nasty messages are gone but the script still doesn't work for 
me 

Original comment by victor.v...@gmail.com on 6 May 2008 at 10:19

GoogleCodeExporter commented 8 years ago
Can you open a new issue?

Original comment by timchar...@gmail.com on 6 May 2008 at 10:20

GoogleCodeExporter commented 8 years ago
not necessary.
finally! solved:
the plist file gets converted to a binary format (see "man plutil" or
http://forums.macosxhints.com/archive/index.php/t-57381.html)

I do not know why this happens and perhaps most people do not manually edit 
their
environment.plist files, but I can now convert the environment.plist file back 
to xml.
Perhaps I am just too new to OS X.
Pooh. finally done. 

Original comment by victor.v...@gmail.com on 6 May 2008 at 10:54

GoogleCodeExporter commented 8 years ago
lol - yeah, the binary format is the default format from what I understand 
now-a-days.

Glad you found out how to get it back to text.

Tim

Original comment by timchar...@gmail.com on 6 May 2008 at 11:01

GoogleCodeExporter commented 8 years ago
lol - yeah, the binary format is the default format from what I understand 
now-a-days.

Glad you found out how to get it back to text.

Tim

Original comment by timchar...@gmail.com on 6 May 2008 at 11:01