1

I have installed Python 2.7.3 + Django 1.3.1 + Askbot and these requirements

When I run my server on port 8000, and I try to establishing a connection with a browser I have this unusual error: *Could not import myapp01.deps.django_authopenid.views. Error was: No module named xdg.Config* .

Traceback output is: http://pastebin.com/4uzbWvR0

My operating system is CentOS 6.3 and all the installations is automated and managed by Puppet.

Anyone have an idea?

Flat
  • 1,640
  • 1
  • 12
  • 14

1 Answers1

3

I guess you need to install the xdg module:

pip install pyxdg
Thomas Orozco
  • 53,284
  • 11
  • 113
  • 116
  • @Flat You might want to check that you have all the dependencies for askbot, it's strange that you're missing this specific one. – Thomas Orozco Oct 31 '12 at 23:20
  • It's strange because don't compare on the askbot_requirements.txt from the askbot github. Thanks again – Flat Oct 31 '12 at 23:27
  • 2
    @Flat It could be a dependency of a dependency though. Installing `askbot` in a fresh virtualenv doesn't seem to install `xdg` though. Maybe some dependency is using it but didn't list it in their `requirements.txt` file. Using `grep -R "xdg.Config" *` didn't yield anything else, so my guess is that it's required in another of your dependencies, maybe `myapp01.deps.django_authopenid'` from looking at your pastebin. – Thomas Orozco Oct 31 '12 at 23:32