Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 17:48:53 +0200
From:      Martin Vana <martin.vana@vslib.cz>
To:        freebsd-questions@freebsd.org
Subject:   installing applications
Message-ID:  <20031006174853.2d1f5eb8.martin.vana@vslib.cz>

next in thread | raw e-mail | index | archive | help
Hi,
I use freebsd os a workstation, what i'm struggling with this,
when I install some programme like pyslsk I can't run it as a nomal
user, just as root. Here is what it writes:


Traceback (most recent call last):
  File "/usr/local/bin/pyslsk", line 87, in ?
    app = frame.MainApp(config)
  File "/usr/local/lib/python2.3/site-packages/pysoulseek/wxgui/frame.py", line                                 530, in __init__
    wxApp.__init__(self)
  File "/usr/local/lib/python2.3/site-packages/wxPython/wx.py", line 1939, in __                                init__
    _wxStart(self.OnInit)
  File "/usr/local/lib/python2.3/site-packages/pysoulseek/wxgui/frame.py", line                                 534, in OnInit
    self.frame = MainFrame(None,-1,'PySoulSeek %s' % utils.version, self.config,                                 self) 
  File "/usr/local/lib/python2.3/site-packages/pysoulseek/wxgui/frame.py", line                                 78, in __init__
    self.np = NetworkEventProcessor(self,self.callback,self.logMessage,self.SetS                                tatusText, configfile)
  File "/usr/local/lib/python2.3/site-packages/pysoulseek/pysoulseek.py", line 5                                8, in __init__
    self.config.readConfig()
  File "/usr/local/lib/python2.3/site-packages/pysoulseek/config.py", line 76, i                                n readConfig
    sharedfiles = shelve.open(self.filename+".files.db",'n')
  File "/usr/local/lib/python2.3/shelve.py", line 231, in open
    return DbfilenameShelf(filename, flag, protocol, writeback, binary)
  File "/usr/local/lib/python2.3/shelve.py", line 212, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binar                                y)
  File "/usr/local/lib/python2.3/anydbm.py", line 83, in open
    return mod.open(file, flag, mode)
dbm.error: (13, 'Permission denied')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute                                 'writeback'" in  ignored



is there a way how to overcome it, and not to give all rights to python to nomal users?

thank you
Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031006174853.2d1f5eb8.martin.vana>