Synching attachments using Dropbox between Linux and Windows
Dear moneydance team,
Using monedance 2023.1(5006) on both Linux and Windows, when I attach a PDF with Umlaut in the name on the Linux (Ubuntu 23.10), it does not sync to Windows via Dropbox. In Windows, I see the below error in the console view:
Error getting attachment preview for path 'attach/04b/064/dd-/Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf': java.io.FileNotFoundException: C:\Daten\Moneydance\book.moneydance\safe\attach\04b\064\dd-\Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf (Das System kann den angegebenen Pfad nicht finden)
java.io.FileNotFoundException: C:\Daten\Moneydance\book.moneydance\safe\attach\04b\064\dd-\Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf (Das System kann den angegebenen Pfad nicht finden)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at okio.Okio__JvmOkioKt.source(JvmOkio.kt:181)
at okio.Okio.source(Unknown Source)
at com.moneydance.apps.md.controller.AccountBookWrapper$LocalStorageWrapper.openFileForReading(AccountBookWrapper.java:788)
at com.moneydance.apps.md.controller.AccountBookWrapper$LocalStorageWrapper.readFile(AccountBookWrapper.java:904)
at com.moneydance.apps.md.view.gui.AttachmentsPanel$AttachmentPreview.getThumbnail(AttachmentsPanel.java:66)
at com.moneydance.apps.md.view.gui.AttachmentsPanel$3.run(AttachmentsPanel.java:223)
at java.base/java.lang.Thread.run(Unknown Source)
Is there anything I need to configure to support file names with Umlaut or should I better avoid it?
Thanks,
Chris
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Stuart Beesley ... on 28 Oct, 2023 07:30 PM
// Please reply above this line
==================================================
From: Chris
Dear moneydance team,
Using monedance 2023.1(5006) on both Linux and Windows, when I attach a PDF with Umlaut in the name on the Linux (Ubuntu 23.10), it does not sync to Windows via Dropbox. In Windows, I see the below error in the console view:
Error getting attachment preview for path 'attach/04b/064/dd-/Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf': java.io.FileNotFoundException: C:\Daten\Moneydance\book.moneydance\safe\attach\04b\064\dd-\Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf (Das System kann den angegebenen Pfad nicht finden)
java.io.FileNotFoundException: C:\Daten\Moneydance\book.moneydance\safe\attach\04b\064\dd-\Z�rich_Versicherungs_Gesellschaft_20230713_rn_5ca0f391_4f6b_4ca1_b644_43a61a216820_in_051322582361_B00031936279.pdf (Das System kann den angegebenen Pfad nicht finden)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.<init>(Unknown Source)
at okio.Okio__JvmOkioKt.source(JvmOkio.kt:181)
at okio.Okio.source(Unknown Source)
at com.moneydance.apps.md.controller.AccountBookWrapper$LocalStorageWrapper.openFileForReading(AccountBookWrapper.java:788)
at com.moneydance.apps.md.controller.AccountBookWrapper$LocalStorageWrapper.readFile(AccountBookWrapper.java:904)
at com.moneydance.apps.md.view.gui.AttachmentsPanel$AttachmentPreview.getThumbnail(AttachmentsPanel.java:66)
at com.moneydance.apps.md.view.gui.AttachmentsPanel$3.run(AttachmentsPanel.java:223)
at java.base/java.lang.Thread.run(Unknown Source)
Is there anything I need to configure to support file names with Umlaut or should I better avoid it?
Thanks,
Chris
Having trouble reading this? View this discussion online: Synching attachments using Dropbox between Linux and Windows.
To unsubscribe and stop receiving emails from https://infinitekind.tenderapp.com, visit this page
Support Staff 2 Posted by Sean Reilly on 29 Oct, 2023 03:01 PM
Hi Chris,
I think the problem here could be one of two things: moneydance encoding the file name's umlaut incorrectly in its stored data or maybe the umlaut not syncing properly through dropbox's filenames. I think it is likely to be moneydance's encoding issue, in which case it should be fixed in the current unstable/alpha release of moneydance. However, it won't be able to correct the broken encoding that is already in the moneydance record. For that we'll probably need to do a manual correction of the filename.
In the meantime it would be good to avoid attaching filenames with umlauts, but when the next release is available please let me know and I can work with you to correct the link to the attachment.
Thanks,
Sean
--
Sean Reilly
Developer, The Infinite Kind
https://infinitekind.com
3 Posted by Christoph Bohl on 01 Nov, 2023 08:42 PM
Hi Sean,
Thank you very much for the quick help. I have renamed the file and
re-attached it. Will try again with special characters (that I receive
...) with the next version.
Best,
Chris
On 29/10/2023 16:01, Sean Reilly wrote:
System closed this discussion on 31 Jan, 2024 08:50 PM.