Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 5 Sep 2008 at 3:39

  • Changed state: New

from django-command-extensions.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I believe I'm experiencing this problem as well:

$ python manage.py create_jobs core
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/Applications/Django/django-trunk/django/core/management/__init__.py", line
340, in execute_manager
    utility.execute()
  File "/Applications/Django/django-trunk/django/core/management/__init__.py", line
295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Applications/Django/django-trunk/django/core/management/base.py", line 77,
in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Applications/Django/django-trunk/django/core/management/base.py", line 96,
in execute
    output = self.handle(*args, **options)
  File "/Applications/Django/django-trunk/django/core/management/base.py", line 146,
in handle
    app_output = self.handle_app(app, **options)
  File
"/opt/local/lib/python2.5/site-packages/django_extensions/management/commands/cr
eate_jobs.py",
line 37, in handle_app
    paths = [p for p in paths if not app_dir.startswith(p)]
AttributeError: 'NoneType' object has no attribute 'startswith'

Original comment by [email protected] on 30 Sep 2008 at 6:43

from django-command-extensions.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I think this part is over-engineered given that handle_app is already
application-intelligent. This patch uses a similar technique to getting the 
app_dir
as Django's template file loader, and makes the process a *lot* simpler. :)

Original comment by [email protected] on 18 Feb 2009 at 8:13

Attachments:

from django-command-extensions.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
It is over-engineered :) Thanks for the patch.

Applied the patch to svn.
If there any problems please reopen this ticket.

Original comment by [email protected] on 19 Feb 2009 at 5:46

  • Changed state: Fixed

from django-command-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.