roam-to-git: Initial backup attempt error: Process completed with exit code 1.

Describe the bug I followed the directions for installing with GitHub Actions, and after running for 8m 6s the action ended in an error: Process completed with exit code 1. (Check failure on line 1 in .github)

To Reproduce Steps to reproduce the behavior: I just followed the directions in the readme for GitHub Actions. I created the three separate secrets.

Expected behavior The backup to complete.

Traceback Process completed with exit code 1. (Check failure on line 1 in .github)

Run roam-to-git --debug notes/ and report what you get. (I don’t believe this feature is possible with the GitHub Actions method?)

Please complete the following information:

  • OS: MacOS
  • Do you use Github Action? Yes
  • Do you use multiple Roam databases? Yes
  • Does roam-to-git use to work for you? When precisely did it stopped to work? No
  • Does some backup runs are still working? No

Additional context Thank you for any and all help in advance! I will try it locally now, but figured the bug report was at least useful regardless.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (5 by maintainers)

Most upvoted comments

I am in the same boat.

Here is a clip from the log

2020-06-22T17:43:25.2989612Z 2020-06-22 17:43:25.298 | DEBUG    | roam_to_git.scrapping:download_rr_archive:76 - Closing browser markdown
2020-06-22T17:43:25.2990533Z 2020-06-22 17:43:25.298 | DEBUG    | roam_to_git.scrapping:download_rr_archive:76 - Closing browser json
2020-06-22T17:43:25.3237598Z 2020-06-22 17:43:25.322 | DEBUG    | roam_to_git.scrapping:download_rr_archive:78 - Closed browser json
2020-06-22T17:43:25.3431589Z 2020-06-22 17:43:25.342 | DEBUG    | roam_to_git.scrapping:download_rr_archive:78 - Closed browser markdown
2020-06-22T17:43:25.3485417Z 2020-06-22 17:43:25.343 | ERROR    | __main__:<module>:11 - An error has been caught in function '<module>', process 'MainProcess' (3043), thread 'MainThread' (140356239140672):
2020-06-22T17:43:25.3485931Z Traceback (most recent call last):
2020-06-22T17:43:25.3486209Z 
2020-06-22T17:43:25.3486755Z > File "/opt/hostedtoolcache/Python/3.8.3/x64/bin/roam-to-git", line 11, in <module>
2020-06-22T17:43:25.3488043Z     load_entry_point('roam-to-git==0.1', 'console_scripts', 'roam-to-git')()
2020-06-22T17:43:25.3488745Z     └ <function load_entry_point at 0x7fa7379505e0>
2020-06-22T17:43:25.3490491Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/__main__.py", line 76, in main
2020-06-22T17:43:25.3491206Z     scrap(markdown_zip_path, json_zip_path, config)
2020-06-22T17:43:25.3491836Z     │     │                  │              └ <roam_to_git.scrapping.Config object at 0x7fa734310850>
2020-06-22T17:43:25.3492398Z     │     │                  └ PosixPath('/tmp/tmpj437vmt5')
2020-06-22T17:43:25.3492937Z     │     └ PosixPath('/tmp/tmpimgcwkjv')
2020-06-22T17:43:25.3493453Z     └ <function scrap at 0x7fa7343175e0>
2020-06-22T17:43:25.3494150Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 252, in scrap
2020-06-22T17:43:25.3494566Z     asyncio.get_event_loop().run_until_complete(asyncio.gather(*tasks))
2020-06-22T17:43:25.3495271Z     │       │                                   │       │       └ [<coroutine object download_rr_archive at 0x7fa734700dc0>, <coroutine object download_rr_archive at 0x7fa734b9fd40>]
2020-06-22T17:43:25.3495886Z     │       │                                   │       └ <function gather at 0x7fa736304310>
2020-06-22T17:43:25.3496511Z     │       │                                   └ <module 'asyncio' from '/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/asyncio/__init__.py'>
2020-06-22T17:43:25.3497058Z     │       └ <built-in function get_event_loop>
2020-06-22T17:43:25.3498070Z     └ <module 'asyncio' from '/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/asyncio/__init__.py'>
2020-06-22T17:43:25.3498543Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2020-06-22T17:43:25.3498913Z     return future.result()
2020-06-22T17:43:25.3499440Z            │      └ <method 'result' of '_asyncio.Future' objects>
2020-06-22T17:43:25.3500297Z            └ <_GatheringFuture finished exception=AssertionError('All roads leads to Roam, but that one is too long. Try again when Roam s...
2020-06-22T17:43:25.3501418Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 69, in download_rr_archive
2020-06-22T17:43:25.3502746Z     return await _download_rr_archive(document, output_type, output_directory, config)
2020-06-22T17:43:25.3503633Z                  │                    │         │            │                 └ <roam_to_git.scrapping.Config object at 0x7fa734310850>
2020-06-22T17:43:25.3504393Z                  │                    │         │            └ PosixPath('/tmp/tmpj437vmt5')
2020-06-22T17:43:25.3505428Z                  │                    │         └ 'json'
2020-06-22T17:43:25.3506204Z                  │                    └ <pyppeteer.page.Page object at 0x7fa733c0efd0>
2020-06-22T17:43:25.3508987Z                  └ <function _download_rr_archive at 0x7fa7343173a0>
2020-06-22T17:43:25.3509861Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 121, in _download_rr_archive
2020-06-22T17:43:25.3510248Z     assert dot_button is not None, "All roads leads to Roam, but that one is too long. Try " \
2020-06-22T17:43:25.3510703Z            └ None
2020-06-22T17:43:25.3510901Z 
2020-06-22T17:43:25.3511169Z AssertionError: All roads leads to Roam, but that one is too long. Try again when Roam servers are faster.
2020-06-22T17:43:25.3511856Z Traceback (most recent call last):
2020-06-22T17:43:25.3512495Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/bin/roam-to-git", line 11, in <module>
2020-06-22T17:43:25.3512957Z     load_entry_point('roam-to-git==0.1', 'console_scripts', 'roam-to-git')()
2020-06-22T17:43:25.3513504Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/loguru/_logger.py", line 1220, in catch_wrapper
2020-06-22T17:43:25.3513788Z     return function(*args, **kwargs)
2020-06-22T17:43:25.3514496Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/__main__.py", line 76, in main
2020-06-22T17:43:25.3514795Z     scrap(markdown_zip_path, json_zip_path, config)
2020-06-22T17:43:25.3515285Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 252, in scrap
2020-06-22T17:43:25.3515568Z     asyncio.get_event_loop().run_until_complete(asyncio.gather(*tasks))
2020-06-22T17:43:25.3515873Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2020-06-22T17:43:25.3516122Z     return future.result()
2020-06-22T17:43:25.3516620Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 69, in download_rr_archive
2020-06-22T17:43:25.3516918Z     return await _download_rr_archive(document, output_type, output_directory, config)
2020-06-22T17:43:25.3517878Z   File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/scrapping.py", line 121, in _download_rr_archive
2020-06-22T17:43:25.3518221Z     assert dot_button is not None, "All roads leads to Roam, but that one is too long. Try " \
2020-06-22T17:43:25.3518500Z AssertionError: All roads leads to Roam, but that one is too long. Try again when Roam servers are faster.
2020-06-22T17:43:25.3845430Z ##[error]Process completed with exit code 1.```