Dump stacktraces of all active Threads

As jitter points out in an earlier answer sys._current_frames() gives you what you need for v2.5+. For the lazy the following code snippet worked for me and may help you: print >> sys.stderr, “\n*** STACKTRACE – START ***\n” code = [] for threadId, stack in sys._current_frames().items(): code.append(“\n# ThreadID: %s” % threadId) for filename, lineno, name, … Read more

Disable TinyMCE absolute to relative URL Conversions

Set convert_urls: false in tiny_mce_init.js, not tiny_mce.js. Early in tiny_mce_init.js you’ll see a call to window.tinyMCE.init passing a bunch of initialisation options. In the Products.TinyMCE I’m looking at, the last option is fix_list_elements: false. Add your option there. Edit: tiny_mce_init.js is no longer used in Products.TinyMCE 1.3.x (Plone 4.3). Instead, override the tinymce-jsonconfiguration browser view, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)