alvra / django-spotnet

A Django app to manage and download posts from Spotnet.
GNU General Public License v3.0
7 stars 6 forks source link

update_spotnet error "Probably not a spotnet post" #12

Open hagst opened 11 years ago

hagst commented 11 years ago
Traceback (most recent call last):
  File "\example_project\manage.py", line 8, in <module>
    execute_from_command_line(sys.argv)
  File "\django\core\management
\__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "\django\core\management
\__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "\django\core\management\base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "\django\core\management\base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "\spotnet\management\commands\update_spotnet.py", line 42, in handle
    conn.update(overwrite, self.logger_function)
  File "\spotnet\connection.py", line 140, in update
    self.update_group(group, overwrite=overwrite, logger=lambda x: logger('  %s'
 % x))
  File "\spotnet\connection.py", line 179, in update_group
    logger=lambda x: logger('  %s' % x),
  File "\spotnet\connection.py"
, line 225, in update_group_postnumbers
    logger=lambda x: logger('  %s' % x),
  File "\django\db\transaction.py", line 209, in inner
    return func(*args, **kwargs)
  File "\spotnet\connection.py", line 330, in add_post
    snp = Post.from_raw(raw, id=existing_id)
  File "\spotnet\models.py", line 155, in from_raw
    description=raw.description,
  File "\spotnet\post.py", line 468, in description
    "Probably not a spotnet post"
spotnet.post.InvalidPost: Probably not a spotnet post