I'll give those last instructions a try but need clarification. Do I enter those two lines into terminal as is or do I need to change where it says USER to my name? (sorry, not too terribly swift with this stuff!)
Okay, well I tried that but no change. Being left with a totally non-functional LR4, I wanted to get back to the state I was in before troubleshooting, i.e. being able to work in all but the Book module. I trashed the beta and its catalog, put back my original Lightroom folder, reinstalled LR4 and let it create a new catalog. Unfortunately, that didn't help and I can not use any of the modules. *sad face*
Hey Julie, if you happen to have that old preferences file, I'd be curious to look at it (along with the fresh, working ones) to see if it gives me more clues as to what is wrong.
If not, no worries. I do still have a couple of traceback clues to follow, but I still haven't quite figured out what conditions would allow the error I saw in your log to occur.
Thanks! -- DT
Now that the permission issue is sorted out, I switched to looking at the traces in your log. I'm going to spend some time today working through this code to figure out what sequence of events could lead to the failure it indicates.
Quick question. I've been puzzling over a difference in the call pattern shown in your log and what I see when I run it myself.
Sorry if this was already answered already, but what do you have selected in Library when you (try to) enter the book module? I think the source type (smart collection, whether the library filter bar is active, etc) might influence the order of operations in a way that affects whether this bug manifests or not. Just a hunch.
Thanks -- DT
I think the kind of source (folder, collection, smart collection, all photographs, etc) and filter state will make more difference than the photos within that source that are (or are not) selected.
Hi, I have the same issue. Just wondering if this was resolved?
I don't have prior versions. I use Apple's Apeture but wanted to give this a try.
I've re-installed the beta a few times already and still get the message.
I managed to figure out and provide a workaround for one case (incorrect permissions on the Lightroom settings directory left behind, we think, by the Nik installer).
There's a lurking case that I haven't been able to figure out as yet.
I still have the issue also. I have tried the ownership fix to no avail. I am running OS 10.6 on my MAC pro and 10.7 on my Macbook pro. I have never installed Nik software. Would more log files help you debug this?
It's possible it might add some additional clue that's escaped my attention in the other couple of logs I have of the remaining issue. Minimally, it'll let me confirm that your case is at least the same as the known remaining issue and not some other separate issue.
Not sure if this is the correct address to send this to. Not even sure which logs you want so here is a copy of all message from console. All I did was start Lightroom 4, attempted to select book module, got the error "An error occurred when attempting to change modules", then tried to select library and got the same error.
Feel free to coach me on how to extract the most useful logs.
MacBook Pro running 10.7.2
The logging I've been using to confirm cases of the same bug is emitted to the console when running Lightroom from Terminal.app (in /Applications/Utilities) with the -tracebacks option like this:
/Applications/Adobe\ Photoshop\ Lightroom\ 4.app/Contents/MacOS/Adobe\ Photoshop\ Lightroom\ 4 -tracebacks
That said, so far I haven't figured out what causes the errors that are being thrown. There's some detail I haven't figured out that perturbs the module switching sequence and makes it blow up.
I had the same Problem.
In my case I had to repair the permission of the following folder.
/Users/[your name]/Library/Application Support/Adobe/Lightroom
The owner of that folder was incorrect. In my case the owner was a different user, maybee it's a installer Problem.
Hi Dan, Victoria,
I was wondering if I might get a workaround for the same book module problem? I created a new user account and it runs fine in there. I tried copying the Lightroom file over to my main account but still doesn't work and I am not sure how to repair the permission as p.roehl has done.
I would really like to use the book module in my main user account.
Thanks so much,
I am having the same problem. I have tried everything here and everything else I can think of but i a;ways get the same error when I attempt to load the book module.
If I create a clean account it works fine, but attempting to copy the support folder back doesn't work. Changing the permissions doesn't work. I've even deleted the Lightroom folder in the application support folder, re installed the application and it still doesn't work.
I do have the Nik software suite installed, so I'm not sure if that's the issue, but removing the entries from the external editors folder doesn't work either.
Your help would be greatly appreciated as I would really like to try out the book module
I think to copy the folder will not help since the "owner" of the Folder would be incorrect.
What I did is the following, requires a little Unix Shell knowledge...
Started a Terminal Session:
cd Library/Application\ Support/Adobe/
drwxrwxrwx 3 peter 502 102 27 Jan 12:02 Fonts
drwxr-xr-x 33 peter 502 1122 27 Jan 13:08 Lightroom
drwxrwxrwx 4 peter 502 136 15 Feb 2006 Linguistics
drwxrwxrwx 3 peter 502 102 20 Mai 2008 LogTransport
Check for Lightroom.
In my case the Owner (3rd colum) was not me (peter)
To change this type:
sudo chown -R peter:502 Lightroom
Replace peter with the correct user, look at the other Folders.
You will be asked for a password since it requires root privileges and it will change the owner of that folder to yourself and will also work thru sub-folder.
to check type again and look for Lightroom:
Now the owner of Lightroom should be you...
I hope that helps.
All the subfolders in my Lightroom folder inside the Appleication Support folder are owned by me and have read write privelages for everyone. I even tried removing the flder and letting Lightroom create a new one but to no avail. I've tried trashing the preference and I've tried creating a new catalogue. All to no avail. And yet it works in a clean user?
Here's what comes up in the console when you try to change modules:
28/01/2012 21:34:15.150 Adobe Photoshop Lightroom 4: CFURLCreateWithBytes was passed these invalid URLBytes: '/Applications/Adobe Photoshop Lightroom 4.app/Contents/Frameworks' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
28/01/2012 21:34:15.204 Adobe Photoshop Lightroom 4: CFURLCreateWithBytes was passed these invalid URLBytes: '/Applications/Adobe Photoshop Lightroom 4.app/Contents/Frameworks' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
28/01/2012 21:34:15.273 Adobe Photoshop Lightroom 4: CFURLCreateWithBytes was passed these invalid URLBytes: '/Applications/Adobe Photoshop Lightroom 4.app/Contents/Frameworks' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
28/01/2012 21:34:18.946 Adobe Photoshop Lightroom 4: Performance: Please update this scripting addition to supply a value for ThreadSafe for each event handler: "/Library/ScriptingAdditions/SIMBL.osax"
28/01/2012 21:34:43.622 Adobe Photoshop Lightroom 4: Failed to restore first responder (message was inputContext) NOT KEY
28/01/2012 21:34:45.542 Adobe Photoshop Lightroom 4: Failed to restore first responder (message was inputContext)
28/01/2012 21:34:46.479 Adobe Photoshop Lightroom 4: Failed to restore first responder (message was inputContext)
28/01/2012 21:34:47.520 librariand: client connection is invalid: Connection invalid
Not sure if that hellps in the troubleshooting process but anyway!
Thanks for this...I made an attempt and my name was correct on the lightroom file line...does anything else look odd on this line? Thanks again
drwxr-xr-x 22 kimberly_charles staff 748 Jan 22 14:38 Lightroom
Ok, I figured it out
the problem (for me anyway) was a corrupt font. Or at least a font that Lightroom doesn't like.
If you go to your users library folder and look in the fnts folder. Quit Lightroom and Drag everything out to a temporary folder and try LR4. If that works, then you will have to go through a process of elimination by dragging back a couple of fonts at a time and re-launching lightroom
Hope this helps!
Hi Thomas, I spoke too soon. I tried putting some fonts back into my user font folder and now then the module changing error as soon as I launch Lr rather than only when trying to access the book module. Then I put all the fonts back where they were before and continue to get the error on launch. I don't know where that leaves me but maybe it will help Dan Tull troubleshooting this. I hope.
Wow. That's it! Thank you Thomas!
For purposes of debugging, the font is called aescrawl.ttf. What's interesting is that when you look at the font info, the full font name is Aenigma Scrawl, but in some parts of the font info, its being registered as ∆nigma Scrawl. It generates a name table useability caution when I validate it in fontbook. It's a freeware font, easily downloadable if anyone wants to check out what the specific problem is.
Julie, Did you try taking the fonts all out again?
Thomas...Thanks so much!
That worked for me too. I have a folder right below fonts called fonts disabled and I dragged the whole lot into that. I restarted lightroom and it opened up the book module!
I have so many fonts in there that figuring out the corrupt one will be the next challenge.
I have a lot too. Do it in halves. eg. Take all the fonts from a-L and try them, if they dont work, take them out again and try a-e, etc. It took me about twenty minutes to narrow down a couple hundred to one font.
Thanks! ...It didn't take long to find the font causing my book module problem...cafenorden.ttf
It looks ok but when I click it to see it, the e has turned into a question mark so maybe the odd character too. The font below it, Mom.ttf also has an odd character and although it wasn't crashing the book module, it is not showing up in the lightroom 4 beta font list when I dragged it into the fonts folder.
Maybe a picture is worth a thousand words...here is a screen shot...
...as per Thomas's suggestion I dragged all the fonts from Fonts into Fonts Disabled, then as artemesia suggested, I tried a few at a time to narrow down the bad font. Hope this works for you Julie and anyone else having problems with the Book Module.
I'm glad that you found a solution for your problem.
Any idea why Lightroom 4 would be unhappy with a font that didn't pose any problems for previous versions?
I think that the book module is using a different Font Library.