sbopkg gui
Posted: 23 Mar 2023, 22:50
francois is nothing i love the whole kernel source,when i compile one kernel...
I am not familiar working with python-pip. Here is the error code:beny wrote: ↑19 Mar 2023, 18:54hi francois:I did this to test which software was needed to run sbopkg_gui, so I removed all the modules from the modules directory and put the one you see back in one by one and the list maybe some things are not needed but sbopkg_gui starts without problems now the problem is only for this python package
PyQt5_sip-12.11.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl i had to install it with python-pip i find it in /home/guest/.local/lib/python3.9/site-packages but you have to make a package
you must have a SLACKBUILD.TXT to put in the directory /var/lib/SBo it serves as index for sbopkg_gui the unsquash-v6.2.7 package is the kernel and therefore it doesn't serve the problem and you must have the directory xcb-utils it serves for the problem that does not find the graphics engine ok try and see how it goes, ok when you run the sbopkg the slackbuild.txt is into the directoryCode: Select all
PyQt4_gpl_x11-4.12.3.xzm PyQt5-5.15.2-x86_64-5.xzm chromium-106.0.5249.91-x86_64-1alien.xzm ok python-pip-21.3.1-x86_64-2.xzm python3-3.9.10-x86_64-1.xzm qt5-5.15.3_20211130_014c375b-x86_64-2.xzm qt5-webkit-5.212.0_alpha4-x86_64-7.xzm sbopkg-0.38.2-noarch-1_wsr.xzm sbopkg_gui-20210512-noarch-1scr.xzm slapt-get-0.11.8.x86_64.xzm slapt-src-0.3.7.xzm unsquahed-v6.2.7.xzm xcb&co/
Code: Select all
root@porteus:/home/guest/Downloads/detruire/porteus# python3 -m pip install PyQt5_sip-12.12.1-cp311-cp311-win_amd64.whl
ERROR: PyQt5_sip-12.12.1-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.
root@porteus:/home/guest/Downloads/detruire/porteus#
Code: Select all
def __init__(self, settings):
self.slackbuilds_dir = '/var/lib/sbopkg/SBo-git'
self.sbo_tag = '_SBo'
self.packages_dir = '/var/lib/pkgtools/packages'
self.terminal_app = 'xterm -e'
and this:
def load_settings(self):
self.settings.beginGroup('Configuration')
if self.settings.contains('slackbuilds_dir'):
self.slackbuilds_dir = self.get_str('slackbuilds_dir')
else:
self.slackbuilds_dir = '/var/lib/sbopkg/SBo-git'
branches = list()
if os.path.isdir(self.slackbuilds_dir):
for name in os.listdir(self.slackbuilds_dir):
if os.path.isdir(self.slackbuilds_dir+'/'+name):
if os.path.isfile(
self.slackbuilds_dir+'/'+name+'/SLACKBUILDS.TXT'):
branches.append(name)
Code: Select all
PyQt5-5.15.2-x86_64-5.xzm (using getmod)
sip-4.19.25-x86_64-5.xzm (using getmod)
sbopkg-0.38.2-noarch-1_wsr.xzm (using tgz2xzm)
sbopkg_gui-20210512-noarch-1scr.xzm (using tgz2xzm)
Code: Select all
root@porteus:/home/guest# sbopkg_gui
Traceback (most recent call last):
File "/usr/bin/sbopkg_gui", line 34, in <module>
from PyQt5.QtCore import Qt, QSettings, QVariant, QPoint, QSize
ModuleNotFoundError: No module named 'PyQt5'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/sbopkg_gui", line 43, in <module>
from PyQt4.QtCore import Qt, QSettings, QVariant, QPoint, QSize
ModuleNotFoundError: No module named 'PyQt4'
root@porteus:/home/guest#
Code: Select all
root@porteus:/home/guest# spman -f zoom
Package name: xzoom
Repository: sbo
Version: 0.3_26
Location: accessibility
Package dependencies: ---
Description:
xzoom (magnify part of X display, with real-time updates)
Package name: zoom
Repository: sbo
Version: 1.1.5
Location: games
Package dependencies: ---
Description:
zoom (play interactive fiction games)
Package name: zoom-linux
Repository: sbo
Version: 5.14.7.2928
Location: network
Package dependencies: ---
Description:
zoom-linux (Video conferencing client)
root@porteus:/home/guest#
Code: Select all
root@porteus:/home/guest# getmod -s spman
spman-2.2.3-x86_64-1salix15.0 (Slackware package manager)
root@porteus:/home/guest#
Yes. Thank you beny. And I was able to build and install zoom. Again, after activating the qt5-dev-5.15.3_20220318-x86_64-xfce-cinnamon-openbox-lxde-mate-gnome.xzm for the missing Qt5 libs and running it like so:
Code: Select all
root@porteus:~# LD_LIBRARY_PATH=/opt/zoom/cef /opt/zoom/zoom
Code: Select all
/opt/zoom/zoom: symbol lookup error: /opt/zoom/zoom: undefined symbol: _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm, version Qt_5
Oh, that's so strange: it asked for PyQt5, we gave it PyQt5-5.15.2-x86_64-5.xzm! Then on my Porteus 5.0 x64 OpenBox with qt5-base-5.15.3_20220318-x86_64-xfce-cinnamon-openbox-lxde-mate-gnome.xzm etc. sbopkg_gui runs from root with those 4 xzm modules. Not sure what's different on your system.francois wrote: ↑26 May 2023, 14:342)I cannot reproduce your result with the four packages that you used.
I still get:
Code: Select all
root@porteus:/home/guest# sbopkg_gui Traceback (most recent call last): File "/usr/bin/sbopkg_gui", line 34, in <module> from PyQt5.QtCore import Qt, QSettings, QVariant, QPoint, QSize ModuleNotFoundError: No module named 'PyQt5'
maybe but it misses some dependencies to actually run:
Code: Select all
root@porteus:~# spman -f zoom
For some repositories missing files PACKAGES.TXT, SLACKBUILDS.txt or ChangeLog.txt
'spman -u' or 'spman --update' for update libraries.
root@porteus:~# spman -u
Traceback (most recent call last):
File "/usr/sbin/spman", line 46, in <module>
sys.exit(start())
File "/usr/sbin/spman", line 41, in start
Main().start()
File "/usr/lib64/python3.9/site-packages/spman/main.py", line 116, in start
self.commands[self.args[0]]()
File "/usr/lib64/python3.9/site-packages/spman/main.py", line 149, in update
from .update import Update
File "/usr/lib64/python3.9/site-packages/spman/update.py", line 23, in <module>
from .download import Download
File "/usr/lib64/python3.9/site-packages/spman/download.py", line 25, in <module>
import requests
ModuleNotFoundError: No module named 'requests'