RegulatedNoise - trade tool with zxctypo's best-in-class OCR (EliteOCRReader as-was)

Exactly the same exception. :(

Dear God, really?!?!

Try this one. It will at the very least do something different - pop a "Good news! <filename> exists! Let's pause for a moment before opening it..." box as soon as it detects the file, before it's opened it never mind deleted it. Inserting a pause at that point might fix the problem...

https://drive.google.com/file/d/0B8HLRQqyuPD9azZRN1JuRlN0ZDA/view?usp=sharing

Related: is your Windows install on a conventional HDD, or an SSD?
 
Last edited:
Hehehe, weird effects now. I get the "good news" dialog, click ok, it starts processing the first one, then I get the "good news" dialog for the second one, while it's still on the first one, and then it dies with the "file not found" error as before.

Is this multi-threaded? (Seems to be!)
 
Last edited:
Hehehe, weird effects now. I get the "good news" dialog, click ok, it starts processing the first one, then I get the "good news" dialog for the second one, while it's still on the first one, and then it dies with the "file not found" error as before.

Is this multi-threaded? (Seems to be!)

:O

Yes, the OCR runs on its own thread so that it doesn't lock the UI. Still don't understand what's happening here :(

Can you confirm that it always b0rks if you have "delete screenshot after import" checked but never b0rks if you have it unchecked, please?

Also, can you please confirm that if you have "delete screenshot after import" *unchecked*, the screenshot is indeed never deleted after import?

Ooh, also, you could try running the app as Administrator just in case it's some wacky file permissions issue (though I doubt it, just pitching ideas :))
 
Last edited:
Also, let me ask the obvious - I presume you haven't changed the FOV or anything else? It's best for me to ask and be sure.

Yes I have changed my FOV , its <FOV>58.720001</FOV> , Those screens shots have been deleted ,

I'm now trying out RN v1.33 , see how it goes ,I delete , the old one completey , then install NEW version , but keep the CommandersLogAutoSave.xml


UPDATE Checked the data using RN v1.33 all is correct , COOL :)

http://i.imgur.com/AUu5P7N.png
Screenshot_0004
http://i.imgur.com/Rsor8Wf.png Calibration image




Greenshot is an easy way to Capture the screen & upload it to Dropbox https://www.dropbox.com and Imgur http://imgur.com/

here is the link http://sourceforge.net/projects/greenshot/files/
 
Last edited:
Can you confirm that it always b0rks if you have "delete screenshot after import" checked but never b0rks if you have it unchecked, please?

Yeah it's never worked with with it checked and it always works with it unchecked.

Also, can you please confirm that if you have "delete screenshot after import" *unchecked*, the screenshot is indeed never deleted after import?

The shots don't delete if the option is turned off.

Ooh, also, you could try running the app as Administrator just in case it's some wacky file permissions issue (though I doubt it, just pitching ideas :))

It is running as Admin.
 
Please help!!! been looking at the program for hours !!!!

would you please for the love of my sanity somehow let me manualley enter the current system so i can see local best routes without having to fly over half the map, and/or instead of within x light years of me, have it stations that are x light years between eachother, been looking at those awesome tables and i know the program knows this info, i just cant get to it and it wont let me have it aaaaaahhhhhh. i am manually doing station to station, then using the web to calculate the distance between them!!!! why wont it let me manually enter my current system, then this would be so much faster!!. anyways BEST PROGRAM EVER!!!!! thank man so awesome!
 
Addition

Hi, first thanks for this really nice tool.
The following problem occurs to me:
The first scan works fine (all options disabled - no deletion etc.)
The second scan starts without showing the screenshot and says working and throws an exception.

the form log is here:
2015.01.05 11:29:42: Initialising...2015.01.05 11:29:42: - settings loaded2015.01.05 11:29:42: - product path set2015.01.05 11:29:42: - initialised component2015.01.05 11:29:42: - set list views2015.01.05 11:29:42: - populated network interfaces2015.01.05 11:29:42: - created OCR object2015.01.05 11:29:42: - created Commander's Log object2015.01.05 11:29:42: - created EDDN object2015.01.05 11:29:42: - set application exit handler2015.01.05 11:29:42: - created EDDN object2015.01.05 11:29:42: - set up verbose logging2015.01.05 11:29:42: - fetched system name from file2015.01.05 11:29:42: - loaded Commander's Log2015.01.05 11:29:42: - updated Commander's Log List View2015.01.05 11:29:42: - found autosaved CSV2015.01.05 11:29:42: - imported CSVs2015.01.05 11:29:42: - Updated UI2015.01.05 11:29:42: - applied settings2015.01.05 11:29:42: - system locations imported2015.01.05 11:29:42: Initialisation complete2015.01.05 11:30:10: ERROR: Exception in UpdateOriginalImage2015.01.05 11:30:10: ERROR: System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Form1".
bei System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
bei RegulatedNoise.Form1.UpdateOriginalImage(Bitmap b) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Form1.cs:Zeile 1576.2015.01.05 11:30:10: ERROR: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Form1".2015.01.05 11:30:10: ERROR: bei System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
bei RegulatedNoise.Form1.UpdateOriginalImage(Bitmap b) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Form1.cs:Zeile 1576.

