Skip to content

[cands] copy to VOSpace failing #345

@mtbannister

Description

@mtbannister

After a file is completed, the copy back up is not succeeding. It seems to be duplicating the local directory twice in forming the path?

e.g.
(Canopy 64bit) whaitiri:measure3 michele$ python ../ossos-pipeline/src/ossos-pipeline/validate.py cands vos:OSSOS/measure3/2015B-H/14BH+3+0 -o 2014B-H/

fails as:

INFO:ossos.gui.logger:Syncing 2014B-H/2014B-H/14BH+3+0_s33.measure3.reals.astrom to vos:OSSOS/measure3/2015B-H/14BH+3+0/14BH+3+0_s33.measure3.reals.astrom.
Exception in thread Thread-24:
Traceback (most recent call last):
File "/Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents/lib/python2.7/threading.py", line 504, in run
self.__target(_self.__args, *_self.__kwargs)
File "/Users/michele/Dropbox/OSSOS/ossos-pipeline/src/ossos-pipeline/ossos/gui/sync.py", line 40, in do_synchronize
storage.copy(local_path, remote_uri)
File "/Users/michele/Dropbox/OSSOS/ossos-pipeline/src/ossos-pipeline/ossos/storage.py", line 799, in copy
return vospace.copy(source, dest)
File "/Users/michele/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/vos/vos.py", line 1149, in copy
srcSize = os.stat(src).st_size
OSError: [Errno 2] No such file or directory: '2014B-H/2014B-H/14BH+3+0_s33.measure3.reals.astrom'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions