Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#68135 - [obs-studio] Cannot run python scripts due to packaging error
Attached to Project:
Community Packages
Opened by Tom B (TomB) - Wednesday, 07 October 2020, 12:35 GMT
Last edited by freswa (frederik) - Wednesday, 07 October 2020, 13:09 GMT
Opened by Tom B (TomB) - Wednesday, 07 October 2020, 12:35 GMT
Last edited by freswa (frederik) - Wednesday, 07 October 2020, 13:09 GMT
|
DetailsDescription: This is a repost of #68132 That was closed due to "Partial upgrade". After requesting re-opening, it was denied due to "Reason for denial: Then you are on an outdated mirror.". In addition to rebooting, which shouldn't be necessary after upgrading OBS or Python packages but thought I'd try it anyway in case something was still running in the background, I have: 1. Updated pacman-mirrorlist 2. sudo cp /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist 3. Selected a mirror by commenting out the old one and uncommenting a different one 4. sudo pacman -Syy && sudo pacman -Syu (I assume -Syyu would also work here... but I wanted to ensure the database was updated) 5. sudo pacman -S pacman-mirrorlist 6. (no updates) 7. Repeated steps 4- 6 for the 3 worldwide mirrors, top 4 United Kingdom mirrors and 4 US mirrors. There are no system updates available. On some mirrors I see notices such as "warning: lib32-libsoup: local (2.72.0-1) is newer than multilib (2.70.0-1)" so I know the mirrors are actually changing. I am seeing the following at the top of my current mirrorlist. ## ## Arch Linux repository mirrorlist ## Generated on 2020-09-20 ## I have also tried the same thing on a second PC (And updated the mirrorlist, and switched to different mirrors there) Mirrors tested: ## Worldwide Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch ## United Kingdom Server = http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch Server = https://mirror.bytemark.co.uk/archlinux/$repo/os/$arch ## United States Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch Server = http://ca.us.mirror.archlinux-br.org/$repo/os/$arch (I only had one of each uncommented at a time!) Unless all of these mirrors are out of date, it is not a partial upgrade issue. When trying to run a Python script from within obs-studio. I originally thought this was an OBS issue so reported it there ( https://github.com/obsproject/obs-studio/issues/3565 ) but they say it's a packaging issue. The error message that comes up is: [url-text.py] Traceback (most recent call last): [url-text.py] File "/usr/share/obs/obs-plugins/frontend-tools/scripts/url-text.py", line 2, in <module> [url-text.py] import urllib.request [url-text.py] File "/usr/lib/python3.8/urllib/request.py", line 84, in <module> [url-text.py] import base64 [url-text.py] File "/usr/lib/python3.8/base64.py", line 10, in <module> [url-text.py] import struct [url-text.py] File "/usr/lib/python3.8/struct.py", line 13, in <module> [url-text.py] from _struct import * [url-text.py] ImportError: /usr/lib/python3.8/lib-dynload/_struct.cpython-38-x86_64-linux-gnu.so: undefined symbol: _PyFloat_Pack4 Running a script on the command line that imports urllib.request works fine, it's only when running it through OBS it fails. I also tried writing a script that uses os.execute(). On command line it works, when loading through OBS it fails with a similar error. Additional info: * package version(s) Python 3.8.5 OBS Studio 26.0.0 but the last version of 25.0.8 was also affected (These were the only versions I tested) * config and/or log files etc. * link to upstream bug report, if any https://github.com/obsproject/obs-studio/issues/3565 Steps to reproduce: 1. Open obs-studio 2. Go to tools -> scripts 3. Click the + (Add) button 4. Select the url-text.py script which comes with OBS 5. Open the script log |
This task depends upon
Closed by freswa (frederik)
Wednesday, 07 October 2020, 13:09 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#68132
Never do that again.
Wednesday, 07 October 2020, 13:09 GMT
Reason for closing: Duplicate
Additional comments about closing:
Never do that again.
Output of pacman -Qs obs-studio
sudo pacman -Qs obs-studio
local/obs-studio 26.0.0-1
Free, open source software for live streaming and recording
local/obs-v4l2sink 0.1.0-5
v4l2 output for obs-studio
And for Python
sudo pacman -Qs python
local/boost-libs 1.72.0-2
Free peer-reviewed portable C++ source libraries - runtime libraries
local/libftdi 1.4-4
A library to talk to FTDI chips, optional python bindings.
local/mlt 6.22.1-3
An open source multimedia framework
local/pybind11 2.5.0-1
A lightweight header-only library that exposes C++ types in Python and vice versa
local/pyqt4-common 4.12.3-4
Common PyQt files shared between python-pyqt4 and python2-pyqt4
local/python 3.8.6-1
Next generation of the python high-level scripting language
local/python-acme 1.9.0-1
ACME protocol implementation in Python
local/python-aiohttp 3.6.2-2
HTTP client/server for asyncio
local/python-anytree 2.8.0-1
Powerful and Lightweight Python Tree Data Structure
local/python-appdirs 1.4.4-1
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
local/python-asn1crypto 1.4.0-1
Python ASN.1 library with a focus on performance and a pythonic API
local/python-async-timeout 3.0.1-3
Asyncio-compatible timeout class
local/python-attrs 20.2.0-1
Attributes without boilerplate.
local/python-automat 20.2.0-2
Self-service finite-state machines for the programmer on the go.
local/python-babel 2.8.0-4
A collection of tools for internationalizing Python applications
local/python-bcrypt 3.2.0-1
Modern password hashing for your software and your servers
local/python-beaker 1.11.0-4
Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications
local/python-beautifulsoup4 4.9.3-1
A Python HTML/XML parser designed for quick turnaround projects like screen-scraping
local/python-cachecontrol 0.12.6-1
httplib2 caching for requests
local/python-cached-property 1.5.2-1
A decorator for caching properties in classes
local/python-cairo 1.19.1-1
Python bindings for the cairo graphics library
local/python-certifi 2020.6.20-1
Python package for providing Mozilla's CA Bundle
local/python-cffi 1.14.3-1
Foreign Function Interface for Python calling C code
local/python-chardet 3.0.4-5
Python3 module for character encoding auto-detection
local/python-click 7.1.2-1
A simple wrapper around optparse for powerful command line utilities
local/python-colorama 0.4.3-1
Python API for cross-platform colored terminal text.
local/python-commonmark 0.9.1-1
Python parser for the CommonMark Markdown spec
local/python-configargparse 1.2.3-1
A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables
local/python-configobj 5.0.6-7
Simple but powerful config file reader and writer for Python
local/python-constantly 15.1.0-6
Symbolic constants in Python
local/python-contextlib2 0.6.0.post1-1
Backport of the standard library's contextlib module to earlier Python versions
local/python-cryptography 3.1.1-1
A package designed to expose cryptographic recipes and primitives to Python developers
local/python-cssselect 1.1.0-4
A Python3 library that parses CSS3 Selectors and translates them to XPath 1.0
local/python-dbus 1.2.16-1
Python bindings for DBUS
local/python-dbus-common 1.2.16-1
Common dbus-python files shared between python-dbus and python2-dbus
local/python-distlib 0.3.1-1
Low-level components of distutils2/packaging
local/python-distro 1.5.0-1
Linux OS platform information API
local/python-docker 4.3.1-1
A Python library for the Docker Engine API
local/python-docker-pycreds 0.4.0-5
Python bindings for the docker credentials store API
local/python-dockerpty 0.4.1-6
Python library to use the pseudo-tty of a docker container
local/python-docopt 0.6.2-7
Pythonic argument parser, that will make you smile
local/python-docutils 0.16-1
Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX
local/python-dotenv 0.14.0-1
Get and set values in your .env file in local and production servers
local/python-evdev 1.3.0-1
Python bindings for the Linux input subsystem
local/python-future 0.18.2-3
Clean single-source support for Python 3 and 2
local/python-geoip 1.3.2-8
Python bindings for the GeoIP IP-to-country resolver library
local/python-gobject 3.38.0-1
Python Bindings for GLib/GObject/GIO/GTK+
local/python-html5lib 1.1-1
A Python HTML parser/tokenizer based on the WHATWG HTML5 spec
local/python-hyperlink 20.0.1-1
A featureful, correct URL for Python
local/python-idna 2.10-1
Internationalized Domain Names in Applications (IDNA)
local/python-imagesize 1.2.0-1
Getting image size from png/jpeg/jpeg2000/gif file
local/python-importlib-metadata 1.6.1-1
Read metadata from Python packages
local/python-incremental 17.5.0-4
A small library that versions your Python projects
local/python-jinja 2.11.2-1
A simple pythonic template language written in Python
local/python-josepy 1.4.0-1
JOSE protocol implementation in Python
local/python-jsonschema 3.2.0-2
An implementation of JSON Schema validation for Python
local/python-lockfile 0.12.2-6
Platform-independent file locking module
local/python-lxml 4.5.2-1
Python3 binding for the libxml2 and libxslt libraries
local/python-mako 1.1.3-1
A super-fast templating language that borrows the best ideas from the existing templating languages
local/python-markdown 3.2.2-1
Python implementation of John Gruber's Markdown.
local/python-markupsafe 1.1.1-4
Implements a XML/HTML/XHTML Markup safe string for Python
local/python-mock 3.0.5-3
Mocking and Patching Library for Testing
local/python-more-itertools 8.5.0-1
More routines for operating on iterables, beyond itertools
local/python-msgpack 1.0.0-1
MessagePack serializer implementation for Python
local/python-multidict 4.7.6-1
Asyncio-based multidict implementation for Python
local/python-mutagen 1.45.1-1
An audio metadata tag reader and writer (python library)
local/python-numpy 1.19.2-1
Scientific tools for Python
local/python-opengl 3.1.5-2
The cross platform Python binding to OpenGL and related APIs
local/python-ordered-set 4.0.2-1
A MutableSet that remembers its order, so that every entry has an index
local/python-packaging 20.4-1
Core utilities for Python packages
local/python-paramiko 2.7.2-1
Python module that implements the SSH2 protocol
local/python-parsedatetime 2.6-1
Parse human-readable date/time strings.
local/python-pbr 5.5.0-1
Python Build Reasonableness
local/python-pep517 0.8.2-1
Wrappers to build Python packages using PEP 517 hooks
local/python-pilkit 2.0-5
A collection of utilities for working with PIL (the Python Imaging Library)
local/python-pillow 7.2.0-1
Python Imaging Library (PIL) fork.
local/python-pip 20.1.1-1
The PyPA recommended tool for installing Python packages
local/python-ply 3.11-5
Implementation of lex and yacc parsing tools
local/python-progress 1.5-3
Easy to use progress bars for Python
local/python-pyasn1 0.4.8-2
ASN.1 library for Python 3
local/python-pyasn1-modules 0.2.8-1
A collection of ASN.1-based protocols modules
local/python-pycparser 2.20-1
C parser and AST generator written in Python
local/python-pycurl 7.43.0.6-1
A Python 3.x interface to libcurl
local/python-pygments 2.7.1-1
Python syntax highlighter
local/python-pyhamcrest 1.9.0-5
Hamcrest framework for matcher objects
local/python-pynacl 1.4.0-1
Python binding to the Networking and Cryptography (NaCl) library
local/python-pyopenssl 19.1.0-2
Python3 wrapper module around the OpenSSL library
local/python-pyparsing 2.4.7-1
General parsing module for Python
local/python-pyqt4 4.12.3-4
A set of Python 3.x bindings for the Qt toolkit
local/python-pyqt5 5.15.1-2 (pyqt5)
A set of Python bindings for the Qt5 toolkit
local/python-pyqt5-sip 12.8.1-1
The sip module support for PyQt5
local/python-pyqtwebengine 5.15.1-2 (pyqt5)
Python bindings for QtWebEngine
local/python-pyrfc3339 1.1-5
Parses and generates RFC 3339-compliant timestamps using Python datetime.datetime objects.
local/python-pyrsistent 0.17.3-1
Persistent/Functional/Immutable data structures
local/python-pytoml 0.1.21-4
A TOML-0.4.0 parser/writer for Python.
local/python-pytz 2020.1-2
Cross platform time zone library for Python
local/python-pyxdg 0.26-6
Python library to access freedesktop.org standards
local/python-recommonmark 0.6.0.194.48f9d1a-2
Markdown parser for docutils
local/python-rencode 1.0.6-3
A Module similar to bencode from the BitTorrent project
local/python-requests 2.24.0-1
Python HTTP for Humans
local/python-requests-toolbelt 0.9.1-3
A toolbelt of useful classes and functions to be used with python-requests.
local/python-resolvelib 0.4.0-1
Resolve abstract dependencies into concrete ones
local/python-retrying 1.3.3-7
A general purpose Python retyring library
local/python-service-identity 18.1.0-4
Service identity verification for pyOpenSSL
local/python-setproctitle 1.1.10-5
Allows a python process to change its process title
local/python-setuptools 1:50.3.0-1
Easily download, build, install, upgrade, and uninstall Python packages
local/python-sip-pyqt4 4.19.19-1
Python 3.x SIP bindings for C and C++ libraries (PyQt4 version)
local/python-six 1.15.0-1
Python 2 and 3 compatibility utilities
local/python-snowballstemmer 2.0.0-3
Snowball stemming library collection for Python
local/python-soupsieve 2.0.1-1
A CSS4 selector implementation for Beautiful Soup
local/python-sphinx 3.2.1-1
Python documentation generator
local/python-sphinx-alabaster-theme 0.7.12-3
Sphinx default theme
local/python-sphinx_rtd_theme 0.5.0-1
Read the Docs theme for Sphinx
local/python-sphinxcontrib-applehelp 1.0.2-1
Sphinx extension which outputs Apple help books
local/python-sphinxcontrib-devhelp 1.0.2-1
Sphinx extension which outputs Devhelp document
local/python-sphinxcontrib-htmlhelp 1.0.3-1
Sphinx extension which renders HTML help files
local/python-sphinxcontrib-jsmath 1.0.1-4
Sphinx extension which renders display math in HTML via JavaScript
local/python-sphinxcontrib-qthelp 1.0.3-1
Sphinx extension which outputs QtHelp document
local/python-sphinxcontrib-serializinghtml 1.1.4-1
Sphinx extension which outputs "serialized" HTML files (json and pickle)
local/python-sphinxcontrib-websupport 1.1.2-3
Sphinx API for Web Apps
local/python-sqlalchemy 1.3.19-1
Python SQL toolkit and Object Relational Mapper
local/python-texttable 1.6.3-1
Generate a formatted text table using ASCII characters
local/python-toml 0.10.1-2
A Python library for parsing and creating TOML
local/python-twisted 20.3.0-1
Asynchronous networking framework written in Python
local/python-typing_extensions 3.7.4.3-1
Backported and Experimental Type Hints for Python 3.5+
local/python-unidecode 1.1.1-4
ASCII transliterations of Unicode text
local/python-urllib3 1.25.10-1
HTTP library with thread-safe connection pooling and file post support
local/python-vdf 3.3-1
Library for working with Valve's VDF text format
local/python-webencodings 0.5.1-4
This is a Python implementation of the WHATWG Encoding standard.
local/python-websocket-client 0.57.0-1
WebSocket client library for Python
local/python-whoosh 2.7.4-5
Fast, pure-Python full text indexing, search, and spell checking library
local/python-yaml 5.3.1-2
Python bindings for YAML, using fast libYAML library
local/python-yarl 1.5.1-1
Yet another URL library
local/python-zipp 3.3.0-1
Pathlib-compatible object wrapper for zip files
local/python-zope-component 4.6.2-1
Represents the core of the Zope Component Architecture
local/python-zope-deferredimport 4.3.1-4
Allows you to perform imports names that will only be resolved when used in the code
local/python-zope-deprecation 4.4.0-3
Zope Deprecation Infrastructure
local/python-zope-event 4.5.0-1
Provides a simple event system
local/python-zope-hookable 5.0.1-1
Represents the core of the Zope hookable Architecture
local/python-zope-interface 5.1.0-1
Zope Interfaces for Python 3.x
local/python-zope-proxy 4.3.5-1
Generic Transparent Proxies
local/sip 4.19.24-2
A tool that makes it easy to create Python bindings for C and C++ libraries
local/zbar 0.23.1-2
Application and library for reading bar codes from various sources