8000 no function clause matching in Meeseeks.Accumulator.One.add/3 · Issue #123 · mischov/meeseeks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
no function clause matching in Meeseeks.Accumulator.One.add/3 #123
Open
@fireindark707

Description

@fireindark707

I'm using some xpath like "//center[h2[@Class='chapter' and contains(text()[preceding-sibling::br],'some string')]]/following-sibling::h3[@Class='news-title']"

And here is the error:

** (FunctionClauseError) no function clause matching in Meeseeks.Accumulator.One.add/3    
    
    The following arguments were given to Meeseeks.Accumulator.One.add/3:
    
        # 1
        %Meeseeks.Accumulator.One{
          value: #Meeseeks.Result<{ <h3 class="news-title">some string</h3> }>
        }
    
        # 2
        #Meeseeks.Document<{...}>
    
        # 3
        566
    
    Attempted function clauses (showing 1 out of 1):
    
        def add(%Meeseeks.Accumulator.One{value: nil} = acc, document, id)

I'm not sure what happened, but if I removed [@Class='news-title'] at the end, meeseeks runs normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0