This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 15 months ago

Closed 15 months ago

Last modified 14 months ago

#1575 closed defect (invalid)

Error "Could not generate JSVars" on new installation

Reported by: lslawski Owned by:
Priority: normal Milestone:
Component: General Version: 1.2
Keywords: Cc:

Description

I installed Indico 1.2 on a Debian 7.6 following the instructions on http://indico-software.org/wiki/Admin/Installation1.2. I had to change the "Options None" in the Apache configuration to "FollowSymLinks?" to at least get the start page.
After another try I received two error emails by the system. The first one saying

2014-07-28 16:57:22,762 indico.wsgi - ERROR app.py:164 -- WSGI Exception
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/Flask-0.10-py2.7.egg/flask/app.py", line 1475, in full_dispatch_request

rv = self.dispatch_request()

File "/usr/local/lib/python2.7/dist-packages/Flask-0.10-py2.7.egg/flask/app.py", line 1461, in dispatch_request

return self.view_functions[rule.endpoint](req.view_args)

File "/usr/local/lib/python2.7/dist-packages/indico-1.2-py2.7.egg/indico/web/flask/util.py", line 87, in wrapper

return obj(None).process(params)

File "/usr/local/lib/python2.7/dist-packages/indico-1.2-py2.7.egg/MaKaC/webinterface/rh/JSContent.py", line 54, in process

raise MaKaCError('Could not generate JSVars')

MaKaCError: Could not generate JSVars

Additional information:
Request: 7faaf81e4250
URL: http://134.100.104.1/indico/vars.js
Endpoint: misc.JSContent-getVars
Method: GET
Params: {}
User: None
IP: 134.100.106.159
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
Referer: http://134.100.104.1/indico/

Can you help me to fix this?

Change History (4)

comment:1 Changed 15 months ago by pferreir

Can you please move this discussion to the mailing list? This seems like more of a configuration issue to me.
Otherwise, it would be interesting to see what is the other error.

comment:2 Changed 15 months ago by pferreir

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 Changed 14 months ago by lslawski

I suggested a configuration issue at first, too. But after installing Indico 1.1.2 successfully with the same configuration settings (and index.py instead of indico.py in apache conf) I am sure it has to be something else. Hopefully someone on the mailing list can help me.

comment:4 Changed 14 months ago by lslawski

The error does not occur anymore after granting write permissions on /usr/local/lib/python2.7/dist-packages/bcrypt-1.0.2-py2.7.egg/bcrypt. Thanks to Sebastien Medard from the mailing list!

Note: See TracTickets for help on using tickets.