Closed JanKraljic closed 12 years ago
Development branch just merged into master branch; please update to the latest code, try again and report if any further issues.
Problem solved
What was the fix to this? I am getting the same error on a different application, and need to apply fix. Thanks!
The fix: not trying to do a join() on a memoryview object. The type of self.buffer changed. At least I suppose that is what happened back then.
Some really weird things were done with those buffer strings back then, and those parts of code has been completely rewritten. This error was because part was rewritten and another part not yet.
I think i still have some problem, with python 2.7.3, with latest pull from GIT. I tried on Debian/Unstable and Ubuntu 12.04
~/$ glacier-cmd upload personal 20121003.tar "My test"
Traceback (most recent call last): File "/usr/local/bin/glacier-cmd", line 9, in load_entry_point('glacier==0.2dev', 'console_scripts', 'glacier-cmd')() File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 818, in main args.func(args) File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glacier.py", line 325, in putarchive writer.write(part) File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glaciercorecalls.py", line 340, in write self.send_part() File "/usr/local/lib/python2.7/dist-packages/glacier-0.2dev-py2.7.egg/glacier/glaciercorecalls.py", line 294, in send_part buf = memoryview("".join(self.buffer)) TypeError: sequence item 0: expected string, memoryview found