Menu

TurboJson Prevents Debug

2011-03-13
2013-03-15
  • Bahman Movaqar

    Bahman Movaqar - 2011-03-13

    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,

    • Bahman
     
  • Bahman Movaqar

    Bahman Movaqar - 2011-03-13

    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
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-03-13

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.