Skip to content

[bug] uploading a .txt file hangs on "Preparing objkt" #435

Description

@Zir0h

Describe the bug

reported by conocane on discord, if you try to mint a .txt file, you cannot get past the "preparing objkt" screen

Reproduction

go to https://teia.art/mint
select a .txt file
fill in the rest of the form
submit

Expected behavior

should mint a .txt objkt

Platform and versions

doesn't matter

Console output

21:22:26.541 Uncaught (in promise) Error: The first argument must be an image File or Blob object.
    value https://teia.art/assets/index-a765caa3.js:20295
    re https://teia.art/assets/index-a765caa3.js:20295
    compressImage https://teia.art/assets/index-a765caa3.js:20295
    compressImage https://teia.art/assets/index-a765caa3.js:20295
    generateCompressedImage https://teia.art/assets/index-a765caa3.js:20295
    generateCoverAndThumbnail https://teia.art/assets/index-a765caa3.js:20295
    mint https://teia.art/assets/index-a765caa3.js:20493
    onClick https://teia.art/assets/index-a765caa3.js:20720
    ux https://teia.art/assets/ui-e4c90221.js:76
    fx https://teia.art/assets/ui-e4c90221.js:76
    dx https://teia.art/assets/ui-e4c90221.js:76
    wd https://teia.art/assets/ui-e4c90221.js:76
    Am https://teia.art/assets/ui-e4c90221.js:76
    kl https://teia.art/assets/ui-e4c90221.js:76
    fc https://teia.art/assets/ui-e4c90221.js:79
    tm https://teia.art/assets/ui-e4c90221.js:76
    kl https://teia.art/assets/ui-e4c90221.js:76
    ju https://teia.art/assets/ui-e4c90221.js:76
    Lx https://teia.art/assets/ui-e4c90221.js:76
    _m https://teia.art/assets/ui-e4c90221.js:76
    Cl https://teia.art/assets/ui-e4c90221.js:76
    ki https://teia.art/assets/ui-e4c90221.js:76
    ki https://teia.art/assets/ui-e4c90221.js:76
    createRoot https://teia.art/assets/ui-e4c90221.js:79
    <anonymous> https://teia.art/assets/index-a765caa3.js:20731
index-a765caa3.js:20295:6257

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working🧹 needs triageThe issue/PR was not yet reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions