[RELEASE] Slopey's BPC Market Tool! - New version!

"A table in the database is locked"
Then the application suddenly stopped working.
Tried deleting the database and uninstalling-reinstalling. No success. :(
 
Hello

New forum member and BPC user here :)

I wish to contribute by updating information but I'm having a problem. I've successfully captured the data using EliteOCR 0.5.3 and clicked on the Export to BPC button. I then open BPC V4.3.0.3, select Add/Update Prices and the Add Commod Prices dialogue box pops up. I then select Load from EliteOCR BPC file, navigate to the file, select it and click the open button. Unfortunately the Add Commod Prices dialogue box is not being populated with the captured data :S, there are no error messages, it just doesn't do anything.

Can you help?

Thank you.
 
Hello

New forum member and BPC user here :)

I wish to contribute by updating information but I'm having a problem. I've successfully captured the data using EliteOCR 0.5.3 and clicked on the Export to BPC button. I then open BPC V4.3.0.3, select Add/Update Prices and the Add Commod Prices dialogue box pops up. I then select Load from EliteOCR BPC file, navigate to the file, select it and click the open button. Unfortunately the Add Commod Prices dialogue box is not being populated with the captured data :S, there are no error messages, it just doesn't do anything.

Can you help?

Thank you.

Hi,

Obviously Slopey could be the best to answer this, however is BPC aware of your current location at the time of you trying this?

Your location should be shown in the bottom left hand corner of BPC.

If not, make sue the logging is all configured and restart Elite and BPC.

Regards
 
Hi,

Obviously Slopey could be the best to answer this, however is BPC aware of your current location at the time of you trying this?

Your location should be shown in the bottom left hand corner of BPC.

If not, make sue the logging is all configured and restart Elite and BPC.

Regards

Hello Engadine

Thank you for responding.

I can confirm that my current location is displayed in the bottom left corner of BPC, the path to the ED logs folder is correct and that the AppConfig file has the VerboseLogging='1' setting. I'm not sure if there is anything further to configure.
 
Hello Engadine

Thank you for responding.

I can confirm that my current location is displayed in the bottom left corner of BPC, the path to the ED logs folder is correct and that the AppConfig file has the VerboseLogging='1' setting. I'm not sure if there is anything further to configure.

Hi,

When you click on the Add/Update Prices button, does it show the current system in there?

If the Station isn't already in the database you will have to type this in to add it.

Also, how old is the prices file, best to add this whilst you're still at that Station.

Regards
 
Hello Slopey, a few things from me again:
1. If i do a any to any radius search after a while the BPC crash with the error run out of memory ... but i still have more than 8 gb RAM free :-/

2. If i wanna do a manual delete from data older then x hours the program wanna check the correct timestamp why? The program last time i tried it run more then 8 hous an is not finished to check? If i then press the button where the BPC count up after short time i got error with message: one table locked.

3. If i do a search and say: All commodities but without slaves, why BPC dont use that filter for round trip too? He tells me then round trip bring back slaves. Will there be in future make use the filter for round trip too?

Hope can understand my bad english :)


Greets,
tigerle, German Commander
 
Hi,

When you click on the Add/Update Prices button, does it show the current system in there?

If the Station isn't already in the database you will have to type this in to add it.

Also, how old is the prices file, best to add this whilst you're still at that Station.

Regards

Hi Engadine

In the Add Commod Prices dialogue box both the correct system, Eravate, and station, Ackerman Market, are displayed.

The *.pbc files were created at 11:50 and 11:55 this morning. That's a little under 2 hours ago now. That's how long I've been trying to get the data to load in the Add Commod Prices screen but without success, and I haven't moved from the station.

Thank you.
 
Just restart it, it's just the database stepping on itself which happens occasionally.

Sorry, but it don't work, I also trying uninstall and new download, but the link is to version 4.3.0.0 and program now crashes after that the popup reports the same message of database locked. :(.
Updated to 4.3.0.3 with the wyupdate.exe, but still popup the message of database locked.

I add the printout of exception.


