The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   application turned into a folder! (http://hintsforums.macworld.com/showthread.php?t=1207)

eleven 02-24-2002 12:23 PM

application turned into a folder!
 
i don't know how, but my 'print center' app turned into a folder, with contents like those you see when you choose to 'show package contents'.

anyway, i'd like to use my print center, and i don't know how to turn it into an application.

thank you.

Phil St. Romain 02-24-2002 12:31 PM

Re: application turned into a folder!
 
You should be able to launch Print Center through the File/Print dialogue on any application by scrolling to the Edit Printer List on the Print popup menu.

This won't fix the folder problem. Maybe time to run Xoptimize or something for that one.

mervTormel 02-24-2002 12:42 PM

eleven, do you have the developer's tools installed?

if so, try:

% /Developer/Tools/GetFileInfo "/Applications/Utilities/Print Center.app"
directory: "/Applications/Utilities/Print Center.app"
type: ""
creator: ""
attributes: avBstclInmEd
created: 09/15/2001 04:04:53
modified: 02/15/2002 01:46:45


and report your results here.

eleven 02-24-2002 12:55 PM

tried it; this is what I got:

% /Developer/Tools/GetFileInfo "/Applications/Utilities/Print Center.app"
directory: "/Applications/Utilities/Print Center.app"
type: ""
creator: ""
attributes: avbstclinmed
created: 02/15/2002 01:46:45
modified: 02/15/2002 01:46:45

eleven 02-24-2002 01:00 PM

also, i tried what phil st. romain said above, about the print center being accessible in the print dialog box. that's true, but (since i haven't yet configured printing on this machine) when i tried to set it up to print from there, i got a hopping file folder in the dock (presumably the print center 'app', really a folder), but it didn't launch. it just stopped hopping after 3-4 hops and then disappeared.

mervTormel 02-24-2002 01:09 PM

okay, so try this:

% sudo /Developer/Tools/SetFile -a BIE "/Applications/Utilities/Print Center.app"

then check it:

% /Developer/Tools/GetFileInfo "/Applications/Utilities/Print Center.app"
directory: "/Applications/Utilities/Print Center.app"
type: ""
creator: ""
attributes: avBstclInmEd

are the BIE attributes upper-case?

any idea how it might have got munged in the first place?

eleven 02-24-2002 01:36 PM

thank you, mervTormel. that certainly did the trick!

next i will read the man file on SetFile to see if i can figure out what i just did.

i don't know how the file was messed up in the first place, really, because i never looked at the print center before i actually needed it (now, in other words). but the dates seem to correspond roughly to when i updated to 10.1.3. (feb 15, iow.).

thanks again.

dlewand691 03-07-2002 11:44 AM

having the same problem...
 
Hello! I'm having the same problem with the Print Center being a folder and tried the solution suggested with no results. I'm still getting:

directory: "/Applications/Utilities/Print Center.app"
type: ""
creator: ""
attributes: avbstclinmed
created: 02/15/2002 01:46:45
modified: 02/15/2002 01:46:45

Any thoughts on what went wrong? I followed the instructions exactly. Please help!

Thanks!

mervTormel 03-07-2002 01:34 PM

so, you issued the setfileinfo command and nothing happened? no errors and the shell prompt returned?

was the print center app open when you tried this? shouldn't be.

hmm, perhaps you should explore the contents of the print center bundle...

% ls -ld /Applications/Utilities/Print\ Center.app/
drwxr-xr-x 3 root admin 264 Feb 14 17:46 /Applications/Utilities/Print Center.app/

% ls -lR /Applications/Utilities/Print\ Center.app/
...

dlewand691 03-08-2002 08:27 AM

checked out the print center
 
Yep, I followed exactly what was written in your suggestion. Got the prompt back just fine with no errors and the print center wasn't open. Tried your new suggestions and here's what i got:

[localhost:~] administ% ls -ld /Applications/Utilities/Print\ Center.app/
drwxr-xr-x 3 root wheel 264 Feb 14 20:46 /Applications/Utilities/Print Center.app/
[localhost:~] administ% ls -lR /Applications/Utilities/Print\ Center.app/
total 0
drwxr-xr-x 5 root wheel 264 Feb 14 20:46 Contents

