[EDK4] Cronjob update all prices from eve-central

Discuss/Upload mods to the EVE-Dev Killboard.
User avatar
SirSteven
Greenhorn
Posts: 12
Joined: Sun Jul 27, 2014 23:19

Re: [EDK4] Cronjob update all prices from eve-central

Post by SirSteven » Fri Jan 02, 2015 10:48

prometh wrote:Could you upload that file somewhere?
Thanks for your support. Here is the existing data from the cache-folder:

http://www.file-upload.net/download-100 ... 4.xml.html

User avatar
Salvoxia
Developer
Posts: 1518
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] Cronjob update all prices from eve-central

Post by Salvoxia » Fri Jan 02, 2015 10:53

I say the XML looks fine and guess the symlink creation didn't work correctly. What do you think, prometh?

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] Cronjob update all prices from eve-central

Post by prometh » Sat Jan 03, 2015 02:36

Symlink should not be a problem since the value fetcher is called with the original file name. I think it might be a Problem using a local file as url once more. On what type of system did the error occur?

User avatar
SirSteven
Greenhorn
Posts: 12
Joined: Sun Jul 27, 2014 23:19

Re: [EDK4] Cronjob update all prices from eve-central

Post by SirSteven » Sat Jan 03, 2015 18:06

prometh wrote:Symlink should not be a problem since the value fetcher is called with the original file name. I think it might be a Problem using a local file as url once more. On what type of system did the error occur?
Might be a Windows-Server System, but I don't know it really. I have to contact the support of the provider to get this information, if it is important for this problem. Did I understand your question right, that the kind of System (Windows, Linuc etc.) is important for this problem?

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] Cronjob update all prices from eve-central

Post by prometh » Sat Jan 03, 2015 21:54

The problem is that the cron job produces a local file but the value fetcher expects an url. I guess the way i use a local file as url is a bit clumsy and causes the problem. I am on vacation until wednesday and will try to find a different way when I'm back.


Image

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] Cronjob update all prices from eve-central

Post by prometh » Sat Jan 03, 2015 22:05

I just had a look at the xml file again and i realized you used v2 or 1. Could you please try the latest?


Image

User avatar
SirSteven
Greenhorn
Posts: 12
Joined: Sun Jul 27, 2014 23:19

Re: [EDK4] Cronjob update all prices from eve-central

Post by SirSteven » Sat Jan 03, 2015 23:01

prometh wrote:The problem is that the cron job produces a local file but the value fetcher expects an url. I guess the way i use a local file as url is a bit clumsy and causes the problem. I am on vacation until wednesday and will try to find a different way when I'm back.
Okay, thank you very much for your support.

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] Cronjob update all prices from eve-central

Post by prometh » Sun Jan 04, 2015 22:34

Did the latest version work?


Image

User avatar
SirSteven
Greenhorn
Posts: 12
Joined: Sun Jul 27, 2014 23:19

Re: [EDK4] Cronjob update all prices from eve-central

Post by SirSteven » Mon Jan 05, 2015 01:32

prometh wrote:Did the latest version work?
No, latest version gives following error message (using the original script):
#!/usr/bin/php
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php:104 Stack trace: #0 /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php(104): SimpleXMLElement->__construct('0') #1 /www/htdocs/w00f6769/killboard/cron/cron_evec.php(185): valueFetcher->fetch_values() #2 {main} thrown in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php on line 104
The market-data stat was created in cache-folder as followed:

marketdata20150105.xml

User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] Cronjob update all prices from eve-central

Post by prometh » Tue Jan 06, 2015 20:30

SirSteven wrote:
prometh wrote:Did the latest version work?
No, latest version gives following error message (using the original script):
#!/usr/bin/php
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php:104 Stack trace: #0 /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php(104): SimpleXMLElement->__construct('0') #1 /www/htdocs/w00f6769/killboard/cron/cron_evec.php(185): valueFetcher->fetch_values() #2 {main} thrown in /www/htdocs/w00f6769/killboard/common/includes/class.valuefetcher.php on line 104
The market-data stat was created in cache-folder as followed:

marketdata20150105.xml
I've sent you a version to test whether its the local file thingy.


Image

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests