Script Debugger looking for a server?


(Ed Stockly) #1

I’m working from home more, and I cloned my work mac and use SD on my home mac.

When I’m not connected to work via VPN, and I launch ScriptDebugger I get error messages indicating it can’t fine a specific volume network server I use at work. It’s only accessible from home via VPN, and the error does not appear when I’m on VPN.

I’ve looked through all the preferences and can’t find a reference to any file that I may have pointed SD to.

Why would SD be looking for a network server volume on launch?


(Mark Alldritt) #2

AppleScript is generating this error. Presumably, Script Debugger is trying to open a script that references a file/alias/application located somewhere on a server. This is a long standing AppleScript issue and there is no means of interrupting the network lookup.

This network lookup may make it appear as though Script Debugger has hung, when in fact its waiting for the network to timeout.


(Ed Stockly) #3

One additional bit of information. I get the error message if I am connected via VPN, but the server is not mounted.

[quote=“alldritt, post:2, topic:1434”]
Presumably, Script Debugger is trying to open a script that references a file/alias/application located somewhere on a server.[/quote]

So, here’s the thing, I close all script windows. And quit SD with the server mounted. I relaunch, no scripts open.

I quit SD again. Unmount the server and relaunch SD. I get the error message that the volume is not available. I comes up three times and after the third time SD continues to open.

So my question is that if it is a script SD is trying to open, what script could that be? It’s not one that was opened when SD closed. It’s not one of the template scripts. I do a Open Quick with the volume name and find no script in the SD script menu, or any SD related script.

Right. And I think it’s the typical AppleScript error dialog. What I’m hoping to learn is why SD starts looking for something on the network volume in the first place.

The hang I reported earlier is completely unrelated.


(Mark Alldritt) #4

I wonder if you might have aliases to script libraries residing on your servers?

Script Debugger, on its own, does not connect to any servers when launched. There are two situations I can see where AppleScript is given a chance to connect to a server:

  • a script is opened which contains references to files/aliases/applications on a server.
  • a script library installed in one of the ScriptLibraries folders references to files/aliases/applications on a server.
  • aliases to scripts or clippings folders residing on servers (within the Script Debugger folder in the ~/Library/Application Support folder).

(Ed Stockly) #5

Are libraries and scripts in the script folders not found with Open Quickly?


(Mark Alldritt) #6

The scripts presented in Script Debugger’s Scripts menu and inspector are located in ~/Library/Application Support/Script Debugger 7/Scripts. Script libraries are found in ~/Library/Script Libraries. AppleScript requires that libraries be loaded from Library/Script Libraries folders.


(Ed Stockly) #7

Right, but if I do a search for the server name in open quickly does it not look in those folders?


(Mark Alldritt) #8

Yes, it will if the name is expressed in the source code.


(Ed Stockly) #9

The issue persists. I’ve searched all those folders as well as the computer and user script menu folders.

I do have references to the server alias in Text Wrangler and Indesign script folders in their application support folder. There are also scripts that have aliases to the server that are in the recent items list.

But nothing in any of those folders.