These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

RETURNED - EVE Marketeer - Market Data Aggregation & Information

Author
Callean Drevus
Perkone
Caldari State
#221 - 2011-12-20 20:26:50 UTC  |  Edited by: Callean Drevus
Ok, now testing scanning with multiple accounts. At the very least I've found the error that was producing the EVE central errors. Now I'm seeing the EVE Marketdata timeout errors (upload within 15 minutes), so I can do something about those I hope. What I fail to understand is how my fifo queue can upload some orders correctly, only to fail on the next one...

UPDATE: Ok, rewriting the filereader led me to probably find what was causing the uploader to hang. It found a lot of files which it wasn't able to do anything with. But these files kept heaping up, because it didn't delete them, leading to what were probably immense times for scanning files. In any case, I'll keep scanning and see what happens.

UPDATE 2: The uploader get's better and better. It's now uploading into the future Lol I've got more uploads than file reads Blink. I guess something is still going wrong with threading.

Developer/Creator of EVE Marketeer

Callean Drevus
Perkone
Caldari State
#222 - 2011-12-20 22:48:25 UTC  |  Edited by: Callean Drevus
I've uploaded a new version of the uploader. I hope this one improves stability, but it's still a bit stabbing in the dark, since I've yet to receive the errors myself.

And:
Quote:
oh god, what did you do? the market page just keeps giving me gypsy and noble implants to attempt to upload, except there's none on the market, hence no uploads......


I'm sorry, I was sorting in the wrong direction Roll

Developer/Creator of EVE Marketeer

Domi Etymology
Violent Alternatives
#223 - 2011-12-21 03:37:35 UTC
serves you right for writing code while standing on your head.

The new images showing the item list of what's being scanned/uploaded are sweet :)
Scrapyard Bob
EVE University
Ivy League
#224 - 2011-12-21 15:36:27 UTC
I'll beat on the 0.4 version of the uploader today.

Also, the market scanner page seems a bit odd still when viewed in the in-game browser. Sometimes the icons go down the left side of the page, other times they just go in a line across. Could be browser width issues. (Will try and figure out more later.)
Callean Drevus
Perkone
Caldari State
#225 - 2011-12-21 16:00:26 UTC
That might be caching issues, but I'm not sure. Only time I've seen something like that was the first time I loaded the page.

Developer/Creator of EVE Marketeer

Controller Vrelk
The Scope
Gallente Federation
#226 - 2011-12-21 19:30:42 UTC  |  Edited by: Controller Vrelk
Domi Etymology wrote:
serves you right for writing code while standing on your head.

The new images showing the item list of what's being scanned/uploaded are sweet :)

Yea, just noticed them, nice touch.
Scrapyard Bob
EVE University
Ivy League
#227 - 2011-12-21 20:13:20 UTC
Callean Drevus wrote:
That might be caching issues, but I'm not sure. Only time I've seen something like that was the first time I loaded the page.


Yes, possibly cache issue, the site is now behaving on the clients where I'm running them at 1024x768 (so the browser window is only around 850-900 wide.

So far 0.4 of the uploader is passing with flying colors at keeping up with (3) simultaneous market scan clients running. Memory peaked out at around 62.4MB, CPU usage has been negligible. I've uploaded about 14k to each of the (3) endpoints in today's session.

I used EMD's scanner site for most of the day, but will switch over to using the EMK's scanner tomorrow.

Other small notes:

- The XML/JSON/CSV links on individual item pages all point at the "xml" version of the URL

- The location of the regional drop down still feels too far out of place in the upper right, maybe it should be where the item's icon is on an individual item's page. This would probably force you to move the item's icon to the left side of that area.

- Price history graphs look like they broke 3 weeks back and haven't updated.

- It would be nice if I'm on a particular item's page (say Tritanium) that I could click on a link next to the item's name (such as "Minerals") which would take me to a market group summary page for that particular item.

- Longer term wish, being able to see an entire market group (i.e. "Minerals"), with the individual items down the left and the top 5 market regions identified as column headers with the 5% buy/sell prices as the cell contents. Ignoring issues with color blindness, if values where the individual region is 5% above/below the average of the top-5 market price was colored green/red, that might be useful. Prices listed would only need to have about 4-5 decimal places of precision. This means you could switch to "k", "M", "B", "T" suffixes to trim digits off the tail end. The average price in the entire grid should control which suffix to use (up to 50,000 use no divisor, up to 1M use the 'k', up to 1B use the 'M', up to 1T use the 'B'). So you would get numbers like 4385.20, 43850.20, 438.52k, 4.3852M, 43.852M, 438.52M, 4.3852B, 43.852B, 438.52B, 4.3852T, etc.


Scrapyard Bob
EVE University
Ivy League
#228 - 2011-12-22 18:26:17 UTC
0.4 is still working fine, even with multiple clients running (same region, same cache folder, etc.). Zero errors in the log files now. The market scanner page also continues to perform well.

Minor requests for the 0.4 client:

