Cumulus is not handling internation file names correctly #97

buzztroll opened this Issue May 4, 2012 · 2 comments


None yet
2 participants

buzztroll commented May 4, 2012

When adding an object to Cumulus with a chinese file name the following error occurs:

Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/pycb/", line 172, in process_event
self.allowed_event(request, user, requestId, rPath)
File "build/bdist.linux-x86_64/egg/pycb/", line 186, in allowed_event
File "build/bdist.linux-x86_64/egg/pycb/", line 576, in work
exists = self.user.exists(self.bucketName, self.objectName)
File "build/bdist.linux-x86_64/egg/pycb/", line 164, in exists
file = self.get_file_obj(bucketName, objectName)
File "build/bdist.linux-x86_64/egg/pycb/", line 67, in get_file_obj
file = File.get_file(self.db_obj, objectName, pynimbusauthz.object_type_s3, file)
File "build/bdist.linux-x86_64/egg/pynimbusauthz/", line 143, in get_file
row = db_obj._run_fetch_one(s, data)
File "build/bdist.linux-x86_64/egg/pynimbusauthz/", line 82, in _run_fetch_one
c.execute(s, data)
ProgrammingError:You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode string."


buzztroll commented May 4, 2012

fixed with b77f65c

buzztroll closed this May 4, 2012

priteau reopened this Jun 14, 2012


priteau commented Jun 14, 2012

John, could you please fix the unit test for this issue so that it doesn't expect the CUMULUS_WORD environment variable?

buzztroll was assigned Jun 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment