grsec: deluge, youtube-dl, python based network gui software failing to launch
Closed, WontfixPublic

Description

todd@librem-13:~$ deluge
Traceback (most recent call last):
  File "/usr/bin/deluge", line 11, in <module>
    load_entry_point('deluge==1.3.13', 'gui_scripts', 'deluge')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 137, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/ui.py", line 152, in __init__
    from deluge.ui.gtkui.gtkui import GtkUI
  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/__init__.py", line 1, in <module>
    from gtkui import start
  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 41, in <module>
    from twisted.internet import gtk2reactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py", line 23, in <module>
    from twisted.internet import _glibbase
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_glibbase.py", line 20, in <module>
    from twisted.internet import base, posixbase, selectreactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 18, in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 53, in <module>
    from twisted.internet import base, defer, address
  File "/usr/lib/python2.7/dist-packages/twisted/internet/address.py", line 14, in <module>
    from twisted.python.filepath import _asFilesystemBytes
  File "/usr/lib/python2.7/dist-packages/twisted/python/filepath.py", line 38, in <module>
    from twisted.python.win32 import ERROR_FILE_NOT_FOUND, ERROR_PATH_NOT_FOUND
  File "/usr/lib/python2.7/dist-packages/twisted/python/win32.py", line 172, in <module>
    formatError = _ErrorFormatter.fromEnvironment().formatError
  File "/usr/lib/python2.7/dist-packages/twisted/python/win32.py", line 132, in fromEnvironment
    from ctypes import WinError
  File "/usr/lib/python2.7/ctypes/__init__.py", line 552, in <module>
    _reset_cache()
  File "/usr/lib/python2.7/ctypes/__init__.py", line 276, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
MemoryError
todd@librem-13:~$
todd@librem-13:~$ youtube-dl "https://www.youtube.com/watch?v=oWgTqLCLE8k&feature=youtu.be"
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2017.2.7', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 15, in <module>
    from .options import (
  File "/usr/lib/python3/dist-packages/youtube_dl/options.py", line 8, in <module>
    from .downloader.external import list_external_downloaders
  File "/usr/lib/python3/dist-packages/youtube_dl/downloader/__init__.py", line 3, in <module>
    from .common import FileDownloader
  File "/usr/lib/python3/dist-packages/youtube_dl/downloader/common.py", line 10, in <module>
    from ..utils import (
  File "/usr/lib/python3/dist-packages/youtube_dl/utils.py", line 11, in <module>
    import ctypes
  File "/usr/lib/python3.5/ctypes/__init__.py", line 537, in <module>
    _reset_cache()
  File "/usr/lib/python3.5/ctypes/__init__.py", line 276, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
MemoryError
todd@librem-13:~$
todd created this task.Mar 20 2017, 1:03 AM

this is not reproducible after apt-get update; apt-get upgrade

zlatan.todoric closed this task as "Wontfix".Aug 19 2017, 7:16 PM

Removing grsec support from PureOS. More https://tracker.pureos.net/T37

Add Comment