Regard,
V.B.
On 24 nov, 09:58, Phanounou <virginia.bel...@gmail.com> wrote:
> Good day everyone,
>
> I am trying to create/edit and close an excel file. Everything went fine on
> my developpement machine. But on the prod server I get the* following error*
> :
>
> com_error at /mycontracts/getContactClient/
> (-2147221005, 'Invalid class string', None, None)
>
> *and this trace back*
> I forgot to mention that Microsoft office is not install on the
> server. Is it a problem?
>
> Regard,
>
> V.B.
Yes. Your code is using Excel to read/write the file. Obviously that won't work if it's not there. http://www.python-excel.org/ says it work, but I haven't tried it.
In general, I try not to use COM for anything. It hasn't been well supported since 2004, and there are too many "legacy design decisions".
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
Peter of the Norse
Rahm...@Radio1190.org