Comments (3)
Python version: 3.7.9
Unity Version: 2020.3.12f1
OS: Windows 10
To repro the bug, you can attempt to upload file using the get_upload() from transaction_uploader.py on Windows. Though I did not try uploading a small file, I assume it would hit the same issue. After installing the python arweave client, the following is good enough to repro the issue:
`
from arweave.arweave_lib import Wallet, Transaction
from arweave.transaction_uploader import get_uploader
wallet = Wallet(jwk_file)
with open("my_mahoosive_file.dat", "rb", buffering=0) as file_handler:
tx = Transaction(wallet, file_handler=file_handler, file_path="/some/path/my_mahoosive_file.dat")
tx.add_tag('Content-Type', 'application/dat')
tx.sign()
uploader = get_uploader(tx, file_handler)
while not uploader.is_complete:
uploader.upload_chunk()
logger.info("{}% complete, {}/{}".format(
uploader.pct_complete, uploader.uploaded_chunks, uploader.total_chunks
))
`
I've also created a PR, as requested. Please review when possible.
from arweave-python-client.
Ideally you could describe how to reproduce the bug and exactly where it is you've inserted this code?
Even better would be if you created a branch and submitted a pull request that we could integrate with our code quickly and you would gain contributor status too!
from arweave-python-client.
Thanks for the help and the PR, I've merged it in
from arweave-python-client.
Related Issues (18)
- Great initiative! HOT 1
- Suggest removal of ArQL, and replacement with GraphQL HOT 3
- Uploader doesn't work on Windows 10 HOT 2
- use tx_anchor instead of wallets last_tx to enable multiple transactions per block HOT 1
- Unable to import SIGPIPE from signal on Windows HOT 3
- arweave_lib portion erroring, but appears to still complete? HOT 1
- Transaction ID not valid for retrieving Uploaded Arweave data. HOT 2
- Dear developer, I have a question for you HOT 3
- How do i retrieve the url programmatically from an uploaded transaction HOT 1
- Data is uploaded incorrectly when uses_uploader=False HOT 5
- How to upload a png? HOT 1
- tx_data_size_data_root_mismatch error HOT 2
- Can't upload HOT 2
- Load wallet directly with the wallet address HOT 1
- Variable 'reward' referenced before assignment
- arweave.arweave_lib.ArweaveTransactionException: Too Many Requests HOT 1
- Throw an error when wallet has insufficient balance. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arweave-python-client.