tutorial debug section not working as written

Asked by sunset06

The tutorial referenced on https://storm.canonical.com/
link Tutorial (based on code in trunk) which links to https://storm.canonical.com/Tutorial
is newer than the the currently release 0.12.

What debug capabilities are available with the 0.12 current release ?

Is the only way to get get debug capabilities now is to use the trunk for now ?
Are the debug features proposed or real working code {in trunk} ?

Question information

Language:
English Edit question
Status:
Answered
For:
Storm Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
James Henstridge (jamesh) said :
#2

I don't think anyone noticed that this question had been submitted. I am sorry that you didn't get a reply sooner.

The debug API mentioned in the tutorial is implemented and is available in Storm 0.13.

If you are still using 0.12, you can cause statements to be logged to to stdout with the following code:

    import storm.database
    storm.database.DEBUG = True

If you want something more configurable, you'll need to upgrade.

Can you help with this problem?

Provide an answer of your own, or ask sunset06 for more information if necessary.

To post a message you must log in.