Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Re: DyGraph on a Pi (Peter Hemmings)
2. Re: DyGraph on a Pi (Shane McEwan)
3. Re: KT Christmas Meeting This Saturday (Cleto Mart?n Angelina)
4. Re: DyGraph on a Pi (Peter Hemmings)
5. Re: KT Christmas Meeting This Saturday (Chris)
6. OT: SSL / Convergence (Chris)
7. Re: DyGraph on a Pi (Peter Hemmings)
8. Re: DyGraph on a Pi (Shane McEwan)
----------------------------------------------------------------------
Message: 1
Date: Thu, 18 Dec 2014 15:50:03 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <5492F7AB.4020503@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
I have now got a new Raspbian on 8GB card (not noobs).
I had to do this because I could not find a browser console on Pi
browser, eventually decided to put firefox on the 4GB card which it did
BUT would then not boot as the root FS was too small. I would have
thought it would not have installed unless it had enough space to run,
but maybe I was expecting too much!
I am now back to where I was before (graph with no data) on the Pi.
For ease of use, I decided to run this on my fc19 laptop with a non
symlinked "temp.log" to sort the problem.
I found a problem with this as Pi has apache2 with everything in
/var/www/ but my Apache on the laptop has them in /var/www/html/!
Before proceeding I would like to check the "wiringPi" and cron job on
the Pi are correctly formatting the output "temp.log" file OK.
This is what is being written:
20141217211101,45.0,22.0
20141217211201,46.0,22.0
20141217211301,45.0,22.0
20141217211401,44.0,23.0
I assume this is correct and just concentrate on Dygraph/Apache?
Thanks
--
Peter H
------------------------------
Message: 2
Date: Thu, 18 Dec 2014 17:07:16 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <549309C4.8000402@mcewan.id.au>
Content-Type: text/plain; charset=utf-8
On 18/12/14 15:50, Peter Hemmings wrote:
> I had to do this because I could not find a browser console on Pi
> browser
But web servers serve stuff over the network, remember? Why not run a
web browser on a real computer and open http://ip.address.of.pi/?
> Before proceeding I would like to check the "wiringPi" and cron job on
> the Pi are correctly formatting the output "temp.log" file OK.
>
> This is what is being written:
>
> 20141217211101,45.0,22.0
> 20141217211201,46.0,22.0
> 20141217211301,45.0,22.0
> 20141217211401,44.0,23.0
>
> I assume this is correct and just concentrate on Dygraph/Apache?
Your data looks correct as far as the Beer monitoring code and the
Dygraphs data manual are concerned.
Now that you can look at the page with a decent web browser you need to
open the Javascript console and see if you're actually getting any
Javascript errors.
Shane.
------------------------------
Message: 3
Date: Thu, 18 Dec 2014 20:55:16 +0000
From: Cleto Mart?n Angelina <cleto.martin@gmail.com>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] KT Christmas Meeting This Saturday
Message-ID: <54933F34.4080301@gmail.com>
Content-Type: text/plain; charset="windows-1252"
Hi guys!
I'll be there at 2pm. See you there!
On 18/12/14 09:41, Sebastian wrote:
> On 18/12/14 09:08, Peter Hemmings wrote:
>> Hi,
>>
>> I hope to be at the KT at 2pm and may even partake in a Christmas lunch.
>>
>> Will I be on my own!?
>>
>>
> No I should be there as well at about 2pm or about 2:30pm.
>
> If any new people who would like to come along to our LUG meeting this
> Saturday as well you're welcome to. See website for more details, or
> reply back telling us that your new and some can be emailed.
>
> Regards
>
> Sebastian
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20141218/f60d5f16/attachment-0001.pgp>
------------------------------
Message: 4
Date: Thu, 18 Dec 2014 21:22:52 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <549345AC.3050802@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
Update:
On 18/12/14 17:07, Shane McEwan wrote:
> On 18/12/14 15:50, Peter Hemmings wrote:
>> I had to do this because I could not find a browser console on Pi
>> browser
>
> But web servers serve stuff over the network, remember? Why not run a
> web browser on a real computer and open http://ip.address.of.pi/?
Oooops did not realize!
Am now checking pi on laptop and remote desktop into it to correct more
typos in "temp.html", like a "`" instead of "'"!
>
>> Before proceeding I would like to check the "wiringPi" and cron job on
>> the Pi are correctly formatting the output "temp.log" file OK.
>>
>> This is what is being written:
>>
>> 20141217211101,45.0,22.0
>> 20141217211201,46.0,22.0
>> 20141217211301,45.0,22.0
>> 20141217211401,44.0,23.0
>>
>> I assume this is correct and just concentrate on Dygraph/Apache?
>
> Your data looks correct as far as the Beer monitoring code and the
> Dygraphs data manual are concerned.
OK
>
> Now that you can look at the page with a decent web browser you need to
> open the Javascript console and see if you're actually getting any
> Javascript errors.
I found using Chrome JavaScript Console the easiest to resolve some
errors, I still have more to do!, but I am having a problem with one
that states:
"Uncaught ReferenceError: newDate is not defined" in line 32.
These are my lines 32 -34:
> var date = newDate(x.replace(
> /^(d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/,
> '$4:$5:$6 $2/$3/$1'
>
Anything silly above?
At least I can now easily edit the pi from my laptop.
(this is with data recorded earlier and copied to my temp.log not symlinked)
>
> Shane.
>
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
Regards
--
Peter H
------------------------------
Message: 5
Date: Fri, 19 Dec 2014 08:02:32 +0000
From: Chris <cshorler@googlemail.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] KT Christmas Meeting This Saturday
Message-ID: <0F21DA9B-4C70-4ABD-997D-CE33E6FAC737@googlemail.com>
Content-Type: text/plain; charset=UTF-8
On 18 December 2014 09:08:03 GMT+00:00, Peter Hemmings <peter@hemmings.eclipse.co.uk> wrote:
>Hi,
>
>I hope to be at the KT at 2pm and may even partake in a Christmas
>lunch.
>
>Will I be on my own!?
I'll be there... at 13h30
------------------------------
Message: 6
Date: Fri, 19 Dec 2014 08:38:14 +0000
From: Chris <cshorler@googlemail.com>
To: Bristol and Bath Linux User Group <Bristol@mailman.lug.org.uk>
Subject: [bristol] OT: SSL / Convergence
Message-ID: <D4FA7F17-9488-4F29-89F7-3874CD70BEE6@googlemail.com>
Content-Type: text/plain; charset=UTF-8
Interesting read / software
http://convergence.io/
------------------------------
Message: 7
Date: Fri, 19 Dec 2014 10:40:05 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <54940085.6060506@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 18/12/14 17:07, Shane McEwan wrote:
> On 18/12/14 15:50, Peter Hemmings wrote:
>> I had to do this because I could not find a browser console on Pi
>> browser
>
> But web servers serve stuff over the network, remember? Why not run a
> web browser on a real computer and open http://ip.address.of.pi/?
>
>> Before proceeding I would like to check the "wiringPi" and cron job on
>> the Pi are correctly formatting the output "temp.log" file OK.
>>
>> This is what is being written:
>>
>> 20141217211101,45.0,22.0
>> 20141217211201,46.0,22.0
>> 20141217211301,45.0,22.0
>> 20141217211401,44.0,23.0
>>
>> I assume this is correct and just concentrate on Dygraph/Apache?
>
> Your data looks correct as far as the Beer monitoring code and the
> Dygraphs data manual are concerned.
>
> Now that you can look at the page with a decent web browser you need to
> open the Javascript console and see if you're actually getting any
> Javascript errors.
>
> Shane.
>
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
I have just had another go and am now getting this in the javascript
console (Chrome) when on laptop into the Pi:
Failed to load resource: the server responded with a status of 404 (Not
Found)
dygraph-combined.js.map:1 GET http://192.168.0.4/dygraph-combined.js.map
404 (Not Found)
Is this terminology? I have dygraph-combined.js in /var/www/ but no map!
Regards
--
Peter H
------------------------------
Message: 8
Date: Fri, 19 Dec 2014 10:48:02 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <54940262.4010201@mcewan.id.au>
Content-Type: text/plain; charset=utf-8
On 18/12/14 21:22, Peter Hemmings wrote:
> On 18/12/14 17:07, Shane McEwan wrote:
>> But web servers serve stuff over the network, remember? Why not run a
>> web browser on a real computer and open http://ip.address.of.pi/?
>
> Oooops did not realize!
:-) You're running a web server just like millions of other web servers
in the world.
> I found using Chrome JavaScript Console the easiest to resolve some
> errors, I still have more to do!, but I am having a problem with one
> that states:
>
> "Uncaught ReferenceError: newDate is not defined" in line 32.
>
> These are my lines 32 -34:
>
>> var date = newDate(x.replace(
>> /^(d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/,
>> '$4:$5:$6 $2/$3/$1'
>>
>
> Anything silly above?
There should be a space between 'new' and 'Date'. You're creating a new
'Date' object.
Shane.
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 581, Issue 5
***************************************
Tidak ada komentar:
Posting Komentar