Page 1 of 1

Mint software manager won't run- Value error

Posted: Tue Mar 06, 2018 1:26 am
by John378
Please excuse me if I am posting this in the wrong board or with the wrong protocol. I am new to linux and this forum but am fairly computer literate from ages ago. My problem is that somehow my mintinstall package will not open. I spent countless hours going over other posted remedies for what seemed to be similar problems but it did not solve mine. I have uninstalled and reinstalled but always come back to the same error. I will paste both the terminal install and run. Does anyone have any idea what the problem and solution may be? Thanks in advance for any help

Code: Select all

john@john-Aspire-XC-105 ~ $ sudo apt-get install mintinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mokutil ocl-icd-libopencl1:i386
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  mintinstall
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 3,349 kB of archives.
After this operation, 7,552 kB of additional disk space will be used.
Get:1 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/main amd64 mintinstall all 7.8.9 [3,349 kB]
Fetched 3,349 kB in 4s (724 kB/s)        
Selecting previously unselected package mintinstall.
(Reading database ... 259311 files and directories currently installed.)
Preparing to unpack .../mintinstall_7.8.9_all.deb ...
Unpacking mintinstall (7.8.9) ...
Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up mintinstall (7.8.9) ...

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
Detected system architecture: 'x86_64' (using 'x86_64')
load_cache took 1788.888 ms
add_categories took 21.976 ms
build_matched_packages took 0.439 ms
add_packages took 6607.740 ms
process_matching_packages took 6.593 ms
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 2034, in <module>
    app = Application()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 628, in __init__
    self.add_reviews()
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
    res = func(*arg)
  File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 1452, in add_reviews
    review = Review(elements[0], float(elements[1]), elements[2], elements[3], elements[4])
ValueError: invalid literal for float(): 1351367

Re: Mint software manager won't run- Value error

Posted: Tue Mar 06, 2018 10:20 am
by JoeFootball
John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe

Re: Mint software manager won't run- Value error

Posted: Tue Mar 06, 2018 1:48 pm
by FreedomTruth
What is the result of

Code: Select all

python2 --version
Have you tried clearing your "reviews" cache?

Code: Select all

rm ~/.cache/mintinstall/reviews.list

Re: Mint software manager won't run- Value error

Posted: Tue Mar 06, 2018 7:56 pm
by John378
JoeFootball wrote:
Tue Mar 06, 2018 10:20 am
John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe
That was one of the first things I tried after reading a few posts on here. It comes back as "The software manager should not be run as root. Please run it in user mode."

Thanks for the input Joe

Re: Mint software manager won't run- Value error

Posted: Tue Mar 06, 2018 8:22 pm
by John378
FreedomTruth wrote:
Tue Mar 06, 2018 1:48 pm
What is the result of

Code: Select all

python2 --version
It comes back as "Python 2.7.12"

Have you tried clearing your "reviews" cache?

Code: Select all

rm ~/.cache/mintinstall/reviews.list
No, that one did not know of and I am happy to say it worked. Am I understanding the syntax correctly...was it loading back garbage data that somehow got into the cache? Is the program's cache unaffected when a program is deleted in Linux? Oh well, live and learn...and that is a good part of what make life fun.

99% of the way to giving Gates condescending mind-control spyware the final boot.

Thanks Freedom. Much appreciated

Re: Mint software manager won't run- Value error

Posted: Wed Mar 07, 2018 12:15 am
by pbear
John378 wrote:
Tue Mar 06, 2018 7:56 pm
JoeFootball wrote:
Tue Mar 06, 2018 10:20 am
John378 wrote:

Code: Select all

john@john-Aspire-XC-105 ~ $ mintinstall
I believe you need elevated permissions for that. Try gksudo mintinstall instead.

Joe
That was one of the first things I tried after reading a few posts on here. It comes back as "The software manager should not be run as root. Please run it in user mode."
FYI, Joe, this was changed with 18.3, presumably to accommodate Flatpak. Now one enters the password after hitting "Install."

Re: Mint software manager won't run- Value error

Posted: Wed Mar 07, 2018 5:12 pm
by FreedomTruth
John378 wrote:
Tue Mar 06, 2018 8:22 pm
was it loading back garbage data that somehow got into the cache? Is the program's cache unaffected when a program is deleted in Linux?
I'm guessing somehow the cache data was corrupted, and yes, it would keep loading that bad data. Generally it's safe to delete cache data, programs will re-build it. Glad that worked for you :)