Questions tagged [unbound]
73 questions
296
votes
6 answers
How to deal with unwanted widget build?
For various reasons, sometimes the build method of my widgets is called again.
I know that it happens because a parent updated. But this causes undesired effects.
A typical situation where it causes problems is when using FutureBuilder this…

Rémi Rousselet
- 256,336
- 79
- 519
- 432
12
votes
1 answer
Why there is an unbound variable error warning by IDE in this simple python function
Very simple question, but I can't find the answer to it. My IDE vs code (pylance) give me the warning/hint for a being possibly unbound. Why is this? How do I fix it?
def f():
for i in range(4):
a = 1
print(a)
return a

Gang
- 185
- 1
- 1
- 9
4
votes
1 answer
Bound vs unbound threads in Haskell
I am trying to understand exactly how bound threads are implemented in Haskell.
I can instantiate multiple schedulers by passing in the -N[n] flag. Are these schedulers executing on individual OS threads?
By using forkOS from Control.Concurrent I am…

Robert
- 165
- 10
4
votes
1 answer
Visual Studio 2019 WebAssembly: Unbound breakpoint is not hit
In the last couple of days I completed a minor upgrade of Visual Studio 2019 from version 17.0.xx to 17.1.1.
After completing this, breakpoints in the client project within my Blazor WebAssembly solution are not working. Hovering over the…

Prv
- 137
- 10
4
votes
1 answer
Pihole and Unbound in Docker Containers - Unbound Not Receiving Requests
I'm trying to run 2 Docker containers on Raspberry pi 3, one for Unbound and one for Pihole. The idea is that Pihole will first block any requests before using Unbound as its DNS server. I've been following Pihole's documentation to get this running…

awildestack
- 61
- 1
- 6
3
votes
1 answer
Why UnboundLocalError occurs when importing inside function
For some reason this code produces error:
import os
def main():
print(os.path.isfile('/bin/cat'))
import os
if __name__ == '__main__':
main()
Result:
Traceback (most recent call last):
File "test.py", line 10, in
…

dankal444
- 3,172
- 1
- 23
- 35
3
votes
1 answer
How to use instance methods as jobs for APscheduler AND in conjunction with persistent datastore [unbound method error]
[Note: using Python 2.7 and jupyter notebook environment]
I would like to be able to schedule instance methods as jobs using APscheduler and store these jobs in a persistent DB [in this case, mongodb].
When trying to do so however, I hit the…

Daniel Lewis
- 43
- 6
3
votes
2 answers
Opendkim error "key retrieval failed" when long dkim keys are used
I'm using postfix with opendkim and see a lot of the following errors:
opendkim[63]: 84D4C390048: key retrieval failed (s=selector1, d=hotmail.com):
'selector1._domainkey.hotmail.com' reply truncated
The error occurs for a lot of different domains,…

hjsimpson
- 1,047
- 11
- 18
3
votes
0 answers
Unbound dns server response throwaway when queried for local lan hostnames
I'm on Windows and I have configured Unbound to be used as DNS for the Android Emulator (since -dns-server doesn't seem to work*). The DNS servers are taken from the list given by ipconfig /all.
I can tell from Unbound logs that it is being queried…

watery
- 5,026
- 9
- 52
- 92
2
votes
1 answer
VS Code Debugging problems after last update (1.69.2)
After the last update of VS Code to version 1.69.2 i am not able to debug my nodejs - express, project. I am getting unbound breakpoints when i am adding them. My launch.json file :
{
"configurations": [
{
"name": "Attach by Process…

Vasilis
- 21
- 2
2
votes
4 answers
Defining a "minimum" function to return the minimum of a list using another function that returns the smaller of two numbers
(defun *smaller* (x y)
( if (> x y) y
x))
(defun *minimum* (lst)
(do ((numbers lst (cdr numbers))
(result (car numbers) (*smaller* result (car numbers))))
((null numbers) result)))
LISP says that variable "numbers" in…

Phan Anh Đặng
- 29
- 2
2
votes
2 answers
What is causing my SML variables to be unbound?
I am very new to SML code and I am trying to make a function that returns a list of all prime numbers up to the number that is given by the user. I have most of the functions working except I keep getting an unbound variable or constructor error on…

Jack Van Well
- 43
- 6
1
vote
2 answers
How to add dns record based on the worker node ip in kubernetes
I have a kubernetes cluster which has two worker nodes. I have pointed the coredns to forward any DNS requests that matches ".com" domain to a remote server.
.com:53 {
forward .
}
Let's say, pod-0 sits in worker-0 and…

anonymous user
- 257
- 5
- 23
1
vote
0 answers
Fetch portainer templates blocked by unbound
I'm using portainer to manage my docker containers on my raspberry pi.
I have also setup pi-hole and unbound.
When I try to fetch portainer templates, I get a 500: Unable to retrieve templates via the network
with details:
Get…

Madriesen
- 498
- 2
- 8
- 22
1
vote
3 answers
Unbound variable error when variable is already defined (Python)
I have a strange issue with this code. What this code does is create a GUI where I input a numeric value, then select what I want to convert it using the Spin element and finally I display the result by updating the output text with the outputString…

Jecs
- 7
- 6