Skip to content
This repository has been archived by the owner. It is now read-only.

backup tool does not work with python 2.6 (AttributeError: 'module' object has no attribute 'check_output') #350

macosforgebot opened this issue May 30, 2011 · 1 comment


Copy link

@macosforgebot macosforgebot commented May 30, 2011

mail@… originally submitted this as ticket:449

  • Cc: sagen

Running the new export utility gives:

# ./tools/backup -f /etc/caldavd/caldavd.plist -v backup /root/back.up

Dumping data to /tmp/tmpoKViuv.dbdump
Executing: /usr/bin/pg_dump --username=caldav --clean --no-privileges --file=/tmp/tmpoKViuv.dbdump caldav
Traceback (most recent call last):
  File "./tools/backup", line 230, in <module>
  File "./tools/backup", line 168, in main
    dumpData(tmpPath, verbose=verbose)
  File "./tools/backup", line 79, in dumpData
    out = subprocess.check_output(cmdArgs, stderr=subprocess.STDOUT)
AttributeError: 'module' object has no attribute 'check_output'

According to rubik/pyg#35 this was added with python 2.7.

Copy link

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:1:⁠ticket:449

  • Status changed from new to closed
  • Resolution changed from to Duplicate

Dup of #⁠432

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.