package gracie
tags 519623 + moreinfo unreproducible
thanks

I don't observe this behaviour today, in a raw chroot built from
Debian ‘unstable’. Instead, I see:

=====
# /etc/init.d/gracie start
Starting Gracie OpenID 
provider:/usr/lib/python2.5/site-packages/gracie/server.py:90: UserWarning: 
openid.server.server.Server constructor requires op_endpoint parameter for 
OpenID 2.0 servers
  self.openid_server = OpenIDServer(store)
 gracied.
=====

(The warning message is another bug to be fixed; but the server does start.)

On 13-Mar-2009, Thadeu Lima de Souza Cascardo wrote:
> It fails to import gracie.server. I cannot import gracie, but I can
> import other packages in /usr/share/pyshared/.

Note that packages are not imported from that directory; they are
imported from the byte-compiled location specific to the running
version of Python.

In the same chroot, I'm able to import ‘gracie.server’ successfully:

=====
# python
Python 2.5.4 (r254:67916, Feb 18 2009, 04:30:07) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gracie.server
>>> gracie.server
<module 'gracie.server' from 
'/usr/lib/python2.5/site-packages/gracie/server.pyc'>
>>> 
=====

> Below is the error.
>
> Starting Gracie OpenID provider:Traceback (most recent call last):
>   File "/usr/bin/gracied", line 18, in <module>
>     from gracie.server import become_daemon
> ImportError: No module named gracie.server

Are you still experiencing this? If so, what output do you see when
you run these commands:

=====
$ echo $PYTHONPATH

$ locate gracie/server.py
/usr/lib/python2.4/site-packages/gracie/server.py
/usr/lib/python2.4/site-packages/gracie/server.pyc
/usr/lib/python2.5/site-packages/gracie/server.py
/usr/lib/python2.5/site-packages/gracie/server.pyc
/usr/share/pyshared/gracie/server.py
=====

-- 
 \         “I planted some bird seed. A bird came up. Now I don't know |
  `\                                  what to feed it.” —Steven Wright |
_o__)                                                                  |
Ben Finney <b...@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature

Reply via email to