HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous


Membership:
Latest: Russmyster
New Today: 1
New Yesterday: 0
Overall: 12267

People Online:
Members: 0
Visitors: 181
BOT: 2
Total: 183
Who Is Where:
 Visitors:
01: Photo Albums
02: Photo Albums
03: Photo Albums
04: Photo Albums
05: Photo Albums
06: Photo Albums
07: Photo Albums
08: Forums
09: Photo Albums
10: Photo Albums
11: Photo Albums
12: Photo Albums
13: Forums
14: Photo Albums
15: Forums
16: Photo Albums
17: Photo Albums
18: Photo Albums
19: Photo Albums
20: Photo Albums
21: Forums
22: Photo Albums
23: Photo Albums
24: Photo Albums
25: Photo Albums
26: Photo Albums
27: Photo Albums
28: Photo Albums
29: Photo Albums
30: Photo Albums
31: Photo Albums
32: Photo Albums
33: Photo Albums
34: Forums
35: Photo Albums
36: Forums
37: Photo Albums
38: Photo Albums
39: Photo Albums
40: Photo Albums
41: Photo Albums
42: Your Account
43: Photo Albums
44: Photo Albums
45: Photo Albums
46: Photo Albums
47: Photo Albums
48: Forums
49: Photo Albums
50: Photo Albums
51: Photo Albums
52: Photo Albums
53: Photo Albums
54: Photo Albums
55: Photo Albums
56: Photo Albums
57: Photo Albums
58: Forums
59: Photo Albums
60: Photo Albums
61: Forums
62: Statistics
63: Photo Albums
64: Photo Albums
65: Photo Albums
66: Forums
67: Photo Albums
68: Photo Albums
69: Photo Albums
70: Forums
71: Photo Albums
72: Forums
73: Photo Albums
74: Photo Albums
75: Photo Albums
76: Photo Albums
77: Photo Albums
78: Photo Albums
79: Photo Albums
80: Forums
81: Photo Albums
82: Photo Albums
83: Photo Albums
84: Photo Albums
85: Photo Albums
86: Photo Albums
87: News
88: Photo Albums
89: Photo Albums
90: Photo Albums
91: Photo Albums
92: Forums
93: Photo Albums
94: Photo Albums
95: Photo Albums
96: Photo Albums
97: Photo Albums
98: Photo Albums
99: Photo Albums
100: Photo Albums
101: Forums
102: Photo Albums
103: Photo Albums
104: Photo Albums
105: Photo Albums
106: Photo Albums
107: Forums
108: Photo Albums
109: Photo Albums
110: Photo Albums
111: Photo Albums
112: Photo Albums
113: Photo Albums
114: Photo Albums
115: Photo Albums
116: Photo Albums
117: Forums
118: Photo Albums
119: Photo Albums
120: Photo Albums
121: Photo Albums
122: Photo Albums
123: Photo Albums
124: Photo Albums
125: Home
126: Photo Albums
127: Home
128: Photo Albums
129: Photo Albums
130: Photo Albums
131: Photo Albums
132: Photo Albums
133: Forums
134: Photo Albums
135: Photo Albums
136: Forums
137: Photo Albums
138: Forums
139: Photo Albums
140: Photo Albums
141: Photo Albums
142: Photo Albums
143: Photo Albums
144: Photo Albums
145: Photo Albums
146: Photo Albums
147: Photo Albums
148: Photo Albums
149: Photo Albums
150: Forums
151: Photo Albums
152: Photo Albums
153: Photo Albums
154: Forums
155: Photo Albums
156: Photo Albums
157: Photo Albums
158: Photo Albums
159: Photo Albums
160: Photo Albums
161: Photo Albums
162: Photo Albums
163: Photo Albums
164: Photo Albums
165: Photo Albums
166: Photo Albums
167: Photo Albums
168: Photo Albums
169: Photo Albums
170: Photo Albums
171: Photo Albums
172: Photo Albums
173: Forums
174: Forums
175: Photo Albums
176: Forums
177: Photo Albums
178: Photo Albums
179: Forums
180: Your Account
181: Photo Albums
  BOT:
01: Forums
02: Your Account

Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 311
 Pictures: 2401
  · Views: 232403
  · Votes: 1255
  · Comments: 86
 

Support our Advertisers

Error after "loading database" - regional settings problem
Post your bug reports or feature requests here!

View previous topic :: View next topic  
Author Message
quicklead
Rookie Member
Rookie Member


Joined: Sep 11, 2011
Posts: 1

PostPosted: Sun Sep 11, 2011 11:46 am    Post subject: Error after "loading database" - regional settings problem Reply with quote

Hi.

When I start PointBlank I get program error after "Loading database" message. When I change the regional settings in my system to use "." as a separator instead of "," that is used by default in my country the program runs fine.