ocr log:
2015.01.05 11:30:06: ERROR: Error in ProcessNewScreenshot:2015.01.05 11:30:06: ERROR: System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(String filename)
bei RegulatedNoise.Ocr.ProcessNewScreenshot(String screenshot) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 76.2015.01.05 11:30:06: ERROR: Ungültiger Parameter.2015.01.05 11:30:06: ERROR: bei System.Drawing.Bitmap..ctor(String filename)
bei RegulatedNoise.Ocr.ProcessNewScreenshot(String screenshot) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 76.2015.01.05 11:30:09: Ignoring _bOriginal.Clone() error...
System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Image.Clone()
bei RegulatedNoise.Ocr.ProcessNewScreenshot(String screenshot) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 101.2015.01.05 11:30:10: ERROR: Error in Crop:2015.01.05 11:30:10: ERROR: System.ArgumentException: Ungültiger Parameter.
bei System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
bei System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
bei RegulatedNoise.Ocr.Crop(Bitmap b, Rectangle r) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 449.2015.01.05 11:30:10: ERROR: Ungültiger Parameter.2015.01.05 11:30:10: ERROR: bei System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
bei System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
bei RegulatedNoise.Ocr.Crop(Bitmap b, Rectangle r) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 449.2015.01.05 11:30:12: ERROR: Error in ScreenshotCreated:2015.01.05 11:30:12: ERROR: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei RegulatedNoise.Ocr.ProcessNewScreenshot(String screenshot) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 119.
bei RegulatedNoise.Ocr.ScreenshotCreated(String filePath) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 47.2015.01.05 11:30:12: ERROR: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.2015.01.05 11:30:12: ERROR: bei RegulatedNoise.Ocr.ProcessNewScreenshot(String screenshot) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 119.
bei RegulatedNoise.Ocr.ScreenshotCreated(String filePath) in d:\git\RN3\RegulatedNoise\RegulatedNoise\Ocr.cs:Zeile 47.

Sorry for parts beeing german ;)
Auf das verworfene Objekt kann nicht zugegriffen werden. - The dropped object could not be accessed.
 
would you please for the love of my sanity somehow let me manualley enter the current system so i can see local best routes without having to fly over half the map, and/or instead of within x light years of me, have it stations that are x light years between eachother, been looking at those awesome tables and i know the program knows this info, i just cant get to it and it wont let me have it aaaaaahhhhhh. i am manually doing station to station, then using the web to calculate the distance between them!!!! why wont it let me manually enter my current system, then this would be so much faster!!. anyways BEST PROGRAM EVER!!!!! thank man so awesome!

If you set up the path to your logs correctly your current system will be recognized by the tool.
If you set it wrong open RegulatedNoiseSettings.xml and edit this line to your real path like this:
<ProductsPath>E:\Frontier\EDLaunch\Products</ProductsPath>

works fine with me
 
Ocr.cs:Zeile 76

This looks a lot like Vendraen's problem, although if you have deletion disabled then it's obviously not the same problem. Goosem@n, have you tried the debug EXE vf1.33.02 that I posted for Vendraen? I guess you'll get the same results but it's worth trying.
 
This looks a lot like Vendraen's problem, although if you have deletion disabled then it's obviously not the same problem. Goosem@n, have you tried the debug EXE vf1.33.02 that I posted for Vendraen? I guess you'll get the same results but it's worth trying.

Hi, just tried your 1.33.02 and it seems to work now.
No crashes since now. i´ve done about 20 OCR tasks in a row.
10 one by one waiting for imported! message and 10 acknowledging all doing a batch run.

thanks
 
I love this software. And it is open source so I will switch to it. I intend to use it for offline but I tested the EDDN feature. I had to sanitize some of the data it put into the CSV. Some crazy spellings, also some non-English. I expect this will become more of a problem as more of the commodities etc are localized.
 
Hi, just tried your 1.33.02 and it seems to work now.
No crashes since now. i´ve done about 20 OCR tasks in a row.
10 one by one waiting for imported! message and 10 acknowledging all doing a batch run.

thanks

OK so the tweak in .02 fixes your problem but not Vendraen's! Perfectly plausible though. I'll add the .02 code to the next release, I can't see it breaking anyone else's install.
 
I love this software. And it is open source so I will switch to it. I intend to use it for offline but I tested the EDDN feature. I had to sanitize some of the data it put into the CSV. Some crazy spellings, also some non-English. I expect this will become more of a problem as more of the commodities etc are localized.

Yep, RN doesn't vet what it receives from EDDN at all, as it stands. :-(

Does anyone know of an effort to gather commodity names per-language? Or indeed a list of languages ED can display commodities in? I know the ever-hard-working seeeebek was looking at German translations at one point.

I also wonder if we can detect the language ED is running in automatically, which would help quite a lot...
 
Updated with a couple of new features and a couple of bugfixes.

RN moving ahead really well , luv the star chart link, excellent stuff

ep, RN doesn't vet what it receives from EDDN at all, as it stands. :-(

Yes to vet EDDN would be great , by systems , So the systems I'm running around, if anyone else is there and OCR-ing I get that data , with the option of backing up MY data before I import just in-case their loons, along with the data.... not so hard is it lol :)
 
Last edited:
I have to say Thank You!
This tool gets better and better by every new Version.
Keep up the great work !

The grateful
Cmdr Pibbs Jawada
 
Back
Top Bottom