Error message about incorrect Date: line?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error message about incorrect Date: line?

ISHIKAWA,chiaki
TB 45.0 32-bit under linux 64-bit

I noticed the following messages on the tty console window where I invoked
thunderbird lately.

Error: Couldn't find (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
Vienna

There are several such error lines and so I suspect it comes from a mailing
list or someone I correspond with.

There are a few problems with this error message.

It is not clear what the error is about.

Let me assume that this complains about incorrect Date: header line.

In that case, since the error message does not show the Subject: or From:, I
can't find out which e-mail or newsmessage produced the error message.
So I cannot figure out whose mailer/mail agent (or news reader) is broken.
Thus I cannot notify the user / sysadmin of the offending message (as if the
notified user/sysadmin will do something about it).

It would be great if the message can contain either From:, Subject: or
Message ID: line.
Or if it is not related to Date: header incorrectness, it ought to explain
what the "Error" is all about more clearly.

This is RFE (Request for Enhancement) in this sense.

Probably the issue here is that there is no control one has over the Date:
line of a received message.
We are at the mercy of whoever sends a message about the correct format of
header lines.
So I certainly understand the desire of developers to record the receiving
of a message with broken Date: header just in case, someoen cares about it, but
unless one has a clue as to who has sent such a message, there is nothing a
recipient can do.

TIA


_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Error message about incorrect Date: line?

Stefan Sitter-2
On 19.04.2016 12:54, ishikawa wrote:
> TB 45.0 32-bit under linux 64-bit
>
> I noticed the following messages on the tty console window where I invoked
> thunderbird lately.
>
> Error: Couldn't find (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
> Vienna

This could be reported by Lightning:
https://dxr.mozilla.org/comm-central/source/calendar/base/src/calTimezoneService.js#197

Maybe you have an event in your calendar that references the foreign
timezone '(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
 > Vienna' without providing its definition.

/Stefan

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Error message about incorrect Date: line?

ISHIKAWA,chiaki
On 2016年04月20日 01:40, Stefan Sitter wrote:

> On 19.04.2016 12:54, ishikawa wrote:
>> TB 45.0 32-bit under linux 64-bit
>>
>> I noticed the following messages on the tty console window where I invoked
>> thunderbird lately.
>>
>> Error: Couldn't find (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
>> Vienna
>
> This could be reported by Lightning:
> https://dxr.mozilla.org/comm-central/source/calendar/base/src/calTimezoneService.js#197
>
>
> Maybe you have an event in your calendar that references the foreign
> timezone '(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
>> Vienna' without providing its definition.
>
> /Stefan
>

Thank you for the tips.
It is possible that the error is indeed caused by calendar code since
someone sent me a calendar event for skype conference call.
Usually, the e-mail goes through some internal hosts before I read it and
the event is registered in either google calendar and recently office365
calendar, and I have not bothered to check
the TB's built-in calendar...


So, I have not used lightening much because of the previous and current
usage of Google and Office365 calendar and
how to "define (UTC+1) ..." time zone.

At least, I can suggest that the error line


        let tz = this.mZones.get(tzid);
        if (!tz) {
            cal.ERROR("Couldn't find " + tzid);
            return null;


can have a prefix to identify the module (lightening) that prints the message.
So cal.ERROR ought to prefix the passed message with "TB Cal: " or some such.

Also, it would be great to mention the fix. "Please define the timezone ...
see this URL for help, etc.".

However, I have a nagging feeling that "UTC+1" should be a good enough
string to figure out the time zone even if
it is followed by unknown (?) city names. Maybe the use of "(", ")", etc.
may not fit the proper date format.

I will file an RFE in bugzilla.

Thank you again for identifying the place that produced the cryptic (at
least to me) message.

TIA
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Error message about incorrect Date: line?

ISHIKAWA,chiaki
On 2016年04月20日 16:50, ishikawa wrote:

> On 2016年04月20日 01:40, Stefan Sitter wrote:
>> On 19.04.2016 12:54, ishikawa wrote:
>>> TB 45.0 32-bit under linux 64-bit
>>>
>>> I noticed the following messages on the tty console window where I invoked
>>> thunderbird lately.
>>>
>>> Error: Couldn't find (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
>>> Vienna
>>
>> This could be reported by Lightning:
>> https://dxr.mozilla.org/comm-central/source/calendar/base/src/calTimezoneService.js#197
>>
>>
>> Maybe you have an event in your calendar that references the foreign
>> timezone '(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm,
>>> Vienna' without providing its definition.
>>
>> /Stefan
>>
>
> Thank you for the tips.
> It is possible that the error is indeed caused by calendar code since
> someone sent me a calendar event for skype conference call.
> Usually, the e-mail goes through some internal hosts before I read it and
> the event is registered in either google calendar and recently office365
> calendar, and I have not bothered to check
> the TB's built-in calendar...
>
>
> So, I have not used lightening much because of the previous and current
> usage of Google and Office365 calendar and
> how to "define (UTC+1) ..." time zone.
>
> At least, I can suggest that the error line
>
>
>         let tz = this.mZones.get(tzid);
>         if (!tz) {
>             cal.ERROR("Couldn't find " + tzid);
>             return null;
>
>
> can have a prefix to identify the module (lightening) that prints the message.
> So cal.ERROR ought to prefix the passed message with "TB Cal: " or some such.
>
> Also, it would be great to mention the fix. "Please define the timezone ...
> see this URL for help, etc.".
>
> However, I have a nagging feeling that "UTC+1" should be a good enough
> string to figure out the time zone even if
> it is followed by unknown (?) city names. Maybe the use of "(", ")", etc.
> may not fit the proper date format.
>
> I will file an RFE in bugzilla.
>
> Thank you again for identifying the place that produced the cryptic (at
> least to me) message.
>
> TIA
>

Filed
Bug 1265988 - Lightning prints a cryptic error message when it does not
understand the timezone of an calendar event is seen

https://bugzilla.mozilla.org/show_bug.cgi?id=1265988
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Error message about incorrect Date: line?

bj66.chan
In reply to this post by ISHIKAWA,chiaki
Lightning 4.7 in Windows 10 has the similar issue. When received Webex meeting invitation, the timezone cannot be recognized. It will use the default UTC timezone for the event.

Brian
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird