Comments (11)
from arloader.
from arloader.
hi @CalebEverett thanks for the package :),
i'm also getting this error
trying to execute this cmd:
arloader upload ceremonio_dj_001.png --with-sol --sol-keypair-path ~/code/dapps/realidad/nft-meta/CRMiUZVfwiw7PB6MSpiVEja6wC6o6ombPJLzdwRn6y4C.json --ar-default-keypair --no-bundle
after a while the fee is sent but an error is returned:
StatusCodeNotOk
<FILE_PATHS> didn't match any files.
any idea what is going on?
from arloader.
from arloader.
just tried and it worked, thanks :)
from arloader.
hey @CalebEverett!
Thanks for this CLI. I managed to upload multiple times without any issue, but for two days now it fails.
When using upload-nfts
I get:
Uploading assets...
Uploading 1 files with 3740 KB of data in 1 bundle transactions...
StatusCodeNotOk
Uploaded 0 KB in 0 files in 0 bundle transaction(s). Run `arloader update-status ./arloader_J_H9Ad4ksaa/assets/` to update statuses.
Uploading manifest for images...
No bundle statuses found in ./arloader_J_H9Ad4ksaa/assets/
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/m/.asdf/installs/rust/1.50.0/registry/src/github.com-1ecc6299db9ec823/arloader-0.1.63/src/commands.rs:802:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
and when using upload
StatusCodeNotOk
<FILE_PATHS> didn't match any files.
all commands are executed with --with-sol
and both bundle and no bundle fail.
Do you have an idea of the issue?
from arloader.
Working on a fix
…
On Tue, Aug 23, 2022, 2:08 PM erikiado @.> wrote: hi @CalebEverett https://github.com/CalebEverett thanks for the package :), i'm also getting this error trying to execute this cmd: arloader upload ceremonio_dj_001.png --with-sol --sol-keypair-path ~/code/dapps/realidad/nft-meta/CRMiUZVfwiw7PB6MSpiVEja6wC6o6ombPJLzdwRn6y4C.json --ar-default-keypair --no-bundle after a while the fee is sent but an error is returned: StatusCodeNotOk <FILE_PATHS> didn't match any files. any idea what is going on? — Reply to this email directly, view it on GitHub <#32 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEIMQ6ZEPKR6D4CXTFA4SLV2U4TJANCNFSM567EURGA . You are receiving this because you were mentioned.Message ID: @.>
Hello :) I'm stuck with this issue too and I'm trying to debug it, so I was curious if you ended up finding the problem or any clues on it.
I don't call the CLI but use the library on my own project, and calling upload_file_from_path
with certain files makes the arweave HTTP api return 400 and thus returns StatusCodeNotOk
.
During the tests I found out that it fails when you try to upload files above 250KiB, which is the maximum chunk size. So my guess is that when the library has to split the file in >1 chunks, something goes wrong and the transaction ends up incorrectly built.
I thought it was after 250KiB but it seems that is not the case, as I crafted a file of 268KiB that fails to upload, but another of 300KiB that uploads correctly.
So right now I'm debugging and testing the transaction generation and in particular the merklize
function. But I'm not familiar at all with the arweave serialization steps and merklee trees in general so I'm a bit lost x)
I'll keep digging, but if you have any clues of when you researched it, they would be appreciated!
from arloader.
from arloader.
Hey, thanks for the answer! You seem to be correct on that, I modified the function to always take the /chunk
endpoint route instead of the /tx
endpoint route, and suddently I can upload files of any size without issue.
I tried to get what error the /tx
endpoint was returning, but it seems that it returns a 400 with an empty body. The API docs don't specify any possible error message on the tx endpoint neither, so... :)
For now I need to finish this thing I'm working on 😓 , but I'll try to dig up the reason later and I'll submit a PR if I find it, thanks again for the help!
from arloader.
Thanks for trying that out - I'll see about moving everything over to the chunk endpoint. I haven't been following along closely, but it may be that the size limit on the tx enpoint changed and the threshold in arloader is now too high.
from arloader.
@CalebEverett Currently facing this problem when running following command in my shell:
echo '{
"name": "",
"symbol": "",
"description": "",
"image": ""
}' > metadata.json
arloader upload metadata.json --with-sol --sol-keypair-path ~/.config/solana/id.json --ar-default-keypair --no-bundle
Retrying Solana transaction (1 of 10)...
Retrying Solana transaction (2 of 10)...
StatusCodeNotOk
<FILE_PATHS> didn't match any files.
from arloader.
Related Issues (20)
- Insanely high upload time? HOT 14
- crash when tx status returns internal server error HOT 10
- What data is passed through Arloader? HOT 2
- Getting StatusCodeNotOk errors after trying to upload with SOL HOT 10
- NotFound when using multiplier 0 to 3 HOT 13
- Trying to upload png/json HOT 9
- Constant issues with uploading nft set - StatusCodeNotOk HOT 6
- Transaction for upload-nfts complete, but files inaccessible HOT 6
- Add number of items limit to bundle size
- StatusCodeNotOK - Can't Upload 10k Set - 0.1.62 HOT 2
- StatusCodeNotOk HOT 1
- Rust nightly toolchain HOT 3
- StatusNotOK HOT 14
- error: Invalid value for '<FILE_PATHS>...': Path does not exist. HOT 2
- what am i doing wrong? HOT 11
- get-status JSON output panics HOT 2
- Cannot create w2w transaction
- funding transactions with SOL - upload not completed - SOL deducted HOT 2
- Custom Gateway - instead of `arweave.net`
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 arloader.