LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2017, 04:23 AM   #1
suprateam
LQ Newbie
 
Registered: Mar 2014
Location: France, Lille
Distribution: slackware-current
Posts: 17

Rep: Reputation: Disabled
slackware-14.2 -> last slackware-current upgrade python VTE issue


Hi there,

I use slackware-current (64bits - no multilib ) and update it every once in the while.
since the latest update, terminator terminal refuses to start due to this error: "you need to install python bindings for libvte"

Okay.. I first supposed that current is supposed to be the bleeding edge and my terminator version was a bit off ( 0.97 while 1.91 is out there)

After terminator update => still the same error.

So got curious about vte/libvte but not much help on the net.. except that python should be able to import vte module.

On a fresh 14.2 install with latest 14.2 updates vte is able to load fine
Code:
root@ws1:~# 
root@ws1:~# echo "import vte" | python
root@ws1:~# 
root@ws1:~# python -V
Python 2.7.13
root@ws1:~#
If I switch to slackware-current on that same fresh 14.2 install, which seems to updates python to the same version but for current it doen't work anymore:
Code:
[  upgrade  ] - python-2.7.13-x86_64-2_slack14.2 --> python-2.7.13-x86_64-1
Code:
root@ws1:~# echo "import vte" | python
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named vte
root@ws1:~# 
root@ws1:~# 
root@ws1:~# python -V
Python 2.7.13
root@ws1:~#
any clue how I can fix the vte module not present after the upg ?

Thanks for your help!
 
Old 05-26-2017, 05:20 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
vte-0.28.2 is the latest and ultimate release for gtk2

vte-0.44.3 need gtk+3 and it is already one old release, i have a personal package of the latest release (0.48.2) this version work here.
 
Old 05-26-2017, 06:56 AM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
ok i have tested your terminator version 0.97 need vte-0.28.2 because it contain a part of pygtk2 binding.

the vte-0.44.3 slackware-current doesn't contain this part.

terminator-1.91 need vte3 version and python2-gobject (pygobject3) binding and gtk+3.

Last edited by gmgf; 05-26-2017 at 07:05 AM.
 
Old 05-26-2017, 07:06 AM   #4
suprateam
LQ Newbie
 
Registered: Mar 2014
Location: France, Lille
Distribution: slackware-current
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for help !

Quote:
Originally Posted by gmgf View Post
ok i have tested your terminator version 0.97 need vte-0.28.2 because it contain a part of pygtk2 binding.

the vte-0.44.3 slackware-current doesn't contain this part.

terminator-1.91 need vte3 version and python2-gobject binding.
I had for sure gobject installed ( and was able to import it against python2.7 )

I've tried to install vte3 from slackbuilds on current with terminator1.0 and 1.91 , no success. (tested with vte3-ng instead of vte3 also - same error)

duno how I can give more "logs" or "trace" of the issue I'm facing

edit: seen your edit: checking if python2-gobject (pygobject3) and gtk+3 are installed...

Last edited by suprateam; 05-26-2017 at 07:10 AM. Reason: adding infos
 
Old 05-26-2017, 07:14 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,830

Rep: Reputation: Disabled
you most probably need a vte2 SlackBuild: the resulting package is parallel-installable with slackware-current's vte.
 
Old 05-26-2017, 07:19 AM   #6
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
ok i try to make a package of 1.91 version
 
Old 05-26-2017, 07:58 AM   #7
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
i have make 1.91 version package and it work here with vte-0.44.3 slackware current package.

minimun needed, python-keybinder, pygobject3, pycairo,dbus-python.
 
Old 05-26-2017, 10:07 AM   #8
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Sorry, it need psutils, also.

Last edited by gmgf; 05-26-2017 at 10:10 AM.
 
Old 05-26-2017, 01:18 PM   #9
suprateam
LQ Newbie
 
Registered: Mar 2014
Location: France, Lille
Distribution: slackware-current
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
i have make 1.91 version package and it work here with vte-0.44.3 slackware current package.

minimun needed, python-keybinder, pygobject3, pycairo,dbus-python.
I've started from a fresh reinstall, and well the terminator 1.91 installation with its dependencies went okay.
- terminator 1.91 ( based on the slackbuild with just the version bump)
- python-keybinder / psutil from sbo
- pygobject3, pycairo,dbus-python are included in base Slackware

Terminator is able to start okay which is fine for me at the moment.

I cannot tell where was the pbm in first place as that bassically what I did..
Maybe my packages installation at the very first place messed up smth and the vte issue wasn't the root cause.

I will tag the title as solved even though there was no pbm after all ( sorry for the noise )


About the fact that python cannot import VTE, I think you have it right of course
Code:
 	ok i have tested your terminator version 0.97 need vte-0.28.2 because it contain a part of pygtk2 binding.

the vte-0.44.3 slackware-current doesn't contain this part.
from install/desinstall logs it vte-0.44.3 does not contain python vte package as you said
Code:
root@ws1:~/Downloads# cat /var/log/removed_packages/vte-0.28.2-x86_64-4-upgraded-2017-05-26,16:14:08  | grep pyth
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/gtk-2.0/
usr/lib64/python2.7/site-packages/gtk-2.0/vtemodule.la
usr/lib64/python2.7/site-packages/gtk-2.0/vtemodule.so
root@ws1:~/Downloads# 

root@ws1:~#  cat /var/log/packages/vte-0.44.3-x86_64-1 | grep pyth
root@ws1:~#
 
Old 05-26-2017, 01:46 PM   #10
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,703

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
good news.

you have also ponce SlackBuild and slackonly for precompiled current package:

http://cgit.ponce.cc/slackbuilds/

https://www.slackonly.com/pub/packages/
 
Old 05-27-2017, 08:21 AM   #11
suprateam
LQ Newbie
 
Registered: Mar 2014
Location: France, Lille
Distribution: slackware-current
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
good news.

you have also ponce SlackBuild and slackonly for precompiled current package:

http://cgit.ponce.cc/slackbuilds/

https://www.slackonly.com/pub/packages/

Thanks for the links, I'll keep them somewhere close for future needs !
The pbm wasn't at buildtime but at runtime, but at least precompiled package can save some headache ^_^

cheers !

Last edited by suprateam; 05-27-2017 at 08:22 AM. Reason: tag the thread as solved fixed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using and managing Python under Slackware (-current 64) bennyt Slackware 16 10-13-2015 08:46 PM
[SOLVED] slackware current issue on kernel upgrade....`GLIBC_2.22' nitecrawler Slackware 16 09-11-2015 01:58 AM
[SOLVED] Slackware-current python upgrade breaks kde4 printer module tux_dude Slackware 3 12-02-2010 10:38 PM
Slackware-current (aug) upgrade to slackware 13? jensklas Slackware 20 09-02-2009 11:52 AM
slackware current and python specialized Slackware 1 06-10-2009 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration