Can't debug a Pyramid project in Eclipse/Pydev with Waitress

I'm trying to setup a working IDE and starting to learn Python with Pyramid framework in a friendly environment like Eclipse/Pydev.

All is working ok (debug, breakpoints included) if I use the old pastescript server by replacing:

use = egg:waitress#main --> use = egg:Paste#http 

in development.ini.

The problem is that the new "way to go" is to use waitress which is supported in Python 3+ versions and pastescript only works on 2.x.

I would want to know if there is any kind of known issue debugging with Waitress and Pydev and if there's any workaround.

These are the errors when I try to debug in Eclipse using Waitress:

pydev debugger: starting
Starting server in PID 7508.
Unhandled exception in thread started by serving on http://0.0.0.0:6543

Traceback (most recent call last):
  File "/home/sh4/eclipse/plugins/org.python.pydev.debug_2.5.0.2012040618/pysrc/pydevd.py", line 200, in __call__
    self.original_func(*self.args, **self.kwargs)
TypeErrorUnhandled exception in thread started by 
Traceback (most recent call last):
  File "/home/sh4/eclipse/plugins/org.python.pydev.debug_2.5.0.2012040618/pysrc/pydevd.py", line 200, in __call__
: Unhandled exception in thread started by 
Traceback (most recent call last):
  File "/home/sh4/eclipse/plugins/org.python.pydev.debug_2.5.0.2012040618/pysrc/pydevd.py", line 200, in __call__
    self.original_func(*self.args, **self.kwargs)
TypeError    self.original_func(*self.args, **self.kwargs)
TypeError: ThreadedTaskDispatcher object argument after ** must be a mapping, not tuple
: Unhandled exception in thread started by 
Traceback (most recent call last):
  File "/home/sh4/eclipse/plugins/org.python.pydev.debug_2.5.0.2012040618/pysrc/pydevd.py", line 200, in __call__
    self.original_func(*self.args, **self.kwargs)
TypeError: ThreadedTaskDispatcher object argument after ** must be a mapping, not tuple
ThreadedTaskDispatcher object argument after ** must be a mapping, not tuple
ThreadedTaskDispatcher object argument after ** must be a mapping, not tuple

Answers


I think this was already fixed -- please try the latest nightly build to see if it works for you.

See: http://pydev.org/download.html for details on getting it.


Need Your Help

Tab+swipe Gesture, Custom grid view, Fragments

android gridview android-fragments android-custom-view swipe-gesture

Well I have this app with swipe gesture functionality between fragments which they contains images which are located in the resources folders .. but when i swipe left and right I noticed that the

Do i need to modify all links in order to ajaxify this website?

jquery ajax jquery-plugins hash browser-history

I built this website using ajax (via jquery) instead of full page refresh. Right now, it does not support the browser's back/next buttons, nor deeplink bookmarking.