Debian 7.1: gdocs 백엔드 사용 시 이중성 오류

Debian 7.1: gdocs 백엔드 사용 시 이중성 오류

나는 debian 7.1 amd64 시스템에 duplicity백업 도구와 라이브러리를 설치했습니다.python-gdata

내 문서를 Google 드라이브에 저장 하려고 하면 duplicity비밀번호를 묻는 후 다음 오류가 표시됩니다.

BackendException: Error while fetching remote entries: 'DocsClient' object has no attribute 'get_everything'.

내가 실행한 명령은 다음과 같습니다.

duplicity documents/ gdocs://[email protected]

--verbose debug옵션을 추가하면 다음과 같은 오류가 발생합니다.

Using temporary directory /tmp/duplicity-fgU3N8-tempdir
Backend error detail: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1404, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1397, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1248, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1007, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line900, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 158, in get_backend
    return _backends[pu.scheme](pu)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 62, in __init__
    entries = self.__fetch_entries(parent_folder_id, 'folder', folder_name)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 245, in __fetch_entries
    self.__handle_error('Error while fetching remote entries: %s.' % str(e))
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py", line 182, in __handle_error
    raise BackendException(message)
BackendException: Error while fetching remote entries: 'DocsClient' object has no attribute 'get_everything'.

이중성 버전은 0.6.18-3입니다.

이것이 Google 문서도구가 Google 드라이브가 되는 것과 관련이 있나요? 그 이후로 API나 URL이 변경되었나요? 데비안 소프트웨어는 꽤 오래되었기 때문에 그럴 수도 있습니다.

그렇다면 이중성이 작용하도록 하려면 어떻게 해야 합니까?

편집하다:

gdata방금 virtualenv에 이중성 버전 0.6.22를 설치했습니다. 이전과 동일한 사용자 이름과 비밀번호를 입력했지만 오류 메시지가 다음과 같이 변경됩니다.

BackendException: Invalid user credentials given. Be aware that accounts that use 2-step verification require creating an application specific access code for using this Duplicity backend. Follow the instrucction in http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056286 and create your application-specific password to run duplicity backups.

나는 단지 이중성을 가지려고 노력하고 있지만, 내가 아는 한 우분투의 주요 백업 도구인 deja-dup은 이중성에 기반을 두고 있습니다. Duplicity는 신뢰할 수 있는 백업 도구입니까?

답변1

이것이 Google 문서도구가 Google 드라이브가 되는 것과 관련이 있나요?

아마도Google Docs API는 더 이상 사용되지 않습니다.:

중요한: 2012년 9월 14일부터 Google 문서 목록 API 버전 3이 공식적으로 지원 중단되었습니다. 지원 중단 정책에 따라 계속 작동하지만 Google Drive API로 이전하는 것이 좋습니다.

나는 그들의 지원 중단 정책을 찾아보지 않았지만 지원 중단 후 1년이 지나도 작동하지 않는다는 사실에 놀라지 않습니다.

답변2

이것이 Google 문서도구가 Google 드라이브가 되는 것과 관련이 있나요?

이 흥미로운 버그 보고서를 확인하세요.https://bugs.launchpad.net/duplicity/+bug/1030868

그 이후로 API나 URL이 변경되었나요?

아마.

그렇다면 이중성이 작용하도록 하려면 어떻게 해야 합니까?

수정사항이 있습니다. 마스터 브랜치에 커밋이 이루어질 때까지 기다린 다음 Debian으로 백포트하도록 요청해야 합니다(원하는 경우). 그러면 안정 릴리스에 설치할 수 있습니다. 그렇지 않은 경우 수정 사항이 릴리스되면 직접 패키지를 빌드하세요.

방금 virtualenv에 이중성 버전 0.6.22와 gdata를 설치했습니다. 이전과 동일한 사용자 이름과 비밀번호를 입력했는데 오류가 […]

당신은 일을 올바른 방식으로 하고 있다고 확신하시나요? 0.6.21이 있고 유일한 오류는 자격 증명과 관련이 없는 "Google Docs 백엔드에 Google Data APIs Python 클라이언트 라이브러리가 필요합니다"에 관한 것입니다. gdocs://user를 작성해야 합니다.[이메일 보호됨]/목차

답변3

Ubuntu 12.04의 python-gdata는 2.0.14-2이며 오래된 버전입니다. 다음에서 최신 python-gdata deb를 다운로드하세요.http://mirrors.kernel.org/ubuntu/pool/universe/p/python-gdata/python-gdata_2.0.18+dfsg-1_all.deb그런 다음 실행

dpkg -i python-gdata_2.0.18+dfsg-1_all.deb

관련 정보