Skip to content

"No module named markdown" #33

Closed
hymerman opened this Issue Nov 29, 2009 · 3 comments

4 participants

@hymerman

git clone git://github.com/Arachnid/bloggart.git
git submodule init
git submodule update

"Run" using Google AppEngine Launcher
Visit http://localhost:8080, see 404 error
Visit http://localhost:8080/admin/, see stack trace for an exception thrown in the 'import markdown' line in markup.py:

: No module named markdown
args = ('No module named markdown',)
message = 'No module named markdown'

I've installed Python 2.5.4 from python.org and AppEngine is using this. I've done nothing else, and made no modifications to bloggart. I couldn't see any other instructions so I assumed this was all that was required.

Have I just missed out some important step or is this an actual issue?

@caio
caio commented Nov 29, 2009

I can confirm this. The odd thing is that accessing /admin/ right after starting the devserver doesn't trigger this error -- This used to happen a lot to me on my own engine also.

Importing fix_path and calling fix_path.fix_sys_path() before import markdown on markup.py solves this problem.

@mizipzor
mizipzor commented Dec 8, 2009

I can confirm this issue. I can also confirm Caio's workaround. I pushed that fix to my own clone: http://github.com/mizipzor/bloggart/commit/a63471b2e81618a571cec2f57ad142e983be2ac8

@Arachnid
Owner

Fixed.

@aht aht pushed a commit to aht/bloggart that referenced this issue Jul 27, 2011
Jai Sharma Fixed issue #33 a30ca93
@jwogrady jwogrady pushed a commit to jwogrady/bloggartplus that referenced this issue Feb 11, 2013
Jai Sharma Fixed issue #33 84bd13f
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.