************** Testo dell'eccezione **************
Devart.Data.SQLite.SQLiteException (0x00000006): A table in the database is locked
database table is locked
in Devart.Data.SQLite.a7.d(bt A_0)
in Devart.Data.SQLite.bt.b()
in Devart.Data.SQLite.af.i()
in Devart.Data.SQLite.SQLiteDataReader.c()
in Devart.Data.SQLite.SQLiteCommand.InternalExecute(CommandBehavior behavior,

IDisposable statement, Int32 startRecord, Int32 maxRecords)
in Devart.Common.DbCommandBase.InternalExecute(CommandBehavior behavior,

IDisposable stmt, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
in Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior,

Boolean nonQuery)
in Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)
in Devart.Common.DbCommandBase.ExecuteNonQuery()
in Devart.Data.SQLite.SQLiteTransaction..ctor(SQLiteConnection A_0,

SQLiteTransactionMode A_1)
in Devart.Data.SQLite.SQLiteConnection.BeginTransaction(SQLiteTransactionMode

transactionMode)
in Devart.Data.SQLite.SQLiteConnection.BeginTransaction()
in A.ce60847a8ca1358480ac48a994b33eaa6.cd8b92052637f3736aa09d57b7dfcdb63(Array

c2c632c0544f5ad7358103b8ae3f20b65)
in A.ce60847a8ca1358480ac48a994b33eaa6.c881d7e8b1b9a696a7352a116232a60a0(Int32

cfe5d01b7ab5032e23016d89e4a71260b)
in A.ce60847a8ca1358480ac48a994b33eaa6.c36565ac930865007988504e0f4811247()
in A.ce60847a8ca1358480ac48a994b33eaa6.c12723b1ad8f9de2ad560c75f58721efc(Object

cf31c6b95f279e766a628123301769734, EventArgs c685f2fe3e56b15489d3a72ae97ae0d12)
in System.EventHandler.Invoke(Object sender, EventArgs e)
in System.Windows.Forms.Form.OnLoad(EventArgs e)
in DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ContainerControl.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
in DevExpress.XtraBars.Ribbon.RibbonForm.WndProc(Message& msg)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr

wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ED_BPC
Versione assembly: 4.3.0.3
Versione Win32: 4.3.0.3
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED%20BPC/ED_BPC.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__

b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f

7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34239 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e0

89/System.dll
----------------------------------------
DevExpress.BonusSkins.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.BonusSkins.v13.2.DLL
----------------------------------------
DevExpress.Utils.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.Utils.v13.2.DLL
----------------------------------------
DevExpress.XtraBars.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraBars.v13.2.DLL
----------------------------------------
DevExpress.XtraEditors.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraEditors.v13.2.DLL
----------------------------------------
DevExpress.Data.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.Data.v13.2.DLL
----------------------------------------
System.Speech
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf385

6ad364e35/System.Speech.dll
----------------------------------------
System.Data
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c56193

4e089/System.Data.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561

934e089/System.Core.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34230 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c5619

34e089/System.Xml.dll
----------------------------------------
System.Algorithms
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/System.Algorithms.DLL
----------------------------------------
Microsoft.VisualBasic
Versione assembly: 10.0.0.0
Versione Win32: 12.0.20806.33440 built by: FX45W81RTMREL
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0

__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_

b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
DevExpress.XtraGrid.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraGrid.v13.2.DLL
----------------------------------------
DevExpress.XtraCharts.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraCharts.v13.2.DLL
----------------------------------------
DevExpress.Charts.v13.2.Core
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.Charts.v13.2.Core.DLL
----------------------------------------
DevExpress.XtraRichEdit.v13.2.Extensions
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraRichEdit.v13.2.Extensions.DLL
----------------------------------------
DevExpress.XtraRichEdit.v13.2
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraRichEdit.v13.2.DLL
----------------------------------------
DevExpress.RichEdit.v13.2.Core
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.RichEdit.v13.2.Core.DLL
----------------------------------------
DevExpress.Office.v13.2.Core
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.Office.v13.2.Core.DLL
----------------------------------------
DevExpress.XtraCharts.v13.2.UI
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraCharts.v13.2.UI.DLL
----------------------------------------
DevExpress.Printing.v13.2.Core
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.Printing.v13.2.Core.DLL
----------------------------------------
AutomaticUpdater
Versione assembly: 2.6.18.4
Versione Win32: 2.6.18.4
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/AutomaticUpdater.DLL
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__

b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
DevExpress.XtraCharts.v13.2.Wizard
Versione assembly: 13.2.9.0
Versione Win32: 13.2.9.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/DevExpress.XtraCharts.v13.2.Wizard.DLL
----------------------------------------
System.Data.Linq
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a

5c561934e089/System.Data.Linq.dll
----------------------------------------
Devart.Data.SQLite
Versione assembly: 5.2.264.0
Versione Win32: 5.2.264.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/Devart.Data.SQLite.DLL
----------------------------------------
System.Transactions
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77

a5c561934e089/System.Transactions.dll
----------------------------------------
Devart.Data
Versione assembly: 5.0.1056.0
Versione Win32: 5.0.1056.0
Base di codice: file:///C:/Program%20Files%20(x86)/Slopeys%20ED

