--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nice work! You should just be able to 'pip install metoffer' in the QATrack+ virtualenv on your server and then import metoffer inside a composite test.
On 27 February 2017 at 08:05, Robin Cole <robma...@gmail.com> wrote:
Hi all, below is a short script I wrote to fetch UK weather data, here the pressure at Gatwick Airport (nr. Charlwood). Makes use of a nice python package called MetOffer (https://pypi.python.org/pypi/MetOffer) that provides a wrapper to the met office API (http://www.metoffice.gov.uk/datapoint). Note you will have to sign up to the Met Office DataPoint and insert your own API key.
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
Hi Randle, doing my development in the 'portable' QAtrack, is it possible to 'pip install package' in this version of QAtrack?Cheers
--
Portable Python 2.7.3.1\App\Scripts>easy_install.exe pylinac
Fatal error in launcher: Unable to create process using '"'Hi Randel, reading this topic http://stackoverflow.com/questions/24627525/fatal-error-in-launcher-unable-to-create-process-using-c-program-files-x86 I believe the issue could be due to the white spaces in the path....?BTW pylinac installs fine in my main work environment on my PC with pip
Aha, gotcha.. I am only doing a 'proof of principle' with pylinac, perhaps if there is a pre-production version available I would be happy to test out the integration with pylinac? If not, I will find another project for the time-being :-)
--
Most or all of the work for Python 3 is available in the py34 branch if you want to play with it. I will say James Kerns (author of Pylinac) and I have been collaborating together on some stuff related to this ;)
On 11 April 2017 at 09:32, Robin Cole <robma...@gmail.com> wrote:
Aha, gotcha.. I am only doing a 'proof of principle' with pylinac, perhaps if there is a pre-production version available I would be happy to test out the integration with pylinac? If not, I will find another project for the time-being :-)
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
Hi Randle, trying to install the py34 branch following https://bitbucket.org/tohccmedphys/qatrackplus/wiki/v/0.2.9/deployment/windows/wapp.md but getting stuck at step 4: python manage.py syncdb Looks like incorrect use of manage.py in py34?
--
Hi Robin,
Give me a couple of days, I'm going to make a new install method for the py34 branch. It will be a standardised method that works on all OSes using Docker.
There's no syncdb in the version of Django that the py34 branch is using. The 'migrate' command now handles both database creation/migrations, so you just need to do `manage.py migrate` for that branch.RTOn 24 April 2017 at 11:57, Robin Cole <robma...@gmail.com> wrote:Hi Randle, trying to install the py34 branch following https://bitbucket.org/tohccmedphys/qatrackplus/wiki/v/0.2.9/deployment/windows/wapp.md but getting stuck at step 4: python manage.py syncdb Looks like incorrect use of manage.py in py34?--You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Heya Robin,
You can follow the pull request here:
Thanks Simon, I look forward to it!
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Very close. I'll need to move those scripts into the docker image so that the whole thing runs on windows in a more automated fashion. If you can just type what's in those scripts into a command prompt it should work :)
Thanks Simon, looks ready to rock?
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Have followed the instructions in the readme, don't appear to have dockerised
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Interesting. I can see it on the online repo:
https://bitbucket.org/tohccmedphys/qatrackplus/src/bef2e7c6c3b4a1205332db8509eb82b34983e8f0/deploy/dockerised/?at=py34
Can you repeat the issue by going through the following steps within a new directory:
git clone https://bitbucket.org/tohccmedphys/qatrackplus.git
cd qatrackplus
git checkout py34
cd deploy/dockerised
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From the docker directory in it's current set up (I'll automate this soon) you need to run the following in a console:
docker-compose build
docker-compose up -d
(Wait about a second here)
docker-compose run web bash -c 'python manage.py migrate && echo "from django.contrib.auth.models import User; User.objects.create_superuser(\"admin\", \"mye...@example.com\", \"admin\")" | python manage.py shell && python manage.py loaddata fixtures/defaults/*/* && python manage.py collectstatic --noinput'
Once you have run those three lines then go to localhost in your browser. Default user is admin with password admin. Password can be changed via qatrack interface.
Thanks Simon, I had downloaded master by accident. Now have it installed and run start-server.sh but nothing at localhost - is it not on a particular port?
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Woohoo :)
Happy to say that it's working now :-)
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Please be warned the docker install still needs a bit of work. One thing I know doesn't work yet is if you upload files to a test they won't be there anymore when you reboot your computer. It's an easy fix, I just need to make that directory a persistent docker volume. But it hasn't been done yet. I'm sure there will be other things too. If you find anything docker related, let me know and I can fix it up :)
Thanks Simon. How would I import extra python packages in docker? I want to analyse images so probably need the PIL library..?Cheers
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
Don't know enough about Docker yet to say how easy it is, but certainly it would be a good feature to make it easy for people to add whatever package they want to the python environment.On 28 April 2017 at 06:48, Robin Cole <robma...@gmail.com> wrote:Thanks Simon. How would I import extra python packages in docker? I want to analyse images so probably need the PIL library..?Cheers--You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes that would do it, unless we just want to bundle pylinac and PIL in the main requirements
--
You received this message because you are subscribed to a topic in the Google Groups "QATrack+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qatrack/IEWrsshjFzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I note that our barometers (https://www.gemeasurement.com/test-calibration/indicators/pace1000-precision-pressure-indicator) have an ethernet port, meaning that the barometer QA (comparing to Gatwick) could be performed automatically. Anybody using their barometers over the network? Presumably they can publish the readings as a webserver..Cheers