Hi,
Hope someone can help out. Not sure if this is a bug or by design?
When I try to create a container that has a comma in the name that is
directly followed by a space, for example "my, container", I get the
following exception.
Any ideas?
Thanks,
Patrick
16 Oct 2012 16:01:27 : DEBUG : Container "/tmp/test/my, folder"
doesn't exist, creating it..
Traceback (most recent call last):
File "/usr/local/bin/file-syncer", line 5, in <module>
pkg_resources.run_script('file-syncer==0.2.1', 'file-syncer')
File
"/usr/local/lib/python2.7/dist-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"/usr/local/lib/python2.7/dist-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py",
line 1235, in run_script
execfile(script_filename, namespace, namespace)
File
"/usr/local/lib/python2.7/dist-packages/file_syncer-0.2.1-py2.7.egg/EGG-INFO/scripts/file-syncer",
line 4, in <module>
run()
File
"/usr/local/lib/python2.7/dist-packages/file_syncer-0.2.1-py2.7.egg/file_syncer/run.py",
line 101, in run
concurrency=int(options.concurrency))
File
"/usr/local/lib/python2.7/dist-packages/file_syncer-0.2.1-py2.7.egg/file_syncer/syncer.py",
line 72, in __init__
self._setup_container()
File
"/usr/local/lib/python2.7/dist-packages/file_syncer-0.2.1-py2.7.egg/file_syncer/syncer.py",
line 94, in _setup_container
container =
driver.create_container(container_name=self._container_name)
File
"/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/atmos.py",
line 171, in create_container
return self.get_container(container_name)
File
"/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/atmos.py",
line 156, in get_container
meta = self._emc_meta(result)
File
"/usr/local/lib/python2.7/dist-packages/libcloud/storage/drivers/atmos.py",
line 469, in _emc_meta
return dict([x.split('=', 1) for x in meta])
ValueError: dictionary update sequence element #9 has length 1; 2 is
required