Document Management ics does not update ics files

Bug #592035 reported by Damien Forest
This bug report is a duplicate of:  Bug #591318: sync ics calendar export data. Edit Remove
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Triaged
Undecided
Unassigned

Bug Description

Hello,

I'd like to retrieve the ics files to import them in a mail client. I can access the ones I defined (meetings, opportunities) with the ftp access but their size is null.

Apparently they are not updated by the document_ics module. I tried to uninstall reinstall but it does not change anything, their size is still null though I have meetings defined in the CRM calendars.

And if I try to retrieve them with thunderbird I get that error:

[2010-06-10 14:16:02,638] ERROR:FTP:[11]: Last revision No. & ID :
[2010-06-10 14:16:02,638] ERROR:FTP:[12]: Traceback (most recent call last):
[2010-06-10 14:16:02,638] ERROR:FTP:[13]: File "asyncore.pyo", line 68, in read
[2010-06-10 14:16:02,638] ERROR:FTP:[14]: File "asyncore.pyo", line 390, in handle_read_event
[2010-06-10 14:16:02,638] ERROR:FTP:[15]: File "asynchat.pyo", line 137, in handle_read
[2010-06-10 14:16:02,640] ERROR:FTP:[16]: File "C:\Program Files\OpenERP AllInOne\Server\addons\document.zip\document\ftpserver\ftpserver.py", line 1577, in found_terminator
[2010-06-10 14:16:02,640] ERROR:FTP:[17]: File "C:\Program Files\OpenERP AllInOne\Server\addons\document.zip\document\ftpserver\ftpserver.py", line 2165, in ftp_RETR
[2010-06-10 14:16:02,641] ERROR:FTP:[18]: File "C:\Program Files\OpenERP AllInOne\Server\addons\document.zip\document\ftpserver\ftpserver.py", line 1807, in run_as_current_user
[2010-06-10 14:16:02,641] ERROR:FTP:[19]: File "C:\Program Files\OpenERP AllInOne\Server\addons\document.zip\document\ftpserver\abstracted_fs.py", line 311, in open
[2010-06-10 14:16:02,641] ERROR:FTP:[20]: File "C:\Program Files\OpenERP AllInOne\Server\addons\document_ics.zip\document_ics\document.py", line 152, in process_read_ics
[2010-06-10 14:16:02,641] ERROR:FTP:[21]: File "vobject\base.pyo", line 186, in serialize
[2010-06-10 14:16:02,641] ERROR:FTP:[22]: File "vobject\behavior.pyo", line 157, in serialize
[2010-06-10 14:16:02,642] ERROR:FTP:[23]: File "vobject\base.pyo", line 945, in defaultSerialize
[2010-06-10 14:16:02,642] ERROR:FTP:[24]: File "vobject\base.pyo", line 186, in serialize
[2010-06-10 14:16:02,644] ERROR:FTP:[25]: File "vobject\behavior.pyo", line 157, in serialize
[2010-06-10 14:16:02,644] ERROR:FTP:[26]: File "vobject\base.pyo", line 945, in defaultSerialize
[2010-06-10 14:16:02,644] ERROR:FTP:[27]: File "vobject\base.pyo", line 186, in serialize
[2010-06-10 14:16:02,644] ERROR:FTP:[28]: File "vobject\behavior.pyo", line 151, in serialize
[2010-06-10 14:16:02,644] ERROR:FTP:[29]: File "vobject\base.pyo", line 152, in transformFromNative
[2010-06-10 14:16:02,645] ERROR:FTP:[30]: File "vobject\icalendar.pyo", line 713, in transformFromNative
[2010-06-10 14:16:02,645] ERROR:FTP:[31]: File "vobject\icalendar.pyo", line 671, in transformFromNative
[2010-06-10 14:16:02,645] ERROR:FTP:[32]: NativeError: "In transformFromNative, unhandled exception: <type 'exceptions.AttributeError'>: tzinfo"

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi

Can you update to 5.0.11 because in windows installer, there are a lot of problem fix with Timezone package

Regards,

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Damien Forest (forest-solidiance) wrote :

can you send me the link to that version you are using ?

I tried many different versions and it still does not work

Revision history for this message
Damien Forest (forest-solidiance) wrote :

Can someone send me the vserion you are using? I deleted openerp and reinstalled the whole 5.0.11 but it does not change anything to my pb

Revision history for this message
jehan (jens-e-hansen) wrote :

Same here with openerp 5.0.11 based on debian linux.

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi

I thinks it's a problem with pytz on Windows, other bugs are report about these

Regards,

Revision history for this message
jehan (jens-e-hansen) wrote :

Hi!

I just pulled server stable and addons from bazaar and upgraded python2.5 on debian - than I started the server with upgrade --all. Please notice that the server runs on a debian linux box. I tried to fetch the meeting.ics with thunderbird via ftp and got the console output you can see on pastebin (http://pastebin.com/zF1sw9QS)

Regards

Revision history for this message
Olivier - interfaSys (olivier-interfasys) wrote :

I have the same problem with the server running on Ubuntu 10.4.
All the ics files are empty.

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote :

Same here

Changed in openobject-addons:
status: Incomplete → Confirmed
Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote :

The attached patch solves the problem.

Generated files can be imported in Kontact, but not in Microsoft Outlook.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi Albert,

I doubt about adding pytz here.

Are you sure it does not harass windows users?

I have experienced few issues with pytz on widnows.

Thanks.

Changed in openobject-addons:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.