GithubHelp home page GithubHelp logo

StatusNotOK about arloader HOT 11 OPEN

calebeverett avatar calebeverett commented on July 22, 2024
StatusNotOK

from arloader.

Comments (11)

CalebEverett avatar CalebEverett commented on July 22, 2024 1

from arloader.

rosmcmahon avatar rosmcmahon commented on July 22, 2024

@CalebEverett

from arloader.

erikiado avatar erikiado commented on July 22, 2024

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.

CalebEverett avatar CalebEverett commented on July 22, 2024

from arloader.

erikiado avatar erikiado commented on July 22, 2024

just tried and it worked, thanks :)

from arloader.

snowplowtach avatar snowplowtach commented on July 22, 2024

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.

0xnetfox avatar 0xnetfox commented on July 22, 2024

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.

CalebEverett avatar CalebEverett commented on July 22, 2024

from arloader.

0xnetfox avatar 0xnetfox commented on July 22, 2024

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.

CalebEverett avatar CalebEverett commented on July 22, 2024

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.

7flash avatar 7flash commented on July 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.