Pitivi on Porteus XFCE

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
benjibasson
Samurai
Samurai
Posts: 139
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

Pitivi on Porteus XFCE

Post#1 by benjibasson » 11 Jan 2023, 20:23

Hi, I am looking for a pitivi module on porteus V5 X86_64 XFCE because the module with every dependences builts from getmod -M don't work or is obsolete

Code: Select all

1/16 Get http://slackware.uk/salix/x86_64/slackware-15.0/ gstreamer 1.18.5-x86_64-1 [1.7MB]...Done
2/16 Get http://slackware.uk/salix/x86_64/slackware-15.0/ libyaml 0.2.5-x86_64-3 [60.0kB]...Done
3/16 Get http://slackware.uk/salix/x86_64/15.0/ appstream-glib 0.7.18-x86_64-1gv [402.0kB]...Done
4/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ gsound 1.0.3-x86_64-2salix15.0 [31.0kB]...Done
5/16 Get http://slackware.uk/salix/x86_64/15.0/ gst-editing-services 1.18.6-x86_64-1gv [663.0kB]...Done
6/16 Get http://slackware.uk/salix/x86_64/15.0/ gst-python 1.18.6-x86_64-1gv [113.0kB]...Done
7/16 Get http://slackware.uk/salix/x86_64/15.0/ libpeas 1.30.0-x86_64-1gv [181.0kB]...Done
8/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ numpy3 1.21.2-x86_64-1salix15.0 [5.4MB]...Done
9/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ python3-dateutil 2.8.2-x86_64-1salix15.0 [280.0kB]...Done
10/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ pytz 2021.3-x86_64-1salix15.0 [156.0kB]...Done
11/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ python3-cycler 0.10.0-x86_64-1salix15.0 [10.0kB]...Done
12/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ cppy 1.2.0-x86_64-1salix15.0 [7.0kB]...Done
13/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ python3-kiwisolver 1.4.2-x86_64-1salix15.0 [65.0kB]...Done
14/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ python3-tornado 6.1.0-x86_64-1salix15.0 [557.0kB]...Done
15/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ python3-matplotlib 3.4.3-x86_64-1salix15.0 [5.4MB]...Done
16/16 Get http://slackware.uk/salix/x86_64/extra-15.0/ pitivi 2021.05-x86_64-1salix15.0 [2.8MB]...Done

Code: Select all

guest@porteus:~$ pitivi 
Could not import 'GstTranscoder'. Make sure you have it available.
and exits immediately unless package
girl gst-plugins-bad is isntalled because doesn't exist from getmod's list.



Cheers

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Pitivi on Porteus XFCE

Post#2 by Rava » 12 Jan 2023, 02:07

benjibasson wrote:
11 Jan 2023, 20:23
girl gst-plugins-bad is isntalled because doesn't exist from getmod's list.
Does it exist by another Linux via pkgs.org ?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Pitivi on Porteus XFCE

Post#3 by ncmprhnsbl » 12 Jan 2023, 02:28

benjibasson wrote:
11 Jan 2023, 20:23
gst-plugins-bad is isntalled because doesn't exist from getmod's list.
try this one:
https://slackware.uk/salix/x86_64/extra ... ix15.0.txz
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

benjibasson
Samurai
Samurai
Posts: 139
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

Pitivi on Porteus XFCE

Post#4 by benjibasson » 12 Jan 2023, 18:19

Hi, with the module gst-plugins-bad-nonfree-1.18.5-x86_64-1salix15.0.txz it doesn't work :%) same mistake message. pitivi doesn't launch.

getmode is unable to create package with full dependences: Can somebody give me the full package of pitivi with dependences?

Cheers

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Pitivi on Porteus XFCE

Post#5 by babam » 12 Jan 2023, 19:07

benjibasson wrote:
12 Jan 2023, 18:19

getmode is unable to create package with full dependences: Can somebody give me the full package of pitivi with dependences?

Cheers

Code: Select all

getmod -M pitivi gst-plugins-bad-free
Sorry, my English is bad.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Pitivi on Porteus XFCE

Post#6 by beny » 12 Jan 2023, 19:55

hi babam:
guest@porteus:~$ pitivi
ERROR - The following hard dependencies are unmet:
==================================================
- matplotlib not found on the system
Missing soft dependency:
- libav GStreamer plug-in not found on the system
-> additional multimedia codecs through the GStreamer Libav library
guest@porteus:~$

but the packages are all in also matplotlib so i think is better to use openshot or kdenlive getmod work well with these two

benjibasson
Samurai
Samurai
Posts: 139
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

Pitivi on Porteus XFCE

Post#7 by benjibasson » 12 Jan 2023, 20:52

Hi, I'm using XFCE, not KDE.

