Will not save my settings

Jul 5, 2011 at 12:34 PM
Edited Jul 5, 2011 at 12:34 PM

On Win 7 home 64 bit. Running Mosaic 264 alpha.

I create a few widgets, add some sites and people. Next, I exit the program and re-launch again, only to find everything I set up gone and not saved.

I tried right clicking run as administor with the same result.

Would appreciate any input.

Coordinator
Jul 5, 2011 at 12:38 PM

any logs in log folder?

Jul 5, 2011 at 1:52 PM

The log can be downloaded here

http://www.divshare.com/download/15241636-d54

Coordinator
Jul 5, 2011 at 1:57 PM

that's fixed in new (270) build

Jul 5, 2011 at 2:23 PM

Wow. Thanks for the speedy response!

Jul 5, 2011 at 2:53 PM

Another bug report: with this new version (build 270), I am unable to add people to Mosaic

Log below:

http://www.divshare.com/download/15242025-336

Jul 5, 2011 at 4:48 PM

I have the same problem with the exact same error log.

05.07.2011 20:16:03 (ERROR): Mosaic.App An error occured.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Facebook.JsonObject.get_Item(String key)
   at Social.Base.SocialProvider.GetFriendStream(String id)
   at Mosaic.Windows.PeopleHub.b__4()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler).

Coordinator
Jul 5, 2011 at 4:57 PM
Edited Jul 5, 2011 at 4:57 PM

martianboy, could you please check where exactly it crashes (what line) by setting breakpoint in Social.Base.SocialProvider.GetFriendStream method and running it step by step?

Jul 5, 2011 at 5:11 PM
Edited Jul 5, 2011 at 5:13 PM

I could, but I don't see the source code for Social.Base anywhere. Are you sure you've uploaded it? I only have its DLL.

Coordinator
Jul 5, 2011 at 5:33 PM

reuploaded

Jul 5, 2011 at 5:52 PM
skurdi wrote:

Another bug report: with this new version (build 270), I am unable to add people to Mosaic

Log below:

http://www.divshare.com/download/15242025-336

Here is the trick on how you add people from fb.

1.  click option - make sure the "enable fullscreen mode" is uncheck.

2. now add people that you like.

3. you can now check the "enable fullscreen mode".

DON'T ENABLE FULLSCREEN MODE IF YOU'RE ADDING "PEOPLE" FROM FB. ^^

Jul 5, 2011 at 6:03 PM
Edited Jul 5, 2011 at 6:10 PM

I don't have fullscreen mode enabled at all. Here is the line from GetFriendStream where the error occurs:

 

var commentsData = (IList<object>)comments["data"];

'comments' only have 'count' in its keys and no 'data'.

Update: The thing is that it only occurs for some of items in my Facebook feed. I still don't know why.

Coordinator
Jul 5, 2011 at 6:17 PM

martianboy, I commited a fix for it. Please see if it crashes somewhere else in this method.

Jul 5, 2011 at 6:25 PM

Thanks for the fix. Just for information, I think I've found what's causing the problem. For feed items with too many comments, Facebook just returns the count of comments, and not the data itself. Mosaic was crashing exactly on these posts.

I'll apply the fix and test again.

Jul 6, 2011 at 10:43 AM

Thanks. It works now. I can add people without hitch.

But another question: how can I preserve my widgets, twitter authorization, etc. when upgrading to a new release?

Thanks!

Coordinator
Jul 6, 2011 at 10:56 AM

You can copy .config files from previous build