Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88580
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.06; 'here?': 0.09; 'overflow': 0.09; 'wrapper': 0.09; 'translate': 0.10; 'api': 0.11; 'cc:addr:python- list': 0.11; 'language.': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'python-list,': 0.16; 'reads,': 0.16; 'subject:library': 0.16; 'underlying': 0.16; 'wrappers': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'stack': 0.19; 'cc:addr:python.org': 0.22; 'error': 0.23; 'looks': 0.24; 'cc:2**0': 0.24; 'skip:" 30': 0.26; 'somewhere': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'raise': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'usually': 0.31; 'file': 0.32; 'another': 0.32; '(most': 0.33; 'maybe': 0.34; "can't": 0.35; 'knows': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'thanks': 0.36; 'wrong': 0.37; 'too': 0.37; 'list,': 0.38; 'recent': 0.39; 'mailing': 0.39; 'how': 0.40; "you're": 0.61; 'back': 0.62; 'kind': 0.63; 'more': 0.64; 'different': 0.65; 'taking': 0.65; 'here': 0.66; 'services.': 0.70; '2015': 0.84; 'hard.': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=zx5lefEjf1C+x9pedSjKIR8g/thE2SBcvPL2oojhbn8=; b=chUY+BHcH+DMGZEfckmG/viwOrQoxGoiZsZoqo0x5eXJxj/GjvcsxkE1RFe5FaaPVL kOzSxV5lCRxvqgy5msfySatMtziRfSHzH3s7HXbxJOvM8ZAsiOXQWkRyQTNX5sK+mkOU f8zeK5FBwAlFK5qmpoiRgHXWya1kVJmKjU+tyWlSvZmDGoAP8K6ycrAflJEBN9e9V7I8 gLDDzSVBOPlvXL33ebC3YlpZUVsoNk9KGy2rbHr0JES/xQKIMxP7/i/OxcyEE+AUyZKs JD8JpnGkRVYY9lZg/0dAbii6JQ1d/AVptFqB4/v6dZFAezfHx1FJi939NLwv1QFP79Sh lPWA== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.50.134 with SMTP id a6mr1803720icg.12.1428417071278; Tue, 07 Apr 2015 07:31:11 -0700 (PDT) |
| In-Reply-To | <5b5fd1cb-484f-4798-b10c-4903ad7aa65c@googlegroups.com> |
| References | <02021a54-2770-4072-808a-75bea346051d@googlegroups.com> <mailman.74.1428364205.12925.python-list@python.org> <5b5fd1cb-484f-4798-b10c-4903ad7aa65c@googlegroups.com> |
| Date | Wed, 8 Apr 2015 00:31:11 +1000 |
| Subject | Re: Python library - WMI.py RegistryValueChangeEvent |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.92.1428417080.12925.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1428417080 news.xs4all.nl 2888 [2001:888:2000:d::a6]:32836 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:88580 |
Show key headers only | View raw
On Wed, Apr 8, 2015 at 12:15 AM, Khyati <shrivastavkhyati@gmail.com> wrote: > Thanks for taking a look, Chris. > The error trace: > traceback (most recent call last): > File "MonitorRegistry.py", line 18, in <module> > process_created = watcher() > File "C:\Python27\lib\site-packages\wmi.py", line 1195, in __call__ > handle_com_error () > File "C:\Python27\lib\site-packages\wmi.py", line 241, in handle_com_error > raise klass (com_error=err) > _wmi: <x_wmi: Unexpected COM Error (-2147352567, 'Exception occurred.', (0, u'SWbemPropertySet', u'Not found ', None, 0, -2147217406), None)> It looks to me like this is a thin wrapper around the underlying API call, and you're getting back an error from the lower-level services. The way this reads, there might well not be an HKLM\Software\Temp\Name; maybe the ValueName is what's wrong here? Someone somewhere knows more than I do, but if you can't find that someone here on python-list, you might be able to find some help on Stack Overflow or another mailing list, from people who know how to do this kind of thing in a different language. You'd have to translate their suggestions back into Python, but when the wrappers are thin enough, that's usually not too hard. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python library - WMI.py RegistryValueChangeEvent Khyati <shrivastavkhyati@gmail.com> - 2015-04-06 15:02 -0700
Re: Python library - WMI.py RegistryValueChangeEvent Chris Angelico <rosuav@gmail.com> - 2015-04-07 09:49 +1000
Re: Python library - WMI.py RegistryValueChangeEvent Khyati <shrivastavkhyati@gmail.com> - 2015-04-07 07:15 -0700
Re: Python library - WMI.py RegistryValueChangeEvent Chris Angelico <rosuav@gmail.com> - 2015-04-08 00:31 +1000
Re: Python library - WMI.py RegistryValueChangeEvent Khyati <shrivastavkhyati@gmail.com> - 2015-04-07 07:35 -0700
Re: Python library - WMI.py RegistryValueChangeEvent Tim Golden <mail@timgolden.me.uk> - 2015-04-07 15:52 +0100
Re: Python library - WMI.py RegistryValueChangeEvent Tim Golden <mail@timgolden.me.uk> - 2015-04-07 16:18 +0100
Re: Python library - WMI.py RegistryValueChangeEvent Khyati <shrivastavkhyati@gmail.com> - 2015-04-07 08:30 -0700
Re: Python library - WMI.py RegistryValueChangeEvent Khyati <shrivastavkhyati@gmail.com> - 2015-04-07 09:00 -0700
csiph-web