/Applications/Utilities/Print Center.app//Contents:
total 16
-rw-r--r-- 1 root wheel 882 Feb 14 19:33 Info.plist
drwxr-xr-x 4 root wheel 264 Feb 14 20:46 MacOS
-rw-r--r-- 1 root wheel 473 Feb 14 20:46 version.plist

/Applications/Utilities/Print Center.app//Contents/MacOS:
total 832
-rwxr-sr-x 1 root wheel 384364 Feb 14 20:46 Print Center
-r-sr-xr-- 1 root wheel 39012 Feb 14 19:43 PrintingReset
[localhost:~] administ%

Not quite sure what I'm looking for though. Permissions, maybe? I'm a Unix newbie so any help is greatly appreciated!

Thanks!
danny

mervTormel 03-08-2002 08:45 AM

hmm, your print center dir is missing some stuff, and therefore, couldn't be bundled/inited (-BIE)

your missing the resources dir:
Code:

% ls -lR /Applications/Utilities/Print\ Center.app/
/Applications/Utilities/Print Center.app/:
total 0
drwxr-xr-x    7 root    admin        264 Feb 14 17:46 Contents

/Applications/Utilities/Print Center.app/Contents:
total 12
-rw-r--r--    1 root    wheel        882 Feb 14 16:33 Info.plist
drwxr-xr-x    4 root    admin        264 Feb 19 19:51 MacOS
-rw-r--r--    1 root    admin          8 Sep  3  2001 PkgInfo
drwxr-xr-x    9 root    admin        264 Sep 14 21:04 Resources
-rw-r--r--    1 root    wheel        473 Feb 14 17:46 version.plist

/Applications/Utilities/Print Center.app/Contents/MacOS:
total 416
-rwxr-sr-x    1 root    daemon    384364 Feb 19 19:51 Print Center
-r-sr-xr--    1 root    daemon      39012 Feb 19 19:49 PrintingReset

/Applications/Utilities/Print Center.app/Contents/Resources:
total 84
-rw-r--r--    1 root    admin        3547 Sep  3  2001 Alert.jpg
-rw-r--r--    1 root    admin        899 Sep  3  2001 AlertMask.jpg
drwxr-xr-x    5 root    admin        264 Sep 14 21:04 English.lproj
-rw-r--r--    1 root    admin      51357 Sep  3  2001 PCIcons.icns
-rw-r--r--    1 root    admin        4886 Sep  3  2001 PageSlide.jpg
-rw-r--r--    1 root    admin        2368 Sep  3  2001 PageSlideMask.jpg
-rw-r--r--    1 root    admin      10114 Sep  3  2001 Print Center.rsrc

/Applications/Utilities/Print Center.app/Contents/Resources/English.lproj:
total 84
-rw-r--r--    1 root    admin        442 Sep  3  2001 InfoPlist.strings
-rw-r--r--    1 root    admin        4436 Sep  3  2001 Localizable.strings
-rw-r--r--    1 root    admin      72729 Sep  3  2001 Localized.rsrc
gunther:~ merv%

what you could do is to get the pacifist utility (search versiontracker), and plunk print center down from the 10.x install cd, then plunk down the 10.1.3 update to print center?

you habla any of that, seņor? if not then let me know and maybe we can deliver you a print center with the guts it needs.

dlewand691 03-08-2002 11:11 AM

got it! now it won't open
 
Thanks! Got it fixed back to an application. Here's what I got in the terminal:

Welcome to Darwin!
[localhost:~] administ% ls -lR /Applications/Utilities/Print\ Center.app/
total 0
drwxrw-rw- 7 administ staff 194 Mar 8 11:07 Contents

/Applications/Utilities/Print Center.app//Contents:
total 24
-rw-r--r-- 1 root wheel 882 Feb 14 19:33 Info.plist
drwxrw-rw- 4 administ staff 92 Mar 8 11:07 MacOS
-rwx------ 1 administ staff 8 Mar 8 10:42 PkgInfo
drwxrw-rw- 11 administ staff 330 Mar 8 10:42 Resources
-rw-r--r-- 1 root wheel 473 Feb 14 20:46 version.plist

/Applications/Utilities/Print Center.app//Contents/MacOS:
total 832
-rwxr-sr-x 1 root wheel 384364 Feb 14 20:46 Print Center
-r-sr-xr-- 1 root wheel 39012 Feb 14 19:43 PrintingReset

/Applications/Utilities/Print Center.app//Contents/Resources:
total 128
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Dutch.lproj
drwxrw-rw- 5 administ staff 126 Mar 8 10:42 English.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 French.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 German.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Italian.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Japanese.lproj
-rwx------ 1 administ staff 52510 Mar 8 10:42 PCIcons.icns
-rwx------ 1 administ staff 10114 Mar 8 10:42 Print Center.rsrc
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Spanish.lproj

/Applications/Utilities/Print Center.app//Contents/Resources/Dutch.lproj:
total 160
-rwx------ 1 administ staff 462 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3042 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72919 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/English.lproj:
total 160
-rwx------ 1 administ staff 220 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 2856 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 71196 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/French.lproj:
total 160
-rwx------ 1 administ staff 480 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3074 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72899 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/German.lproj:
total 160
-rwx------ 1 administ staff 222 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3098 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 73359 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Italian.lproj:
total 160
-rwx------ 1 administ staff 466 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3070 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72120 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Japanese.lproj:
total 160
-rwx------ 1 administ staff 442 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 2722 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 71645 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Spanish.lproj:
total 160
-rwx------ 1 administ staff 456 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3004 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72569 Mar 8 10:42 Localized.rsrc
[localhost:~] administ%

Now what happens is that when it opens, i get the spinning rainbow wheel for a few seconds, then it just closes. No errors, no dialog boxes, nothing. Any thoughts there? Thanks again for all the help!

mervTormel 03-08-2002 11:31 AM

well, the permissions look a little whacky, and the owner.group is munged, so that may have something to do with it.

did you accomplish this with pacifist? that's too bad that the perms/ownership isn't maintained.

i just plucked print center from the 10.1.3. update to a scratch area and the root.wheel ownership was maintained.

anyhow, try this, and we'll go from there:
Code:

sudo chgrp -R daemon "/Applications/Utilities/Print Center.app/Contents/MacOS/"

mervTormel 03-08-2002 11:35 AM

hey!

you're still missing files from /resources...

/Applications/Utilities/Print Center.app/Contents/Resources:
total 84k
-rw-r--r-- 1 root admin 3.5k Sep 3 2001 Alert.jpg
-rw-r--r-- 1 root admin 899 Sep 3 2001 AlertMask.jpg
drwxr-xr-x 5 root admin 126 Sep 14 21:04 English.lproj/
-rw-r--r-- 1 root admin 50k Sep 3 2001 PCIcons.icns
-rw-r--r-- 1 root admin 4.8k Sep 3 2001 PageSlide.jpg
-rw-r--r-- 1 root admin 2.3k Sep 3 2001 PageSlideMask.jpg
-rw-r--r-- 1 root admin 9.9k Sep 3 2001 Print Center.rsrc


Whaaa?!

dlewand691 03-08-2002 03:08 PM

Alright. Let's see. Got a new version with the correct resource contents. Everything should be current and correct (I hope). Here's where it stands:

[localhost:~] administ% ls -lR /Applications/Utilities/Print\ Center.app/
total 0
drwxrw-rw- 7 administ staff 264 Mar 8 13:59 Contents

/Applications/Utilities/Print Center.app//Contents:
total 24
-rw-r--r-- 1 root wheel 882 Feb 14 19:33 Info.plist
drwxrw-rw- 4 administ staff 264 Mar 8 13:59 MacOS
-rwx------ 1 administ staff 8 Mar 8 10:42 PkgInfo
drwxrw-rw- 15 administ staff 466 Mar 8 14:45 Resources
-rw-r--r-- 1 root wheel 473 Feb 14 20:46 version.plist

/Applications/Utilities/Print Center.app//Contents/MacOS:
total 832
-rwxr-sr-x 1 root wheel 384364 Feb 14 20:46 Print Center
-r-sr-xr-- 1 root wheel 39012 Feb 14 19:43 PrintingReset