Thanks for the nice and useful software!
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3017
Location: Utah

PostPosted: Sun Sep 11, 2011 3:26 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Its a known issue introduced with the last version. I have a fix and need to just complete some further testing to make sure it doesnt cause any additional issues.

That and a new feature (multi-target comparisons) will be in the next version, which should be out later today.


-DallanC
Back to top
View user's profile Photo Gallery
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3017
Location: Utah

PostPosted: Sun Sep 11, 2011 9:19 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

A fix is now pushed up.

To use the new Target Comparison feature, select any target and a Compare button will now be visible at the bottom of the tree view. Click that and you will be given a list of *ALL* targets in the database, check the checkboxes of the loads you wish to compare an then change the tab at the bottom of the screen. Its pretty easy and straight forward to use.

-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 11:54 am    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Nice feature implementation however I get an unhandled exception - Index outside bounds of the array. the comparison results show a big red X. Maybe I'm doing something wrong? I did update all my .Net like suggested.

Thanks
al

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PointBlank.TargComparison.DrawTarget(Graphics g, TargetTreeNode nodexx, Int32 Left, Int32 Top, Int32 Width, Int32 Height)
at PointBlank.TargComparison.tabPage2_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PointBlank
Assembly Version: 1.0.4271.38082
Win32 Version: 1.0.4271.38082
CodeBase: file:///E:/Shooting/Gun%20Apps/PointBlank-2/PointBlank.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
Back to top
View user's profile
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 11:58 am    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Sometimes I CAN get it to work and it does compare 2 or 3 targets then other times it won't and just throws error after error.

Can't seem to find the key sequence difference yet.


Last edited by SyberShooter on Wed Sep 14, 2011 4:26 pm; edited 1 time in total
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3017
Location: Utah

PostPosted: Wed Sep 14, 2011 1:01 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

SyberShooter wrote:
Sometimes I CAN get it to work and it does compare 2 or 3 or more targets then other times it won't and just throws error after error.

Can't seem to find the key sequence difference yet.

I will run some more tests on it tonight. I did test it pretty heavily with no issues, but it seems something is obviously is wrong. Lemme dig into it further tonight, if you can find repro steps it will make it that much easier.

Sorry for the inconvienence, glad you like it (when it does work lol).


-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Wed Sep 14, 2011 4:19 pm    Post subject: Re: Error after "loading database" - regional settings probl Reply with quote

I seem to have found the point it stops working. I currently have 147 targets in my db. when I get to # 55 I get the error
"InvalidArgument=value of "54" is not valid for SelectIndex.
ParameterName: SelectIndex"

I don't have to try a compare either, all I have to do is select any listed item after the 53rd one in the list (counting from 0) sometimes I can go back and compare two lower than 53 but after selecting a couple above 54 it then stops working for the lower numbers.
I started at item #1 in the list and use the down-arrow to move to each item. as soon as I hit the 55th item in the list I got the error

The invalid argument # in the error messages increments according to the line item #-1 (base 0 - I understand)
I will upload my data file if you need it for testing.

Looks like it might be an array overflow.
I should'a made this its own thread - sorry

al
Back to top
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3017
Location: Utah

PostPosted: Wed Sep 14, 2011 7:21 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

I reproduced it... working on a fix, its over-flowing the array of "draw colors" when you have alot of entrys selected.


-DallanC
Back to top
View user's profile Photo Gallery
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3017
Location: Utah

PostPosted: Wed Sep 14, 2011 8:32 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

Fixed, it will be in the next version release.

I also added a "Select All" button because it was REALLY annoying to try checking all of the targets one at a time.

I also found a bug in that when you duplicate a target, all of the shot info is set to inactive in the new copy. I will fix that as well.


-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Sun Sep 18, 2011 7:03 pm    Post subject: Re: Error after "loading database" - regional settings problem Reply with quote

[quote="DallanC"


I also found a bug in that when you duplicate a target, all of the shot info is set to inactive in the new copy. I will fix that as well.


-DallanC[/quote]

I thought that was a feature... not a bug! Smile

Is there a way to have all the targets in a collapsed tree and just expand the ones ya wanna work with?

Thanks
Al
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index » Bug Reports / Feature Requests
Page 1 of 1
All times are GMT - 7 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Advertisements
 


Valid CSS! Valid HTML 4.01!
Click to check if this page is realy HTML 4.01 compliant for speed :)

All logos and trademarks in this site are property of HuntingNut.com.
The comments are property of their posters, all the rest © 2011 by HuntingNut.com
Interactive software released under GNU GPL, Code Credits, Privacy Policy

.: Upgraded to DragonFly 9.2 by Dizfunkshunal :.