davidferguson / pibakery-raspbian

The changes made to Raspbian to support PiBakery
150 stars 12 forks source link

Update button on modifying existing card doesn't do anything #32

Closed dannystaple closed 7 years ago

dannystaple commented 7 years ago

If I insert a card that was previously prepared with PiBakery, it asks if I wish to modify the configuration.

If I then click yes, change some blocks in every boot (first boot has gone since it has been booted), then click "Update" - nothing happens, the new block XML is not written.

davidferguson commented 7 years ago

Are you on Windows or Mac?

If you use the keyboard shortcut CTRL - SHIFT - I on Windows or CMD - SHIFT - I on Mac, you'll get another window opening. Would you be able to select the Console tab at the top, and then upload a screenshot of that window here?

dannystaple commented 7 years ago

Screenshot here (along with the relevant folder on the microsd)

2017-03-22 2

dannystaple commented 7 years ago

Sorry - I ingeniously hid the full error messages behind the explorer screen - trying that again...

2017-03-22 4

davidferguson commented 7 years ago

Basically PiBakery can't write to the SD card.

It may seem obvious, but the most likely cause for this is the write protect switch on the SD card being bumped into the set position:

SD card write protect diagram


Can you make sure that the write protect switch is in the unprotected state, and then if you're able to make a new folder on the SD card just using Windows Explorer?

dannystaple commented 7 years ago

Argg - I feel pretty daft now - I had done exactly that at some point, and din't think to check it. It's not the same issue, but perhaps a suggestion when it can't write to check that would be pretty awesome.

davidferguson commented 7 years ago

Don't worry - I think every Raspberry Pi user has done that at some point, myself included (many times).

In the next release I'll include a message that suggests they check the write protect switch.

polygonfuture commented 7 years ago

This thread should not be closed.

There is still a bug with the way your code is searching for the drive letters.

My SD card is labeled as E: drive, however PiBakery continues to search on drive D:

`` piblocks_bad