You are not logged in.

#1 2015-02-10 14:31:33

Chris Cromer
Member
From: Chile
Registered: 2014-08-30
Posts: 30

[SOLVED]hplip with qt4

My hp software stopped working after I updated hplip today. I am getting this error:

error: Unable to load Qt4 support. Is it installed? cannot import name '_gobject'

I have all the python2 dependencies installed, but I still get this problem and can't open the hp software. Any ideas?

Last edited by Chris Cromer (2015-02-11 13:41:22)


Chris Cromer

Offline

#2 2015-02-10 15:49:55

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,099

Re: [SOLVED]hplip with qt4

Chris Cromer wrote:

I have all the python2 dependencies installed, but I still get this problem and can't open the hp software. Any ideas?

hplip uses python 3 now.

Offline

#3 2015-02-10 15:52:44

Chris Cromer
Member
From: Chile
Registered: 2014-08-30
Posts: 30

Re: [SOLVED]hplip with qt4

Hmm, however there is no python3 options in the repositories.


Chris Cromer

Offline

#4 2015-02-10 16:12:03

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,099

Re: [SOLVED]hplip with qt4

Chris Cromer wrote:

Hmm, however there is no python3 options in the repositories.

What do you mean? All hplip optional dependencies have been changed to python3

Offline

#5 2015-02-10 16:13:27

Chris Cromer
Member
From: Chile
Registered: 2014-08-30
Posts: 30

Re: [SOLVED]hplip with qt4

Which I am still getting this error even though the default python is installed.


Chris Cromer

Offline

#6 2015-02-11 08:44:48

mcpalls
Member
From: Roma - Italy
Registered: 2012-02-22
Posts: 23

Re: [SOLVED]hplip with qt4

have you installed python-pyqt4?

Offline

#7 2015-02-11 10:31:34

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED]hplip with qt4

"python-" indicates v3 "python2-" indicates v2 ... if only there had been a front page news announcement about this when it happened months ago wink

Offline

#8 2015-02-11 13:18:54

Chris Cromer
Member
From: Chile
Registered: 2014-08-30
Posts: 30

Re: [SOLVED]hplip with qt4

Yes, I do have python-pyqt4 installed. After I did the upgrade I installed all the new optional dependencies that were listed. So even with all the python3 dependencies installed it still won't run.


Chris Cromer

Offline

#9 2015-02-11 13:20:00

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,099

Re: [SOLVED]hplip with qt4

python-gobject seems to be needed now instead of python-gobject2 https://bugs.archlinux.org/task/43781

Offline

#10 2015-02-11 13:22:10

Chris Cromer
Member
From: Chile
Registered: 2014-08-30
Posts: 30

Re: [SOLVED]hplip with qt4

arojas wrote:

python-gobject seems to be needed now instead of python-gobject2 https://bugs.archlinux.org/task/43781

Thank you, that was the problem. The dependencies and the wiki don't mention it, so I never installed that. Now it runs.

Looks like the wiki needs to be updated too.

Last edited by Chris Cromer (2015-02-11 13:24:42)


Chris Cromer

Offline

Board footer

Powered by FluxBB