[albatross-users] Upgrade problems to albatross 1.10pre2
Sheila King
sheila at thinkspot.net
Wed Jul 9 14:41:15 EST 2003
OK, so I decided to try an upgrade to the latest pre-release.
Downloaded it and put it on my server.
Note: I do not have, and am not able to have root perms on the
community server where my account is. However, I have installed my
own local copy of Python, which I have aliased as "pythonx", and when
I previously installed albatross 1.01 the following install command
worked just fine:
$ pythonx setup.py install
and installed everything properly.
OK, so I uploaded the tarball of 1.10pre2 to my home directory and
unzipped it; everything looked fine.
I gave the command:
$ pythonx setup.py install
All of the output looked fine.
I cd to the /test directory.
Unfortunately, there is a problem with running the test programs as
directed. I entered
$ make
and got the following error output:
PYTHONPATH=.. python all.py
Traceback (innermost last):
File "all.py", line 14, in ?
import unittest
ImportError: No module named unittest
make: *** [unittests] Error 1
So, instead I tried this:
$ pythonx all.py
which seemed to work mostly fine. I did get one error result:
======================================================================
ERROR: runTest (sessions.basic.ServerBasicCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "sessions/basic.py", line 26, in runTest
ctx.load_session()
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/session.py",
line 50, in load_session
sesid = self.app.new_session()
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/session.py",
line 149, in new_session
self._server_connect()
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/session.py",
line 104, in _server_connect
raise ServerError('could not connect to session server')
ServerError: could not connect to session server
----------------------------------------------------------------------
Ran 92 tests in 0.289s
FAILED (errors=1)
Which, I guess is expected, as I am not running the session server ???
Anyhow, the next thing I did was try to go to my application, which I
had tested this afternoon before upgrading to the latest albatross.
I get the following error output when I try to go to the base URL for
my application:
Template traceback (most recent call last):
Traceback (most recent call last):
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/app.py", line
238, in run
self.load_page(ctx)
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/randompage.py
", line 35, in load_page
self.load_page_module(ctx, page)
File
"/big/dom/xdomain/lib/python2.2/site-packages/albatross/app.py", line
372, in load_page_module
file, filepath, desc = imp.find_module(name, [dirname])
ImportError: No module named login
Which is really weird, because the login.py file hasn't moved. The
app worked the last time I tried it, and the only thing that has
changed, is that I have upgraded albatross.
Thoughts? Suggestions?
More information about the Albatross-users
mailing list