I was trying to install hep on my debian sid. I have twisted 1.3. I installed yarn-0.2 and hep-0.6. But I have problems when starting up the hep application:
Here is the command line for creating tap file: mktap hep -d ~/hepdata -p xxxx --pop3-port 5110 --imap-port 5143 --smtp-port 5025
The twistd.log file contains the following error in the end: 2004/09/13 23:08 PDT [-] service.startService() 2004/09/13 23:08 PDT [-] File "/usr/lib/python2.3/site-packages/twisted/applic ation/service.py", line 210, in startService 2004/09/13 23:08 PDT [-] service.startService() 2004/09/13 23:08 PDT [-] File "/usr/lib/python2.3/site-packages/hep/services/s mtp.py", line 35, in startService 2004/09/13 23:08 PDT [-] portal = self.parent.getServiceNamed('Authenticator ').portal 2004/09/13 23:08 PDT [-] AttributeError: Service instance has no attribute 'port al'
The daemon is not running, the process in twistd.pid does not exist. I am still trying to figure this out, but can someone give me quick hints ?
I am having a similar problem. I have followed the directions on the Hip web site on my Fedora Core 2 server. I use mktap hep -d /usr/local/hep/ -p xxxx.
This is what my error twistd.log says:
2004/10/25 13:40 MDT [-] Log opened. 2004/10/25 13:40 MDT [-] twistd 1.3.0rc1 (/usr/local/bin/python 2.3.4) starting up 2004/10/25 13:40 MDT [-] reactor class: twisted.internet.default.SelectReactor 2004/10/25 13:40 MDT [-] Loading /usr/local/hep/hep.tap... 2004/10/25 13:40 MDT [-] Loaded. 2004/10/25 13:40 MDT [-] set uid/gid 0/0 2004/10/25 13:40 MDT [-] LOADING USER admin 2004/10/25 13:40 MDT [-] HELLO NEW USER! 2004/10/25 13:40 MDT [-] DM: refreshing 2004/10/25 13:40 MDT [-] Traceback (most recent call last): 2004/10/25 13:40 MDT [-] File "/usr/local/bin/twistd", line 36, in ? 2004/10/25 13:40 MDT [-] run() 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 184, in run 2004/10/25 13:40 MDT [-] app.run(runApp, ServerOptions) 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/application/app.py", line 205, in run 2004/10/25 13:40 MDT [-] runApp(config) 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 175, in runApp 2004/10/25 13:40 MDT [-] startApplication(config, application) 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 161, in startApplication 2004/10/25 13:40 MDT [-] app.startApplication(application, not config['no_save']) 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/application/app.py", line 225, in startApplication 2004/10/25 13:40 MDT [-] service.IService(application).startService() 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/application/service.py", line 210, in startService 2004/10/25 13:40 MDT [-] service.startService() 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/twisted/application/service.py", line 210, in startService 2004/10/25 13:40 MDT [-] service.startService() 2004/10/25 13:40 MDT [-] File "/usr/local/lib/python2.3/site-packages/hep/services/pop3.py", line 31, in startService 2004/10/25 13:40 MDT [-] portal = self.parent.getServiceNamed('Authenticator').portal 2004/10/25 13:40 MDT [-] AttributeError: Service instance has no attribute 'portal' Does anyone have any ideas on how to get this up and running?
On Mon, 25 Oct 2004 12:51:52 -0700, Dan Olsen <danrol...@gmail.com> wrote:
> I am having a similar problem. I have followed the directions on the
> Hip web site on my Fedora Core 2 server. I use mktap hep -d
> /usr/local/hep/ -p xxxx.
> This is what my error twistd.log says:
> 2004/10/25 13:40 MDT [-] Log opened.
> 2004/10/25 13:40 MDT [-] twistd 1.3.0rc1 (/usr/local/bin/python 2.3.4)
> starting up
> 2004/10/25 13:40 MDT [-] reactor class:
> twisted.internet.default.SelectReactor
> 2004/10/25 13:40 MDT [-] Loading /usr/local/hep/hep.tap...
> 2004/10/25 13:40 MDT [-] Loaded.
> 2004/10/25 13:40 MDT [-] set uid/gid 0/0
> 2004/10/25 13:40 MDT [-] LOADING USER admin
> 2004/10/25 13:40 MDT [-] HELLO NEW USER!
> 2004/10/25 13:40 MDT [-] DM: refreshing
> 2004/10/25 13:40 MDT [-] Traceback (most recent call last):
> 2004/10/25 13:40 MDT [-] File "/usr/local/bin/twistd", line 36, in ?
> 2004/10/25 13:40 MDT [-] run()
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py",
> line 184, in run
> 2004/10/25 13:40 MDT [-] app.run(runApp, ServerOptions)
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/application/app.py",
> line 205, in run
> 2004/10/25 13:40 MDT [-] runApp(config)
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py",
> line 175, in runApp
> 2004/10/25 13:40 MDT [-] startApplication(config, application)
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/scripts/twistd.py",
> line 161, in startApplication
> 2004/10/25 13:40 MDT [-] app.startApplication(application, not
> config['no_save'])
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/application/app.py",
> line 225, in startApplication
> 2004/10/25 13:40 MDT [-]
> service.IService(application).startService()
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/application/service.py",
> line 210, in startService
> 2004/10/25 13:40 MDT [-] service.startService()
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/twisted/application/service.py",
> line 210, in startService
> 2004/10/25 13:40 MDT [-] service.startService()
> 2004/10/25 13:40 MDT [-] File
> "/usr/local/lib/python2.3/site-packages/hep/services/pop3.py", line 31,
> in startService
> 2004/10/25 13:40 MDT [-] portal =
> self.parent.getServiceNamed('Authenticator').portal
> 2004/10/25 13:40 MDT [-] AttributeError: Service instance has no
> attribute 'portal'
> Does anyone have any ideas on how to get this up and running?
Dan Olsen wrote:
> Did you ever find an answer to my problem?
Dan,
First, thank you for your extreme patience in waiting for an answer for your question. I apologize for letting this slip through the cracks in my todo list!
I still haven't been able to duplicate this problem. I do have a couple of theories about it, though. One thought is that the POP service is trying to start before the Authenticator service has started, which causes it to fail. (currently the code doesn't specify the order that Hep's services should start in, which is probably a bug).
Let me put together a patch that forces the Authenticator service to load first, and adds some additional debugging output. I'll have it to you within the next couple of days.
Thanks again for your patience and persistence on this!
Quick update: I haven't forgotten about this. I've got an alpha of the next Hep release in the works, which will fix this problem. It should be ready for testing soon - I'll let you know as soon as I have a package ready.
> First, thank you for your extreme patience in waiting for an answer for > your question. I apologize for letting this slip through the cracks in > my todo list!
> I still haven't been able to duplicate this problem. I do have a couple > of theories about it, though. One thought is that the POP service is > trying to start before the Authenticator service has started, which > causes it to fail. (currently the code doesn't specify the order that > Hep's services should start in, which is probably a bug).
> Let me put together a patch that forces the Authenticator service to > load first, and adds some additional debugging output. I'll have it to > you within the next couple of days.
> Thanks again for your patience and persistence on this!