xnote icon indicating copy to clipboard operation
xnote copied to clipboard

Cannot Set Path

Open rammjet opened this issue 1 year ago • 13 comments

I'm having the same problem as https://github.com/xnotepp/xnote/issues/47

Linux Mint 22 Betterbird (flatpak) 128.5.0esr-bb18 XNote++ 4.3.32

Clicking the Browse button to set path does nothing.

XNote directory exists and contains notes. /home/(me)/.var/app/eu.betterbird.Betterbird/.thunderbird/s9u5e7y2.default-default/XNote

I would like to share the notes between computers.

rammjet avatar Dec 02 '24 17:12 rammjet

Note: if I could get a little more clarity on how to set the path in Developer's Tools, that would help. And is that method persistent when the add-on gets updated?

rammjet avatar Dec 03 '24 16:12 rammjet

there will be a sync soon, using a local or shared database. Do you want to test that?

How many notes do you have? I have no idea how Thunderbird realises the browsing of directories on linux (that part is not XNote++).

opto avatar Dec 03 '24 20:12 opto

I am willing to test. I deleted messages with notes, but I can make more. I gave the path to the XNote directory being used by Betterbird:

/home/(me)/.var/app/eu.betterbird.Betterbird/.thunderbird/s9u5e7y2.default-default/XNote

Why is it when I click the Browse button, nothing haappens?

rammjet avatar Dec 03 '24 20:12 rammjet

Hey there, I also cannot change the default storage path.

OS: WIN11 Thunderbird version: 128.5.2esr XNote++ Version: 4.3.32

Clicking the Browse button does not open a dialogue. Setting the Path in the developer console with "document.getElementById('storage.path').value = 'd:\testfolder_xnote'" works.

SvenTej avatar Dec 15 '24 17:12 SvenTej

Setting the Path in the developer console with "document.getElementById('storage.path').value = 'd:\testfolder_xnote'" works.

Still not understanding exactly how to do that. I go to Settings -> General -> Config Editor

Then do I just paste the above with my correct path?

rammjet avatar Dec 15 '24 18:12 rammjet

It´s a bit more tricky: How familiar are you with the debugger of Thunderbird? You have to debug the add-on.

I set a breakpoint in the corresponding js-file ata suitable place and if the code stopped I put the upper mentioned command in the console. Then let the code run again, save the new setting and that´s it.

Maybe the developper or some other guy show up here to give some information if this is a known issue or not and if it is fixed soon.

S.

SvenTej avatar Dec 16 '24 07:12 SvenTej

Hi,

Same issue here. I'ld like to reinstall thunderbird on a fresh computer, but can't get the notes back (they're stocked on a NAS) just because i can't specify the path to the folder. Would appreciate any help with this issue.

Thank you,

Manu Hades

ManuHades-sys avatar Dec 18 '24 11:12 ManuHades-sys

I am experiencing an issue with the XNote++ add-on in Thunderbird. In the program settings, I am unable to change the database path – the button to edit the path does not work or is inactive.

Has anyone encountered this issue? Is this a known bug?

waluszko avatar Jan 08 '25 08:01 waluszko

TB suddenly throws an error in te filepicker: [Exception... "Could not convert JavaScript argument arg 0 [nsIFilePicker.init]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: file:///E:/Arbeit/TB/tb68/TB102/TB115/xnote115all2310/src/experiment-apis/files/files-api.js :: selectDirectory :: line 19" data: no]

so it seems they changed something in comparision to previous versions. I will look into it,

Klaus

opto avatar Jan 08 '25 09:01 opto

please try this version: https://github.com/xnotepp/xnote/releases/tag/v4.3.33

opto avatar Jan 08 '25 17:01 opto

please try this version: https://github.com/xnotepp/xnote/releases/tag/v4.3.33

Works for me.

Thank you!

rammjet avatar Jan 08 '25 18:01 rammjet

its work - great :) Thnaks

waluszko avatar Jan 08 '25 19:01 waluszko

Worked for me as well - thanks so much:

please try this version: https://github.com/xnotepp/xnote/releases/tag/v4.3.33

gvjensen avatar Jan 14 '25 18:01 gvjensen