我无法启动 Dropbox,重新安装 Dropbox 也不起作用。它指出这可能是启动时的权限问题。生成的错误日志指出:
bn.BUILD_KEY: Dropbox
bn.VERSION: 12.4.22
bn.DROPBOXEXT_VERSION: failed
bn.is_frozen: True
pid: 2701
ppid: 2698
ppid exe: '/usr/bin/python2.7'
uid: 1000
user_info: pwd.struct_passwd(pw_name='edge', pw_passwd='x', pw_uid=1000, pw_gid=1000, pw_gecos='edge,,,', pw_dir='/home/edge', pw_shell='/bin/bash')
effective_user_info: pwd.struct_passwd(pw_name='edge', pw_passwd='x', pw_uid=1000, pw_gid=1000, pw_gecos='edge,,,', pw_dir='/home/edge', pw_shell='/bin/bash')
euid: 1000
gid: 1000
egid: 1000
group_info: grp.struct_group(gr_name='edge', gr_passwd='x', gr_gid=1000, gr_mem=[])
effective_group_info: grp.struct_group(gr_name='edge', gr_passwd='x', gr_gid=1000, gr_mem=[])
LD_LIBRARY_PATH: None
cwd: '/home/edge'
real_path='/home/edge'
mode=040700 uid=1000 gid=1000
parent mode=040755 uid=0 gid=0
HOME: u'/home/edge'
appdata: u'/home/empedokles/.dropbox/instance1'
real_path=u'/home/empedokles/.dropbox/instance1'
not found
parent not found
dropbox_path: u'/home/empedokles/Dropbox'
real_path=u'/home/empedokles/Dropbox'
not found
parent not found
sys_executable: '/home/edge/.dropbox-dist/dropbox-lnx.x86_64-12.4.22/dropbox'
real_path='/home/edge/.dropbox-dist/dropbox-lnx.x86_64-12.4.22/dropbox'
mode=0100755 uid=1000 gid=1000
parent mode=040755 uid=1000 gid=1000
trace.__file__: '/home/edge/.dropbox-dist/dropbox-lnx.x86_64-12.4.22/library.zip/dropbox/client/ui/common/boot_error.pyc'
real_path='/home/edge/.dropbox-dist/dropbox-lnx.x86_64-12.4.22/library.zip/dropbox/client/ui/common/boot_error.pyc'
not found
parent not found
tempdir: '/tmp'
real_path='/tmp'
mode=041777 uid=0 gid=0
parent mode=040755 uid=0 gid=0
Traceback (most recent call last):
File "dropbox/client/main.py", line 5412, in main_startup
File "dropbox/client/main.py", line 2046, in run
File "dropbox/client/main.py", line 1149, in startup_low
File "dropbox/client/main.py", line 835, in safe_makedirs
File "os.py", line 150, in makedirs
File "os.py", line 150, in makedirs
File "os.py", line 157, in makedirs
OSError: [Errno 13] Permission denied: '/home/empedokles'
它仍然链接到我的旧用户文件夹(我确实更改了用户名)。我该如何解决这个问题?
答案1
因为您更改了用户名,所以您需要卸载 Dropbox 并删除您的 .dropbox* 目录$HOME
,然后重新安装 Dropbox。
可以通过打开终端来完成:
删除保管箱:
sudo apt-get remove dropbox
删除 Dropbox 隐藏目录:
rm -rvf ~/.dropbox ~/.dropbox-dist
现在你可以安装 Dropbox