thus I have problems with openshot: missing module QT5 althought getmod has really downloaded qt5

Code: Select all

guest@porteus:~$ openshot-qt 
Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 33, in <module>
    sys.exit(load_entry_point('openshot-qt==2.6.1', 'gui_scripts', 'openshot-qt')())
  File "/usr/bin/openshot-qt", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib64/python3.9/site-packages/openshot_qt/launch.py", line 47, in <module>
    from PyQt5.QtCore import Qt
ModuleNotFoundError: No module named 'PyQt5'

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Pitivi on Porteus XFCE

Post#8 by beny » 12 Jan 2023, 21:21

hi use this link to search packages for porteus check 15 and x86_64:
https://slackware.nl/slakfinder/
well but isn't a light task to search all the deps

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Pitivi on Porteus XFCE

Post#9 by beny » 12 Jan 2023, 23:42

so we have some trouble for two packages
/mnt/sdh1/porteus/modules/PyQt5-5.15.2-x86_64-5.xzm
/mnt/sdh1/porteus/modules/python-certifi-2021.10.8-x86_64-2.xzm
/mnt/sdh1/porteus/modules/python-chardet-4.0.0-x86_64-5.xzm
/mnt/sdh1/porteus/modules/python-idna-3.3-x86_64-2.xzm
/mnt/sdh1/porteus/modules/python-requests-2.26.0-x86_64-3.xzm
ok these are downloaded via getmod or slakfinder we have to install also this one /mnt/sdh1/porteus/modules/python-pip-21.3.1-x86_64-2.xzm
and via pip install this
pip install PyQtWebEngine
pip install PyQt5-sip
well openshot-qt work but the pip software need the changes activated to work without issue.

Code: Select all

 guest@porteus:~$ openshot-qt
Loaded modules from: /usr/lib64/python3.9/site-packages/openshot_qt
INFO app: ------------------------------------------------
INFO app:             Fri Jan 13 00:34:32 2023            
INFO app:               Starting new session              
INFO app: ------------------------------------------------
INFO app:             OpenShot (version 2.6.1)            
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 2.6.1
INFO app: libopenshot version: 0.2.7
INFO app: platform: Linux-6.1.0-porteus-x86_64-AMD_FX-tm-6300_Six-Core_Processor-with-glibc2.35
INFO app: processor: AMD FX(tm)-6300 Six-Core Processor
INFO app: machine: x86_64
INFO app: python version: 3.9.12
INFO app: qt5 version: 5.15.2
INFO app: pyqt5 version: 5.15.7
INFO project_data: Setting default profile to HD 720p 30 fps
INFO language: Qt Detected Languages: ['en-US']
INFO language: LANG Environment Variable: en_US.UTF-8
INFO language: LOCALE Environment Variable: 
INFO language: OpenShot Preference Language: Default
INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556
INFO app: Setting font to /usr/lib64/python3.9/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
INFO app: Setting custom dark theme
INFO ui_util: Initializing UI for MainWindow
INFO thumbnail: Starting thumbnail server listening on port 37419
INFO webengine: WebEngine backend initializing
INFO transition_model: updating transitions model.
INFO version: Found current version: {'error_rate_unstable': 0.05, 'trans_rate_stable': 0.01, 'openshot_version': '3.0.0', 'trans_rate_unstable': 0.001, 'error_rate_stable': 0.5}
INFO effects_model: updating effects model.
INFO emoji_model: updating emoji model.
INFO main_window: InitCacheSettings
INFO main_window: cache-mode: CacheMemory
INFO main_window: cache-limit-mb: 250
INFO main_window: Creating CacheMemory object with 262144000 byte limit
INFO preview_thread: QThread Start Method Invoked
INFO main_window: Clear all thumbnails: /home/guest/.openshot_qt/thumbnail
INFO main_window: Clear all animations: /home/guest/.openshot_qt/blender
INFO main_window: Clear all titles: /home/guest/.openshot_qt/title
INFO main_window: updateStatusChanged
INFO main_window: recover_backup
INFO project_data: Setting default profile to HD 720p 30 fps
INFO preview_thread: player Position(): 1
INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544
INFO video_widget: Set video widget pixel aspect ratio to: 1.0
INFO main_window: updateStatusChanged
INFO timeline: Adjusting max size of preview image: PyQt5.QtCore.QSize(384, 216)
INFO preview_thread: player Position(): 1
INFO preview_thread: player Position(): 1
INFO webengine: Registering WebChannel connection with WebEngine
                                                                                                    

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

Pitivi on Porteus XFCE

Post#10 by Rapha_ » 16 Jan 2023, 01:01

Hello,

I tried also to make a pitivi module with getmod

Same error :

Code: Select all

