Comments (4)
Original comment by [email protected]
on 5 Sep 2008 at 3:39
- Changed state: New
from django-command-extensions.
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.
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.
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)
- show_urls feature request: show decorators (eg. @login_required) HOT 1
- maxlength field wrong in db fields addon HOT 2
- dumpscript and explicit intermediate join tables HOT 5
- describe_form outputs a proxy instead of it's string HOT 1
- Add AutoSlugField to django_extension frontpage HOT 1
- Break up django_extensions into namespaces HOT 7
- Project needs a mailing list HOT 5
- dumpscript wish: Order by ForeignKeys HOT 4
- sqldiff: __init__() got an unexpected keyword argument 'max_digits' HOT 2
- management.utils.get_project_root assumes settings file is settings.py HOT 5
- inconsistent package naming HOT 6
- Colorizing with embedded styles HOT 2
- when running graph_models, get "ImportError: cannot import name mark_safe" HOT 1
- django_extensions INSTALLED_APP didn't work. "extensions" alone did. HOT 1
- reset_db must be in UTF-8 with MySQL HOT 1
- Conflicting 'verbose' and 'verbosity' since django r9110 HOT 7
- Documentation for jobs system HOT 12
- Verbosity command in 'runscript' conflicts HOT 1
- typo: s/python-vobjects/python-vobject/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-command-extensions.