/Applications/Utilities/Print Center.app//Contents/Resources:
total 168
-rwxr-xr-x 1 administ unknown 3547 Sep 3 2001 Alert.jpg
-rwxr-xr-x 1 administ unknown 899 Sep 3 2001 AlertMask.jpg
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Dutch.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 English.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 French.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 German.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Italian.lproj
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Japanese.lproj
-rwxr-xr-x 1 administ unknown 51357 Sep 3 2001 PCIcons.icns
-rwxr-xr-x 1 administ unknown 4886 Sep 3 2001 PageSlide.jpg
-rwxr-xr-x 1 administ unknown 2368 Sep 3 2001 PageSlideMask.jpg
-rwxr-xr-x 1 administ unknown 10114 Sep 3 2001 Print Center.rsrc
drwxrw-rw- 5 administ staff 264 Mar 8 10:42 Spanish.lproj

/Applications/Utilities/Print Center.app//Contents/Resources/Dutch.lproj:
total 160
-rwx------ 1 administ staff 462 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3042 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72919 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/English.lproj:
total 160
-rwx------ 1 administ staff 220 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 2856 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 71196 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/French.lproj:
total 160
-rwx------ 1 administ staff 480 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3074 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72899 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/German.lproj:
total 160
-rwx------ 1 administ staff 222 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3098 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 73359 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Italian.lproj:
total 160
-rwx------ 1 administ staff 466 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3070 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72120 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Japanese.lproj:
total 160
-rwx------ 1 administ staff 442 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 2722 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 71645 Mar 8 10:42 Localized.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/Spanish.lproj:
total 160
-rwx------ 1 administ staff 456 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 3004 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 72569 Mar 8 10:42 Localized.rsrc
[localhost:~] administ%

I'm still getting the same spinning wheel and then nothing. Anything still missing? So what's next? Thanks again!

hschickel 03-08-2002 05:00 PM

Go to homepage.mac.com/hschickel and download PrintCenter.dmg.sit. Follow the instructions. This should solve your problem. Please note that this is for an English only Print Center.

Hugh

mervTormel 03-08-2002 05:16 PM

hugh, thanks for the delivery. hope you haven't violated any local statutes (aren't we a litigous society?)

now, then, dlewand691, as i mentioned earlier, your permissions and ownership could be a factor...

sudo chgrp -R daemon ...

could have been a factor, but it is evident that that magic wasn't applied to your latest machinations.

attention to detail and thoroughness is important in these missions.

hopefully, hugh's package will set everything right, but there still may be issues. i'm not sure a finder copy will succeed from the disk image hugh has provided. whoops! that is correct! i just checked hugh's package. finder won't let you blindly plunk it down, so...

*** important! please read the readme and follow hugh's very thorough and thoughtful instructions and you should be right as rain. ***

hugh, most excellent support. thanx again.

dlewand691 03-18-2002 09:45 AM

Still not working
 
Ok, guys. What did I do wrong? I downloaded hschickel's file and followed the instructions exactly and I'm still getting the same spinning rainbow. Did I need to install or copy anything? Didn't say to in the instructions. Anyway, here's what my print center info says:

Welcome to Darwin!
[localhost:~] administ% ls -lR /Applications/Utilities/Print\ Center.app/
total 0
drwxrw-rw- 8 administ staff 228 Mar 13 09:05 Contents

/Applications/Utilities/Print Center.app//Contents:
total 24
-rw-r--r-- 1 root wheel 882 Feb 14 19:33 Info.plist
drwxrw-rw- 5 administ staff 126 Mar 13 09:07 MacOS
-rwx------ 1 administ staff 8 Mar 8 10:42 PkgInfo
drwxrw-rw- 10 administ staff 296 Mar 13 09:05 Resources
-rw-r--r-- 1 root wheel 473 Feb 14 20:46 version.plist

/Applications/Utilities/Print Center.app//Contents/MacOS:
total 832
-rwxr-sr-x 1 root wheel 384364 Feb 14 20:46 Print Center
-r-sr-xr-- 1 root wheel 39012 Feb 14 19:43 PrintingReset

