Kalakov, thanks for helping out on this thread. I ran the same script for a few years on my 2010 MBP running OS X 10.6. Unfortunately, once I updated to Mavericks about a year ago I noticed the 'dual instances' script stopped working. It may have coincided with updating Dropbox to v3.12.5, but I'm not sure which came first!
In any case, I re-did the steps you describe to create a new script, and now I get the following report from the Dropbox app (I changed personal details to 'user'):
bn.BUILD_KEY: Dropbox
bn.VERSION: 3.12.5
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
pid: 17838
ppid: 1
uid: 502
user_info: pwd.struct_passwd(pw_name='user', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='First Surname', pw_dir='/Users/user', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='user', pw_passwd='********', pw_uid=502, pw_gid=20, pw_gecos='First Surname', pw_dir='/Users/user', pw_shell='/bin/bash')
euid: 502
gid: 20
egid: 20
group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root'])
effective_group_info: grp.struct_group(gr_name='staff', gr_passwd='*', gr_gid=20, gr_mem=['root'])
DYLD_LIBRARY_PATH: None
cwd: u'/Applications/Dropbox.app/Contents/Resources'
real_path=u'/Applications/Dropbox.app/Contents/Resources'
mode=040755 uid=502 gid=80
parent mode=040755 uid=502 gid=80
HOME: u'/Users/user/Dropbox-secondary'
appdata: u'/Users/user/Dropbox-secondary/.dropbox/instance1'
real_path=u'/Users/iaincox_imac/Dropbox-secondary/.dropbox/instance1'
mode=040700 uid=502 gid=20
parent mode=040700 uid=502 gid=20
dropbox_path: u'/Users/user/Dropbox-secondary/Dropbox'
real_path=u'/Users/user/Dropbox-secondary/Dropbox'
mode=040700 uid=502 gid=20
parent mode=040700 uid=502 gid=20
sys_executable: '/Applications/Dropbox.app/Contents/MacOS/python'
real_path='/Applications/Dropbox.app/Contents/MacOS/python'
mode=0100755 uid=502 gid=80
parent mode=040755 uid=502 gid=80
trace.__file__: '/Applications/Dropbox.app/Contents/Resources/lib/python2.7/site-packages.zip/d ropbox/client/ui/common/boot_error.pyo'
real_path='/Applications/Dropbox.app/Contents/Resources/lib/python2.7/site-pack ages.zip/dropbox/client/ui/common/boot_error.pyo'
not found
parent not found
tempdir: u'/var/folders/b2/l2ys0zdj2470j7zbm84zd1980000gp/T'
real_path=u'/private/var/folders/b2/l2ys0zdj2470j7zbm84zd1980000gp/T'
mode=040700 uid=502 gid=20
parent mode=040755 uid=502 gid=20
Traceback (most recent call last):
File "dropbox/client/main.pyo", line 387, in wrapper
File "dropbox/client/main.pyo", line 3379, in finish_dropbox_boot
File "dropbox/client/main.pyo", line 2544, in start
File "dropbox/client/shell/legacy_mac.pyo", line 667, in __init__
File "dropbox/client/shell/legacy_mac.pyo", line 167, in __init__
File "dropbox/client/shell/legacy_mac.pyo", line 180, in bind
File "socket.pyo", line 228, in meth
error: [Errno 48] Address already in use
I think this means the python script is attempting to use the same port for both Dropbox instances, but really I have no idea what I am doing! Any suggestions?
Thanks 😕