from statement not working on quickly run

Asked by hcmeyer

jotty tutorial contains from statement:

from jotty import (
    AboutJottyDialog, PreferencesJottyDialog, SaveDialog, OpenDialog)

but quickly run produces error:

Traceback (most recent call last):
  File "bin/jotty", line 18, in <module>
    from jotty import (
ImportError: No module named jotty

the jotty directory contains the __init__.py file to qualify it as a module, but I think the path jotty in bin/jotty is not valid, it should be something like ../jotty (which is a syntax error)

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
hcmeyer
Solved:
Last query:
Last reply:
Revision history for this message
hcmeyer (hcmeyer) said :
#1

Never mind, the import was in the wrong place in the file, it has to be after PYTHONPATH is set.

By the way, what does one have to do to get questions answered around here ?

This is sarcasm, this question has gone without a response for 3 days. I guess I am on my own, as usual.

Revision history for this message
Michael Terry (mterry) said :
#2

Sorry man, I had your question in my queue, I was just slow. :-/

You may get faster results by asking around on #quickly on Freenode.

Revision history for this message
hcmeyer (hcmeyer) said :
#3

That's OK, I just installed XChat, and apparently blew out evolution in the process. See bug # 712391. I have not used irc recently, I will be back later. Thanks.