Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    How about tell us what line 18 is, and show us the error message Commented Feb 2, 2011 at 18:35
  • 1
    Where do the funky single quotes come from? If they're in the source code, they'll trigger syntax errors galore. Also, the long Device(...) in _add_root_device has several errors: a missing comma and most keyword arguments lack values. Commented Feb 2, 2011 at 18:38
  • @user597293: First step in debugging is to assume that the warning is accurate. In the case of indentation errors it's trivially simple to simply delete all leading indentation and reinsert what you think is the right indentation. Commented Feb 2, 2011 at 18:41
  • 1
    The character is not ' the apostrophe. It's not legal Python. Why is it in the code? Commented Feb 2, 2011 at 19:06