When I use TurboJson, I can't either run or debug my project using Pydev while it runs fine from command line.
This is the error log when trying to debug:http://pastie.org/1665375 and this one is for trying to run the project http://pastie.org/1665385
Am I missing anything obvious? I'd appreciate any help/idea.
Thanks,
Bahman
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I upgraded TurboJson (pip install -upgrade TurboJson) and now the project runs in Eclipse. But debuggin is still a problem. Here's the log http://pastie.org/1666781
I even patched decorator.py as mentioned in Pydev blog but it didn't work out either.
Bahman
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, the actual error you seem to be having:
File "/usr/local/lib/python2.6/dist-packages/peak/rules/core.py", line 296, in <module>
"when", "Extend a generic function with a new action"
TypeError: unbound method make_decorator() must be called with Method instance as first argument (got str instance instead)
Doesn't seem like an error that pydev would introduce unless the code is really sensitive (which can happen - I've even seen python interpreter bugs stop the debugger), if you made the patch to properly restore the debugging, it should work. If you want, I can take a look at it, but for that, please open a bug-report and attach a sample project where I can reproduce it (and please list all the dependencies needed for reproducing it).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
When I use TurboJson, I can't either run or debug my project using Pydev while it runs fine from command line.
This is the error log when trying to debug: http://pastie.org/1665375 and this one is for trying to run the project http://pastie.org/1665385
Am I missing anything obvious? I'd appreciate any help/idea.
Thanks,
I upgraded TurboJson (pip install -upgrade TurboJson) and now the project runs in Eclipse. But debuggin is still a problem. Here's the log http://pastie.org/1666781
I even patched decorator.py as mentioned in Pydev blog but it didn't work out either.
Actually, the actual error you seem to be having:
File "/usr/local/lib/python2.6/dist-packages/peak/rules/core.py", line 296, in <module>
"when", "Extend a generic function with a new action"
TypeError: unbound method make_decorator() must be called with Method instance as first argument (got str instance instead)
Doesn't seem like an error that pydev would introduce unless the code is really sensitive (which can happen - I've even seen python interpreter bugs stop the debugger), if you made the patch to properly restore the debugging, it should work. If you want, I can take a look at it, but for that, please open a bug-report and attach a sample project where I can reproduce it (and please list all the dependencies needed for reproducing it).
Cheers,
Fabio