Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select icon occurce invalid type #2444

Open
3 tasks done
denisJaved opened this issue Sep 23, 2024 · 0 comments
Open
3 tasks done

Select icon occurce invalid type #2444

denisJaved opened this issue Sep 23, 2024 · 0 comments
Labels
app bug Something isn't working

Comments

@denisJaved
Copy link

denisJaved commented Sep 23, 2024

Please confirm the following.

  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

v0.8.4

What operating systems are you seeing the problem on?

Windows

Describe the bug

Selection icon for instance(profile/modpack) occure

invalid args `iconPath` for command `profile_edit_icon`: invalid type: map, expected a borrowed path

image
Icon squere in options tab will change to blank placeholder image, icon in instance-card won't change

Steps to reproduce

  1. Open any profile
  2. Open options tab
  3. In Instance section click Select icon
  4. Select any icon
  5. Look at error apear in right bottom corner

Expected behavior

Icon would change.

Additional context

Stacktrace shows so error happends here

function jie() {
    "console"in dt && U0.forEach(function(e) {
        e in dt.console && un(dt.console, e, function(t) {
            return od[e] = t,
            function(...n) {
                nr("console", {
                    args: n,
                    level: e
                });
                const i = od[e];
                i && i.apply(dt.console, n)
            }
        })
    })
}

or more exactly in i.apply(dt.console, n)

Also there is a chance so that happens because file path contains non-ascii letters (in my case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app bug Something isn't working
Development

No branches or pull requests

1 participant