Ubuntuにcaja-dropbox
パッケージをインストールしましたMATE 19.04システムはSudo apt-get install caja-dropbox
と同じくらい簡単ですが、GUIから起動せず、Cajaの再起動について継続的に尋ねます。
端末から起動すると、次のエラーメッセージが表示されます。
$ caja-dropbox start -i
Starting Dropbox...dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-lmlIjG
dropbox: initializing
dropbox: initializing python 3.7.2
dropbox: setting program path '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/dropbox'
dropbox: setting home path '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195'
dropbox: setting python path '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195:/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/python-packages-37.Zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/cryptography.hazmat.bindings._constant_time.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/cryptography.hazmat.bindings._openssl.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/cryptography.hazmat.bindings._padding.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/psutil._psutil_linux.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/psutil._psutil_posix.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/linuxffi.pthread._linuxffi_pthread.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/cpuid.compiled._cpuid.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/tornado.speedups.cpython-37m-x86_64-linux-gnu.so'
dropbox: load fq extension '/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195/apex._apex.cpython-37m-x86_64-linux-gnu.so'
Traceback (most recent call last):
File "dropbox/client/main.pyc", line 18, in <module>
File "dropbox/client/features/catalina_migration/catalina_migration_controller.pyc", line 19, in <module>
File "dropbox/client/features/catalina_migration/catalina_account_context.pyc", line 13, in <module>
File "dropbox/client/features/catalina_migration/alert_dialog.pyc", line 10, in <module>
File "dropbox/client/features/file_locking/base_file_locking_alert.pyc", line 14, in <module>
File "dropbox/client/features/legacy_ui_launcher.pyc", line 21, in <module>
File "dropbox/client/configuration/manager.pyc", line 45, in <module>
File "dropbox/client/configuration/utils.pyc", line 27, in <module>
File "dropbox/client/notifications/loud_notifications/do_not_disturb/model.pyc", line 51, in <module>
File "ui/common/preferences.pyc", line 21, in <module>
File "dropbox/client/authentication/manager.pyc", line 36, in <module>
File "dropbox/client/authentication/control_flow_helpers.pyc", line 3, in <module>
File "dropbox/client/high_trace.pyc", line 53, in <module>
File "dropbox/client/logging/dbxlog_logger.pyc", line 11, in <module>
File "apex/dbxlog.pyc", line 14, in <module>
File "<_bootstrap_overrides>", line 153, in load_module
ImportError: libdropbox_apex.so: cannot open shared object file: No such file or directory
!! dropbox: fatal python exception:
['Traceback (most recent call last):\n', ' File "dropbox/client/main.pyc", line 18, in <module>\n', ' File "dropbox/client/features/catalina_migration/catalina_migration_controller.pyc", line 19, in <module>\n', ' File "dropbox/client/features/catalina_migration/catalina_account_context.pyc", line 13, in <module>\n', ' File "dropbox/client/features/catalina_migration/alert_dialog.pyc", line 10, in <module>\n', ' File "dropbox/client/features/file_locking/base_file_locking_alert.pyc", line 14, in <module>\n', ' File "dropbox/client/features/legacy_ui_launcher.pyc", line 21, in <module>\n', ' File "dropbox/client/configuration/manager.pyc", line 45, in <module>\n', ' File "dropbox/client/configuration/utils.pyc", line 27, in <module>\n', ' File "dropbox/client/notifications/loud_notifications/do_not_disturb/model.pyc", line 51, in <module>\n', ' File "ui/common/preferences.pyc", line 21, in <module>\n', ' File "dropbox/client/authentication/manager.pyc", line 36, in <module>\n', ' File "dropbox/client/authentication/control_flow_helpers.pyc", line 3, in <module>\n', ' File "dropbox/client/high_trace.pyc", line 53, in <module>\n', ' File "dropbox/client/logging/dbxlog_logger.pyc", line 11, in <module>\n', ' File "apex/dbxlog.pyc", line 14, in <module>\n', ' File "<_bootstrap_overrides>", line 153, in load_module\n', 'ImportError: libdropbox_apex.so: cannot open shared object file: No such file or directory\n'] (error 3)
Dropboxを再び機能させるにはどうすればよいですか?
問題のあるライブラリlibdropbox_apex.so
は/var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64-81.4.195
フォルダにあります。
しかし、ここには奇妙なことが1つあります。実行可能権限がありません。これは、他のライブラリとの違いです。
$ ls -al libdropbox_apex.so
-rw------- 1 root root 7138143 сен 18 10:24 libdropbox_apex.so
この問題を解決するには、このファイルの読み取りおよび実行権限を設定する必要があります。
Sudo chmod a+rx /var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64*/libdropbox_apex.so
Update 20191109:問題のあるライブラリの数-2に増加、Dropbox 84.4.170では、libdropbox_sqlite_ext.so
の権限も変更する必要があります:
Sudo chmod a+rx /var/lib/dropbox/.dropbox-dist/dropbox-lnx.x86_64*/libdropbox_sqlite_ext.so
その後、GUIから、またはcaja-dropbox start -i
を使用して再起動します。
ノート:
1)この方法は、16.04 LTS、18.04 LTS、19.10にも適用できます。
2)これをLaunchPadに バグ1845876 として報告しました。
3) ドロップボックスサポートサイトのチケット は20191005に作成されましたが、まだ解決されていません。