fresh install of sync-server : can't find module named emailer

Toby Elliott telliott at mozilla.com
Wed Jan 25 09:18:52 PST 2012


This isn't quite correct. It turns out there's a bug in MoPyTools that causes it to sort the tags wrongly. We should have a fix out for it shortly.

Thanks for your patience.

Regards,
Toby Elliott

On Jan 19, 2012, at 12:08 PM, Dattas Moonchaser wrote:

> This is due to a bug in the installer process. It pulls a tag instead of from tip for the server-core process. The fix is for whoever maintains the server-core branch is to create a new tag. See this bug I filed a while back: https://bugzilla.mozilla.org/show_bug.cgi?id=717959
> 
> Basically the sync server is trying to call something from the server-core service, but because the server-core service is much older, it does not have the emailer module. I've been hoping for a while that someone would fix it but so far nothing has been done. I'm glad that other people have had the same problem so this bug should now be changed to confirmed.
> 
> Date: Wed, 18 Jan 2012 10:42:59 +0100
> From: Stephane Caminade <stephane.caminade at ias.u-psud.fr>
> To: services-dev at mozilla.org
> Subject: fresh install of sync-server : can t find module named
>        emailer
> Message-ID: <4F169423.8050806 at ias.u-psud.fr>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Hi,
> 
> I just installed (running on a Debian 6.0.3.) following the doc found at
> http://docs.services.mozilla.com/howtos/run-sync.html
> 
> The build goes rather well, but the test launch using the "bin/paster
> serve development.ini" command does not give the expected output :
> 
> /www/iasext/sync/server-full# bin/paster serve development.ini
> Traceback (most recent call last):
>   File "bin/paster", line 9, in <module>
>     load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/script/command.py",
> line 84, in run
>     invoke(command, command_name, options, args[1:])
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/script/command.py",
> line 123, in invoke
>     exit_code = runner.run(args)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/script/command.py",
> line 218, in run
>     result = self.command()
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/script/serve.py",
> line 276, in command
>     relative_to=base, global_conf=vars)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/script/serve.py",
> line 313, in loadapp
>     **kw)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 203, in loadapp
>     return loadobj(APP, uri, name=name, **kw)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 223, in loadobj
>     global_conf=global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 247, in loadcontext
>     global_conf=global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 270, in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 401, in get_context
>     section)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 423, in _context_from_use
>     object_type, name=use, global_conf=global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 353, in get_context
>     global_conf=global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 247, in loadcontext
>     global_conf=global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 277, in _loadegg
>     return loader.get_context(object_type, name, global_conf)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 553, in get_context
>     object_type, name=name)
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/paste/deploy/loadwsgi.py",
> line 579, in find_egg_entry_point
>     possible.append((entry.load(), protocol, entry.name))
>   File
> "/www/iasext/sync/server-full/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py",
> line 1948, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/www/iasext/sync/server-full/syncserver/__init__.py", line 44,
> in <module>
>     from syncreg.wsgiapp import urls as reg_urls, controllers as
> reg_controllers
>   File
> "/www/iasext/sync/server-full/deps/server-reg/syncreg/wsgiapp.py", line
> 42, in <module>
>     from syncreg.controllers.user import UserController
>   File
> "/www/iasext/sync/server-full/deps/server-reg/syncreg/controllers/user.py",
> line 55, in <module>
>     from services.emailer import send_email, valid_email
> ImportError: No module named emailer
> 
> 
> 
> I tried googling for the specific error at the end of the message, with
> no result.
> 
> I also tried to do a "bin/easy_install  services" but it appears that :
> Searching for services
> Best match: Services 2.6.5
> Services 2.6.5 is already the active version in easy-install.pth
> 
> Using /www/iasext/sync/server-full/deps/server-core
> Processing dependencies for services
> Finished processing dependencies for services
> 
> 
> Any pointers as to what I am missing here ?
> 
> Thanks,
> Stephane
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: stephane_caminade.vcf
> Type: text/x-vcard
> Size: 458 bytes
> Desc: not available
> URL: <https://mail.mozilla.org/private/services-dev/attachments/20120118/518ae3e5/attachment-0001.vcf>
> _______________________________________________
> Services-dev mailing list
> Services-dev at mozilla.org
> https://mail.mozilla.org/listinfo/services-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.mozilla.org/private/services-dev/attachments/20120125/f9a8ff98/attachment-0001.html>


More information about the Services-dev mailing list