guest@porteus:~$ pitivi
Could not import 'GstTranscoder'. Make sure you have it available.
beny wrote:
12 Jan 2023, 21:21
hi use this link to search packages for porteus check 15 and x86_64:
https://slackware.nl/slakfinder/
well but isn't a light task to search all the deps


But with download gst-plugins-bad-free-1.18.5-x86_64-4 , convert to module xzm and activate it :

Code: Select all

guest@porteus:~$ pitivi

(gst-plugin-scanner:1641): GStreamer-WARNING **: 01:13:32.811: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory

(gst-plugin-scanner:1641): GStreamer-WARNING **: 01:13:33.001: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopencv.so': libopencv_bgsegm.so.405: cannot open shared object file: No such file or directory

(gst-plugin-scanner:1641): GStreamer-WARNING **: 01:13:33.003: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopenexr.so': libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory

(gst-plugin-scanner:1641): GStreamer-WARNING **: 01:13:33.654: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstwebrtc.so': libnice.so.10: cannot open shared object file: No such file or directory
Failed to initialize modules
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 158, in <module>
    _initialize_modules()
  File "/usr/bin/pitivi", line 129, in _initialize_modules
    initialize_modules()
  File "/usr/lib64/pitivi/python/pitivi/check.py", line 402, in initialize_modules
    from pitivi.utils import validate
  File "/usr/lib64/pitivi/python/pitivi/utils/validate.py", line 20, in <module>
    from unittest import mock
ImportError: cannot import name 'mock' from 'unittest' (unknown location)



Ok! So I added 4 dependencies more (download , convert to module xzm and activate it) :

libfluidsynth.so.3 ---> fluidsynth-2.2.5-x86_64-1.xzm
libopencv_bgsegm.so.405 ---> opencv-4.5.5-x86_64-1.xzm
libIlmImf-2_5.so.25 ---> openexr-2.5.7-x86_64-5.xzm
libnice.so.10 ---> libnice-0.1.18-x86_64-3.xzm

But always errors !

Code: Select all

guest@porteus:~$ pitivi
Failed to initialize modules
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 158, in <module>
    _initialize_modules()
  File "/usr/bin/pitivi", line 129, in _initialize_modules
    initialize_modules()
  File "/usr/lib64/pitivi/python/pitivi/check.py", line 402, in initialize_modules
    from pitivi.utils import validate
  File "/usr/lib64/pitivi/python/pitivi/utils/validate.py", line 20, in <module>
    from unittest import mock
ImportError: cannot import name 'mock' from 'unittest' (unknown location)

What can I do ? :%)


For info the test is based on Porteus 5.0 :
core, xorg, xtra (2022-06-30), xfce4 (2022-04-28)

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Pitivi on Porteus XFCE

Post#11 by beny » 16 Jan 2023, 01:37

https://slackware.nl/slakfinder/index.p ... e=#results
if you have to search packages with slakfinder courtesy of alien bob:https://slackware.nl/slakfinder/

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

Pitivi on Porteus XFCE

Post#12 by Rapha_ » 16 Jan 2023, 23:25

hi beny,

I activated mock-2.0.0-x86_64-2salix15.0.xzm, but nothink change...(same error)
mock: mock (unit test library for Python 2)
mock:
mock: mock is a library for testing in Python 2. It allows you to replace
mock: parts of your system under test with mock objects and make assertions
mock: about how they have been used.
mock:
mock: IMPORTANT: For Python3 you do not need this module. Please use the
mock: standard library instead (unittest.mock). This package contains a
mock: rolling backport of the standard library compatible with Python 2.7.
I don't understand ... :(

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Pitivi on Porteus XFCE

Post#13 by ncmprhnsbl » 17 Jan 2023, 05:04

Rapha_ wrote:
16 Jan 2023, 23:25
I don't understand ...
unittest is a part of python3.9 that we stripped out in the build porteus build process.
apparently we shouldn't :p
here's a quick fix module : python3.9-unittest-x86_64.xzm
which should hopefully contain any needed files..
will be fixed in future updates/builds
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Pitivi on Porteus XFCE

Post#14 by beny » 17 Jan 2023, 11:09

hi, ok not related, but all the stripped software when is needed to build something fail,ok porteus isn't the best base for build software, but with the slakfinder stop slpkg is very useful for this task,for me the last one is llvm,is ok you can add the whole package and solve the issue,but....

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Pitivi on Porteus XFCE

Post#15 by babam » 17 Jan 2023, 11:46

ncmprhnsbl wrote:
17 Jan 2023, 05:04
will be fixed in future updates/builds
I once installed a program on Porteus 5.0 but it failed to run because it was missing the pydoc module.

But on Porteus 5.0 rc3 it can run.
Sorry, my English is bad.

Post Reply