search for: __getattr__

Displaying 8 results from an estimated 8 matches for "__getattr__".

2007 Dec 31
1
Yum breaks after updating to CentOS 4.6
...chGenerator File "sqlitesack.py", line 52, in returnSimple File "sqlitesack.py", line 273, in getPackageDetails File "sqlitesack.py", line 403, in db2class File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 97, in __getattr__ AttributeError: LOCATION_BASE -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)
2014 Aug 10
2
New Python API? (was: Re: About the return value of value_value)
...: import hivex hive = hivex.Hivex2("system", write=True) ccs_name = "ControlSet001" svc_viostor = hive.root()[ccs_name].Services.viostor if svc_viostor.Start != 4: # Automatically detect that int '4' is an DWORD svc_viostor.Start = 4 svc.commit() I (ab)use the __getattr__ methods if an object to allow this kind of modifications. See also the RegistryHandle helper class at https://github.com/Lekensteyn/qemu-tools/blob/master/vbox-to-qemu.py (_import_callback at line 216 may also be interesting) This is a quick implementation with not much thought put into it, but...
2019 Aug 21
2
Cannot run LLVM unit tests doe to python error in lit
...9; object has no attribute 'llvm_obj_root' FAILED: test/CMakeFiles/check-llvm-unit From what I can see, the TestingConfig class (which can be found in llvm/utils/lit/lit/TestingConfig.py) doesn't have this 'llvm_obj_root' indeed. Also I can't spot any Python magic here like __getattr__. How is this supposed to work? Reproducible with both Python 2 and 3. Maybe anyone has an idea? I’d really appreciate any help
2007 Dec 23
1
yum error "AttributeError: LOCATION_BASE" after 4.5 -> 4.6 upgrade
...le "packageSack.py", line 236, in _computeAggregateListResult File "sqlitesack.py", line 514, in searchNevra File "sqlitesack.py", line 403, in db2class File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 97, in __getattr__ AttributeError: LOCATION_BASE Running "yum clean all" seems to work but the error does not go away. I know less than nothing about python so that doesn't help. I also did a search through the list archives and on Google but couldn't come up with anything (OC, I may...
2004 Jun 20
2
[LLVMdev] qmtest problem
...e 685, in HasSuite self.GetSuite(suite_id) File "/usr/home/wanderer/pkg/build/llvm/obj/test/QMTest/llvmdb.py", line 224, in GetSuite suitepath = self.dbpath + '/' + self.LabelToPath (suite_id) File "/home/wanderer/pkg/qmtest/lib/qm/extension.py", line 113, in __getattr__ raise AttributeError, name AttributeError: LabelToPath ---X8--------------- I check qmtest/lib/qm/test/database.py file for method LabelToPath and not found it. Single reference to this method i find in ChangeLog file in QMTest source: ---8X--------------- 2002-11-01 Mark Mitchell <mar...
2004 Jun 20
0
[LLVMdev] qmtest problem
...lf.GetSuite(suite_id) > File "/usr/home/wanderer/pkg/build/llvm/obj/test/QMTest/llvmdb.py", line > 224, in GetSuite > suitepath = self.dbpath + '/' + self.LabelToPath (suite_id) > File "/home/wanderer/pkg/qmtest/lib/qm/extension.py", line 113, in > __getattr__ > raise AttributeError, name > AttributeError: LabelToPath > > ---X8--------------- > > I check qmtest/lib/qm/test/database.py file for method LabelToPath and not > found it. > > Single reference to this method i find in ChangeLog file in QMTest source: > >...
2014 Aug 10
2
About the return value of value_value
Hi, I have been working on a Python application that uses hivex. Meanwhile I have encountered some Python bindings issues which could be fixed. The next issue I see now is about the value_value function. This is briefly documented as: "return data length, data type and data of a value". For Perl, Python and OCaml, this is not true. A tuple is returned for both without the length
2007 Mar 28
2
[PATCH 2/3] User-space grant table device - main driver
A character device for accessing (in user-space) pages that have been granted by other domains. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel