FS#27551 - [scribes] does not run as non-root user
Attached to Project:
Community Packages
Opened by j. ceasless (jceasless) - Tuesday, 13 December 2011, 15:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 25 May 2013, 20:34 GMT
Opened by j. ceasless (jceasless) - Tuesday, 13 December 2011, 15:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 25 May 2013, 20:34 GMT
|
Details
Description:
Scribes community package runs as root user, but fails to load for non-root users. Additional info: * package version(s) scribes 0.4.954-1 * config and/or log files etc. scribes-traceback: traceback output when trying to run scribes as non-root user. Steps to reproduce: 1) Install scribes from [community] 2) Attempt to run scribes as non-root user |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 25 May 2013, 20:34 GMT
Reason for closing: No response
Saturday, 25 May 2013, 20:34 GMT
Reason for closing: No response
Applied the 'from sys import executable pattern' outlined in in https://bbs.archlinux.org/viewtopic.php?pid=925844#p925844 to SCRIBES/Globals.py. The attached files accomplish this.
However, the errors persist unchanged.
I am going to go for a more complete recreation of konradstrack's patches.
executable-pattern.patch (1.1 KiB)
root-traceback (1.2 KiB)
Still no effect on running as non-root user.
With root only one error message:
'/usr/lib/python2.7/site-packages/SCRIBES/Main.py:10: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
main()'
external-process-starter.patch (0.5 KiB)
globals.patch (1.1 KiB)
indexer-process-manager.patch (0.6 KiB)
recent-open.patch (0.7 KiB)
suggestion-process-manager.pa... (0.6 KiB)
Scribes starts on my system and is usable. In terminal, I get:
/usr/lib/python2.7/site-packages/SCRIBES/Main.py:10: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
main()
Traceback (most recent call last):
File "/usr/lib/scribes/GenericPlugins/RecentOpen/ExternalProcess/ScribesRecentFilesIndexer.py", line 8, in <module>
from gobject import MainLoop, threads_init
File "/usr/lib/python2.7/site-packages/gobject/__init__.py", line 26, in <module>
from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
File "/usr/lib/python2.7/site-packages/glib/__init__.py", line 22, in <module>
from glib._glib import *
ImportError: /usr/lib/libpyglib-2.0-python2.so.0: undefined symbol: _Py_ZeroStruct
Traceback (most recent call last):
File "/usr/lib/scribes/GenericPlugins/WordCompletion/SuggestionProcess/ScribesWordCompletionSuggestionGenerator.py", line 5, in <module>
from SCRIBES.Utils import fork_process
ImportError: No module named SCRIBES.Utils
Traceback (most recent call last):
File "/usr/lib/scribes/GenericPlugins/WordCompletion/IndexerProcess/ScribesWordCompletionIndexer.py", line 3, in <module>
from SCRIBES.Utils import fork_process
ImportError: No module named SCRIBES.Utils