/Applications/Utilities/Print Center.app//Contents/Resources:
total 168
-rwxr-xr-x 1 administ unknown 3547 Sep 3 2001 Alert.jpg
-rwxr-xr-x 1 administ unknown 899 Sep 3 2001 AlertMask.jpg
drwxrw-rw- 6 administ staff 160 Mar 13 09:07 English.lproj
-rwxr-xr-x 1 administ unknown 51357 Sep 3 2001 PCIcons.icns
-rwxr-xr-x 1 administ unknown 4886 Sep 3 2001 PageSlide.jpg
-rwxr-xr-x 1 administ unknown 2368 Sep 3 2001 PageSlideMask.jpg
-rwxr-xr-x 1 administ unknown 10114 Sep 3 2001 Print Center.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/English.lproj:
total 160
-rwx------ 1 administ staff 220 Mar 8 10:42 InfoPlist.strings
-rwx------ 1 administ staff 2856 Mar 8 10:42 Localizable.strings
-rwx------ 1 administ staff 71196 Mar 8 10:42 Localized.rsrc
[localhost:~] administ%

Anything missing or screwy? Sorry for being such an idiot on this. Just new to X. Thanks again for the help!
danny

hschickel 03-18-2002 10:12 AM

You did not follow the instructions. Please read them and follow them exactly. More specifically, you missed the following:

sudo chown -R root:wheel /Applications/Utilities/Print\ Center.app

sudo chown root:daemon /Applications/Utilities/Print\ Center.app/Contents/MacOS/Print\ Center

sudo chown root:daemon /Applications/Utilities/Print\ Center.app/Contents/MacOS/PrintingReset


Please copy and paste the above 3 lines one by one into the terminal and enter your admin password as required.

Hugh

dlewand691 03-18-2002 10:44 AM

Tried again...
 
I tried again and made sure to follow everything exactly. I'm positive I did. Here's the new info:

Welcome to Darwin!
[localhost:~] administ% ls -lR /Applications/Utilities/Print\ Center.app/
total 0
drwxr-xr-x 7 root wheel 194 Feb 14 20:46 Contents

/Applications/Utilities/Print Center.app//Contents:
total 24
-rw-r--r-- 1 root wheel 882 Feb 14 19:33 Info.plist
drwxr-xr-x 4 root wheel 92 Feb 20 01:19 MacOS
-rw-r--r-- 1 root wheel 8 Sep 3 2001 PkgInfo
drwxr-xr-x 9 root wheel 262 Sep 15 2001 Resources
-rw-r--r-- 1 root wheel 473 Feb 14 20:46 version.plist

/Applications/Utilities/Print Center.app//Contents/MacOS:
total 832
-rwxr-sr-x 1 root daemon 384364 Feb 20 01:19 Print Center
-r-sr-xr-- 1 root daemon 39012 Feb 20 01:15 PrintingReset

/Applications/Utilities/Print Center.app//Contents/Resources:
total 168
-rw-r--r-- 1 root wheel 3547 Sep 3 2001 Alert.jpg
-rw-r--r-- 1 root wheel 899 Sep 3 2001 AlertMask.jpg
drwxr-xr-x 5 root wheel 126 Sep 15 2001 English.lproj
-rw-r--r-- 1 root wheel 51357 Sep 3 2001 PCIcons.icns
-rw-r--r-- 1 root wheel 4886 Sep 3 2001 PageSlide.jpg
-rw-r--r-- 1 root wheel 2368 Sep 3 2001 PageSlideMask.jpg
-rw-r--r-- 1 root wheel 10114 Sep 3 2001 Print Center.rsrc

/Applications/Utilities/Print Center.app//Contents/Resources/English.lproj:
total 168
-rw-r--r-- 1 root wheel 442 Sep 3 2001 InfoPlist.strings
-rw-r--r-- 1 root wheel 4436 Sep 3 2001 Localizable.strings
-rw-r--r-- 1 root wheel 72729 Sep 3 2001 Localized.rsrc
[localhost:~] administ%

Still getting no response. Do I need to be logged in as root? How do I log in as root? Does Apple know about this? I know lots of folks are having this same problem.

thanks, again.


All times are GMT -5. The time now is 09:28 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.