Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Error with miting #36

Open
mdergueche opened this issue Jan 9, 2022 · 9 comments
Open

Error with miting #36

mdergueche opened this issue Jan 9, 2022 · 9 comments

Comments

@mdergueche
Copy link

Hi community,

So I'm trying to mint an NFT on Solana using your library but I'm getting an error at metada function. Here the stuck

File "/python-api/api/metaplex_api.py", line 77, in mint
tx, signers = mint(api_endpoint, self.keypair, contract_key, dest_key, link, supply=supply)
File "/python-api/metaplex/transactions.py", line 186, in mint
metadata = get_metadata(client, mint_account)
File "/python-api/metaplex/metadata.py", line 182, in get_metadata
data = base64.b64decode(client.get_account_info(metadata_account)['result']['value']['data'][0])
TypeError: 'NoneType' object is not subscriptable

also how I know the fee on the network to mint the NFT? I check the library, there is no such function as such. It would be great to add it before deciding to mint the contract as such.

Your help will be really appreciated.

@mdergueche
Copy link
Author

somehow I managed to mint one contract on the mainnet beta without changing anything from my end!

but today trying again, I'm facing the same error!!! please help.

@nurav97
Copy link

nurav97 commented Jan 17, 2022

#8

@andeskis
Copy link

andeskis commented Jan 19, 2022

I also have an issue with the minting where its value is None

Deploy: {'jsonrpc': '2.0', 'result': '4PYzUAWcwDVEkryJn4XdXoj8JzSyN6yS14Tw3YM8oAaBZayqiKotP2a7XtyzaL2PBzpbrSn17emtJjPGrxF4QLVz', 'id': 2, 'contract': '8WpJDw7QPo9T8ZWsVK6wLjHypMRWN7tmKuvrth31ePLy', 'status': 200}

mint_key
8WpJDw7QPo9T8ZWsVK6wLjHypMRWN7tmKuvrth31ePLy

metadata_account
HVZ9XjamjRhmQwqaaPgepy6FxoPFHFqts1NgbJgAe85C

acc_info
{'jsonrpc': '2.0', 'result': {'context': {'slot': 108802316}, 'value': None}, 'id': 13}

Traceback (most recent call last):
File "C:\Users\ander\Documents\code\solana\metapliex-example\python-api\api.py", line 161, in
test()
File "C:\Users\ander\Documents\code\solana\metapliex-example\python-api\api.py", line 127, in test
print(get_metadata(client, contract))
File "C:\Users\ander\Documents\code\solana\metapliex-example\python-api\metaplex\metadata.py", line 192, in get_metadata
acc_info_resp = acc_info['result']['value']['data'][0]
TypeError: 'NoneType' object is not subscriptable

@PixusMetaverse
Copy link

Not working either - have the same issue since this week

@mdergueche
Copy link
Author

it is a shame. No support at all. some of users have managed to make it work!

@JeffryCA
Copy link

JeffryCA commented Feb 1, 2022

+1 I have the same problem

@soliblue
Copy link

@jarry-xiao Can you please support?

@JoseLuisDavila
Copy link

any solution ???

@nurav97
Copy link

nurav97 commented Jun 1, 2023

They have stopped the development of this python API also no one supports in their discord we had to switch to their js SDK that might be the best bet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants