Skip to content

exception στο ./manage.py get_eclass_faculties #58

@tampakrap

Description

@tampakrap

το exception που παίρνουμε είναι αυτό:

Traceback (most recent call last):
  File "manage.py", line 12, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib64/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/usr/lib64/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/code/cronos/cronos/teilar/management/commands/get_eclass_faculties.py", line 143, in handle
    self.update_faculties()
  File "/var/code/cronos/cronos/teilar/management/commands/get_eclass_faculties.py", line 80, in update_faculties
    faculties_from_eclass = self.get_faculties()
  File "/var/code/cronos/cronos/teilar/management/commands/get_eclass_faculties.py", line 26, in get_faculties
    all_faculties = soup.table('td')
TypeError: 'NoneType' object is not callable

Μάλλον κάτι άλλαξε στη σελίδα του eclass και πρέπει να φτιαχτεί στο get_eclass_faculties cronjob.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions