Re: [Neo4j] Problems installing neo4j.py on Mac

2011-03-17 Thread Tobias Ivarsson
It is a known issue. A parsing problem in one of the transitive pom.xml
files. I don't quite understand why, because from what I remember from
investigating it, that key was present. It is probably an xml-namespace
problem. The key is declared (in the xml file) without namespace qualifiers,
and elementree needs explicit namespace qualifiers EVERYWHERE.

I am working on a new version of the installation script to circumvent the
problem. ETA is soon, but not specific yet (I keep getting interrupted by
other tasks), but at least this is a prioritized task now, which means it
WILL get done.

Cheers,
Tobias

On Thu, Mar 17, 2011 at 5:20 AM, Rense Lange wrote:

> I cannot figure out why installing neo for python fails on my Mac. Can
> anyone deduce the reason from the following screen messages?
>
> ---
>
> rense-langes-mac-pro:neo4j-python renselange$ sudo python setup.py
> installPassword:
> Traceback (most recent call last):
>  File "setup.py", line 146, in 
>   main()
>  File "setup.py", line 134, in main
>   args[attr] = pom[attr]
>  File "/Users/renselange/neo4j-python/pom.py", line 58, in __getitem__
>   element)
>  File "/Users/renselange/neo4j-python/pom.py", line 57, in 
>   return self.pattern.sub(lambda match:self[match.groupdict()['var']],
>  File "/Users/renselange/neo4j-python/pom.py", line 54, in __getitem__
>   element = self.parent[path]
>  File "/Users/renselange/neo4j-python/pom.py", line 91, in __getitem__
>   return replacement.get(path, lambda s,x:x)(self, self.__pom[path])
>  File "/Users/renselange/neo4j-python/pom.py", line 56, in __getitem__
>   raise KeyError(path)
> KeyError: 'project.artifactId'
>
> --
> The preceding step, per instructions, seemed to work fine:
> -
>
> rense-langes-mac-pro:~ renselange$ svn export
> https://svn.neo4j.org/components/neo4j.py/trunk neo4j-python
> Aneo4j-python
> Aneo4j-python/NOTICE.txt
> Aneo4j-python/LICENSE.txt
> Aneo4j-python/pom.py
> Aneo4j-python/TODO.txt
> Aneo4j-python/COPYRIGHT.txt
> Aneo4j-python/jccext.py
> Aneo4j-python/setup.py
> Aneo4j-python/src
> Aneo4j-python/src/test
> Aneo4j-python/src/test/python
> Aneo4j-python/src/test/python/neo4j_test
> Aneo4j-python/src/test/python/neo4j_test/_support.py
> Aneo4j-python/src/test/python/neo4j_test/primitives.py
> Aneo4j-python/src/test/python/neo4j_test/__init__.py
> Aneo4j-python/src/test/python/neo4j_test/__main__.py
> Aneo4j-python/src/test/python/neo4j_test/transactional.py
> Aneo4j-python/src/test/python/neo4j_test/matrix.py
> Aneo4j-python/src/test/python/neo4j_test/index.py
> Aneo4j-python/src/main
> Aneo4j-python/src/main/python
> Aneo4j-python/src/main/python/neo4j
> Aneo4j-python/src/main/python/neo4j/_primitives.py
> Aneo4j-python/src/main/python/neo4j/_py_compat.py
> Aneo4j-python/src/main/python/neo4j/_traverse.py
> Aneo4j-python/src/main/python/neo4j/_hooks
> Aneo4j-python/src/main/python/neo4j/_hooks/__init__.py
> Aneo4j-python/src/main/python/neo4j/__init__.py
> Aneo4j-python/src/main/python/neo4j/_backend
> Aneo4j-python/src/main/python/neo4j/_backend/reflection.py
> Aneo4j-python/src/main/python/neo4j/_backend/pure.py
> Aneo4j-python/src/main/python/neo4j/_backend/__init__.py
> Aneo4j-python/src/main/python/neo4j/_backend/jcc.py
> Aneo4j-python/src/main/python/neo4j/_backend/native.py
> Aneo4j-python/src/main/python/neo4j/_backend/cli.py
> Aneo4j-python/src/main/python/neo4j/_index.py
> Aneo4j-python/src/main/python/neo4j/classes
> Aneo4j-python/src/main/python/neo4j/__bootstrap__.py
> Aneo4j-python/src/main/python/neo4j/_base.py
> Aneo4j-python/src/main/python/neo4j/model
> Aneo4j-python/src/main/python/neo4j/model/django_model
> Aneo4j-python/src/main/python/neo4j/model/django_model/__init__.py
> Aneo4j-python/src/main/python/neo4j/model/fields.pyx
> Aneo4j-python/src/main/python/neo4j/model/__init__.py
> Aneo4j-python/src/main/python/neo4j/model/base.pyx
> Aneo4j-python/src/main/python/neo4j/_util.py
> Aneo4j-python/src/main/python/neo4j/util.py
> Aneo4j-python/src/main/python/neo4j/_compat.py
> Aneo4j-python/src/main/python/neo4j/tracsupport.py
> Aneo4j-python/src/main/python/neo4j/_core.py
> Aneo4j-python/src/script
> Aneo4j-python/src/script/generate-apt.py
> Aneo4j-python/src/site
> Aneo4j-python/src/site/site.xml
> Aneo4j-python/src/site/apt
> Aneo4j-python/src/site/apt/apidoc
> Aneo4j-python/src/site/apt/apidoc/index.apt
> Aneo4j-python/src/examples
> Aneo4j-python/src/examples/python
> Aneo4j-python/src/examples/python/djangosites
> Aneo4j-python/src/examples/python/djangosites/manage.py
> Aneo4j

[Neo4j] Problems installing neo4j.py on Mac

2011-03-16 Thread Rense Lange
I cannot figure out why installing neo for python fails on my Mac. Can anyone 
deduce the reason from the following screen messages?
---

rense-langes-mac-pro:neo4j-python renselange$ sudo python setup.py 
installPassword:
Traceback (most recent call last):
 File "setup.py", line 146, in 
   main()
 File "setup.py", line 134, in main
   args[attr] = pom[attr]
 File "/Users/renselange/neo4j-python/pom.py", line 58, in __getitem__
   element)
 File "/Users/renselange/neo4j-python/pom.py", line 57, in 
   return self.pattern.sub(lambda match:self[match.groupdict()['var']],
 File "/Users/renselange/neo4j-python/pom.py", line 54, in __getitem__
   element = self.parent[path]
 File "/Users/renselange/neo4j-python/pom.py", line 91, in __getitem__
   return replacement.get(path, lambda s,x:x)(self, self.__pom[path])
 File "/Users/renselange/neo4j-python/pom.py", line 56, in __getitem__
   raise KeyError(path)
KeyError: 'project.artifactId'

--
The preceding step, per instructions, seemed to work fine:
-

rense-langes-mac-pro:~ renselange$ svn export 
https://svn.neo4j.org/components/neo4j.py/trunk neo4j-python
Aneo4j-python
Aneo4j-python/NOTICE.txt
Aneo4j-python/LICENSE.txt
Aneo4j-python/pom.py
Aneo4j-python/TODO.txt
Aneo4j-python/COPYRIGHT.txt
Aneo4j-python/jccext.py
Aneo4j-python/setup.py
Aneo4j-python/src
Aneo4j-python/src/test
Aneo4j-python/src/test/python
Aneo4j-python/src/test/python/neo4j_test
Aneo4j-python/src/test/python/neo4j_test/_support.py
Aneo4j-python/src/test/python/neo4j_test/primitives.py
Aneo4j-python/src/test/python/neo4j_test/__init__.py
Aneo4j-python/src/test/python/neo4j_test/__main__.py
Aneo4j-python/src/test/python/neo4j_test/transactional.py
Aneo4j-python/src/test/python/neo4j_test/matrix.py
Aneo4j-python/src/test/python/neo4j_test/index.py
Aneo4j-python/src/main
Aneo4j-python/src/main/python
Aneo4j-python/src/main/python/neo4j
Aneo4j-python/src/main/python/neo4j/_primitives.py
Aneo4j-python/src/main/python/neo4j/_py_compat.py
Aneo4j-python/src/main/python/neo4j/_traverse.py
Aneo4j-python/src/main/python/neo4j/_hooks
Aneo4j-python/src/main/python/neo4j/_hooks/__init__.py
Aneo4j-python/src/main/python/neo4j/__init__.py
Aneo4j-python/src/main/python/neo4j/_backend
Aneo4j-python/src/main/python/neo4j/_backend/reflection.py
Aneo4j-python/src/main/python/neo4j/_backend/pure.py
Aneo4j-python/src/main/python/neo4j/_backend/__init__.py
Aneo4j-python/src/main/python/neo4j/_backend/jcc.py
Aneo4j-python/src/main/python/neo4j/_backend/native.py
Aneo4j-python/src/main/python/neo4j/_backend/cli.py
Aneo4j-python/src/main/python/neo4j/_index.py
Aneo4j-python/src/main/python/neo4j/classes
Aneo4j-python/src/main/python/neo4j/__bootstrap__.py
Aneo4j-python/src/main/python/neo4j/_base.py
Aneo4j-python/src/main/python/neo4j/model
Aneo4j-python/src/main/python/neo4j/model/django_model
Aneo4j-python/src/main/python/neo4j/model/django_model/__init__.py
Aneo4j-python/src/main/python/neo4j/model/fields.pyx
Aneo4j-python/src/main/python/neo4j/model/__init__.py
Aneo4j-python/src/main/python/neo4j/model/base.pyx
Aneo4j-python/src/main/python/neo4j/_util.py
Aneo4j-python/src/main/python/neo4j/util.py
Aneo4j-python/src/main/python/neo4j/_compat.py
Aneo4j-python/src/main/python/neo4j/tracsupport.py
Aneo4j-python/src/main/python/neo4j/_core.py
Aneo4j-python/src/script
Aneo4j-python/src/script/generate-apt.py
Aneo4j-python/src/site
Aneo4j-python/src/site/site.xml
Aneo4j-python/src/site/apt
Aneo4j-python/src/site/apt/apidoc
Aneo4j-python/src/site/apt/apidoc/index.apt
Aneo4j-python/src/examples
Aneo4j-python/src/examples/python
Aneo4j-python/src/examples/python/djangosites
Aneo4j-python/src/examples/python/djangosites/manage.py
Aneo4j-python/src/examples/python/djangosites/faces
Aneo4j-python/src/examples/python/djangosites/faces/views.py
Aneo4j-python/src/examples/python/djangosites/faces/__init__.py
Aneo4j-python/src/examples/python/djangosites/faces/tests.py
Aneo4j-python/src/examples/python/djangosites/faces/models.py
Aneo4j-python/src/examples/python/djangosites/faces/urls.py
Aneo4j-python/src/examples/python/djangosites/blog
Aneo4j-python/src/examples/python/djangosites/blog/views.py
Aneo4j-python/src/examples/python/djangosites/blog/__init__.py
Aneo4j-python/src/examples/python/djangosites/blog/tests.py
Aneo4j-python/src/examples/python/djangosites/blog/models.py
Aneo4j-python/src/examples/python/djangosites/blog/urls.py
Aneo4j-python/src/examples/python/djangosites/__init__.py
Aneo4j-python/src