Closed
Bug 184449
Opened 22 years ago
Closed 17 years ago
[10.3] Most AppleScript doesn't work and can't open AppleScript dictionary (Shockwave needs a resource file)
Categories
(Camino Graveyard :: OS Integration, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: stf, Assigned: stuart.morgan+bugzilla)
References
()
Details
(Keywords: fixed1.8.0.13, fixed1.8.1.4)
Attachments
(4 files)
1.36 KB,
patch
|
sfraser_bugs
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
4.10 KB,
patch
|
Details | Diff | Splinter Review | |
4.11 KB,
patch
|
Details | Diff | Splinter Review | |
1.59 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021206 Chimera/0.6+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021206 Chimera/0.6+ The Apple Script Editor says ~"can't open the AS dictionary or is not scriptable", however Navigator appears in the open list and can execute some AS. Reproducible: Always Steps to Reproduce:
Comment 1•22 years ago
|
||
I have this same problem with the 2002-12-20 build of Chimera in OS X 10.2.2. Dragging the Chimera icon onto the script editor Smile brings up a dialog that the applications Applescript dictionary can't be opened. I never had this problem with previous versions of Chimera (0.5 and 0.6). I believe this means that a file has been left out of the Navigator application package.
Reporter | ||
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•22 years ago
|
||
This is a regression from adding a "Localized.rsrc" file to allow Shockwave Director to work. It seems that if any resource files are present, Script Editor looks for Carbon-style script terminology resources. Suckage.
Status: NEW → ASSIGNED
Comment 4•21 years ago
|
||
This bug resurfaced in Camino 0.7.
Comment 5•21 years ago
|
||
Yeah, I'm gonna have to open the .rsrc dynamically after the app launches.
This appears to be true for Mozilla too - do you want a separate bug?
Comment 7•21 years ago
|
||
I filed bug 202340 to coner mozilla.
Comment 8•19 years ago
|
||
i'm curious what the status of this bug is. confirmed with a recent version of camino.
Comment 9•19 years ago
|
||
Yes this problem still exists with today's nightly. And the same work around still works: remove the Localized.rsrc file from the Camino:Contents: Resources:English.lproj: folder.
Updated•19 years ago
|
Priority: -- → P3
Target Milestone: --- → Camino0.9
Comment 10•19 years ago
|
||
I've discovered that the Director plugin doesn't need a 'vers' resource; it just seems to need the application to have a "default" resource file (i.e. one opened automatically by the OS). So it's hard to find a way to satisfy it, yet keep Script Editor happy.
Comment 11•19 years ago
|
||
doesn't seem like we're going to find a workaround for 0.9, pushing off to after 1.0.
Target Milestone: Camino0.9 → Camino1.1
Comment 12•19 years ago
|
||
Still an issue (note that Camino now uses a Camino.rsrc file, rather that Localized.rsrc which the above comments describe).
Summary: Can't open AppleScript dictionary → Can't open AppleScript dictionary (Shockwave needs a resource file)
Comment 13•19 years ago
|
||
We could use an 'aete' resource in the Camino.rsrc file, but this is kind of ugly. I have tried it, though, and it works. Or at least, ScriptEditor will read the scripting dictionary from it.
Comment 14•19 years ago
|
||
Yeah, we could, and I think we may even be able to build one using sdp from the same xml file. But Camino is a Cocoa app and should use the New Way. I just want to know why Directory needs a stupid resource file.
Summary: Can't open AppleScript dictionary (Shockwave needs a resource file) → [10.3] Can't open AppleScript dictionary (Shockwave needs a resource file)
Is there anyone at Macromedia who can answer comment 14?
Component: General → OS Integration
QA Contact: winnie → os.integration
Target Milestone: Camino1.1 → Camino1.2
This is really much worse than the current summary (and our sucky FAQ entry) implies. Most of our AppleScript is essentially inoperative on 10.3 (and likely 10.2) with the .rsrc present. I downloaded the latest Shockwave Director plugin and, after much tribulation, determined that it still suffers from this need for a stupid resource file. Is there anyone at Adobe we can bug about this?
Severity: normal → major
Summary: [10.3] Can't open AppleScript dictionary (Shockwave needs a resource file) → [10.3] Most AppleScript doesn't work and can't open AppleScript dictionary (Shockwave needs a resource file)
Assignee | ||
Comment 17•17 years ago
|
||
I looked around a bit, and stumbled across OmniWeb's description of their workaround to this problem, which is to open a random resource file and put a reference to it in the magic location to make Shockwave happy. While trying to figure out how to implement that I came across WebKit's version, which seems to be based on the same thing. Since it's a previously described technique and a whopping 4 lines of code, I assume there aren't any license/copyright issues. This will need a project change to remove the .r file and the script phase that turns it into the .rsrc in the bundle.
Assignee: sfraser_bugs → stuart.morgan
Attachment #263083 -
Flags: review?
Updated•17 years ago
|
Attachment #263083 -
Flags: review? → review+
Assignee | ||
Comment 18•17 years ago
|
||
Smokey, could you put together a project patch? If not, I can dig out my old laptop and do it.
Assignee | ||
Updated•17 years ago
|
Attachment #263083 -
Flags: superreview?(mikepinkerton)
You are my hero! Please remember to update the Release Checklist file, too.
Comment 21•17 years ago
|
||
Comment on attachment 263083 [details] [diff] [review] workaround sr=pink
Attachment #263083 -
Flags: superreview?(mikepinkerton) → superreview+
Since 10.2 also suffers from this bug, is this a reasonable item to include in 1.0.5 before we EOL 10.2 support?
Assignee | ||
Comment 23•17 years ago
|
||
Checked in on trunk and MOZILLA_1_8_BRANCH, along with removing the corresponding line from the checklist file. We should make sure the release notes reflect this. Flagging 1.0.5? so we don't forget to at least consider it; it seems like a good idea to me as well.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: camino1.0.5?
Keywords: fixed1.8.1.4
Resolution: --- → FIXED
Target Milestone: Camino1.6 → Camino1.5
Approving for 1.0.5; whoever checks this in, please also update the the Release Checklist file on the 1.8.0, just in case there's a security firedrill or whatever post-1.0.5.
Flags: camino1.0.5? → camino1.0.5+
Whiteboard: [needs checkin 1.8.0]
Assignee | ||
Comment 25•17 years ago
|
||
Checked in on MOZILLA_1_8_0 branch with relnote fix and slight tweak to the patch to make it apply (the method I was calling from doesn't exist on 1_8_0, but I put in the same logical place in the flow).
Whiteboard: [needs checkin 1.8.0]
Assignee | ||
Comment 26•17 years ago
|
||
As checked in.
Updated•17 years ago
|
Keywords: fixed1.8.0.13
You need to log in
before you can comment on or make changes to this bug.
Description
•