Hi All -

I had a bit of a problem installing Kamaelia 0.6.0 under Windows, and
I thought I'd pass along my experience.

I'm using Python 2.6.1 on Windows XP Service Pack 3.

* Kamaelia appears to require setuptools to install.  Setuptools
doesn't have a Windows installer for 2.6, so I installed from source
using python setup.py install.  Not a big deal, but still a touch
clumsy.

* Once setuptools was installed, I tried "easy_install Kamaelia".
This resulted in the following stack trace:

...
byte-compiling build\bdist.win32\egg\Kamaelia\__init__.py to
__init__.pyc
installing package data to build\bdist.win32\egg
running install_data
Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    """,
  File "c:\Python26\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "c:\Python26\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "build\bdist.win32\egg\setuptools\command\install.py", line 76,
in run
  File "build\bdist.win32\egg\setuptools\command\install.py", line 96,
in do_egg_install
  File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line
195, in run
  File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line
145, in do_install_data
  File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line
161, in call_command
  File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "c:\Python26\lib\distutils\command\install_data.py", line 62,
in run
    dir = convert_path(f[0])
  File "c:\Python26\lib\distutils\util.py", line 164, in convert_path
    raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/usr/local/share/kamaelia' cannot be absolute

Installing Kamaelia from source (python setup.py install) gave me the
same error.

The problem appears to be the following line in setup.py:

data_files=[ ('/usr/local/share/kamaelia', ['App/
kamaelia_logo.png']) ],

I changed this to:

data_files=[ ('share/kamaelia', ['App/kamaelia_logo.png']) ],

and it seemed to work (it place the logo under the egg directory in
share/kamaelia).


Is anyone using Kamaelia under Windows in production?   I'm evaluating
it for this purpose and any feedback would be helpful.  Thanks!

Miles


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"kamaelia" group.
To post to this group, send email to kamaelia@googlegroups.com
To unsubscribe from this group, send email to 
kamaelia+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/kamaelia?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to