Displaying 13 results from an estimated 13 matches for "__getitem__".
2018 Mar 14
2
samba-tool error just after samba 4.8.0 install
...;module>
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 223, in _run
cmd = self.subcommands[cmd_name]
File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 28, in <module>
from samba.dbchecker import dbcheck
File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 32, in <module>
from sa...
2006 Dec 15
0
YUM KeyError: 'epoch'
...getbase
File "sqlitecache.py", line 359, in updateSqliteCache
File "sqlitecache.py", line 251, in addPrimary
File "sqlitecache.py", line 197, in insertHash
File "sqlitecache.py", line 449, in values
File "sqlitecache.py", line 441, in __getitem__
File "mdparser.py", line 73, in __getitem__
KeyError: 'epoch'
I removed yum and re-installed it from the RPM on the install disk.
I googled but I did not find anything that made sense to me.
Thank you for any help anyone can provide.
Shawn Flack
--------...
2004 Aug 05
4
newest up2date rpm
...quot;up2dateBatch.py", line 74, in run
File "up2dateBatch.py", line 159, in __dryRun
File "up2date.py", line 395, in dryRun
File "depSolver.py", line 357, in setup
File "depSolver.py", line 390, in __add
File "headers.py", line 37, in __getitem__
File "headers.py", line 42, in __retrievePackage
File "rpcServer.py", line 304, in doCall
File "repoDirector.py", line 31, in getHeader
File "rpmSource.py", line 210, in getHeader
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py"...
2017 Nov 17
1
SAMBA failing to start after upgrade
...<module>
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
210, in _run
cmd = self.subcommands[cmd_name]
File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 35, in
__getitem__
fromlist=['cmd_%s' % attr]),
Please help to fix it.
*Harsh Kukreja *Systems Administrator
*International University of Namibia *Tel: 061-4336000 - E-mail: h.kukreja
@ium.edu.na - Web:
*http://www.ium.edu.na <http://www.ium.edu.na/>*Private Bag
14005,Bachbrech. 21-31 Hercules Str...
2018 Mar 29
2
Unable to rejoin to domain as AD DC
...("samba-tool", subcommand, *args)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 202, in _run
return self.subcommands[subcommand]._run(
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/main.py", line
35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/drs.py",
line 37, in <module>
from samba.join import join_clone
File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
29, in <module>...
2018 Mar 14
0
samba-tool error just after samba 4.8.0 install
...;module>
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 223, in _run
cmd = self.subcommands[cmd_name]
File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 28, in <module>
from samba.dbchecker import dbcheck
File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 32, in <module>
from sa...
2010 Dec 29
2
unoconv 0.4 issues
...e of text.
Error message:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 67, in <module>
os.environ['LD_LIBRARY_PATH'] = oolibpath + os.pathsep +
os.environ['LD_LIBRARY_PATH']
File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'LD_LIBRARY_PATH'
Fix: patch from https://bugzillafiles.novell.org/attachment.cgi?id=403158
Second issue
============
Commands and input file: as above.
Error message:
Traceback (most recent call last):
File "/usr/bin/unoconv", line 796, i...
2018 Mar 14
2
samba-tool error just after samba 4.8.0 install
...;module>
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 223, in _run
cmd = self.subcommands[cmd_name]
File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 28, in <module>
from samba.dbchecker import dbcheck
File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 32, in <module>
from sa...
2015 May 10
2
[LLVMdev] http://llvm.org/perf/ instability: some clues
...irst()
File
"/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal
chemy/orm/query.py", line 2334, in first
ret = list(self[0:1])
File
"/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal
chemy/orm/query.py", line 2201, in __getitem__
return list(res)
File
"/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal
chemy/orm/query.py", line 2405, in __iter__
return self._execute_and_instances(context)
File
"/opt/venv/perf/lib/python2.7/site-packages/SQLAlchemy-0.9.6-py2.7.egg/sqlal...
2018 Mar 29
0
Unable to rejoin to domain as AD DC
...; File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/_
> _init__.py",
> line 202, in _run
> return self.subcommands[subcommand]._run(
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/m
> ain.py", line
> 35, in __getitem__
> fromlist=['cmd_%s' % attr]),
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/drs.py",
> line 37, in <module>
> from samba.join import join_clone
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/joi...
2018 Nov 20
2
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
...in do_OPTIONS
self.discard_request()
File "/home/rjones/d/libguestfs-rhel-7.6-lp/v2v/test-v2v-o-rhv-upload-module/ovirtsdk4/__init__.py", line 150, in discard_request
length = self.headers['Content-Length']
File "/usr/lib64/python2.7/rfc822.py", line 388, in __getitem__
return self.dict[name.lower()]
KeyError: 'content-length'
I guess that Python won't let us do:
length = self.headers['Content-Length']
if length:
How about the attached fix?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rj...
2017 Nov 17
2
SAMBA failing to start after upgrade
The upgrade shouldn't have touched the Samba database, just the
binaries etc, so check the smb.conf file and recreate it if you cannot
find it, or if it is incorrect.
The smb.conf still exists
[global]
workgroup = IUMNET
realm = IUMNET.EDU.NA
netbios name = IUMDCDP01
server role = active directory domain controller
dns forwarder = 172.16.10.254
2018 Oct 15
3
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
On Mon, Oct 15, 2018 at 6:21 PM Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Tue, Oct 09, 2018 at 02:28:10PM +0300, Nir Soffer wrote:
> > > +# Create a background thread running a web server which is
> > > +# simulating the imageio server.
> > >
> >
> > This functionality should be separated from the fake SDK module, since
> it is
> >