login community faq

I'm trying to install schooltool. It's easy to setup via apt-get, but building from source seems more involved. There's a tarball here which has these instructions. I tried to easy_install virtualenv and then make. However make tests ftest report errors that I don't really know how to fix. I just proceeded with make instance and created a custom app and set the correct port in instance/paste.ini and tried to start the instance but it fails with :

1
2
3
4
5
6
7
8
bin/start-schooltool-instance instance
Traceback (most recent call last):
  File "bin/start-schooltool-instance", line 150, in <module>
    schooltool.paste.run.main()
[...]
  File "/home/dbuenzli/webapps/schooltool/schooltool-2.1.0/src/schooltool/testing/selenium.py", line 67, in <module>
    IMPLICIT_WAIT =  schooltool.devtools.selenium_recipe.implicit_wait
AttributeError: 'module' object has no attribute 'implicit_wait'

any one has a clue about what may be going on ? No deep python/zope knowledge here.

asked Jul 17 '12 at 10:14

Daniel's gravatar image

Daniel
112

edited Jul 18 '12 at 13:42

I've tried this myself and got the same error and I wasn't able to resolve it. You may have better luck with this issue at the Schooltool Q&A forum.

(Jul 17 '12 at 17:35) seanf ♦♦ seanf's gravatar image

Thanks seanf. So here here's the answer. Juste edit the edit schooltool-2.1.0/buildout.cfg add a line schooltool.devtools = 0.7.0 to the versions section.

Now my problem is that I'm only able to run it at the toplevel of the domain name. Their instructions to enable virtual hosting are impossible to implement on webfaction. Is there maybe a way to tweak the paste.ini file to implement that there ? It goes as follows :

1
2
3
4
5
6
7
8
[app:main]
use = egg:schooltool#main
config_file=schooltool.conf

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 25910

Should I turn again to them ? Or is there's something standard in zope to do that ? Note that I use a "custom app" for the webfaction application.

Thanks.

answered Jul 18 '12 at 08:55

Daniel's gravatar image

Daniel
112

edited Jul 18 '12 at 08:57

The only way that I can think to do that on our system would by to run your own Apache (or Nginx) server and serve your entire site from that, using whatever Apache configuration you need to make Zope work on whatever URL path you need.

(Jul 18 '12 at 15:10) seanf ♦♦ seanf's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×228
×61
×1

Asked: Jul 17 '12 at 10:14

Seen: 501 times

Last updated: Jul 18 '12 at 15:10

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited