从 Ubuntu 1 下载文件到 Mac

从 Ubuntu 1 下载文件到 Mac

我曾尝试将文件从 Ubuntu-one 下载到我的 MacBook,但没有成功。我下载了 u1-Downloader 并查阅了在 MacBook 上的使用说明。

当我按照指示进行操作时,我的终端中出现以下内容:

Last login: Sat Jul 19 18:32:47 on ttys000    
macbooks-MacBook-Pro:~ macbook$ /Users/macbook/Downloads/u1-downloader-osx-r23/u1_downloader ; exit;    
U1 email: [email protected]    
U1 password:     
Traceback (most recent call last):    
  File "<string>", line 374, in <module>    
  File "<string>", line 346, in main    
  File "<string>", line 152, in get_session    
  File "<string>", line 131, in _get_token    
  File "/Users/alecu/canonical/u1-downloader/build/u1_downloader/out00-PYZ.pyz/requests.api", line 88, in post    
  File "/Users/alecu/canonical/u1-downloader/build/u1_downloader/out00-PYZ.pyz/requests.api", line 44, in request    
  File "/Users/alecu/canonical/u1-downloader/build/u1_downloader/out00-PYZ.pyz/requests.sessions", line 383, in request    
  File "/Users/alecu/canonical/u1-downloader/build/u1_downloader/out00-PYZ.pyz/requests.sessions", line 486, in send    
  File "/Users/alecu/canonical/u1-downloader/build/u1_downloader/out00-PYZ.pyz/requests.adapters", line 385, in send    
requests.exceptions.SSLError: [Errno 185090050] _ssl.c:343: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib    
logout

[Prozess beendet]

答案1

我有同样的问题我的解决办法:

  • 将下载并解压的文件夹重命名为 u1_downloader
  • 创建一个名为 /Users/alecu/canonical 的目录
  • chown alecu 目录:chown -R 用户名:group /Users/alecu
  • 将 u1_downloader 移至 /Users/alecu/canonical
  • 进入 u1_downloader 目录
  • 执行以下命令./u1_downloader

相关内容