Setting the 'lang' option in schooltool.conf breaks the server

Bug #1030221 reported by Fabián Rodríguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Invalid
Undecided
Unassigned

Bug Description

Setting the 'lang' option to anything as indicated here breaks the server:
http://book.schooltool.org/translations.html#selecting-schooltool-s-language

Once lang is set, after restarting the server (sudo service schooltool restart) I get this error:

Unable to connect
 Firefox can't establish a connection to the server at localhost:7080.
  The site could be temporarily unavailable or too busy. Try again in a few moments.
  If you are unable to load any pages, check your computer's network connection.
  If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Setting back any lang option to a comment (by adding # at the beginning) restores normal behavior.

I am looking at using the French version, and this is blocking it.

Revision history for this message
Douglas Cerna (replaceafill) wrote :

This is strange. I just edited my schooltool.conf to have:

lang es-sv,fr

and it started showing Spanish (El Salvador) and French. I also tried just:

lang fr

and it works too.

Could you please attach your /var/log/schooltool/paste.log to see what's failing?

Changed in cando:
status: New → Incomplete
affects: cando → schooltool
Changed in schooltool:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.