Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive failure #147

Closed
justinfisk opened this issue Dec 16, 2016 · 4 comments
Closed

archive failure #147

justinfisk opened this issue Dec 16, 2016 · 4 comments
Assignees
Labels
Milestone

Comments

@justinfisk
Copy link
Collaborator

batch-scheduler related...

I encounter this issue if an asset is 'requested' but the file already exists on the filesystem.

/net/cluster/scratch/fisk/data/modis/stage/MCD43A4.A2012336.h12v04.006.2016112010833.hdf already in archive
Traceback (most recent call last):
  File "/var/spool/torque/mom_priv/jobs/391.schedtst.ags.io.SC", line 21, in <module>
    worker.fetch(u'modis', u'MCD43A4', u'h12v04', datetime.date(2012, 12, 1))
  File "/home/jfisk/datahandler/gips/gips/datahandler/worker.py", line 41, in fetch
    asset.name   = a_obj.archived_filename
AttributeError: 'modisAsset' object has no attribute 'archived_filename'
@ircwaves ircwaves reopened this Dec 22, 2016
@ircwaves ircwaves added this to the data handler milestone May 8, 2017
@ra-tolson ra-tolson self-assigned this May 10, 2017
@ra-tolson ra-tolson added this to in progress in tolson's workbench May 10, 2017
@ra-tolson
Copy link
Collaborator

Verified; I duplicated the error with this script:

https://gist.github.com/ags-tolson/ec26cfe56425be36e51a3a11c1e7e5d2

by "standard" modis assets I mean the ones needed for the system tests, but just one is sufficient.

@ra-tolson ra-tolson removed the verify label May 10, 2017
@ra-tolson
Copy link
Collaborator

Fixed in PR #277

@ra-tolson ra-tolson moved this from in progress to blocked in tolson's workbench May 10, 2017
@ra-tolson ra-tolson moved this from blocked to in progress in tolson's workbench May 11, 2017
@ra-tolson
Copy link
Collaborator

Slight mission creep - going to look at products to confirm they don't have the same problem, will file an issue if they do.

@ra-tolson
Copy link
Collaborator

Looked at products, looks like same issue is possible; see issue #282.

@ra-tolson ra-tolson removed this from blocked in tolson's workbench May 18, 2017
@ircwaves ircwaves moved this from in-progress to Done, Kinda Sorta Maybe Partly in data handler Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
data handler
Done, Kinda Sorta Maybe Partly
Development

No branches or pull requests

3 participants