Hello to all, I'm trying to use the script import_library_dataset_to_history.py in order to upload a file from a dataset in a history. I get an error, but I'm not sure that I use it the right way. The command line I use is: python import_library_dataset_to_history.py cd065330048989af4ae266cf94685e6b http://127.0.0.1:8080 /api/libraries/f597429621d6eb2b/contents/f597429621d6eb2b I'm not sur if the url (http://127.0.0.1:8080) is the one to use. I'm not sure if the library_file_id is the right one. At the url http://127.0.0.1:8080/api/libraries/f597429621d6eb2b/contents/f597429621d6eb... The Json: { "data_type": "fasta", "date_uploaded": "2012-11-16T13:29:37.051910", "file_name": "/home/odoppelt/localStuff_VM/tools/galaxy-dist/database/files/000/dataset_2.dat", "file_size": 5492113, "folder_id": "f597429621d6eb2b", "genome_build": "?", "id": "f597429621d6eb2b", "ldda_id": "f597429621d6eb2b", "message": "", "metadata_data_lines": 90357, "metadata_dbkey": "?", "metadata_sequences": 246, "misc_blurb": "246 sequences", "misc_info": "uploaded fasta file", "model_class": "LibraryDataset", "name": "Galaxy64-[Fasta_file_containing_result_contigs].fasta", "template_data": {}, "uploaded_by": "odoppelt@pasteur.fr", "uuid": null } could you please tell me if I use it the wrong way or if it doesn't work. FYI, the error i'm getting is: Traceback (most recent call last): File "import_library_dataset_to_history.py", line 16, in <module> submit( sys.argv[1], sys.argv[2], data ) File "common.py", line 105, in submit r = post( api_key, url, data ) File "common.py", line 47, in post return simplejson.loads( urllib2.urlopen( req ).read() ) File "/home/odoppelt/localStuff_VM/tools/galaxy-dist/eggs/simplejson-2.1.1-py2.7-linux-x86_64-ucs4.egg/simplejson/__init__.py", line 384, in loads File "/home/odoppelt/localStuff_VM/tools/galaxy-dist/eggs/simplejson-2.1.1-py2.7-linux-x86_64-ucs4.egg/simplejson/decoder.py", line 402, in decode File "/home/odoppelt/localStuff_VM/tools/galaxy-dist/eggs/simplejson-2.1.1-py2.7-linux-x86_64-ucs4.egg/simplejson/decoder.py", line 420, in raw_decode simplejson.decoder.JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) Thanks in advance, Cheers, -- Olivia Doppelt-Azeroual, PhD Tel: 92 15 CIB - Institut Pasteur