KanoComputing / kano-burners

SD Card burner for OSX
GNU General Public License v2.0
12 stars 11 forks source link

Fix Kano Burners in Windows #32

Open alex5imon opened 9 years ago

alex5imon commented 9 years ago

We want to make sure Kano Burners work in the following Windows versions:

gerito1 commented 9 years ago

There is a problem with the names of the files in the server. That issue is related with #31 see my comment there and/or my pull request https://github.com/KanoComputing/kano-burners/pull/33

gerito1 commented 9 years ago

Ok. I made a pull request https://github.com/KanoComputing/kano-burners/pull/33 I hope this is working now.

FMog commented 9 years ago

@gerito1

Been testing the latest, here are the results:

05/02/2015 - Kano Burner (Windows) test.

Test setup 1:

Computer - 2014 Macbook Air OS - Bootcamp, Windows 8.1 Pro, 64-bit

NOTES:

Initial test, run the burner directly from the .zip file (WinRAR), app launched and downloaded OS, card was detected fine, started the process and accepted dialogue boxes, initially a higher download speed of around 800-900 kB/s on the OS download, this then dropped down to 70-110 kB/s from around 47% download. After getting into the >60% area, download of image went back to 0% again and download speed then increased back to 800+ kB/s - intermittently the download drop down to 10-20 kB/s. After a short while the burner reached 100% completion on the download and the eta standing at 0 seconds remaining, yet the burner continued to download as in the following image:

windowskanoosburner100

Decided to leave for a while to see if it moved onto the next step, unfortunately it then reset back to 0% as here:

windowskanoosburner0

Left for a further 30 minutes, no progress was made. Ended the test as a fail :(

Going to try a further test tomorrow, one once the burner has been extracted and if this fails, finally running as administrator (as we have had problems with this in the past when using the burner).

FMog commented 9 years ago

@gerito1

Okay, so decided I couldn't wait until tomorrow and got on with the second test, with much better results:

Test setup 1 (v2):

Computer - 2014 Macbook Air OS - Bootcamp, Windows 8.1 Pro, 64-bit

NOTES:

This time I tried extracting the .zip file first and ran the burner .exe from the extracted folder which was placed on the desktop. It launched fine and went through the dialogue boxes no problem. Kano OS downloaded in around 10-15 minutes at a good speed of 800-900 kB/s, it then progressed successfully to the next step:

extractedkanoburner

This progressed quickly and moved onto the next step:

extractedkanoburner-burning

And then finally!

extractedkanoburner-success

I then clicked Finish and the burner closed (as a side note, it might be nice to add a popup dialogue box that says something like “Thanks for using the Kano Burner! Put the SD card in your kit and fire it up!” - what does everyone else think?).

I then put the SD card into the kit and fired it up to ensure that the image had been written correctly, I didn’t encounter any problems and progressed through the entire initial setup flow and onto the main desktop.

I think this test can definitely be classed as a success :)

EDIT - Tomorrow I will test this on Windows 7

gerito1 commented 9 years ago

@FMog I'm glad to hear that. As now the downloading part has some problems. Unfortunately, you are talking about a different issue than my changes are responsible. One month ago, in the server, a file was misspelled, and a configuration file in the server was plain wrong. The downloaded looked for Kanux-Beta-v1.3.2-release.img.gz.json file, when Kanux-Beta-v1.3.2-release.img.json was the actual file. Also in the configuration the release file was stated as Kanux-Beta-v1.3.2.img.gz when it was Kanux-Beta-v1.3.2-release.img.gz

Your burner works merely by pure luck on our side. My pull request https://github.com/KanoComputing/kano-burners/pull/33 points to other problems, result of other changes in the internal behavior of the burner, so don't thank me. Thank to other collaborators and admins in the server. XD. Additionally I noticed yet another problem in the configuration file that went unnoticed.

radujipa commented 9 years ago

Managed to solve the burning process in Windows and added a few extra goodies in this PR https://github.com/KanoComputing/kano-burners/pull/36 :)

NCommander commented 9 years ago

I have an MSDN subscription and access to all these operating systems. I'll validate Kano OS burner on them.

NCommander commented 9 years ago

and in one of those facepalm worthy moments, I realized I don't have a USB key or SD card handy to actually test this; I'll make a run to Walmart or something in the morning. I do have the dev environment setup, and will build and post the package I'm using to test this.

Ealdwulf commented 9 years ago

@rluz @FMog a version for testing can be found in http://dev.kano.me/temp/Kano%20Burner%20win%20v2%20rc280415%2009d1be8.zip The following should be fixed in this version:

29 #28 #22 #20 #19 #12 #9

rluz commented 9 years ago

@Ealdwulf I will test it today on the blue hp laptop with Windows 8 64bit and at home on a Asus laptop with Windows 7 64bit

Ealdwulf commented 9 years ago

@rluz Okay :-) Ideally it would be a good idea to check that it works on an image which doesn't have python installed already (because the if the packaging didn't work correctly, the problem may be masked by python already being there. The blue laptop has python already and I'm not sure what else uses it so I didn't remove it. Have you installed python on your laptop?

Ealdwulf commented 9 years ago

I have added an extra feature to the burner which allows it to be pointed at a different server/image. This can allow:

using a smaller image (for testing UI and other stuff where you don't need to wait for the whole image to download testing against a server under your control (eg for more complicated testing against

This is more complicated to use from windows: Open an admin command window and run

set KANO_BURNER_TEST_URL=http://dev.kano.me/temp/burner_test.json 
 "\path\to\Kano Burner.exe" ASADMIN

For comparison the normal json is http://downloads.kano.me/public/latest.json The above one is a 10Mb test image containing random junk.

steffengy commented 8 years ago

Is this still an open issue? If so, I'd be willing to test this on Win7 to Win 10.

Ealdwulf commented 8 years ago

Thanks @steffengy - I believe this is fixed now, although I don't think we a have a windows 10 machine in the office, so feel free to try it :-)