• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Panther Problems - Bug in "Mount Volume"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Panther Problems - Bug in "Mount Volume"


  • Subject: Re: Panther Problems - Bug in "Mount Volume"
  • From: Andrew <email@hidden>
  • Date: Tue, 28 Oct 2003 02:02:35 -0500

PROBLEM:
Scripts containing "mount volume" no longer work as before after upgrading
to Panther/AS 1.9.2.

Example:
Under Jaguar, this returned a login dialog:
tell application "Finder"
mount volume "afp://192.168.1.101/Volume One"
end tell
Now it returns an error type 80...

The dictionary entry for "mount volume" has not changed.

Using "open location" instead of "mount volume" returns the expected dialog
as in this example:
tell application "Finder"
open location "afp://192.168.1.101/Volume One"
end tell

SOLUTION:
Since others said that "mount volume" worked as before for them, I tried
eliminating application conflicts by selectively quitting/killing processes.
This did not resolve the problem.

I have since discovered that "mount volume" now REQUIRES a user name or else
it will fail with error type 80. It does not require a password. Previously,
I had left out both the user name and password because I considered it
insecure to put them in a script (and they are supposed to be optional
according to the dictionary entry).

So, this works:
tell application "Finder"
mount volume "afp://192.168.1.101/Volume One" as user name "xxx"
end tell

And this works:
tell application "Finder"
open location "afp://192.168.1.101/Volume One"
end tell

But this will not work:
tell application "Finder"
mount volume "afp://192.168.1.101/Volume One"
end tell

I don't know what purpose it serves to require a user name in this context.
It doesn't seem to be a documented change in AS. I consider it a bug.
**Attention Christopher Nebel**

Thanks for the good responses to my last message!

-Andrew
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Panther Problems - Error type 80 on Mount Volume (From: Andrew <email@hidden>)

  • Prev by Date: Re: Mail.app: set content of message generates unexpected error
  • Next by Date: Re: OS 9 or Classic, that's the question :-)
  • Previous by thread: Re: Panther Problems - Error type 80 on Mount Volume
  • Next by thread: Panther script hassle: network paths aren't so simple anymore...
  • Index(es):
    • Date
    • Thread