I have also seen this error when the GeoServer data directory has gotten 
messed up somehow.  Perhaps "paver clean=true setup_webapps" will bring 
you back to a good state.

--
David Winslow
OpenGeo - http://opengeo.org/

On 08/05/2010 05:23 PM, Chris Holmes wrote:
> Pretty sure I did, the lines right above the ones I pasted:
>
> django-admin.py createsuperuser --settings=capra.settings
> Username (Leave blank to use 'cholmes'): admin
> E-mail address: [email protected]
> Password:
> Password (again):
> Superuser created successfully.
>
>
> On 8/5/10 4:24 PM, Luke Tucker wrote:
>    
>> Did you create an administrative user using django-admin?
>> This step is a recent addition to the setup process.
>>
>> - Luke
>>
>>
>> On Thu, Aug 5, 2010 at 3:46 PM, Chris Holmes<[email protected]
>> <mailto:[email protected]>>  wrote:
>>
>>      Ok, installed Xcode, which got me further.  Then hit this on the
>>      last step:
>>
>>      cholmess-MacBook-Pro:geonode cholmes$ paver host
>>      --->  pavement.auto
>>      --->  pavement.host
>>      cd src/geoserver-geonode-ext
>>      cd /Users/cholmes/geonode
>>      Django is starting up, please wait...
>>      Logging servlet output to jetty.log and django output to django.log...
>>      Jetty is starting up, please wait...
>>      django-admin.py updatelayers --settings=capra.settings
>>      Traceback (most recent call last):
>>         File "/Users/cholmes/geonode/bin/django-admin.py", line 5, in
>>      <module>
>>           management.execute_from_command_line()
>>         File
>>      
>> "/Users/cholmes/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
>>      line 429, in execute_from_command_line
>>           utility.execute()
>>         File
>>      
>> "/Users/cholmes/geonode/lib/python2.7/site-packages/django/core/management/__init__.py",
>>      line 379, in execute
>>           self.fetch_command(subcommand).run_from_argv(self.argv)
>>         File
>>      
>> "/Users/cholmes/geonode/lib/python2.7/site-packages/django/core/management/base.py",
>>      line 191, in run_from_argv
>>           self.execute(*args, **options.__dict__)
>>         File
>>      
>> "/Users/cholmes/geonode/lib/python2.7/site-packages/django/core/management/base.py",
>>      line 218, in execute
>>           output = self.handle(*args, **options)
>>         File
>>      
>> "/Users/cholmes/geonode/src/GeoNodePy/geonode/maps/management/commands/updatelayers.py",
>>      line 11, in handle
>>           Layer.objects.slurp()
>>         File "/Users/cholmes/geonode/src/GeoNodePy/geonode/maps/models.py",
>>      line 564, in slurp
>>           for resource in cat.get_resources():
>>         File
>>      "/Users/cholmes/geonode/src/gsconfig.py/src/geoserver/catalog.py
>>      <http://gsconfig.py/src/geoserver/catalog.py>", line
>>      210, in get_resources
>>           for ws in self.get_workspaces():
>>         File
>>      "/Users/cholmes/geonode/src/gsconfig.py/src/geoserver/catalog.py
>>      <http://gsconfig.py/src/geoserver/catalog.py>", line
>>      265, in get_workspaces
>>           return [Workspace(self, node) for node in
>>      description.findall("workspace")]
>>      AttributeError: 'NoneType' object has no attribute 'findall'
>>
>>      Shutting down...
>>
>>
>>      On 8/5/10 2:32 AM, Andreas Hocevar wrote:
>>       >  Hey Chris,
>>       >
>>       >  you have to install Xcode (Apple Developer Tools) from the CD
>>      that ships with your Mac.
>>       >
>>       >  Regards,
>>       >  Andreas.
>>       >
>>       >  On Aug 5, 2010, at 04:51 , Chris Holmes wrote:
>>       >
>>       >>  I'm trying to build GeoNode on snow leopard, and I get this error:
>>       >>
>>       >>  cholmess-MacBook-Pro:geonode cholmes$ python bootstrap.py
>>      --no-site-packages
>>       >>  New python executable in ./bin/python
>>       >>  Error [Errno 2] No such file or directory while executing command
>>       >>  install_name_tool -change /System/Library/Frameworks/Pyt...ython
>>       >>  @executable_path/../.Python ./bin/python
>>       >>  Could not call install_name_tool -- you must have Apple's
>>      development
>>       >>  tools installed
>>       >>  Traceback (most recent call last):
>>       >>     File "bootstrap.py", line 1504, in<module>
>>       >>       main()
>>       >>     File "bootstrap.py", line 528, in main
>>       >>       use_distribute=options.use_distribute)
>>       >>     File "bootstrap.py", line 611, in create_environment
>>       >>       site_packages=site_packages, clear=clear))
>>       >>     File "bootstrap.py", line 805, in install_python
>>       >>       py_executable])
>>       >>     File "bootstrap.py", line 556, in call_subprocess
>>       >>       cwd=cwd, env=env)
>>       >>     File
>>       >>
>>      
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py",
>>       >>  line 595, in __init__
>>       >>     File
>>       >>
>>      
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py",
>>       >>  line 1106, in _execute_child
>>       >>  OSError: [Errno 2] No such file or directory
>>       >>
>>       >>
>>       >>  I tried installing other versions of python, but it didn't work.
>>        Next
>>       >>  step I suppose is to build from source, but anyone else have an
>>      easier
>>       >>  way to get it on?
>>       >>
>>       >>  thanks,
>>       >>
>>       >>  C
>>       >
>>
>>
>>      

Reply via email to