PHP Time series + wamp

Hi,

I am unable to get this to work, I got the latest source from git trunk:

- deleted all feeds, recreated .. ( had to manually set the type to php time series via dbase though)

2 Issues here actually:

1) This error in apache log:

[Wed Sep 18 13:18:08.129596 2013] [:error] [pid 3084:tid 1568] [client 192.168.1.50:2883] PHP Warning:  fopen(/var/lib/phptimeseries/feed_11.MYD): failed to open stream: No such file or directory in D:\\wamp\\www\\pms\\Modules\\feed\\engine\\PHPTimeSeries.php on line 73

Tried to manually create this folder then restart everything , same issue ---- then create the empty file as well -- still same issue.

2) The emontx base does not get the 'ok' response, though the data is infact recieved from server ! .. tx DOES recieve the time - though in zulu, which again is a problem. Have attached an image for the same.

Please help me get over these problems, very eager to get on with it.

Best Regard,

Anubhav

 

 

anubhavg's picture

Re: PHP Time series + wamp

here is the manually created folder n file, but no results..

TrystanLea's picture

Re: PHP Time series + wamp

Good to hear your testing it on wamp, would be great to get it working.

The issue might be the default folder that phptimeseries is stored in, by default it relates to a linux file system:

If you have a look in the file emoncms/Modules/feed/engine/PHPTimeSeries.php:

https://github.com/emoncms/emoncms/blob/master/Modules/feed/engine/PHPTimeSeries.php

line 15: private $dir = "/var/lib/phptimeseries/";

Try creating a directory somewhere you prefer on your windows machine called phptimeseries and then place the path name in the variable $dir line 15.

You may also need to give wamp permissions to write to that folder.

Let me know how you get on

anubhavg's picture

Re: PHP Time series + wamp

I had to reset everything to sql server for now, need to setup everything else too.. glcd etc.. and then shall comeback to phptimeseries once I have tasted blood..

Cheers!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.