Page 1 of 1

mintinstall segfault after opening on theme

Posted: Sat Jan 28, 2012 5:59 pm
by kaleid
Hi there
I have exactly the same problem. When starting software manager from Kickoff it stops after few seconds, when from terminal it gives me the same segmentation error and stops, whether it's with sudo or not. I am using the same version of mintinstall and 64-bit v. of Mint. I reinstalled Mint on many accasions but got nowhere. Should I downgrade mintinstall, move to 32-bit Mint or what. So far nothing works. This is what I got from the terminal:
Many thanks.

adam@Mint ~ $ sudo mintinstall
[sudo] password for adam:
/usr/lib/linuxmint/mintInstall/mintinstall.py:252: SyntaxWarning: import * only allowed at module level
def get_status_description(self, transaction):
/usr/lib/linuxmint/mintInstall/mintinstall.py:260: SyntaxWarning: import * only allowed at module level
def get_role_description(self, transaction):
add_categories took 3.397 ms
build_matched_packages took 0.610 ms
7717
add_packages took 3395.829 ms
add_reviews took 541.234 ms

(mintinstall.py:7710): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
__init__ took 4115.321 ms
/usr/lib/linuxmint/mintInstall/mintinstall.py:1137: GtkWarning: Theme directory scalable/animations/small/16x16 of theme Mint-KDE has no size field

if theme.has_icon(cat.icon):
/usr/lib/linuxmint/mintInstall/mintinstall.py:1137: GtkWarning: Theme directory scalable/animations/small/22x22 of theme Mint-KDE has no size field

if theme.has_icon(cat.icon):
show_category took 24.634 ms
Segmentation fault

Re: mintinstall segfault after opening

Posted: Sat Jan 28, 2012 6:55 pm
by kaleid
xenopeek wrote:mintinstall 7.3.5 was released on January 2nd. Has it not been working since then?

You may try forcing an update from the command line:

Code: Select all

sudo apt-get update && sudo apt-get upgrade
This is the version I have, having installed Mint KDE after the 2nd of Jan anyway. It never worked for me if that is what you ask. Do you think I could downgrade it somehow? Thanks for a quick reply

Re: mintinstall segfault after opening

Posted: Sat Jan 28, 2012 7:19 pm
by xenopeek
Okay, confirmed that the DVD came with 7.3.4. I've upgraded there to 7.3.5, and that works without problem. I'm thinking this is caused by something else...

But, if you want, you can downgrade following these steps:

1. Download the file mintinstall_7.3.4_all.deb from here: http://anorien.warwick.ac.uk/mirrors/li ... ntinstall/
Note that this file is not in the official repositories (http://packages.linuxmint.com/pool/main/m/mintinstall/) from some reason. But going back to 7.3.3 will not improve the situation either. So download it from this mirror, before it synchronises.

2. Open a terminal, go to your Desktop folder (the file should be there), and run:

Code: Select all

dpkg -i mintinstall_7.3.4_all.deb
Ignore the "Unknown media type" warnings you get. That is a KDE bug.

See if you can now open Software Manager? If it doesn't work, Update Manager will update you too 7.3.5 again. So also take note that when you do updates with Update Manager, uncheck the mintinstall package each time (until a version newer than 7.3.5 arrives).

Re: mintinstall segfault after opening

Posted: Sat Jan 28, 2012 7:48 pm
by kaleid
xenopeek wrote:Okay, confirmed that the DVD came with 7.3.4. I've upgraded there to 7.3.5, and that works without problem. I'm thinking this is caused by something else...

But, if you want, you can downgrade following these steps:

1. Download the file mintinstall_7.3.4_all.deb from here: http://anorien.warwick.ac.uk/mirrors/li ... ntinstall/
Note that this file is not in the official repositories (http://packages.linuxmint.com/pool/main/m/mintinstall/) from some reason. But going back to 7.3.3 will not improve the situation either. So download it from this mirror, before it synchronises.

2. Open a terminal, go to your Desktop folder (the file should be there), and run:

Code: Select all

dpkg -i mintinstall_7.3.4_all.deb
Ignore the "Unknown media type" warnings you get. That is a KDE bug.

See if you can now open Software Manager? If it doesn't work, Update Manager will update you too 7.3.5 again. So also take note that when you do updates with Update Manager, uncheck the mintinstall package each time (until a version newer than 7.3.5 arrives).
Thank you very much for your time. Unfortunately it didnt work, this is what I got:

Code: Select all

adam@Mint ~ $ mintinstall
/usr/lib/linuxmint/mintInstall/mintinstall.py:252: SyntaxWarning: import * only allowed at module level
  def get_status_description(self, transaction):
/usr/lib/linuxmint/mintInstall/mintinstall.py:260: SyntaxWarning: import * only allowed at module level
  def get_role_description(self, transaction):
add_categories took 3.502 ms
build_matched_packages took 0.589 ms
2687
add_packages took 5518.273 ms
add_reviews took 494.677 ms

(mintinstall.py:2680): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
__init__ took 6164.621 ms
/usr/lib/linuxmint/mintInstall/mintinstall.py:1135: GtkWarning: Theme directory scalable/animations/small/16x16 of theme Mint-KDE has no size field

  if theme.has_icon(cat.icon):
/usr/lib/linuxmint/mintInstall/mintinstall.py:1135: GtkWarning: Theme directory scalable/animations/small/22x22 of theme Mint-KDE has no size field

  if theme.has_icon(cat.icon):
show_category took 26.836 ms
Segmentation fault
Downgrading didn't help, I don't know where to go. The most annoying thing is that I DON'T WANT TO GO BACK TO WINDOWS but it seems that although Linux distros are solid, they are far from perfect. I tried several in the last year, staying clear of windows. I tried Ubuntu, Kubuntu, Opensuse and Fedora on both, Gnome and KDE, switching between distros like crazy. Maybe its too many many of them, maybe it's me. I love KDE but there is always something wrong. Either wifi not working, videos/movies cut in half - not rendered correctly, skype without video or sound (very annoying). I have been exclusevly with Linux for a year and it's not an easy path. The only problem is that I want to stay with Linux because it's customisable, just the way I want it, unlike Windows.

Re: mintinstall segfault after opening on theme

Posted: Sun Jan 29, 2012 6:34 am
by xenopeek
Posts split from topic http://forums.linuxmint.com/viewtopic.p ... 07#p531307 by moderator

The two SyntaxWarnings at the beginning you can ignore, the problem is with the theme. Looking at mintinstall.py, line 1135, the problem is with the GTK icon theme. Have you switches themes, or installed/removed any?

And is this a clean install of Linux Mint 12 KDE RC, or did you add kde-full to the GNOME based Linux Mint 12?

Re: mintinstall segfault after opening on theme

Posted: Sun Jan 29, 2012 6:55 am
by SimonTS
Regardless of anything else, shouldn't MintInstall be run with gksudo/kdesudo? The OP posted
adam@Mint ~ $ sudo mintinstall
May not fix the fault he is having now, but may stop him having problems with permissions in the future.

Re: mintinstall segfault after opening on theme

Posted: Sun Jan 29, 2012 5:29 pm
by kaleid
xenopeek wrote:Posts split from topic http://forums.linuxmint.com/viewtopic.p ... 07#p531307 by moderator

The two SyntaxWarnings at the beginning you can ignore, the problem is with the theme. Looking at mintinstall.py, line 1135, the problem is with the GTK icon theme. Have you switches themes, or installed/removed any?

And is this a clean install of Linux Mint 12 KDE RC, or did you add kde-full to the GNOME based Linux Mint 12?
Hi Vincent, thank you for your input. Yes, I have new themes installed and am using one of them right now but I know that I had problem with mintinstall right from the start, before i installed anything. Unfortunately can't provide any output from the terminal but I remember that it was also segmentation error.
And yes, this is clean Mint 12 KDE RC, not gnome.

Re: mintinstall segfault after opening on theme

Posted: Sun Jan 29, 2012 5:37 pm
by kaleid
SimonTS wrote:Regardless of anything else, shouldn't MintInstall be run with gksudo/kdesudo? The OP posted
adam@Mint ~ $ sudo mintinstall
May not fix the fault he is having now, but may stop him having problems with permissions in the future.
Hi Simon, thanks for that. I am still learning as you see. I tried to open it without sudo as well but it didn't work. Never used those commands you mentioned, I was always under impression that sudo is the one to obtain administrator's permissions and nothing else is needed.
Tried them both just now, getting nowhere. Maybe i will just have to wait for a new version and hope it will get fixed. Have been looking for my perfect KDE distro and don't want to give up on Mint, I really like it.