← Back to team overview

openerp-community team mailing list archive

Re: 7.0 trunk problem with "send by mail"

 

Hello Juan,



This solved my problem, many thanks!!!



*From:* Juan Cristobal Lopez Arrieta [mailto:juancristobal@xxxxxxxxx]
*Sent:* maandag 14 januari 2013 15:31
*To:* Geert Surkijn
*Cc:* Er. Jay Vora; OpenERP Community
*Subject:* Re: [Openerp-community] 7.0 trunk problem with "send by mail"



We had the same problem with documents.
Installing poppler-utils in the server fix this issue for us.



On Mon, Jan 14, 2013 at 10:34 AM, Geert Surkijn <
geert.surkijn@xxxxxxxxxxxxxxx> wrote:

I second this issue, I have the same problem with this in our live server.
With our development server (which is at the same version) it is still
working. Also uploading a pdf document in the knowledge addon is giving the
same error. It seems to be something general with the indexing of the pdf
content. Txt files for example are working.



2013/1/8 Juan Cristobal Lopez Arrieta <juancristobal@xxxxxxxxx>

Agree, but strange is not reported as a bug !!



On Tue, Jan 8, 2013 at 10:05 AM, Er. Jay Vora <jay.vora4ce@xxxxxxxxx> wrote:

Moritz,

Thats why it seems a common error!



On Tue, Jan 8, 2013 at 3:57 PM, Moritz Berrenberg <m.berrenberg@xxxxxxxxx>
wrote:

Hi Serpent,



the bug reported there was for the survey module.

Do you experience the same problem when you try to send a quotation by mail
?

i already updated to the latest trunk but this didnt fix this problem.



regards

Moritz



On Tue, Jan 8, 2013 at 6:19 PM, Serpent Consulting Services <
serpentcs.lp@xxxxxxxxx> wrote:

This seems like a common error.

Example : A bug reported here :
https://bugs.launchpad.net/openobject-addons/+bug/1096218

Thanks.


On Tuesday 08 January 2013 03:26 PM, Moritz Berrenberg wrote:

hi community,



i have a problem when i to send a quotation or RFQ with the send by mail
function.

since this is a so basic function and i couldnt find a bug report i thought
i seek for help here.



when i press send by mail i always get this error:



OpenERP Server Error

------------------------------

Client Traceback (most recent call last):

  File "/opt/openerp/web/addons/web/http.py", line 195, in dispatch

    response["result"] = method(self, **self.params)

  File "/opt/openerp/web/addons/web/controllers/main.py", line 1078, in call_kw

    return self._call_kw(req, model, method, args, kwargs)

  File "/opt/openerp/web/addons/web/controllers/main.py", line 1070, in _call_kw

    return getattr(req.session.model(model), method)(*args, **kwargs)

  File "/opt/openerp/web/addons/web/session.py", line 40, in proxy

    result = self.proxy.execute_kw(self.session._db,
self.session._uid, self.session._password, self.model, method, args,
kw)

  File "/opt/openerp/web/addons/web/session.py", line 28, in proxy_method

    result = self.session.send(self.service_name, method, *args)

  File "/opt/openerp/web/addons/web/session.py", line 101, in send

    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)





Server Traceback (most recent call last):

  File "/opt/openerp/web/addons/web/session.py", line 87, in send

    return openerp.netsvc.dispatch_rpc(service_name, method, args)

  File "/opt/openerp/server/openerp/netsvc.py", line 289, in dispatch_rpc

    result = ExportService.getService(service_name).dispatch(method, params)

  File "/opt/openerp/server/openerp/service/web_services.py", line
614, in dispatch

    res = fn(db, uid, *params)

  File "/opt/openerp/server/openerp/osv/osv.py", line 169, in execute_kw

    return self.execute(db, uid, obj, method, *args, **kw or {})

  File "/opt/openerp/server/openerp/osv/osv.py", line 123, in wrapper

    return f(self, dbname, *args, **kwargs)

  File "/opt/openerp/server/openerp/osv/osv.py", line 179, in execute

    res = self.execute_cr(cr, uid, obj, method, *args, **kw)

  File "/opt/openerp/server/openerp/osv/osv.py", line 166, in execute_cr

    return getattr(object, method)(cr, uid, *args, **kw)

  File "/opt/openerp/addons/email_template/wizard/mail_compose_message.py",
line 85, in onchange_template_id

    values['attachment_ids'].append(ir_attach_obj.create(cr, uid,
data_attach, context=context))

  File "/opt/openerp/addons/document/document.py", line 121, in create

    vals['file_type'], vals['index_content'] = self._index(cr, uid,
vals['datas'].decode('base64'), vals.get('datas_fname', False), None)

  File "/opt/openerp/addons/document/document.py", line 132, in _index

    mime, icont = cntIndex.doIndex(data, datas_fname,  file_type or None, None)

TypeError: 'NoneType' object is not iterable

regards

Moritz





_______________________________________________

Mailing list: https://launchpad.net/~openerp-community

Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx

Unsubscribe : https://launchpad.net/~openerp-community

More help   : https://help.launchpad.net/ListHelp



-- 

Thanks,
Regards,

Serpent Consulting Services.
Web : http://www.serpentcs.com
Twitter: jaynvora, husendaudi
Skype: jaynvora, husen.daudi
Blog : http://www.serpentcs.com/blog




_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp




-- 

Thanks,
Regards,

*Er. Jay Vora*
M : 91 - 9879354457.
(Not miles, just an email away...)
Twitter <http://twitter.com/#%21/jaynvora>
Facebook<http://www.facebook.com/jaynvora>
LinkedIn <http://www.linkedin.com/in/jaynvora>
Blogger<http://jayvora.blogspot.com>
"No Seconds to be Wasted for Formalities, I have a lot to Execute !" - Jay
Vora
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp




-- 
Juan Cristobal Lopez Arrieta
http://www.openerp.com/node/560    +54376 4437686
Celular: +549376 4376481
skype  : jclopezar


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp





-- 

*Best regards / Met vriendelijke groeten,*



Geert Surkijn, Manager Cats&Dogs bvba

Tel. +32-13-539110 - Mobile: +32-474-999590

www.catsanddogs.com




-- 
Juan Cristobal Lopez Arrieta
http://www.openerp.com/node/560    +54376 4437686
Celular: +549376 4376481
skype  : jclopezar

Follow ups

References