- Add a "restore" option to the right-click menu of the system tray icon.
- When I double-click on the sys tray icon, it always comes back to the foreground in a minimized state.
- Upload keys might need to be moved out of "config.ini" and into a "user.ini".
Callean Drevus
Perkone
Caldari State
#229 - 2011-12-22 22:02:37 UTC  |  Edited by: Callean Drevus
Yes, very feasible requests all. I'll see when I'll be able to incorporate them into the codebase. Currently incredibly busy with RL and being sick again.

UPDATE: Also very happy to hear that the uploader is still performing perfectly :)

UPDATE 2: Also, PERL and especially CPAN are absolutely terrible...

Developer/Creator of EVE Marketeer

Dragonaire
Here there be Dragons
#230 - 2011-12-23 17:24:42 UTC
Quote:
UPDATE 2: Also, PERL and especially CPAN are absolutely terrible...
Turn away from the dark side ...Lol

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Controller Vrelk
The Scope
Gallente Federation
#231 - 2011-12-23 18:57:13 UTC  |  Edited by: Controller Vrelk
I am not getting any errors, but every so often I will open the uploaded and it will not upload anything (0.4). Restarting does not help and I do not have any other uploaders running. It was working last night before downtime, but today it is not uploading anything.


PS: I am disappointed that you didn't make a version 3D. Smile
Callean Drevus
Perkone
Caldari State
#232 - 2011-12-23 19:01:36 UTC
There simply might not be anything to upload (even if the upload suggestions are still happily cycling, if nothing has changed since last time, nothing will be uploaded). The EVE client won't even write a cache file, so the uploader does nothing at all.

Developer/Creator of EVE Marketeer

Controller Vrelk
The Scope
Gallente Federation
#233 - 2011-12-23 19:22:18 UTC
Callean Drevus wrote:
There simply might not be anything to upload (even if the upload suggestions are still happily cycling, if nothing has changed since last time, nothing will be uploaded). The EVE client won't even write a cache file, so the uploader does nothing at all.

That was it, good to know. I cleared my cache just to see if that was it, and it was. I thought the uploader deleted the cache files after uploading them.
Callean Drevus
Perkone
Caldari State
#234 - 2011-12-23 19:35:30 UTC
Controller Vrelk wrote:
That was it, good to know. I cleared my cache just to see if that was it, and it was. I thought the uploader deleted the cache files after uploading them.


It does delete the actual file, but it doesn't clear the same cached information inside the EVE client, which for some reason also saves a copy of the data in it's memory

Why it writes the cache file to disk and additionally stores an in memory copy in addition is a big questionmark to me, but I'll happily make use of it Blink

Developer/Creator of EVE Marketeer

Controller Vrelk
The Scope
Gallente Federation
#235 - 2011-12-23 21:36:04 UTC
Hmm. I left and had the market scanner running for about 2-3 hours. I just got home and found that the uploader had only uploaded 20 things, and this is after I cleared my cache.


EDIT: The market scanner on you site seems to be going in circles, it is scanning the same things over and over.
Callean Drevus
Perkone
Caldari State
#236 - 2011-12-23 21:48:08 UTC
Are you certain it is going in circles? I cannot duplicate this behaviour... It should be easy to test by seeing if the items that are shown first are different if you refresh the page.

Developer/Creator of EVE Marketeer

Controller Vrelk
The Scope
Gallente Federation
#237 - 2011-12-23 21:52:43 UTC
Callean Drevus wrote:
Are you certain it is going in circles? I cannot duplicate this behaviour... It should be easy to test by seeing if the items that are shown first are different if you refresh the page.


When I left I saw a weathe blueprint and a quantum flux generator 3 go by, when I came back and noticed that it had uploaded 20 items I watched for a minute and saw the same things go by.
Controller Vrelk
The Scope
Gallente Federation
#238 - 2011-12-24 07:35:13 UTC
Warning: mysql_ping() expects parameter 1 to be resource, boolean given in /var/www/www.evemarketeer.com/core/lib/cordb/cordb.php on line 29
Database connection #0 failed

4200 uploads to EMD and EC, 407 to EMK Sad
Callean Drevus
Perkone
Caldari State
#239 - 2011-12-24 09:52:21 UTC  |  Edited by: Callean Drevus
Hmm, for some reason mysql decided that it'd had enough. More, the server seems to have decided it was enough, and it has been rebooted by my hosting provider because it was unresponsive. (Now, that is awesome, except that mysql didn't work afterwards).

I am unable to pinpoint any issue that could have caused this hangup, other than me leaving the server, as it crashed about 5 minutes after I disconnected Roll

Developer/Creator of EVE Marketeer

Scrapyard Bob
EVE University
Ivy League
#240 - 2011-12-24 13:16:01 UTC
Windows XP error (trying to install on the laptop, where it's never been installed before).

Traceback (most recent call last):
File "emkUploader.py", line 19, in (module)
File "wx\_core.pyo", line 7981, in __init__
File "wx\_core.pyo", line 7555, in _BootstrapApp
File "emkUploader.py", line 11, in OnInit
File "UploaderFrame.pyo", line 96, in __init__
File "UploaderFrame.pyo", line 150, in initialize
File "UploaderFrame.pyo", line 344, in installationAutodetectButtonClick
File "os.pyo", line 423, in __getitem__
KeyError: 'LOCALAPPDATA'