# ask-the-community

Jay Phan

02/08/2023, 7:17 AM
Have anyone try the Bioinformatics Tutorial, I was able to run it locally but when I run it on Flyte cluster it failed with this message:
Copy code
Traceback (most recent call last):

      File "/usr/local/lib/python3.10/site-packages/flytekit/exceptions/", line 165, in system_entry_point
        return wrapped(*args, **kwargs)
      File "/usr/local/lib/python3.10/site-packages/flytekit/core/", line 499, in dispatch_execute
        raise e
      File "/usr/local/lib/python3.10/site-packages/flytekit/core/", line 496, in dispatch_execute
        native_outputs = self.execute(**native_inputs)
      File "/usr/local/lib/python3.10/site-packages/flytekit/extras/tasks/", line 215, in execute
        subprocess.check_call(gen_script, shell=True)
      File "/usr/local/lib/python3.10/", line 369, in check_call
        raise CalledProcessError(retcode, cmd)


    Command '
    mkdir -p output


    blastx -out $blastout -outfmt 6 -query $query -db $db >> stdout.txt 2>&1
    ' returned non-zero exit status 127.

SYSTEM ERROR! Contact platform administrators.
Any idea how to fix this?

Ketan (kumare3)

02/08/2023, 7:31 AM
Seems like a memory error? Cc @Samhita Alla she wrote the example

Samhita Alla

02/08/2023, 7:37 AM
It isn't a memory issue. It got to do with registration vs fast registration. The tasks require access to data. I'm working on making it work.
@Jay Phan created a PR to fix the example: Please take a look at the docs and let me know if you come across any issues. The specified docker image won't work cause it still needs to be updated. If you could build a docker image of your own and use the same, it should work.

Jay Phan

02/08/2023, 3:21 PM
@Samhita Alla sorry to bother you again, when I try to initiate the work flows on flyte back end using these 2 commands:
Copy code
pyflyte --pkgs blast package --image <|>
flytectl register files --project flytesnacks --domain development --archive flyte-package.tgz --version v1
I ran into this error:
Copy code
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags. 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1f5dadb]

goroutine 1 [running]:
<{0x30e6f78|{0x30e6f78>, 0xc000120000}, {0x30d98a0?, 0xc000953260?}, {0x0, {0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...)
	/home/runner/work/flytectl/flytectl/cmd/register/register_util.go:188 +0x37b
<{0x30e6f78|{0x30e6f78>, 0xc000120000}, {0xc000cef2c0, _}, {_, _, _}, {0x0, {0x0, 0x0}, ...}, ...)
	/home/runner/work/flytectl/flytectl/cmd/register/register_util.go:606 +0x95b
<{0x30e6f78|{0x30e6f78>, 0xc000120000}, {0xc00015f600?, 0x0?, 0x0?}, 0x41b9520, {0x0, {0x0, 0x0}, {0x0, ...}, ...})
	/home/runner/work/flytectl/flytectl/cmd/register/files.go:160 +0x6ca
<|>{0x30e6f78, 0xc000120000}, {0xc00015f600, 0x1, 0x8}, {0x0, {0x0, 0x0}, {0x0, 0x0}, ...})
	/home/runner/work/flytectl/flytectl/cmd/register/files.go:118 +0xcd
<|>?, {0xc00015f600, 0x1, 0x8})
	/home/runner/work/flytectl/flytectl/cmd/core/cmd.go:70 +0x93d
<*Command).execute(0xc0009b8a00|*Command).execute(0xc0009b8a00>, {0xc00015f580, 0x8, 0x8})
	/home/runner/go/pkg/mod/ +0x67c
	/home/runner/go/pkg/mod/ +0x3b4
	/home/runner/work/flytectl/flytectl/cmd/root.go:137 +0x1e
	/home/runner/work/flytectl/flytectl/main.go:12 +0x1d
what is the config file referred to? Thanks

David Espejo (he/him)

02/08/2023, 7:46 PM
I think that [INFO] message on config can be safely ignored

Samhita Alla

02/12/2023, 10:43 AM
Um not sure what's happening. Can you tear down your demo cluster and spin it up again?