baccon404 / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

crash once it loads everything #303

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
NB: First check the wiki and existing issues!

What version of Procurement are you using? On what operating system?
1.7.2.0, windows 7 ultimate
What steps will reproduce the problem?
1.opening procurement and logging in and letting it load
2.once it says done it crashes
3.

What is the expected output? What do you see instead?
it loads normally. it crashes

Please provide any additional information below.

Application Version: Procurement 1.7.2CurrentCulture: en-GB
CurrentUICulture: en-US
System.ArgumentException: An item with the same key has already been added.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at Procurement.Controls.StashControl.refresh()
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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)

Original issue reported on code.google.com by charlott...@gmail.com on 22 Aug 2014 at 5:19

GoogleCodeExporter commented 8 years ago
Please send me your .bin files, they will be in a folder in Procurement with 
either your email address or alias if you're using sessionID. If you could zip 
those files and send it to me, I can load up your items and see what's causing 
the crash.

Original comment by stickymaddness on 22 Aug 2014 at 8:28

GoogleCodeExporter commented 8 years ago
Issue 304 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:30

GoogleCodeExporter commented 8 years ago
Issue 306 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:32

GoogleCodeExporter commented 8 years ago
Issue 308 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:35

GoogleCodeExporter commented 8 years ago
Issue 309 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:35

GoogleCodeExporter commented 8 years ago
Issue 310 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:35

GoogleCodeExporter commented 8 years ago
Issue 311 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:36

GoogleCodeExporter commented 8 years ago
Issue 312 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:36

GoogleCodeExporter commented 8 years ago
Issue 313 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:36

GoogleCodeExporter commented 8 years ago
Issue 314 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:37

GoogleCodeExporter commented 8 years ago
Issue 302 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:39

GoogleCodeExporter commented 8 years ago
Issue 315 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:50

GoogleCodeExporter commented 8 years ago
Issue 316 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 8:50

GoogleCodeExporter commented 8 years ago
Ok I've been able to replicate this issue with my own items, so I will no 
longer need your .bin files

I think this is related to GGG's last patch, I'm looking into a fix.

Original comment by stickymaddness on 22 Aug 2014 at 9:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
edit: exact same time post lol

ok, thanks

Original comment by charlott...@gmail.com on 22 Aug 2014 at 9:05

GoogleCodeExporter commented 8 years ago
Haha no problem, thanks anyway. This will at least me test with data from 
someone else as well.

Original comment by stickymaddness on 22 Aug 2014 at 9:08

GoogleCodeExporter commented 8 years ago
I've found the cause of this crash.

GGG is sending duplicate data on the API, I'll release a testing version later 
today to fix this issue.

Original comment by stickymaddness on 22 Aug 2014 at 9:24

GoogleCodeExporter commented 8 years ago
Issue 317 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 9:59

GoogleCodeExporter commented 8 years ago
Issue 318 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 9:59

GoogleCodeExporter commented 8 years ago
Issue 319 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 10:00

GoogleCodeExporter commented 8 years ago
Issue 320 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 10:03

GoogleCodeExporter commented 8 years ago
I've released a testing version of Procurement 1.7.3-dev, which contains a fix 
for the duplicate data sent by GGG.

It seems that GGG is sending all gem data twice, so you'll notice that the gem 
count will be doubled for all your gems.

The testing version is at 
https://github.com/Stickymaddness/Procurement/releases/tag/1.7.3-dev

Please test and let me know.

Original comment by stickymaddness on 22 Aug 2014 at 10:04

GoogleCodeExporter commented 8 years ago
Issue 318 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 10:05

GoogleCodeExporter commented 8 years ago
I had the same issue (attached), tried the 1.7.3-dev, and it worked.  Thanks!

Original comment by zkun...@gmail.com on 22 Aug 2014 at 10:09

Attachments:

GoogleCodeExporter commented 8 years ago
Comfirmed. Same issue and 1.7.3dev solved it.

Original comment by ricardo....@gmail.com on 22 Aug 2014 at 10:43

GoogleCodeExporter commented 8 years ago
Had also the same issue, 1.7.3dev solved it.

Original comment by sys...@gmail.com on 22 Aug 2014 at 10:44

GoogleCodeExporter commented 8 years ago
had the same problem, dev version solved it. ty guys. good work. will donate!

Original comment by sascha.m...@gmail.com on 22 Aug 2014 at 10:45

GoogleCodeExporter commented 8 years ago
worked with 1.7.3 good job

Original comment by Aleksand...@gmail.com on 22 Aug 2014 at 10:49

GoogleCodeExporter commented 8 years ago
had this issue, 1.7.3dev confirmed working! thank you

Original comment by nonficti...@gmail.com on 22 Aug 2014 at 11:08

GoogleCodeExporter commented 8 years ago
Issue 322 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 11:42

GoogleCodeExporter commented 8 years ago
Issue 323 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 11:42

GoogleCodeExporter commented 8 years ago
Issue 326 has been merged into this issue.

Original comment by stickymaddness on 22 Aug 2014 at 11:51

GoogleCodeExporter commented 8 years ago
ok this version is okay. Thanks for the hard work Admin. Appreciated! (:

Original comment by Justinlx...@gmail.com on 22 Aug 2014 at 12:32

GoogleCodeExporter commented 8 years ago
Thank you to everyone in this issue who helped test the 1.7.3-dev issue, to 
keep you all in the loop I am adding a message below that I am sending to all 
users:

This morning's 1.2.0b PoE patch has been a total disaster for Procurement. 

The main issue is caused by the fact that the forum  API is now returning all 
sorts of garbage data. Random extra "1" tabs in stash, duplicate gems, currency 
and items and more. As a result, there have been a number of crashes and 
issues. I have released 1.7.3-dev which fixes 99% of the crashes, however there 
are still a lot of issues around the duplicate data. I contacted GGG and made 
them aware of this issue, they said that they will look into it but outright 
refused when I asked them to let me know when the API is fixed. Since there are 
thousands of you who all want Procurement back up and running so that you can 
setup your shops for the new leagues, and rightfully so. 

I will be working on a new release that will filter out the garbage data from 
GGG, but this is going to take a few days.

IN THE MEANTIME: You can download 1.7.3-dev, if you still have problems do not 
log more issues as I am already aware of it, as it is due to the issues I have 
just explained. Once the new release is out, if you still have problems you are 
welcome to log issues again.

Download 1.7.3-dev here : 

https://github.com/Stickymaddness/Procurement/releases/tag/1.7.3-dev (Note that 
checking for updates is disabled for dev versions)

Original comment by stickymaddness on 22 Aug 2014 at 8:13