Version 3.0.0 Beta 11 :9d8d6f6:

An RSS/Atom newsreader with features comparable to commercial newsreaders.
Post Reply
DanVienna
Harmless
Posts: 4
Joined: Sun Dec 19, 2010 8:39 pm

Version 3.0.0 Beta 11 :9d8d6f6:

Post by DanVienna »

Dear,

Mac OSX 10.8.3:

Check in Console:

....
22/05/13 14:35:14,746 Vienna[9721]: Conversion error: Tue 12 Apr 2011 19:25:00 GMT
22/05/13 14:35:14,746 Vienna[9721]: Conversion error: Fri 18 Mar 2011 18:42:00 GMT
22/05/13 14:35:14,747 Vienna[9721]: Conversion error: Fri 18 Mar 2011 18:40:00 GMT
22/05/13 14:35:14,747 Vienna[9721]: Conversion error: Sun 29 Nov 2009 09:45:00 GMT
...

Could you be so kind to handle this Conversion ... surely it's linked to Dates...

Thanks!

;-)

Cheers
inflector
Muffin
Posts: 42
Joined: Sun Feb 28, 2010 4:59 am

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by inflector »

This bug may be the one causing the problems I was having as I'm running 10.8.3 as well. Dates not being converted consistently could easily create the effects I was seeing where RSS feeds would read and read items would come back and where the 'n' key had no effect.
aperantos
Harmless
Posts: 18
Joined: Tue Feb 08, 2005 1:31 am
Location: London, UK

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by aperantos »

As of today I am seeing this problem. I am on OS X 10.8.4 however.

I noticed the fan going on my MacBook Air and looking at a GeekTool widget on my desktop it showed the processor usages at 100% for Vienna which was hidden. I could not bring it up so brought up the Force Quit dialogue which showed it as not responding so I killed it. Whenever I restart it the spinning icon appears against the first few feeds in the side panel and it stops responding giving me no choice but to force quit again.

Checking /var/log/system.log it is filled with the same conversion errors as DanVienna posted above, the only difference (other than obviously being for different dates and times, the format was the same) being that they have BST for the time zone. Deleting the preferences file has no affect and the issue reoccurs.

I have also attached the crash log for the initial occurrence

Does anyone know of a workaround for this (inflector says "was having" suggesting there may be one) as otherwise I will be locked out of accessing any RSS until it can be fixed?
Attachments
crashlog.txt
(668.17 KiB) Downloaded 161 times
aperantos
Harmless
Posts: 18
Joined: Tue Feb 08, 2005 1:31 am
Location: London, UK

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by aperantos »

Okay, so having just tried reloading Vienna for the first time since my previous post this time it updated feeds and is responsive. I guess whatever was causing the problem earlier must have been related to the time it was trying to check feeds, maybe a temporary problem with one of them? The system.log has just been filled with many more conversion errors though.
kimnzl
Harmless
Posts: 2
Joined: Mon Jun 17, 2013 2:05 pm

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by kimnzl »

I have been having some major issues related to the date/time conversion also.
In 10.9 it is enough to crash Vienna or run it at 100% CPU as it fills the console at as fast as it can go.
I hard coded it for the mean time.

from https://developer.apple.com/library/mac ... Older.html

Code: Select all

Deprecated defaults constants in NSUserDefaults.h
As mentioned in the 10.4 release notes for Foundation, the following user defaults are deprecated in 10.5:
NSTimeFormatString
NSShortDateFormatString
from https://developer.apple.com/library/mac ... rence.html

Code: Select all

The NSUserDefaults class provides the following constants as a convenience. They provide access to values of the keys to the locale dictionary, which is discussed in Preferences and Settings Programming Guide. (Deprecated. These constants are deprecated in OS X v10.5. Where there are direct replacements, you can find typically them in NSDateFormatter—for example, monthSymbols, shortWeekdaySymbols, and AMSymbol—otherwise you should use the patterns described in Data Formatting Guide.)
extern NSString *NSTimeFormatString;
extern NSString *NSShortDateFormatString;

I back tracked it to the date conversion code.
[defaults objectForKey:@"NSTimeFormatString"] was returning nil

in CalendarExtensions.m
in -(NSString *)friendlyDescription:

Code: Select all

		-NSString * outputFormat = [defaults objectForKey:@"NSShortDateFormatString"];
		-theDate = [self descriptionWithCalendarFormat:outputFormat];
        +theDate = [self descriptionWithCalendarFormat:@"%Y-%m-%d"];

		// Use the user's preferred time format but strip off the seconds.
		-NSMutableString * outputFormat = [NSMutableString stringWithString:[defaults objectForKey:@"NSTimeFormatString"]];
		-[outputFormat replaceOccurrencesOfString:@":%S" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [outputFormat length])];
		-theTime = [self descriptionWithCalendarFormat:outputFormat];
		+theTime = [self descriptionWithCalendarFormat:@"%H:%M"];
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by barijaona »

kimnzl wrote:I have been having some major issues related to the date/time conversion also.
In 10.9 it is enough to crash Vienna or run it at 100% CPU as it fills the console at as fast as it can go.
I hard coded it for the mean time.
@kimnzl, thanks for the observation. How about this commit ? https://github.com/barijaona/vienna-rss ... f4d2cd1207
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
kimnzl
Harmless
Posts: 2
Joined: Mon Jun 17, 2013 2:05 pm

Re: Version 3.0.0 Beta 11 :9d8d6f6:

Post by kimnzl »

That looks great.
I have tested it and it seems to work to me.
Thanks, Kim.
Post Reply