Git Product home page Git Product logo

Comments (6)

svdasein avatar svdasein commented on September 15, 2024 1

I am getting this as well. It appears to be running in a loop attempting to recover from a python library issue:


MINTINSTALL_DEBUG=1 DEBUG=1 mintinstall
MintInstall: Detected system architecture: 'x86_64'
Application.add_categories took 2.248 ms
mint-common (DEBUG): Installer._fp_remotes_have_changed took 7.008 ms
mint-common (DEBUG): Installer: User pkgcache is most recent, using it.
Application.do_activate took 135.228 ms
mint-common (DEBUG): PkgCache._load_cache took 240.598 ms
mint-common (DEBUG): PkgCache.__init__ took 240.653 ms
mint-common (DEBUG): Installer.initialize_appstream took 362.491 ms
mint-common (DEBUG): Installer.generate_uncached_pkginfos took 0.273 ms
Application.process_matching_packages took 39.387 ms
ReviewCache.__init__ took 266.171 ms
Loading error: 'NoneType' object has no attribute 'verified'
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1383, in on_installer_ready
    self.load_landing_apps()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1706, in load_landing_apps
    self.load_banner()
  File "/usr/lib/linuxmint/mintinstall/misc.py", line 16, in wrapper
    res = func(*arg)
          ^^^^^^^^^^
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1456, in load_banner
    if not pkginfo.verified:
           ^^^^^^^^^^^^^^^^
mint-common (DEBUG): Installer: Generating new pkgcache
mint-common (DEBUG): Installer: Processing Flatpaks for cache took 0.519 ms
MintInstall: No new reviews
ReviewCache._update_reviews_thread took 209.736 ms
mint-common (DEBUG): Installer: Processing APT packages for cache took 6107.393 ms
Application.add_categories took 2.389 ms
mint-common (DEBUG): Installer: User pkgcache is most recent, using it.
mint-common (DEBUG): PkgCache._load_cache took 336.195 ms
mint-common (DEBUG): PkgCache.__init__ took 336.266 ms
mint-common (DEBUG): Installer.initialize_appstream took 2.082 ms
mint-common (DEBUG): Installer.generate_uncached_pkginfos took 0.394 ms
mint-common (DEBUG): Full installer startup took 7744.194 ms
Application.process_matching_packages took 41.832 ms
ReviewCache.__init__ took 290.669 ms
Loading error: 'NoneType' object has no attribute 'verified'
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1383, in on_installer_ready
    self.load_landing_apps()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1706, in load_landing_apps
    self.load_banner()
  File "/usr/lib/linuxmint/mintinstall/misc.py", line 16, in wrapper
    res = func(*arg)
          ^^^^^^^^^^
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1456, in load_banner
    if not pkginfo.verified:
           ^^^^^^^^^^^^^^^^
mint-common (DEBUG): Installer: Generating new pkgcache
mint-common (DEBUG): Installer: Processing Flatpaks for cache took 0.993 ms
MintInstall: No new reviews
ReviewCache._update_reviews_thread took 127.078 ms

"Loading error: 'NoneType' object has no attribute 'verified'" appears to be what's behind this.

from mintinstall.

mtwebster avatar mtwebster commented on September 15, 2024 1

How can we have a Flatpak-free Software Manager?
Is it possible at all? 😕

Sometimes it's just a bug.

from mintinstall.

umikali222 avatar umikali222 commented on September 15, 2024

How long did you wait? For me it took a pretty long time but it eventually finished.

from mintinstall.

mtwebster avatar mtwebster commented on September 15, 2024

Can you run:

MINTINSTALL_DEBUG=1 DEBUG=1 mintinstall

and paste the output when this happens.

Thanks

from mintinstall.

svdasein avatar svdasein commented on September 15, 2024

Ok - I guess I fixed it: I didn't have any flatpak repositories added to my flatpak configuration. I added flathub manually and tried mintinstall after that - now it works.

from mintinstall.

spamegg1 avatar spamegg1 commented on September 15, 2024

I have the same issue. I also do not have any Flatpak repositories, just fresh install of Mint 22.

It would be nice in the future, if Software Manager's correct functioning was not so tied down to Flatpak. Some of us don't like Flatpak and remove / disable it first thing after a fresh Mint install (not the case here, I have flatpak and gir1.2-flatpak-1.0 still installed, haven't removed them).

Edit: after manually running

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

now SM launches correctly.

Edit 2: If I remove:

apt remove flatpak gir1.2-flatpak-1.0

then the bug comes back and SM becomes unusable again.

How can we have a Flatpak-free Software Manager?
Is it possible at all? 😕

Idea: On lines 1456 and 1637:

if not pkginfo.verified:

we can add a None-check

if pkginfo is None or not pkginfo.verified:

although it doesn't fix the issue, just kicks it further down the road, now it complains Flatpak is not defined.

from mintinstall.

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.