-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hello,
a user is getting an error using a script I wrote (see https://github.com/nh13/basespace-invaders), with the following stack trace using python 2.7.6 (is it absolutely crucial to use 2.6?). Any ideas on how to debug this error within the basespace python API?
python samples2files.py --client-key xxxxxx --client-secret xxxx --access-token xxxxx --sample-id 12345678 --create-basespace-directory-structure
Will download 4 files.
Downloading (1/4): P12-HFhm-F_S12_L001_R1_001.fastq.gz
File Path: P12-HFhm-F_S12_L001_R1_001.fastq.gz
WARNING:BaseSpacePy.model.MultipartFileTransfer:Task failed after too many retries
Traceback (most recent call last):
File "samples2files.py", line 165, in <module>
outputDirectory=options.outputDirectory, createBsDir=options.createBsDir)
File "samples2files.py", line 107, in download
sampleFile.downloadFile(myAPI, outputDirectory, createBsDir=createBsDir)
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/model/File.py", line 82, in downloadFile
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/api/BaseSpaceAPI.py", line 1240, in fileDownload
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/api/BaseSpaceAPI.py", line 1323, in multipartFileDownload
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/model/MultipartFileTransfer.py", line 399, in download
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/model/MultipartFileTransfer.py", line 452, in _start_workers
File "/usr/local/lib/python2.7/dist-packages/BaseSpacePy/model/MultipartFileTransfer.py", line 281, in start_workers
BaseSpacePy.api.BaseSpaceException.MultiProcessingTaskFailedException: 'Multiprocessing task failed: Multiprocessing task did not complete successfully’
Metadata
Metadata
Assignees
Labels
No labels