waragraph icon indicating copy to clipboard operation
waragraph copied to clipboard

Cannot open script file 'paths.rhai'

Open baozg opened this issue 1 year ago • 2 comments

Hi @chfi

I already installed MoltenVK and successfully installed waragraph with rust on macOS wiht M1 MacBook. But after I run the waragraph, it throw a error:

~/software/waragraph/target/release/waragraph chr1.fasta.gz.0eed25d.c2fac19.5c75112.smooth.final.gfa

[src/graph.rs:247]
[src/graph.rs:253] ix = 0
[src/graph.rs:253] ix = 1
[src/graph.rs:253] ix = 2
[src/graph.rs:253] ix = 3
[src/graph.rs:253] ix = 4
[src/graph.rs:253] ix = 5
[src/graph.rs:253] ix = 6
[src/graph.rs:253] ix = 7
[src/graph.rs:253] ix = 8
[src/graph.rs:253] ix = 9
[src/graph.rs:253] ix = 10
[src/graph.rs:253] ix = 11
[src/graph.rs:253] ix = 12
[src/graph.rs:253] ix = 13
[src/graph.rs:253] ix = 14
[src/graph.rs:253] ix = 15
[src/graph.rs:253] ix = 16
[src/graph.rs:253] ix = 17
[src/graph.rs:253] ix = 18
[src/graph.rs:253] ix = 19
[src/graph.rs:253] ix = 20
[src/graph.rs:253] ix = 21
[src/graph.rs:253] ix = 22
[src/graph.rs:253] ix = 23
[src/graph.rs:253] ix = 24
[src/graph.rs:253] ix = 25
[src/graph.rs:253] ix = 26
[src/graph.rs:253] ix = 27
DEBUG [waragraph] Using default event loop
DEBUG [raving::vk] Created Vulkan entry
DEBUG [raving::vk::init] Creating instance
DEBUG [raving::vk::init] Enumerated required instance extensions
DEBUG [raving::vk::init] getting layer names and pointers
DEBUG [raving::vk::init] Loading instance extension "VK_KHR_surface"
DEBUG [raving::vk::init] Loading instance extension "VK_EXT_metal_surface"
DEBUG [raving::vk::init] Loading instance extension "VK_KHR_get_physical_device_properties2"
DEBUG [raving::vk] Created Vulkan instance
DEBUG [raving::vk] Created window surface
DEBUG [raving::vk::init] Enumerating physical devices
DEBUG [raving::vk::init] Device 0 - "Apple M1 Pro"
INFO [raving::vk::init] Selected physical device: "Apple M1 Pro"
DEBUG [raving::vk::init] Found queue families; graphics: Some(0), present: Some(0), compute: Some(0)
WARN [gpu_allocator::vulkan] There is a memory type that is host visible, but not host coherent. It's time to upgrade our memory allocator to take advantage of this type of memory :)
WARN [gpu_allocator::allocator::free_list_allocator] leak detected: {
    memory type: 0
    memory block: 0
    chunk: {
        chunk_id: 2,
        size: 0x1d4c00,
        offset: 0x0,
        allocation_type: NonLinear,
        name: out,
        backtrace:
    }
}
WARN [gpu_allocator::allocator::free_list_allocator] leak detected: {
    memory type: 1
    memory block: 0
    chunk: {
        chunk_id: 3,
        size: 0xc80000,
        offset: 0x100000,
        allocation_type: Linear,
        name: Path Viewer Slot Cache,
        backtrace:
    }
}
WARN [gpu_allocator::allocator::free_list_allocator] leak detected: {
    memory type: 1
    memory block: 0
    chunk: {
        chunk_id: 2,
        size: 0x100000,
        offset: 0x0,
        allocation_type: Linear,
        name: label-space:viewer-label-space,
        backtrace:
    }
}
Error: Cannot open script file 'paths.rhai': No such file or directory (os error 2)

Do you konw how to fix this error?

baozg avatar Oct 13 '22 12:10 baozg