Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8570357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:32:23+00:00 2026-06-11T18:32:23+00:00

I am trying to make an old Django project run again. Update #1: I

  • 0

I am trying to make an old Django project run again.

Update #1: I removed the arguments extra_thumbnails and size so the server is running. But now I don’t have proper thumbnails of my pictures…

    image = ImageWithThumbnailsField(
    upload_to='images',
    thumbnail={'size': (120, 120)},
    extra_thumbnails={
        'icon': {'size': (32, 32), 'options': ['crop', 'upscale']},
        'large': {'size': (640, 640)},
    }

now looks only:

    image = ImageField(
    upload_to='images')

—

After seemingly having solved issues with old sorl.thumbnail versions and deprecated expressions I now get this error when running

python manage.py runserver

I also tried to copy & paste my old files into a new Django project and get the exactly same error. Maybe someone here has a clue where the problem lies?

Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x2a80510>>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 88, in inner_run
    self.validate(display_num_errors=True)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 249, in validate
    num_errors = get_validation_errors(s, app)
  File "/usr/lib/python2.7/dist-packages/django/core/management/validation.py", line 35, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 146, in get_app_errors
    self._populate()
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 61, in _populate
    self.load_app(app_name, True)
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 78, in load_app
    models = import_module('.models', app_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/me/Documents/wdws/wdws/../wdws/cityofwindows/models.py", line 73, in <module>
    class Image(models.Model):
  File "/home/me/Documents/wdws/wdws/../wdws/cityofwindows/models.py", line 83, in Image
    'large': {'size': (640, 640)},
  File "/usr/lib/python2.7/dist-packages/django/db/models/fields/files.py", line 233, in __init__
    super(FileField, self).__init__(verbose_name, name, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'extra_thumbnails'

I need to re-build the project just for visual documentation locally… so also any hints on how to quickly re-run outdated django-projects are very welcome!!

Thanks a lot!

(using Ubuntu 12.04)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:32:24+00:00Added an answer on June 11, 2026 at 6:32 pm

    A guess into the dark: Remove the keyword argument extra_thumbnails in the field definition FileField in the file cityofwindows/models.py

    If this does not solve the problem, please post the cityofwindows/models.py file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a change to an old appengine application, but now after
I am currently trying to make an old project in C++ work with more
Repost of old question with cleaner code: Trying the make this accordion work. But
Trying to make a small countdown timer in my app but it's not working.
I am trying to make some small additions to some old java code that
I'm trying to make a judgment call in implementing a small-ish SQL Server '08
I have an application and I'm trying to make sure it's running in a
Im a 15 year old noob to java. I am trying to make a
I am trying to make my Service running in foreground. I tried to use
I'm trying to make a small game using (free)GLUT. I know that it's old

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.