Apologies Nikolaus. I've attached a full traceback.

The "AttributeError: 'NoneType' object has no attribute 'close'" error 
doesn't seem to reliably occur.

I have raised an issue with GreenQloud but they seem rather unwilling to 
improve the S3-compatibility of StorageQloud, which is a shame.

Thanks,
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
storageqloud@monolith:~$ s3qladm --authfile authinfo2 --backend-options 
dumb-copy upgrade s3c://s.greenqloud.com:443/my.lovely.bucket

I am about to update the file system to the newest revision.
You will not be able to access the file system with any older version
of S3QL after this operation.

You should make very sure that this command is not interrupted and
that no one else tries to mount, fsck or upgrade the file system at
the same time.


Please enter "yes" to continue.
> yes
Downloading & uncompressing metadata...
Reading metadata...
..objects..
..blocks..
..inodes..
..inode_blocks..
..symlink_targets..
..names..
..contents..
..ext_attributes..
Upgrading from revision 21 to 22...
..processed 221/16379 objects (1.3%, 0 bytes rewritten)..Uncaught top-level 
exception:
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 549, in wrapper
    return fn(*a, **kw)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/adm.py",
 line 433, in update_obj_metadata
    t.join_and_raise()
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 503, in join_and_raise
    raise EmbeddedException(exc_info, self.name)
s3ql.common.EmbeddedException: caused by an exception in thread Thread-5.
Original/inner traceback (most recent call last):
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 482, in run
    self.run_protected()
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 533, in run_protected
    self.target(*self.args, **self.kwargs)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/adm.py",
 line 484, in upgrade_loop
    plain_backend.update_meta(obj_id, meta)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
 line 417, in update_meta
    self.copy(key, key, metadata)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/common.py",
 line 52, in wrapped
    return method(*a, **kw)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
 line 393, in copy
    resp = self._do_request('PUT', '/%s%s' % (self.prefix, dest), 
headers=headers)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
 line 505, in _do_request
    self._parse_error_response(resp)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
 line 539, in _parse_error_response
    raise get_S3Error(tree.findtext('Code'), tree.findtext('Message'), 
resp.headers)
s3ql.backends.s3c.S3Error: CannotPutData:


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/s3qladm", line 9, in <module>
    load_entry_point('s3ql==2.13', 'console_scripts', 's3qladm')()
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/adm.py",
 line 94, in main
    return upgrade(options)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 549, in wrapper
    return fn(*a, **kw)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/adm.py",
 line 339, in upgrade
    update_obj_metadata(backend, backend_factory, db, options.threads)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/common.py",
 line 549, in wrapper
    return fn(*a, **kw)
  File "/usr/local/lib/python3.4/contextlib.py", line 336, in __exit__
    raise exc_details[1]
  File "/usr/local/lib/python3.4/contextlib.py", line 321, in __exit__
    if cb(*exc_details):
  File "/usr/local/lib/python3.4/contextlib.py", line 237, in _exit_wrapper
    return cm_exit(cm, *exc_details)
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/common.py",
 line 211, in __exit__
    self.close()
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/comprenc.py",
 line 329, in close
    self.backend.close()
  File 
"/usr/local/lib/python3.4/site-packages/s3ql-2.13-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
 line 705, in close
    self.conn.disconnect()
  File "/usr/local/lib/python3.4/site-packages/dugong/__init__.py", line 1330, 
in disconnect
    self._sock.close()
AttributeError: 'NoneType' object has no attribute 'close'

Reply via email to