Closed DocOtak closed 10 years ago
Original comment by Roxanne Lee (Bitbucket: hellorox, GitHub: hellorox).
Or by the cruise ID:
(hydro_a)ghdc:uow r6lee$ hydro datadir fetch maps "Maps created" 177 1607:25,200 D datadir/store.py:726 _queuefile_info {u'attr': u'address', u'obj_id': 54, u'p_c': u'CCHDO importer', u'value': u'Japan Marine Science and Technology Center (JAMSTEC)\n2-15 Natsushima, Yokosuka,\nKanagawa 237-0061\n041 \nJAPAN\nEMAIL: swata@jamstec.go.jp', u'ts_c': u'2014-07-07 12:53:08.083256', u'state': u'acc', u'id': 177} 1607:25,201 C scripts.py:2730 main Traceback (most recent call last): File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/scripts.py", line 2728, in main hydro_parser.exit(args.main(args)) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/scripts.py", line 1416, in datadir_fetch dl_originals=(not args.skip_dl_original)) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/processing.py", line 337, in mkdir_uow qfis = self.dstore.as_received_infos(*ids) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/store.py", line 159, in as_received_infos qfis.append(self._queuefile_info(qfile)) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/store.py", line 728, in _queuefile_info 'filename': asr['value']['filename'], TypeError: string indices must be integers
Original report by Roxanne Lee (Bitbucket: hellorox, GitHub: hellorox).
hydro datadir fetch cannot find cruise by expocode (http://cchdo.ucsd.edu/cruise/35TH20000724)
(hydro_a)ghdc:uow r6lee$ hydro datadir fetch maps "Maps created" 35TH20000724 1559:09,654 W datadir/processing.py:339 mkdir_uow None of the ids given refer to Queue files. 1559:09,654 I datadir/processing.py:343 mkdir_uow Using id as ExpoCode 1559:09,777 C scripts.py:2730 main Traceback (most recent call last): File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/scripts.py", line 2728, in main hydro_parser.exit(args.main(args)) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/scripts.py", line 1416, in datadir_fetch dl_originals=(not args.skip_dl_original)) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/processing.py", line 386, in mkdir_uow os.path.join(dirpath, UOWDirName.online), expocode) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/store.py", line 779, in fetch_online cruise = self._cruise(cid) File "/usr/local/cchdo/hydro-vm/hydro_a/lib/python2.7/site-packages/libcchdo/datadir/store.py", line 770, in _cruise raise ValueError(u'Unable to find cruise for {0}'.format(cid)) ValueError: Unable to find cruise for 35TH20000724