Closed Remi-Gau closed 5 months ago
https://github.com/bids-standard/bids-starter-kit/actions/runs/7785291474/job/21227535697
rm -fr src/_build/ python tools/print_bep_list.py faqtory build +--------------------- Traceback (most recent call last) ---------------------+ | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\runpy.py:196 in | | _run_module_as_main | | | | 193 main_globals = sys.modules["__main__"].__dict__ | | 194 if alter_argv: | | 195 sys.argv[0] = mod_spec.origin | | > 196 return _run_code(code, main_globals, None, | | 197 "__main__", mod_spec) | | 198 | | 199 def run_module(mod_name, init_globals=None, | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\runpy.py:86 in _run_code | | | | 83 __loader__ = loader, | | 84 __package__ = pkg_name, | | 85 __spec__ = mod_spec) | | > 86 exec(code, run_globals) | | 87 return run_globals | | 88 | | 89 def _run_module_code(code, init_globals=None, | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\Scripts\faqtory.exe\__main__. | | py:7 in <module> | | | | [Errno 2] No such file or directory: | | 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\Scripts\\faqtory.exe\\ | | __main__.py' | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\click\core. | | py:1157 in __call__ | | | | 1154 | | 1155 def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any: | | 1156 """Alias for :meth:`main`.""" | | > 1157 return self.main(*args, **kwargs) | | 1158 | | 1159 | | 1160 class Command(BaseCommand): | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\click\core. | | py:1078 in main | | | | 1075 try: | | 1076 try: | | 1077 with self.make_context(prog_name, args, **extra) as | | > 1078 rv = self.invoke(ctx) | | 1079 if not standalone_mode: | | 1080 return rv | | 1081 # it's not safe to `ctx.exit(rv)` here! | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\click\core. | | py:1688 in invoke | | | | 1685 super().invoke(ctx) | | 1686 sub_ctx = cmd.make_context(cmd_name, args, parent=ct | | 1687 with sub_ctx: | | > 1688 return _process_result(sub_ctx.command.invoke(su | | 1689 | | 1690 # In chain mode we create the contexts step by step, but aft | | 1691 # base command has been invoked. Because at that point we d | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\click\core. | | py:1434 in invoke | | | | 1431 echo(style(message, fg="red"), err=True) | | 1432 | | 1433 if self.callback is not None: | | > 1434 return ctx.invoke(self.callback, **ctx.params) | | 1435 | | 1436 def shell_complete(self, ctx: Context, incomplete: str) -> t.Lis | | 1437 """Return a list of completions for the incomplete value. Lo | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\click\core. | | py:783 in invoke | | | | 780 | | 781 with augment_usage_errors(__self): | | 782 with ctx: | | > 783 return __callback(*args, **kwargs) | | 784 | | 785 def forward( | | 786 __self, __cmd: "Command", *args: t.Any, **kwargs: t.Any # n | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\faqtory\cli | | .py:195 in build | | | | 192 print(faq) | | 193 else: | | 194 try: | | > 195 Path(faq_path).write_text(faq) | | 196 except OSError as error: | | 197 console.print("[red]\u26a0[/] failed to write faq;", error) | | 198 sys.exit(-1) | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\pathlib.py:1155 in | | write_text | | | | 1152 data.__class__.__name__) | | 1153 encoding = io.text_encoding(encoding) | | 1154 with self.open(mode='w', encoding=encoding, errors=errors, n | | > 1155 return f.write(data) | | 1156 | | 1157 def readlink(self): | | 1158 """ | | | | C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\encodings\cp1252.py:19 in | | encode | | | | 16 | | 17 class IncrementalEncoder(codecs.IncrementalEncoder): | | 18 def encode(self, input, final=False): | | > 19 return codecs.charmap_encode(input,self.errors,encoding_table | | 20 | | 21 class IncrementalDecoder(codecs.IncrementalDecoder): | | 22 def decode(self, input, final=False): | +-----------------------------------------------------------------------------+ UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f6a7' in position 220: character maps to <undefined>
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
https://github.com/bids-standard/bids-starter-kit/actions/runs/7785291474/job/21227535697