It does matter for those who follow recipes to get things to work with
Linux. If it is not compressed you need an alternate recipe.
That's why Steve gave those full instructions.
Just to add to the 'confusion' when I downloaded 3.3.1 using windows 10 and Edge the resulting file was .tar.tar - after moving it to the pi I renamed it to .tar.gz - but had to name it back again to .tar.tar in order for tar to be able to handle the unpacking (with the zxvf flags). I just did not have the energy to investigate further as it had already taken me until now to bite the cherry and upgrade from 2.7 - but something did not seem right with the file!!!
$ ls -lh
total 4.4M
-rw----r-- 1 tomkeffer inetuser 58K Dec 6 17:01 README.txt
drwx---r-x 2 tomkeffer inetuser 4.0K Dec 6 17:07 development_versions
drwx---r-x 2 tomkeffer inetuser 8.0K Dec 6 17:08 previous_versions
-rw----r-- 1 tomkeffer inetuser 1.4M Dec 6 17:02 weewx-3.3.1-1.rhel.noarch.rpm
-rw----r-- 1 tomkeffer inetuser 1.1M Dec 6 17:00 weewx-3.3.1-1.suse.noarch.rpm
-rw----r-- 1 tomkeffer inetuser 969K Dec 6 15:58 weewx-3.3.1.tar.gz
-rw----r-- 1 tomkeffer inetuser 964K Dec 6 17:02 weewx_3.3.1-1_all.deb
I'm certainly willing to clarify the upgrade guide, but I'm not seeing the problem. Is it if you download into a windows box it quietly uncompresses?
-tk
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Bah, I was only trying to help in case someone followed the upgrade instructions to the letter and they didn't work. Wouldn't want them to face the wrath of vince by asking why the instructions won't work. :).FWIW I just downloaded it from here http://www.weewx.com/downloads/ again, using windows and it's 3.2MB not 968kB.
The command line I pasted was a copy and paste from the weewx upgrade page. >> http://www.weewx.com/docs/upgrading.htm
Nev
a very interesting observation - one of those conditions where everyone
is correct and yet not everyone is correct.
A (later) description saying "I followed the doc" does not help usually. Which precise doc, which section, which commands 'in' that doc did you run.
In this particular case, it was assumed by the user that he could take a downloaded-through-some-unspecified-procedure file and run the extract/install steps from the user guide against that file successfully. Bad assumption..... I think we established pretty conclusively that the docs make some assumptions that your download method is assumed to not have uncompressed or renamed the file that you were trying to download. The misfeature we found is some browsers mess with the file contents, other browsers mess with the name. That's just the way browsers aren't standard in behavior.
If the problem description had been "I used chrome-x.x.x.x on windows-y.y.y.y and left-clicked on the link and clicked 'ok' to save it to a file, yet it didn't save the file unaltered" then we would have gotten to the solution in about one or two answers max.
Blindly following a doc like a script without enough thinking on the part of the person who hits 'return' on the keyboard only works if the doc specifies 'every' step exactly. There are dozens of ways to download the .tar.gz file from an upstream site, no doc could specify every method and the resulting nuances as a script. User thought and expertise is always required.
Gary's nice new diagnostic utility in 3.3.x will help us quantify the state of the weewx system once it's installed, but we will always need clear/unambiguous/concise descriptions of the perceived problem that have enough data for us to try to figure out where the issue is, and if there's a problem or just user error involved.
Again, best practices for how to report a problem are nothing new. Here's an old one that's pretty good - see http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
- if you're busy just scroll to the bottom and read the two last bulleted lists there.....
I had the exact same problem two days ago that I had to drop the z option for the tar command to work.
I did it with the weewx 3.3.0 on an Rpi (debian jessie).
Personally I didn't really found it a problem but it would be nice to have the correct command in the manual.
I also downloaded it with chrome on win7 and had no problems extracting it with 7zip
Regards
Personally I didn't really found it a problem but it would be nice to have the correct command in the manual.
Personally, I never use the "z" option. The command 'tar' is smart enough to figure it out on its own, at least on the systems I use (Debian, OS X).I don't know how general this is. How about other OSs?