2009/9/7 Stephen Emslie <[email protected]>:

> Just in case it might give a clue, could you show the commands you use to
> detatch and reattach the screen session?

Uhm detaching using "Ctrl-a d" and reattaching "screen -r". :)

Cheers,
-h

> On Mon, Sep 7, 2009 at 4:42 PM, Hynek Schlawack <[email protected]> wrote:
>>
>> Hi,
>>
>> I've got a very strange problem: When I run paster inside of a screen
>> session, detach the session, have some access to the site with DB
>> access (latest cx_Oracle) and finally reattach the session again,
>> paster simply crashes as following:
>>
>> Starting subprocess with file monitor
>>
>> /usr/local/lib/python2.6/site-packages/AuthKit-0.4.4-py2.6.egg/authkit/users/__init__.py:61:
>> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>>  import md5 as _md5
>> Starting server in PID 24302.
>> serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
>> 17:19:56,658 INFO  [paste.httpserver.ThreadPool] Shutting down threadpool
>> 17:19:56,666 INFO  [paste.httpserver.ThreadPool] All workers stopped
>> Traceback (most recent call last):
>>  File "/usr/local/bin/paster", line 8, in <module>
>>    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 84, in run
>>    invoke(command, command_name, options, args[1:])
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 123, in invoke
>>    exit_code = runner.run(args)
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 218, in run
>>    result = self.command()
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
>> line 303, in command
>>    serve()
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
>> line 287, in serve
>>    server(app)
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
>> line 151, in server_wrapper
>>    **context.local_conf)
>>  File
>> "/usr/local/lib/python2.6/site-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/util/fixtypeerror.py",
>> line 57, in fix_call
>>    val = callable(*args, **kw)
>>  File
>> "/usr/local/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg/paste/httpserver.py",
>> line 1336, in server_runner
>>    serve(wsgi_app, **kwargs)
>>  File
>> "/usr/local/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg/paste/httpserver.py",
>> line 1304, in serve
>>    server.serve_forever()
>>  File
>> "/usr/local/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg/paste/httpserver.py",
>> line 1078, in serve_forever
>>    self.handle_request()
>>  File "/usr/local/lib/python2.6/SocketServer.py", line 262, in
>> handle_request
>>    fd_sets = select.select([self], [], [], timeout)
>> select.error: (4, 'Interrupted system call')
>> 17:19:56,750 INFO  [paste.httpserver.ThreadPool] Shutting down threadpool
>> 17:19:56,750 INFO  [paste.httpserver.ThreadPool] All workers stopped
>>
>> It works perfectly until I reattach it and when I don't access a
>> controller which does no queries to the database, it even survives the
>> reattach.  I'm pretty sure it used to work flawlessly some days ago
>> (can't swear it though) and I really have no idea where to look at.
>>
>> Any hints? It's Pylons 0.9.7, sqlalchemy 0.5.5, the version of paster
>> is obvious. :)
>>
>> Many thanks in advance,
>> Hynek
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to