The AppForm field "appname" does require lower case names. This may not be a
technical limitation, I just picked the same validator that I use for the
other identifier fields.
As for the deployment exception, I don't know. What is URLField anyways? Is
it being imported properly in that file?
-Andrew
On Thu, Sep 30, 2010 at 5:45 PM, Eric D Helms <eric.d.helms(a)gmail.com>
wrote:
Does the app-name field require lower-case letters only? The repository
name is
AloqaFeedGenerator which is what the system automatically grabs but
when that is submitted a validation error is raised.
Also, when deploying the AloqaFeedGenerator on the sandbox manually (using
all
lower case app-name) I received the following:
Request Method:POST
Request
URL:https://sandbox.opus.ncsu.edu/deployments/testingalohqa/
Django Version:1.2.1
Exception Type:DeploymentException
Exception Value:
syncdb failed. Code 1. Traceback (most recent call last):
File "/usr/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py",
line
429, in execute_from_command_line
utility.execute()
File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py",
line
379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 217, in execute
self.validate()
File "/usr/lib/python2.6/site-packages/django/core/management/base.py",
line 245, in validate
num_errors = get_validation_errors(s, app)
File
"/usr/lib/python2.6/site-packages/django/core/management/validation.py",
line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line
146, in get_app_errors
self._populate()
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line
61, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line
78, in load_app
models = import_module('.models', app_name)
File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line
35, in import_module
__import__(name)
File "/var/lib/opus/base/testingalohqa/aloqafeedgenerator/models.py", line
3, in <module>
class Placemark(models.Model):
File "/var/lib/opus/base/testingalohqa/aloqafeedgenerator/models.py", line
8, in Placemark
url = URLField(blank=True, verify_exists=True)
NameError: name 'URLField' is not defined
Exception Location:/home/bmbouter/src/opus/opus/lib/deployer/__init__.py
in
_sync_database, line 177
Python Executable:/usr/bin/python
Python Version:2.6.0
Python Path:['/home/bmbouter/src/opus', '/usr/lib/python26.zip',
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages',
'/usr/lib/python2.6/site-packages/Numeric',
'/usr/lib/python2.6/site-packages/gtk-2.0']
Server time:Thu, 30 Sep 2010 16:36:09 -0500
_______________________________________________
Opus-devel mailing list
Opus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/opus-devel