Skip to content

Instantly share code, notes, and snippets.

@phildenhoff
Created July 14, 2020 15:58
Show Gist options
  • Save phildenhoff/e408ba8e8dbd89dfc158e774b8527570 to your computer and use it in GitHub Desktop.
Save phildenhoff/e408ba8e8dbd89dfc158e774b8527570 to your computer and use it in GitHub Desktop.
2020-07-14T15:46:34.5595801Z 2020-07-14 15:46:34.546 | ERROR | __main__:<module>:11 - An error has been caught in function '<module>', process 'MainProcess' (2941), thread 'MainThread' (139659479574336):
2020-07-14T15:46:34.5596758Z Traceback (most recent call last):
2020-07-14T15:46:34.5597094Z
2020-07-14T15:46:34.5597782Z > File "/opt/hostedtoolcache/Python/3.8.3/x64/bin/roam-to-git", line 11, in <module>
2020-07-14T15:46:34.5598586Z load_entry_point('roam-to-git==0.1', 'console_scripts', 'roam-to-git')()
2020-07-14T15:46:34.5599268Z └ <function load_entry_point at 0x7f04fd79c5e0>
2020-07-14T15:46:34.5601070Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/__main__.py", line 82, in main
2020-07-14T15:46:34.5601758Z save_markdowns(git_path / "markdown", raws)
2020-07-14T15:46:34.5602717Z │ │ └ {'January 28th, 2020.md': '- Did Interview Cakes\' [[The Cake Thief]].\n - Reviewed [[The Unbounded Knapsack Problem]]\n ...
2020-07-14T15:46:34.5603452Z │ └ PosixPath('/home/runner/work/notes/notes')
2020-07-14T15:46:34.5604064Z └ <function save_markdowns at 0x7f04fc083e50>
2020-07-14T15:46:34.5604864Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/fs.py", line 54, in save_markdowns
2020-07-14T15:46:34.5605354Z dest.parent.mkdir(parents=True, exist_ok=True) # Needed if a new directory is used
2020-07-14T15:46:34.5605987Z │ └ <property object at 0x7f04fed72cc0>
2020-07-14T15:46:34.5606617Z └ PosixPath('/r/PersonalFinanceCanada.md')
2020-07-14T15:46:34.5607092Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/pathlib.py", line 1284, in mkdir
2020-07-14T15:46:34.5607538Z self._accessor.mkdir(self, mode)
2020-07-14T15:46:34.5608087Z │ │ │ └ 511
2020-07-14T15:46:34.5608868Z │ │ └ PosixPath('/r')
2020-07-14T15:46:34.5609578Z │ └ <member '_accessor' of 'Path' objects>
2020-07-14T15:46:34.5610862Z └ PosixPath('/r')
2020-07-14T15:46:34.5611112Z
2020-07-14T15:46:34.5611645Z PermissionError: [Errno 13] Permission denied: '/r'
2020-07-14T15:46:34.5612058Z Traceback (most recent call last):
2020-07-14T15:46:34.5612655Z File "/opt/hostedtoolcache/Python/3.8.3/x64/bin/roam-to-git", line 11, in <module>
2020-07-14T15:46:34.5613292Z load_entry_point('roam-to-git==0.1', 'console_scripts', 'roam-to-git')()
2020-07-14T15:46:34.5614014Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/loguru/_logger.py", line 1220, in catch_wrapper
2020-07-14T15:46:34.5614397Z return function(*args, **kwargs)
2020-07-14T15:46:34.5615040Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/__main__.py", line 82, in main
2020-07-14T15:46:34.5615476Z save_markdowns(git_path / "markdown", raws)
2020-07-14T15:46:34.5616127Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/site-packages/roam_to_git/fs.py", line 54, in save_markdowns
2020-07-14T15:46:34.5616528Z dest.parent.mkdir(parents=True, exist_ok=True) # Needed if a new directory is used
2020-07-14T15:46:34.5617069Z File "/opt/hostedtoolcache/Python/3.8.3/x64/lib/python3.8/pathlib.py", line 1284, in mkdir
2020-07-14T15:46:34.5617448Z self._accessor.mkdir(self, mode)
2020-07-14T15:46:34.5618020Z PermissionError: [Errno 13] Permission denied: '/r'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment