05-29-2014 06:34 PM
Yes, this was a fresh install of Python:
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win
Type "help", "copyright", "credits" or "license" for more information.
Following your instructions, steps 1-3 went flawlessly. The error popped up in step 4.
I did edit the weatherservice-config.py file, but the path was not the same as your page indicated. I found it here:
I thought that was odd, but just assumed it was a small omission in your write up.
I did attemp to start the service, but got errors there too:
C:\Python27>python -m DreamScreenWeatherApp.service
2014-05-28 10:58:31,473 root INFO:DreamScreen Weather App service startu
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\DreamScreenWeatherApp\service.py", line 25
, in <module>
File "C:\Python27\lib\site-packages\flask\config.py", line 128, in from_pyfile
with open(filename) as config_file:
IOError: [Errno 2] Unable to load configuration file (No such file or directory)
The paths "C:\python27\var" and "C:\Python27\lib\site-packages" do not exist. 😞
05-29-2014 06:45 PM
paulgraz, you are correct, there is an omission in my instructions, which I've now corrected.
The errors look to be related to the directory where the service is being started.
Can you try to run the service from the C:\DreamScreenWeatherApp directory.
In fact, the installation should have created a file called 'start_service.bat' in that directory.
05-30-2014 11:36 AM
I followed the rest of your steps, no errors.
I found an older post where you mentioned this:
"If you want to see the actual weather data use http://localhost/getLiveWeatherRSS.aspx. the page will take a few seconds and show a bit of gibberish. Don't worry. Right click on the page and View Source. There you will see formatted xml <aww> tagged data that widescreen recognizes!"
That works! So I know my new "weather server" is working.
Windows PC running python/acryllic/etc: 192.168.1.2
DreamScreen 1: 192.168.1.48
DreamScreen 2: 192.168.1.49
When I set DS1 to use 192.168.1.2 as it's DNS, it seems to have no internet access at all. pandora, HP radio, weather - all do not work.
When I set DS2 to use 192.168.1.1 as it's DNS (my router), everything works except weather.
I can ping all 3 of these devices from another PC on the network just fine tho.
It's like Acryllic isn't working. So I think a bit - scratch my head - think a bit more - and then it hits me: Windows Firewall! I disabled Windows Firewall, and lo and behold - I've got weather!
Thanks again for all your support. I've got a non-techie friend with a DS and he's been waiting patiently for me to get this working, now I can go visit him and share the goodness... 🙂
05-30-2014 05:48 PM
Your friend will be thrilled when his DS is back online!
06-20-2014 11:00 PM
06-21-2014 07:06 AM
joro71, I encourage you to read up on Windows basics before tackling this project. Google is the best resource for you to quickly get information, and of course, Microsoft website. Without fundamentals of Windows, such as the Command Prompt, under your belt, this project will move very slowly.