Details
Description
cbdocloader on Windows 10 fails processing file names which include "::" in the file name. Unfortunately, this is a common key pattern for CB documents: doc-type::id , and cbdocloader defines document keys based on file names.
Windows gives the following error text when attempting to load the attached JSON document archive.
C:\Program Files\Couchbase\Server\bin>cbdocloader -u Administrator -p password -b customer360 customer360.zip
[2015-11-17 11:57:49,816] - [rest_client] [6820] - INFO - existing buckets : [u'customer360', u'default']
[2015-11-17 11:57:49,822] - [rest_client] [6820] - INFO - found bucket customer360
bucket creation is successful
Exception in thread w0:
Traceback (most recent call last):
File "threading.pyc", line 551, in __bootstrap_inner
File "threading.pyc", line 504, in run
File "pump.pyc", line 302, in run_worker
File "pump.pyc", line 360, in run
File "pump_json.pyc", line 201, in provide_batch
File "pump_json.pyc", line 57, in extractall
IOError: [Errno 22] invalid mode ('wb') or filename: u'c:\\users\\tony\\appdata\\local\\temp\\tmpl5apzc
customer::briesmarble1'
Attachments
Issue Links
- relates to
-
MB-18933 Improved loading of json documents with cbimport/cbexport
- Closed