Results 1 to 5 of 5

Thread: How can I correct a 4800: PyGIWarning

  1. #1
    Join Date
    May 2008
    Location
    Canada
    Beans
    215
    Distro
    Xubuntu 16.04 Xenial Xerus

    How can I correct a 4800: PyGIWarning

    Received the following message as I was installing Boot-repair? Whatever I found on the web is meaningless with my knowledge level, hope someone here can shed light on this and how to correct it. Xubuntu 16.04, 64bit.

    ~$ /usr/bin/glade2script:4800: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
    from gi.repository import Notify
    /usr/bin/glade2script:4804: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
    from gi.repository import AppIndicator3 as appindicator
    # Linux Mint Cinnamon 21.1 as of 2023-06-06 21:17

  2. #2
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How can I correct a 4800: PyGIWarning

    Are you installing from the boot-repair ppa?
    According to this bug it has been fixed in the glade2script package from the ppa.

  3. #3
    Join Date
    May 2008
    Location
    Canada
    Beans
    215
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How can I correct a 4800: PyGIWarning

    Quote Originally Posted by CantankRus View Post
    Are you installing from the boot-repair ppa?
    According to this bug it has been fixed in the glade2script package from the ppa.
    CantankRus, thanks for the info. It was an accurate guess. How would I know which package has been fixed? I am using Xu 16.04 64bit and the PPA.
    # Linux Mint Cinnamon 21.1 as of 2023-06-06 21:17

  4. #4
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How can I correct a 4800: PyGIWarning

    Make sure the ppa is enabled and...
    Code:
    sudo apt update
    sudo apt upgrade
    Then check....
    Code:
    apt policy glade2script boot-repair
    eg
    Code:
    glen@Xenial:~$ apt policy glade2script boot-repair
    glade2script:
      Installed: 3.2.3~ppa1
      Candidate: 3.2.3~ppa1
      Version table:
     *** 3.2.3~ppa1 500
            500 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 Packages
            500 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main i386 Packages
            100 /var/lib/dpkg/status
    
    boot-repair:
      Installed: 4ppa38
      Candidate: 4ppa38
      Version table:
     *** 4ppa38 500
            500 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 Packages
            500 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main i386 Packages
            100 /var/lib/dpkg/status

  5. #5
    Join Date
    May 2008
    Location
    Canada
    Beans
    215
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How can I correct a 4800: PyGIWarning

    CantankRus, again my thanks. The output was identical to the above and boot repair works fine.
    # Linux Mint Cinnamon 21.1 as of 2023-06-06 21:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •