You are not logged in.

#1 2009-01-01 15:57:58

steveov
Member
Registered: 2009-01-01
Posts: 10

[SOLVED] Scribes only launches as root (was Scribes won't launch)

Hi! I just installed Arch. I wanted to use Scribes as my text editor. I was able to open it once and now it won't open. I get a Starting Scribes message on my bottom panel (I'm using Gnome) but then nothing happens. It's set as the default text editor, but no files will open with it either. I'm using Scribes 0.3.3.3-1.
Any ideas? I uninstalled and reinstalled the scribes package.

Last edited by steveov (2009-01-04 01:36:42)

Offline

#2 2009-01-01 16:01:22

sablabra
Member
Registered: 2008-07-21
Posts: 32

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

try starting it from a terminal. In other words open a terminal (probably gnome-terminal in your case) and type "scribes". See if you get any error messages and post them here.

Offline

#3 2009-01-01 16:04:55

steveov
Member
Registered: 2009-01-01
Posts: 10

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

It launched fine from root but not as user. How do I change the permission?

Offline

#4 2009-01-02 00:34:44

steveov
Member
Registered: 2009-01-01
Posts: 10

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

Update: The files are in username/.gnome2/scribes

I changed the directory owner from root and it works fine.

Last edited by steveov (2009-01-04 01:36:11)

Offline

#5 2010-02-20 17:45:01

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

I have the same issue:

needle% scribes &
[1] 5981
needle% Traceback (most recent call last):
  File "/usr/bin/scribes", line 11, in <module>
    main(argv[1:])
  File "/usr/lib/python2.6/site-packages/SCRIBES/Main.py", line 7, in main
    __open(argv)
  File "/usr/lib/python2.6/site-packages/SCRIBES/Main.py", line 16, in __open
    __open_via_dbus(uris)
  File "/usr/lib/python2.6/site-packages/SCRIBES/Main.py", line 24, in __open_via_dbus
    dbus_service = __get_dbus_service()
  File "/usr/lib/python2.6/site-packages/SCRIBES/Main.py", line 32, in __get_dbus_service
    from Globals import dbus_iface, session_bus
  File "/usr/lib/python2.6/site-packages/SCRIBES/Globals.py", line 7, in <module>
    session_bus = SessionBus()
  File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-UyEeJ7xu4g: Connection refused

I've changed the permissions in ~/.gnome2/scribes using chown -R user:users..

Offline

#6 2011-11-04 21:12:13

NeOnsKuLL
Member
From: Havana, Cuba
Registered: 2005-03-29
Posts: 117

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

I'm posting to this really old thread because this is my problem now.
I have this version of Scribes:

$ pacman -Qs scribes-bzr 
local/scribes-bzr 20111019-1
    A simple PyGTK+ text editor

If I ran it as root, no problem, but, as myself, I got the following error:

  File "/usr/bin/scribes", line 11, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/SCRIBES/Main.py", line 8, in main
    __open()
  File "/usr/lib/python2.7/site-packages/SCRIBES/Main.py", line 24, in __open
    Manager().open_files(uris, "utf-8", stdin)
  File "/usr/lib/python2.7/site-packages/SCRIBES/InstanceManager.py", line 83, in open_files
    self.__new_editor(stdin=stdin)
  File "/usr/lib/python2.7/site-packages/SCRIBES/InstanceManager.py", line 175, in __new_editor
    Editor(self, str(uri), encoding, stdin)
  File "/usr/lib/python2.7/site-packages/SCRIBES/Editor.py", line 9, in __init__
    Initializer(self, manager, uri, encoding, stdin, parameters)
  File "/usr/lib/python2.7/site-packages/SCRIBES/ServicesInitializer.py", line 31, in __init__
    Manager(editor, uri)
  File "/usr/lib/python2.7/site-packages/SCRIBES/GUI/Manager.py", line 5, in __init__
    Manager(editor, uri)
  File "/usr/lib/python2.7/site-packages/SCRIBES/GUI/MainGUI/Manager.py", line 5, in __init__
    Manager(editor, uri)
  File "/usr/lib/python2.7/site-packages/SCRIBES/GUI/MainGUI/Window/Manager.py", line 5, in __init__
    Window(editor)
  File "/usr/lib/python2.7/site-packages/SCRIBES/GUI/MainGUI/Window/Window.py", line 8, in __init__
    self.__set_properties()
  File "/usr/lib/python2.7/site-packages/SCRIBES/GUI/MainGUI/Window/Window.py", line 36, in __set_properties
    if get_value(): self.__set_rgba()
  File "/usr/lib/python2.7/site-packages/SCRIBES/WidgetTransparencyMetadata.py", line 13, in get_value
    database.close()
UnboundLocalError: local variable 'database' referenced before assignment

My permissions on .gnome2/scribes/ are ok. Double checked.

I do really love scribes, I was used to it for a while. Now that I need it again, it's just not working.
Any help?


Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter

Offline

#7 2011-12-06 12:37:38

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

This error is still occurring. Fresh Arch install, fresh scribes install, still all fail...

Does the package maintainer of Scribes even use the program? How could this stay broken for so long?

steveov, NeOnSkull, I'm going to start a new thread so we don't get yelled at for necromancy.

Edit and here it is.

Last edited by jceasless (2011-12-06 12:49:12)

Offline

#8 2011-12-06 16:34:10

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Scribes only launches as root (was Scribes won't launch)

Thanks for taking charge. I'll go ahead and close this to prevent muddling of the discussion.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB