Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to start tutorial1d (Attribute error) #1

Copy link
Copy link
@mkharboutly

Description

@mkharboutly
Issue body actions

Hi all,
I was trying to start the tutorial1d and when I start the run.py file, the following error occurs:" AttributeError: 'NoneType' object has no attribute 'debug' ". After digging into fife and debugging I notice that the following function must be called : pychan.init() which initialise pychan, before calling any pychan function like pychan.loadXML(). Thus I added a call to that function (pychan.init(self.engine) ) inside the Tutorial1Application class and exactly before pychan.loadXML("...") in the tutorial1.py of the tutorial1d. By initialising pychan the tutorial runs perfectly.
Is this right, or there are something else I didn't notice?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.