%20BPC/Devart.Data.DLL
----------------------------------------
System.EnterpriseServices
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.

0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Versione assembly: 0.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e0

89/mscorlib.dll
----------------------------------------
System.Numerics
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5

c561934e089/System.Numerics.dll
----------------------------------------
WindowsBase
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856a

d364e35/WindowsBase.dll
----------------------------------------
Microsoft.VisualBasic.resources
Versione assembly: 10.0.0.0
Versione Win32: 12.0.20806.33440 built by: FX45W81RTMREL
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/v4.

0_10.0.0.0_it_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR
Base di codice:

file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0

_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
 
Last edited:
Hi Engadine

In the Add Commod Prices dialogue box both the correct system, Eravate, and station, Ackerman Market, are displayed.

The *.pbc files were created at 11:50 and 11:55 this morning. That's a little under 2 hours ago now. That's how long I've been trying to get the data to load in the Add Commod Prices screen but without success, and I haven't moved from the station.

Thank you.

Firstly, patience of a saint if you're still there :D

Have you tried doing the complete capture from scratch?

Can't say I've ever experienced the problem you're currently having.

Regards
 

Slopey

Volunteer Moderator
Sorry, but it don't work, I also trying uninstall and new download, but the link is to version 4.3.0.0 and program now crashes after that the popup reports the same message of database locked. :(.
Updated to 4.3.0.3 with the wyupdate.exe, but still popup the message of database locked.

Delete the ED4.db from the BPC folder (or rename it). Then restart the BPC. If you get the locked message, click Ok and wait for 5-10 mins, then quit and restart the BPC. You're likely quitting to early, so next time you launch it, it locks the table again which can happen on slower machines.
 

Slopey

Volunteer Moderator
Hi Engadine

In the Add Commod Prices dialogue box both the correct system, Eravate, and station, Ackerman Market, are displayed.

The *.pbc files were created at 11:50 and 11:55 this morning. That's a little under 2 hours ago now. That's how long I've been trying to get the data to load in the Add Commod Prices screen but without success, and I haven't moved from the station.

Thank you.

You should re-OCR the data and try again. The BPC won't import anything over about 30 mins old iirc.
 
Firstly, patience of a saint if you're still there :D

Have you tried doing the complete capture from scratch?

Can't say I've ever experienced the problem you're currently having.

Regards

If first you don't succeed, try, try and try again :)

Just tried again from scratch. Captured the data with EliteOCR, Export to BPC. Clicked on the Add/Update Prices button in BPC to open the Add Commod Prices dialogue box, then click Load from EliteOCR BPC file, navigated to the file, selected it and clicked the open button. I was returned to the Add Commod Prices dialogue, but alas no data :S

I've looked at some videos on YouTube and I seem to be doing everything correctly.

Regards
 
Delete the ED4.db from the BPC folder (or rename it). Then restart the BPC. If you get the locked message, click Ok and wait for 5-10 mins, then quit and restart the BPC. You're likely quitting to early, so next time you launch it, it locks the table again which can happen on slower machines.
I can barely click on the OK button, and the program suddenly crashes.
 
If first you don't succeed, try, try and try again :)

Just tried again from scratch. Captured the data with EliteOCR, Export to BPC. Clicked on the Add/Update Prices button in BPC to open the Add Commod Prices dialogue box, then click Load from EliteOCR BPC file, navigated to the file, selected it and clicked the open button. I was returned to the Add Commod Prices dialogue, but alas no data :S

I've looked at some videos on YouTube and I seem to be doing everything correctly.

Regards

Is there data in the file you're trying to import from?
 
Is there data in the file you're trying to import from?

I've found the problem!! I watched another YouTube video, went though each step and identified my error.

I was selecting the wrong station on the Add Commod Prices dialogue box. For some reason I was thinking I was at Ackerman Market and I was at Mcmahon Dock. The fact that EliteOCR was showing me the station just didn't register.

Oh boy, do I feel stupid :eek:

Regards.
 
I've found the problem!! I watched another YouTube video, went though each step and identified my error.

I was selecting the wrong station on the Add Commod Prices dialogue box. For some reason I was thinking I was at Ackerman Market and I was at Mcmahon Dock. The fact that EliteOCR was showing me the station just didn't register.

Oh boy, do I feel stupid :eek:

Regards.

Glad you got to the bottom of the problem!

Don't worry we've all had moments like that, even if some wouldn't choose to admit them.

Regards
 
Back
Top Bottom