Wednesday, August 20, 2014

Continued with docs/tickets/123.

  • added new field courses.Line.fees_cat to avoid users seeing all products when selecting a fee.

    TODO: rename field tariff to fee.

‘NoneType’ object has no attribute ‘isoweekday’

Traceback (most recent call last):

File "/var/www/vhosts/eiche/lino/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response
  response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/vhosts/eiche/lino/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
  return self.dispatch(request, *args, **kwargs)
File "/var/www/vhosts/eiche/lino/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
  return handler(request, *args, **kwargs)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/extjs/views.py", line 563, in get
  return settings.SITE.ui.run_action(ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/core/kernel.py", line 556, in run_action
  ar.bound_action.action.run_from_ui(ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/core/actions.py", line 1129, in run_from_ui
  n += self.run_on_row(obj, ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 159, in run_on_row
  return obj.update_reminders(ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 223, in update_reminders
  return self.update_auto_events(ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 230, in update_auto_events
  wanted = self.get_wanted_auto_events(ar)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 361, in get_wanted_auto_events
  date = rset.find_start_date(date)
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 511, in find_start_date
  if self.is_available_on(date):
File "/var/www/vhosts/eiche/repositories/lino/lino/modlib/cal/mixins.py", line 517, in is_available_on
  wd = date.isoweekday()  # Monday:1, Tuesday:2 ... Sunday:7