question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ResourceLoadException: glacier.MultipartUpload has no load method

See original GitHub issue

I can not access some resources that should be possible to access on multipart uploads

>>> import sys, boto3, botocore
>>> sys.version, boto3.__version__, botocore.__version__
('3.6.0 (default, Dec 28 2016, 19:53:26) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]', '1.4.4', '1.5.43')
>>> glacier = boto3.resource('glacier')
>>> vault = glacier.Vault(account_id=my_account_id, name=my_vault_name)
>>> multipart_upload = vault.initiate_multipart_upload(partSize=str(1024*1024))
>>> multipart_upload.id
'z8GLq4AvfwswiutS8VD2ilGpb4P4iJ8QvRuRntuleU55OlYzn2WOruz5SodZjbtgyISLtsuM0kiLfr9J5Vy6vUE46ZJc'
>>> multipart_upload.part_size_in_bytes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/.local/lib/python3.6/site-packages/boto3/resources/factory.py", line 343, in property_loader
    self.__class__.__name__))
boto3.exceptions.ResourceLoadException: glacier.MultipartUpload has no load method

I’m not sure if this is related, but I also noticed a typo in the client with this collection, that might possibly be related or causing the problem above

>>> vault.multipart_uplaods.all()   # sic
glacier.Vault.multipart_uplaodsCollection(glacier.Vault(account_id='1234', name='example'), glacier.MultipartUpload)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, May 6, 2022

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

0reactions
wimglenncommented, May 6, 2021

This bot is annoying 😃 Yes it’s still an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Glacier — Boto3 Docs 1.26.34 documentation - AWS
Complete Multipart Upload is an idempotent operation. After your first successful complete multipart upload, if you call the operation again within a short ......
Read more >
Uploading Large Archives in Parts (Multipart Upload)
An in-progress multipart upload is an upload that you have initiated, but have not yet completed or stopped. For each list multipart uploads...
Read more >
Boto Glacier - Upload file larger than 4 GB using multipart ...
For archives greater than 100MB the multipart upload will be used. ... this means that you have to use one of the following...
Read more >
Direct Upload to Glacier vs Upload through Amazon S3
Compare Amazon Glacier direct upload with upload through Amazon S3 bucket. We have reviewed pricing ... No additional fees are charged for multipart...
Read more >
boto3 from boto - Coder Social
With boto library (not boto3), there is method generate_url which generates temporary ... Instead of managing multi-part upload with the upload id directly, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found