[tw5] pmario's file-backups not working in firefox with tw classic

Hi all:
At some point in the past 4 months or so I lost the ability to save a twclassic
tiddlywiki with pmario’s file-backups addon.

I get the following screen:
2021-09-24 12_39_59-tbGTD - a tiddlywiki based system to Get Things Done — Mozilla Firefox.png

this happens even if I restart the browser so the file is a fresh load.

  • the file is readable/writable.
  • the pathname is fine under: /c/Users/username/Downloads/tiddlywiki/tbGTD/tbGTD.html where username is lower case ascii characters no spaces etc.
  • the file is in the same place
  • the configured backup subdirectory is readable and writable as are all the backups
    in the directory.

If I load another instance of the same file in my browser, the file loads fine, but I
don’t get a warning that there are two instances loaded.

The popup for file-backup is:

I am not sure why there is an ‘!’ button there. Clicking on it changes the text to “Got it” and changes the ‘homepage & support’ text to “New Version Available?”

Environment: Firefox 92.0.1 (64 bit), file-backup 0.4.0, windows 10.
The TW version is: 2.5.3 from Aug 18, 200 with tbGTD installed.

Anybody got an idea how to fix this?

Thanks.

– rouilj

Hi rouilj,

There haven’t been any changes to the addOn. The exclamation mark is only there to see the “New Version available” button again. If there are changes to the plugin the icon should show an exclamation mark too. … Then if you click the GotIt! button the icon should change back to the standard icon.

But as I wrote. There haven’t been any changes. …

I did test it with empty.html 2.9.2 from classic.tiddlywiki.com. Saving works as expected. …

So the question is: Did you change something prior to the failure. I’ll have to test it with an older version.

-m

Hi,
I did try it with 2.5.3 empty.html and it saves too.

There must have been some changes to the file, which are blocking the save mechanism.

I don’t have a link to the plugin. It would be nice if you could provide one, so I can test the setting too

-m

Hi Pmario:

I got a new copy from: http://tbgtd.tiddlyspot.com/. Used wget to download it.

Put it in a new folder at tiddlywiki/tbGTD2/tbGTD2.html. Loaded it up and it saves.
Then I copied the non-working tbGTD.html file on top of tbGTD2/tbGTD2.html.

That saves as well.

Moved the original file from tiddlywiki/tbGTD/tbGTD.html to tiddlywiki/tbGTD_nosave/tbGTD.html

loaded it in firefox and it saves. One oddness is that the backup file was created under
twBackups/tbGTD.html/tbGTD(2021-09-25T16-14-03-974Z).html rather than in twBackups
where the other backups (initial dated backup and A-F tower of hanoi backups). The next save
created a B backup and not an A backup.

Got me as to why there was a backup issue.

I made a new tbGTD directory and copied my original tiddlywiki file over and things are working now.

Is there anything I can do to debug the failure if it happens in the future?

Thanks.
– rouilj

I got a new copy from: http://tbgtd.tiddlyspot.com/. Used wget to download it.

OK

Put it in a new folder at tiddlywiki/tbGTD2/tbGTD2.html. Loaded it up and it saves.
Then I copied the non-working tbGTD.html file on top of tbGTD2/tbGTD2.html.

That saves as well.

hmmm. That’s strange. Subdirectories should be created on demand. So it shouldn’t matter, if files are moved and then saved again.

Moved the original file from tiddlywiki/tbGTD/tbGTD.html to tiddlywiki/tbGTD_nosave/tbGTD.html

loaded it in firefox and it saves. One oddness is that the backup file was created under
twBackups/tbGTD.html/tbGTD(2021-09-25T16-14-03-974Z).html

The first save will always create an “out of order” backup, with the original version of the file. So instead of (A) it saves this file. Then there will be (B) and than (A) … and so on. That’s intended.

The twBackups directory is always relative to the loaded file. So tbGTD.html should have a twBackups next to it. The directory tbGTD.html is also intended. So the directory structure looks right.

rather than in twBackups
where the other backups (initial dated backup and A-F tower of hanoi backups). The next save
created a B backup and not an A backup.

Got me as to why there was a backup issue.

As above. That’s intended.

I made a new tbGTD directory and copied my original tiddlywiki file over and things are working now.

Is there anything I can do to debug the failure if it happens in the future?

You wrote, that you had a “nosave” file. If possible and if you want to, you can send it to me privately. If not it may be interesting if you could remove all your content and then send me the “nosave” file. … If it still has the problem. …

-mario

Hi PMario:

Well at this point the nosave file is saving. I am not sure what was wrong. Somehow
moving it seems to have “fixed” it.

So I don’t think there is anything to investigate anymore 8-(. Thanks for your help with investigating
this issue. Have a great day.