Skip to content

Clustering issue: missing file #32

@joannacknight

Description

@joannacknight

The code on the main branch ran successfully over the weekend for distilbert and EmbeddingGemma.

However, I then tried to run the test search functionality using the distilbert data, and got this error:

open ../data/c1970a4c-46c4-8fbe-cf94-d099e24ba206-None-192/clusters/cluster_2064.txt: no such file or directory
panic: Error opening file
 
goroutine 123 [running]:
[github.com/ahenzinger/tiptoe/search/utils.OpenFile](http://github.com/ahenzinger/tiptoe/search/utils.OpenFile)({0xc000022690?, 0x1a?})
        /bask/homes/q/qcax1583/vjgo8416-co-beagle/arc-tiptoe/search/utils/files.go:13 +0x78
[github.com/ahenzinger/tiptoe/search/corpus.ReadEmbeddingsTxt](http://github.com/ahenzinger/tiptoe/search/corpus.ReadEmbeddingsTxt)(0x7e9, 0x816, 0xc00017c320)
        /bask/homes/q/qcax1583/vjgo8416-co-beagle/arc-tiptoe/search/corpus/read_corpus.go:136 +0x250
[github.com/ahenzinger/tiptoe/search/protocol.NewEmbeddingServers.func2(0x0?)](http://github.com/ahenzinger/tiptoe/search/protocol.NewEmbeddingServers.func2(0x0?))
        /bask/homes/q/qcax1583/vjgo8416-co-beagle/arc-tiptoe/search/protocol/server.go:142 +0x34
[github.com/ahenzinger/tiptoe/search/protocol.launchServersFromLogs.func3(0x5)](http://github.com/ahenzinger/tiptoe/search/protocol.launchServersFromLogs.func3(0x5))
        /bask/homes/q/qcax1583/vjgo8416-co-beagle/arc-tiptoe/search/protocol/server.go:264 +0xbf
created by [github.com/ahenzinger/tiptoe/search/protocol.launchServersFromLogs](http://github.com/ahenzinger/tiptoe/search/protocol.launchServersFromLogs) in goroutine 1
        /bask/homes/q/qcax1583/vjgo8416-co-beagle/arc-tiptoe/search/protocol/server.go:262 +0x265
exit status 2

The file cluster_2064.txt didn't exist, but cluster_2063.txt and cluster_2065.txt both did exist - so it looks like a value has been skipped somewhere.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions