Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61661
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ikorot01@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'causing': 0.04; 'skip:" 60': 0.07; 'runs': 0.10; 'thread': 0.14; '39,': 0.16; 'fine.': 0.16; 'reproduce': 0.16; 'res': 0.16; 'sqlite': 0.16; 'exception': 0.16; 'all,': 0.19; 'trying': 0.19; 'machine': 0.22; 'this?': 0.23; 'question': 0.24; 'skip:" 30': 0.26; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'checked': 0.32; 'run': 0.32; '(most': 0.33; 'skip:_ 10': 0.34; 'skip:d 20': 0.34; "can't": 0.35; 'created': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'skip:" 50': 0.36; 'hi,': 0.36; 'should': 0.36; 'thank': 0.38; 'filter': 0.38; 'mine': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'recent': 0.39; 'to:addr:python.org': 0.39; 'you.': 0.62; 'processor.': 0.84; 'self.run()': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Lu3+O1LejNkDQ8nD8Qo/GWx5EGcvSYQcpc5xof40ipI=; b=dkYf1X4iRJVbM4AnUz3Ux7YdFmt4vI7BTP3AfoUhhRQHMetKzcolT+4uTQfvMU6wbh pW6hj9nN3040HK0jGQREhTJzXTufiQjGhUplAbUdjwvah5Gcmxi5ZzDVnf+f2bFiCL52 C+wOYzDvxCWm7RnEiz12HWd91cxNbPpAzIK/KgLvtbXn/h3BJZW8+grJppRq4+XVnxq+ BarZuWq0HUi7rVUDb+R/T6sxrOFRdzm0VMNZTBqxrvs7TTaD/E2WT0vb6gMReObdBZG4 CIzpKcClmuyNfJZdXANUp+OjFixUeXqxNO9dKRA43beYy8mrirTswozAK93AxheGPvUO CNjA== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.194.133 with SMTP id dy5mr2423092vcb.3.1386825923863; Wed, 11 Dec 2013 21:25:23 -0800 (PST) |
| Date | Wed, 11 Dec 2013 21:25:23 -0800 |
| Subject | Strange crashes |
| From | Igor Korot <ikorot01@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.3960.1386825932.18130.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386825932 news.xs4all.nl 2903 [2001:888:2000:d::a6]:45468 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61661 |
Show key headers only | View raw
Hi, ALL,
I'm trying to develop a software with Python.
It uses multi threading.
For some unknown reason the program crashes on my employer's machine
but on mine it runs fine.
Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 552, in __bootstrap_inner
self.run()
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\model\workerthread.py",
line 39, in run
data = self.func(self.args)
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\controller\controller.py",
line 589, in do_filter
return m.filter(query, query_result)
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\model\model.py",
line 159, in filter
res = dbm.find_events(query, qres)
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\model\dbmanager.py",
line 258, in find_events
res = self.check_query(query)
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\model\dbmanager.py",
line 248, in check_query
self._close_db()
File "C:/Users/Nides/Documents/GitHub/l2l_R/lib\model\dbmanager.py",
line 65, in _close_db
self.conn.commit()
ProgrammingError: SQLite objects created in a thread can only be used
in that same thread.The object was created in thread id 14260 and this
is thread id 9264
Now, I can't do anything about it since I can't reproduce it.
'
So my question is: what might be causing this?
I checked and we both have 1 processor. The only difference is I have
WinXP and he has Win7.
Where should I start looking for causes?
Thank you.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Strange crashes Igor Korot <ikorot01@gmail.com> - 2013-12-11 21:25 -0800
csiph-web