Announcement

Collapse
No announcement yet.

possible nweather issue

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • possible nweather issue

    The icons are now there but I just noticed no weather data is there (It does reflect the correct location). I thought for sure there was before but I may be mistaken. I took a look at nwether.py at it appears it stores the xml dump from weather.com at in /tmp/weather.xml. I looked at the file and there is a current dump with the corect time stamp, location, and forecast data. It would appear then the data is not being dropped into the weather screen. Anything I can check or do at my end? I hate always being a taker!!!

  • #2
    Originally posted by govee View Post
    The icons are now there but I just noticed no weather data is there (It does reflect the correct location). I thought for sure there was before but I may be mistaken. I took a look at nwether.py at it appears it stores the xml dump from weather.com at in /tmp/weather.xml. I looked at the file and there is a current dump with the corect time stamp, location, and forecast data. It would appear then the data is not being dropped into the weather screen. Anything I can check or do at my end? I hate always being a taker!!!
    your research is very helpful. Make sure that nweather.py is running (and nghost doesn't complain about it).
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

    Comment


    • #3
      Make sure that nweather.py is running (and nghost doesn't complain about it).
      Sorry to do this, but how do I do this?

      Comment


      • #4
        Originally posted by govee View Post
        Sorry to do this, but how do I do this?
        Code:
        ps -A | grep nweather
        Former author of LinuxICE, nghost, nobdy.
        Current author of Automotive Message Broker (AMB).
        Works on Tizen IVI. Does not represent anyone or anything but himself.

        Comment


        • #5
          ps -A | grep nweather returned the following:
          "2928 tty1 00:00:00 nweather.py"

          Comment


          • #6
            NWeather screen is now partially filled with data. I have attached a screenshot.
            Attached Files

            Comment


            • #7
              I'm tempted to rewrite nweather as a real plugin. I don't know enough python to debug this one (I'm not the author :P). I'll try to ping n2o_2k about it when he gets in the irc channel again.
              Former author of LinuxICE, nghost, nobdy.
              Current author of Automotive Message Broker (AMB).
              Works on Tizen IVI. Does not represent anyone or anything but himself.

              Comment


              • #8
                Originally posted by govee View Post
                ps -A | grep nweather returned the following:
                "2928 tty1 00:00:00 nweather.py"

                It returned the following on mine...


                3852 tty1 00:00:00 nweather.py <defunct>


                Obviously mine isn't running at all. Govee...Could you help me to get where you are now for the time being, and I will continue to monitor this post until you guys or someone else posts a solution?

                Thanks in advance!!!
                Linux(Learning the curve...Like when driving!!!)
                Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

                Comment


                • #9
                  locs4days,
                  If you have not updated LinuxICE recently I would do so. I think KEV pushed a fix for the nweather.py file that should allow you to update the weather.conf file located in /etc/nghost/. Replace the exsiting zip code with yours. Then run nghost in terminal to get the zip code updated in nweather.py. If it still is not updated when you go to the weather screen then you may have to open nweather.py with root permissions in mousepad and manually add the zip code near the top of the file. After nghost is run check to see if there is a file named weather.xml in location /tmp? If so what are the contents of the file?

                  Comment


                  • #10
                    The update may still be in the unstable repo. I plan on doing a push to stable on monday if everything goes well (and nobody complains). If this is the case, change "stable" to "unstable" in /etc/apt/sources.list on the line that has the linuxice.openice.org link and update. I normally do a little testing before i put packages in unstable, so it's fairly safe to run on a production machine or VM.
                    Former author of LinuxICE, nghost, nobdy.
                    Current author of Automotive Message Broker (AMB).
                    Works on Tizen IVI. Does not represent anyone or anything but himself.

                    Comment


                    • #11
                      nweather was supposed to look for nweather.conf in the directories below in this specific following order:
                      1. ~/.nghost/
                      2. /etc/nghost
                      3. /usr/local/etc/nghost
                      4. current directory where nweather is launched

                      I will add the option to look for the config file in the root of the home directory to make life easier.
                      Looking at govee's screenshot, it seems like the forecast isn't being populated. I will take a look at the script to find out what's wrong and keep you posted.

                      Comment


                      • #12
                        Originally posted by kev000 View Post
                        your research is very helpful. Make sure that nweather.py is running (and nghost doesn't complain about it).


                        I need to know how to get nweather. py to start and to always start running on system start-up. Mine is not running at all( getting message...Location:is nweather.py running?). I changed my zip code in the weather.conf file...still the same message!


                        Thanks in advance!!!
                        Linux(Learning the curve...Like when driving!!!)
                        Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

                        Comment


                        • #13
                          I am pretty sure that Nweather.py is suppose to run at startup. Have you performed the iceconfig that is in APPS? That may be what setups up the autostart of nweather. I am just guessing...

                          Comment


                          • #14
                            Originally posted by govee View Post
                            I am pretty sure that Nweather.py is suppose to run at startup. Have you performed the iceconfig that is in APPS? That may be what setups up the autostart of nweather. I am just guessing...

                            I did when I installed my OS....will run another now and see if that fixes the issue....
                            Linux(Learning the curve...Like when driving!!!)
                            Worklog!!!http://www.mp3car.com/vbulletin/fabr...l-worklog.html

                            Comment


                            • #15
                              nghost starts nweather when nghost starts.
                              Former author of LinuxICE, nghost, nobdy.
                              Current author of Automotive Message Broker (AMB).
                              Works on Tizen IVI. Does not represent anyone or anything but himself.

                              Comment

                              Working...
                              X