Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG | PyFunceble API #419

Open
spirillen opened this issue Jan 18, 2025 · 0 comments
Open

BUG | PyFunceble API #419

spirillen opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels

Comments

@spirillen
Copy link
Contributor

What is the problem you are experiencing?

I am experiencing a problem where...

Not sure this is a bug, but when I run this code in https://github.com/mypdns/matrix/blob/e89ffaf34b93dc37d2d367b51ad93fca367f6309/tools/sort_lists.py#L110-L117

def test_domain_with_pyfunceble(domain):
    try:
        PyFunceble.load_config(custom=True, config={"cli_testing": False, "file_generation": False, "quiet": True, "logging_level": "critical"})
        result = PyFunceble.check(domain)
        return result["status"]
    except Exception as e:
        print(f"Error testing domain {domain}: {e}")
        return "UNKNOWN"

I get this error, in which end lies the error?

Error testing domain newsexstars.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsglamour.xyz: module 'PyFunceble' has no attribute 'check'
Error testing domain newshour24.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsimdigital.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsinc.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsindiatv.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsjournals.com: module 'PyFunceble' has no attribute 'check'
Error testing domain newsleech.com: module 'PyFunceble' has no attribute 'check'
```

### How can we reproduce the problem?

To reproduce the problem:

1.
2.
3.
4.


### Do you have a screenshot?

<details><summary>Screenshot</summary>
</details>


### What did you expect to happen?

I expected that...


### Is there a workaround?

I found a workaround...


### How did you configure PyFunceble?

```yaml
.PyFunceble.overwrite.yaml

# Your configuration here
```


### Which Operating System did you use?

_No response_

### Which Python Version did you use?

_No response_

### Which PyFunceble Version did you use?

_No response_

### Additional context

I would like to add...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants