akosbalasko / yarle

Yarle - The ultimate converter of Evernote notes to Markdown
https://github.com/akosbalasko/yarle
MIT License
1.43k stars 84 forks source link

Windows Yarle - does not pick up the correct source .enex file #375

Closed hasidima closed 2 years ago

hasidima commented 2 years ago

HI Akosbalasko

After installation of the most recent Windows Yarle program, I choose the correct directory in windows to the .enex file and it is showing correctly in the Electron GUI, however I receive an error message saying that the source file does not exist and it gives me a relative directory to "enexSources": [ "./test/data/test-template.enex" which does not exist in the directory and should be a different file. Please advise. Potentially something got changed in the Registry. I tried to manually correct the source in the config.json file but it does not work.

github-actions[bot] commented 2 years ago

Yihaa, thank you for reporting me this issue and to let me improve Yarle!

akosbalasko commented 2 years ago

hi @hasidima , do you use the latest version of Yarle? I investigate the issue, it looks like that Yarle misses to save the real path, and thats why it keeps the default example.

hasidima commented 2 years ago

Hi Akos

I have just downloaded the file from your github. Can you send a link to a windows file with the most recent version.

Also, is there a way to manually correct the config file in Windows? Can the registry be messed up?

Regards, Dmitry


From: Akos Balasko @.> Sent: Sunday, May 1, 2022 14:52 To: akosbalasko/yarle @.> Cc: hasidima @.>; Mention @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

hi @hasidimahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhasidima&data=05%7C01%7C%7C316e1f1d0a25455cc2bd08da2b3f1d98%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869847317723194%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CGK%2B5fkNhRAzxY1cbKii1LaSHT%2FXpqwDZE1QZrPw4Dg%3D&reserved=0 , do you use the latest version of Yarle? I investigate the issue, it looks like that Yarle misses to save the real path, and thats why it keeps the default example.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakosbalasko%2Fyarle%2Fissues%2F375%23issuecomment-1114150078&data=05%7C01%7C%7C316e1f1d0a25455cc2bd08da2b3f1d98%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869847317723194%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=et3PYsupMlGX6LpgLhCIl9QEQpLoN0HCvSjM55Uiqrc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJO3JTXYCVNHVDUWPNEU63VHYSZVANCNFSM5UZMS3MQ&data=05%7C01%7C%7C316e1f1d0a25455cc2bd08da2b3f1d98%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869847317723194%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=84kBvWlnUdnWQRQACpF8X5KVNuToZI15NjjQO72j4vA%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

akosbalasko commented 2 years ago

Hi @hasidima , the link on the main page points to the latest, so it's okay 4.8.5. The other way you could do is to set up the config via UI, start the conversion that will show you the current config, copy-paste it to a new file, fix the path there and start Yarle via npx, not via the UI. It's strange because it works perfectly on Mac. if you prefer to have a short video-chat, feel free to reach out to me on google meet, here is my email address: akos0215@gmail.com . I can test the functioning on Windows today in the evening (CET). akos

hasidima commented 2 years ago

Hi Akos

Please check the Windows Electron functionality today when you have time. I do have version 4.8.5 downloaded but it seems to go back to the test folder which does not exist.

I will try to check out the CLI functionality but I am not good with Windows CLI. By the way, I tried to run a Linux version, I have the same issue...

Regards, Dmitry


From: Akos Balasko @.> Sent: Sunday, May 1, 2022 15:50 To: akosbalasko/yarle @.> Cc: hasidima @.>; Mention @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

Hi @hasidimahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhasidima&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Tlva7tpE61rrLomQ8TJWOBN3WPUg3Rb3OsBymB7Tv4g%3D&reserved=0 , the link on the main page points to the latest, so it's okay 4.8.5. The other way you could do is to set up the config via UI, start the conversion that will show you the current config, copy-paste it to a new file, fix the path there and start Yarle via npx, not via the UI. It's strange because it works perfectly on Mac. if you prefer to have a short video-chat, feel free to reach out to me on google meet, here is my email address: @.**@.> . I can test the functioning on Windows today in the evening (CET). akos

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakosbalasko%2Fyarle%2Fissues%2F375%23issuecomment-1114160953&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mEkINhf1etcMJafoOQJrxp9OA8KC1NErce3W9VcFuUE%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJO3JQI6TFBKSQDO6ZSG73VHYZTHANCNFSM5UZMS3MQ&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ctiZDwfeUiGNBG3eekVl%2BsKDwi89nHC5Xu1H%2BYVmn1k%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

hasidima commented 2 years ago

hi Akos

I tried to redownload it again and it worked once then it reverts to the same problem gives me the same error message about the test folder.

I think there might be something with the Electron file that it calls for test folder the second time.

Thank you for your help. Dmitry


From: Dmitry H @.> Sent: Sunday, May 1, 2022 15:59 To: akosbalasko/yarle @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

Hi Akos

Please check the Windows Electron functionality today when you have time. I do have version 4.8.5 downloaded but it seems to go back to the test folder which does not exist.

I will try to check out the CLI functionality but I am not good with Windows CLI. By the way, I tried to run a Linux version, I have the same issue...

Regards, Dmitry


From: Akos Balasko @.> Sent: Sunday, May 1, 2022 15:50 To: akosbalasko/yarle @.> Cc: hasidima @.>; Mention @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

Hi @hasidimahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhasidima&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Tlva7tpE61rrLomQ8TJWOBN3WPUg3Rb3OsBymB7Tv4g%3D&reserved=0 , the link on the main page points to the latest, so it's okay 4.8.5. The other way you could do is to set up the config via UI, start the conversion that will show you the current config, copy-paste it to a new file, fix the path there and start Yarle via npx, not via the UI. It's strange because it works perfectly on Mac. if you prefer to have a short video-chat, feel free to reach out to me on google meet, here is my email address: @.**@.> . I can test the functioning on Windows today in the evening (CET). akos

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakosbalasko%2Fyarle%2Fissues%2F375%23issuecomment-1114160953&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mEkINhf1etcMJafoOQJrxp9OA8KC1NErce3W9VcFuUE%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJO3JQI6TFBKSQDO6ZSG73VHYZTHANCNFSM5UZMS3MQ&data=05%7C01%7C%7C135dda517e73442936d908da2b473889%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869882140407491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ctiZDwfeUiGNBG3eekVl%2BsKDwi89nHC5Xu1H%2BYVmn1k%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

akosbalasko commented 2 years ago

Hi @hasidima So does it mean that if you download a fresh install, pick the correct enex, and then execute the conversion, it works, but then right after, without closing Yarle, you go back to step 1, pick an other enex files, then execute the conversion it doesn't?

Thanks for the hints Dmitry, it looks really interesting and strange.

akosbalasko commented 2 years ago

Hi @hasidima , i tested it on Windows 10 Home and Yarle works fine. Which version of Windows do you use?

hasidima commented 2 years ago

Windows 10 also. I had the same results in Linux Pop OS. I do not think it is the OS, it is probably a shell, Electron and the connection to the config file. Somewhere there is a glitch which leads to a change to a test file. In Linux the error popped up from the start.

Is there a way to debug step by step?

Get Outlook for iOShttps://aka.ms/o0ukef


From: Akos Balasko @.> Sent: Monday, May 2, 2022 10:52:51 PM To: akosbalasko/yarle @.> Cc: hasidima @.>; Mention @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

Hi @hasidimahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhasidima&data=05%7C01%7C%7C6a850a08a68e43b9c8d908da2c4b6ead%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637870999738094290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A18zldv9N1GGApIU2gPGdKz%2BIqVgWy%2BSJDqaXUEOB9k%3D&reserved=0 , i tested it on Windows 10 Home and Yarle works fine. Which version of Windows do you use?

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakosbalasko%2Fyarle%2Fissues%2F375%23issuecomment-1114994844&data=05%7C01%7C%7C6a850a08a68e43b9c8d908da2c4b6ead%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637870999738094290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uAANY%2BidugKjvAPhsnFD981EWiw%2FJ2iJRpGlXfGl4IU%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJO3JR72L34JRJDUFOCVMLVH7T4HANCNFSM5UZMS3MQ&data=05%7C01%7C%7C6a850a08a68e43b9c8d908da2c4b6ead%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637870999738094290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NMi1NxmQ%2F3ApQBnD8QCWw1Zbr5hBwVR32PoHfi1AufI%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

akosbalasko commented 2 years ago

@hasidima well, there is no step-by-step debug option, but we could do the following:

  1. Start Yarle
  2. Set all the options, format etc, everything.
  3. Start the conversion - it will log out the current config what you have set in step 2
  4. Copy the config to a file called config.json
  5. fix the path of your enex file in the config.json in any simple text editor like Notepad.
  6. close Yarle
  7. open a terminal
  8. call yarle using terminal as it is described in Yarle's readme.md:
npx -p yarle-evernote-to-md@latest yarle --configFile config.json

This will start yarle headless, so, without the UI and will convert the enex found in config.json

Hope it works, do not hesitate to contact if you still have troubles!

github-actions[bot] commented 2 years ago

It looks like there hasn't been a reply in 14 days, so I'm closing this issue.

hasidima commented 2 years ago

Yes, correct

Get Outlook for iOShttps://aka.ms/o0ukef


From: Akos Balasko @.> Sent: Sunday, May 1, 2022 5:57:54 PM To: akosbalasko/yarle @.> Cc: hasidima @.>; Mention @.> Subject: Re: [akosbalasko/yarle] Windows Yarle - does not pick up the correct source .enex file (Issue #375)

Hi @hasidimahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhasidima&data=05%7C01%7C%7Ceba542519f85446f5e6208da2b591082%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869958780555184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A6RFpx2eFjZF5kJxoRDybdmlVSTsAUUJqGRzz%2BFajNg%3D&reserved=0 So does it mean that if you download a fresh install, pick the correct enex, and then execute the conversion, it works, but then right after, without closing Yarle, you go back to step 1, pick an other enex files, then execute the conversion it doesn't?

Thanks for the hints Dmitry, it looks really interesting and strange.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakosbalasko%2Fyarle%2Fissues%2F375%23issuecomment-1114188335&data=05%7C01%7C%7Ceba542519f85446f5e6208da2b591082%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869958780555184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=722rgUiRXrysy3xRajE5x1lKvCp%2FSz0Tgsqe%2FNx2OUs%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUJO3JW2VQ3CLPEV3WX7KR3VHZISFANCNFSM5UZMS3MQ&data=05%7C01%7C%7Ceba542519f85446f5e6208da2b591082%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637869958780555184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WnrGI1nzbvs25YySOqyaPf3L4WZ7gtDdTD%2B5b9ccEcA%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>