Coder Social home page Coder Social logo

Comments (12)

advanztek avatar advanztek commented on June 29, 2024 1

@advanztek how did you fix this?

Hi @dant89, it seems like your NFTs names or description are too long. So go to cache and change to false the ones that have a long name or have an issue. After that run the metaplex upload command again.

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

This is the other error from gitbash

at WrappedLayout.encode (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\borsh\src\index.ts:96:24)
saving config line 1990-1999 failed RangeError: encoding overruns Buffer
at Blob.encode (C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:2325:13)
at Structure.encode (C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:1263:26)
at WrappedLayout.encode (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\borsh\src\index.ts:96:24)
at WrappedLayout.encode (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\borsh\src\index.ts:96:24)
at Structure.encode (C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:1263:26)
at C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:1113:25
at Array.reduce ()
at Sequence.encode (C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:1112:22)
at Structure.encode (C:\Users\user\metaplex\js\packages\cli\node_modules\buffer-layout\lib\Layout.js:1263:26)
at WrappedLayout.encode (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\borsh\src\index.ts:96:24)
upload was not successful, rerunning

from solana-candy-factory.

kevinfaveri avatar kevinfaveri commented on June 29, 2024

You should just re-run the upload until it is successful = true

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

Okay thanks, I'll keep on trying it.

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

It's still showing false after retrying for about an hour. Is this a normal thing, so that I can keep trying?

Thank you for your response in advance.

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

Hi @kevinfaveri, still having the same issue. Please is this a normal thing when deploying to the mainnet? Or there is something causing this?

Coz everything has been uploaded to arewave already all I need is the successful = true.

Please 🙏 your response really means a lot. About 7 SOL gone already.

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

Hi @kevinfaveri, still waiting for your response please. Am really frustrated right now. I've been trying this more than 5 hours and it still keeps saying "upload was not successful, rerunning".

from solana-candy-factory.

kevinfaveri avatar kevinfaveri commented on June 29, 2024

Are your NFT "name" keys long? I'm not sure what is happening honestly, I would need more logs to think about something, but as far as I know, it should be working as expected. Anyway, this seems like an issue you could open on the Metaplex github repo as an issue too

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

They're have a max of 32 CHARS, can I reupload it without paying another SOL again?

How can I send you the cache?

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

mainnet-beta-temp.zip

from solana-candy-factory.

advanztek avatar advanztek commented on June 29, 2024

Hi @kevinfaveri I reuploaded everything for the second time.

Then running this command
ts-node ~/metaplex/js/packages/cli/src/candy-machine-cli.ts create_candy_machine --env mainnet-beta --keypair ~/.config/solana/candyfactory-mainnet.json --price 0.49 > ./logs/main/candy-machine-log.txt

I got the error below. Please any form of help will be appreciated.

Transaction simulation failed: Error processing Instruction 0: custom program error: 0x139
Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]
Program 11111111111111111111111111111111 invoke [2]
Program 11111111111111111111111111111111 success
Program log: Custom program error: 0x139
Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 21820 of 200000 compute units
Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x139
(node:17216) UnhandledPromiseRejectionWarning: Error:
at Function.parse (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\anchor\src\error.ts:30:14)
at Object.rpc [as initializeCandyMachine] (C:\Users\user\metaplex\js\packages\cli\node_modules@project-serum\anchor\src\program\namespace\rpc.ts:23:42)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:17216) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17216) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from solana-candy-factory.

dant89 avatar dant89 commented on June 29, 2024

@advanztek how did you fix this?

from solana-candy-factory.

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.