Posted February 17, 2012
Neat program! This looks much more powerful than GOG's downloader. I might finally be able to download my whole GOG library. :D
Unfortunately I've run into some trouble. I've successfully done a login, manifest, & compare but my fetch fails. :(
fd = os.open(name, os.O_WRONLY | os.O_CREAT | os.O_BINARY, 0666)
AttributeError: 'module' object has no attribute 'O_BINARY'
http://pastebin.com/d3nrgUjt
I'm running Debian Sid i386 and Python 2.7.
Any idea how I can work around this? Am I doing something wrong?
Any help would be appreciated. Thanks.
Edit:
I did a little googling and found this:
https://bitbucket.org/mchaput/whoosh/issue/100/oso_binary-is-only-available-on-windows
"filedb/filestore.py:64 contains os.O_BINARY which is only available on Windows. On other platforms fails with
AttributeError: 'module' object has no attribute 'O_BINARY'"
so I went to line #222 of gog-backup and changed
fd = os.open(name, os.O_WRONLY | os.O_CREAT | os.O_BINARY, 0666)
to
fd = os.open(name, os.O_WRONLY | os.O_CREAT)
I then tried another fetch and it seems to be working now. I have about 70GB to go. I'll let you know how it turns out. :)
Edit: Edit:
It seems to have worked! Thank you for this excellent program epowers! :D
Unfortunately I've run into some trouble. I've successfully done a login, manifest, & compare but my fetch fails. :(
fd = os.open(name, os.O_WRONLY | os.O_CREAT | os.O_BINARY, 0666)
AttributeError: 'module' object has no attribute 'O_BINARY'
http://pastebin.com/d3nrgUjt
I'm running Debian Sid i386 and Python 2.7.
Any idea how I can work around this? Am I doing something wrong?
Any help would be appreciated. Thanks.
Edit:
I did a little googling and found this:
https://bitbucket.org/mchaput/whoosh/issue/100/oso_binary-is-only-available-on-windows
"filedb/filestore.py:64 contains os.O_BINARY which is only available on Windows. On other platforms fails with
AttributeError: 'module' object has no attribute 'O_BINARY'"
so I went to line #222 of gog-backup and changed
fd = os.open(name, os.O_WRONLY | os.O_CREAT | os.O_BINARY, 0666)
to
fd = os.open(name, os.O_WRONLY | os.O_CREAT)
I then tried another fetch and it seems to be working now. I have about 70GB to go. I'll let you know how it turns out. :)
Edit: Edit:
It seems to have worked! Thank you for this excellent program epowers! :D
Post edited February 18, 2012 by Snickersnack