question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Initial backup attempt error: Process completed with exit code 1.

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jmsidhucommented, Jun 22, 2020

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.```
0reactions
MatthieuBiziencommented, Aug 21, 2020

@quickfold could you create a separate issue, and add the full log? Loguru should add more info.

Closing this issue, as @bencf problem was solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Process completed with exit code 1. #84 - GitHub
I tried creating starting fresh with a new script and GitHub repository, but the same problem: "Process completed with exit code 1."Β ...
Read more >
Github Action failing: Process completed with exit code 1 ...
It fails when it tries to install the system dependencies where it gives me the error ##[error]Process completed with exit code 1 ....
Read more >
Exit-Code-1-When-Restoring-PostgreSQL-Database
Exit code 1 is returned when the restoring of the database is attempting to add the IPS_username to the Schema.
Read more >
Mac - every command outputs 'Process completed' - Super User
Answer (see below): Caused by file in /usr/lib/ I'd previously replaced. Fixed once restored from backup. macos Β· mac Β· bash Β· terminalΒ ......
Read more >
How to Fix 'Terminated With Exit Code 1' Error - Komodor
Exit Code 1 indicates that a container shut down, either because of an application failure or because the image pointed to an invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found