Quote:
Originally Posted by Terisa de morgan
You're right. After a quarter of an hour  it has started with the following message:
Code:
calibre, version 0.9.2
ERROR: Excepción no considerada: <b>ValueError</b>:You must specify a valid interface name.
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 397, in start_smartdevice
File "site-packages\calibre\gui2\actions\device.py", line 257, in set_smartdevice_action_state
File "site-packages\calibre\gui2\dialogs\smartdevice.py", line 30, in get_all_ip_addresses
File "site-packages\calibre\utils\mdns.py", line 19, in get_all_ips
ValueError: You must specify a valid interface name.
|
This says that there is a network interface on your computer that is broken in some mysterious way. I have no idea what "way" that might be.
The code that is throwing the exception is:
Code:
[17] if hasattr(netifaces, 'AF_INET'):
[18] for x in netifaces.interfaces():
[19] for c in netifaces.ifaddresses(x).get(netifaces.AF_INET, []):
[20] all_ips[x].append(c)
Clearly the exception is being raised in netifaces, probably in the get() method. The message implies that an interface address (a windows thing describing real or virtual hardware) returned by iterating over the set returned by windows is not "valid". My guess is that it is an interface that should work, such as a point-to-point interface in the local domain (127). This is consistent with the report you gave earlier, saying that the problem was related to DHCP in the local domain.
At this point I have no real idea what you should do. I have very few suggestions.
1) Really be sure that there are no network interfaces defined on your computer that you don't need. Use both the control panel and the device manager to check what interfaces are defined.
2) Disable autostart of the wireless device driver and (probably) the content server. Of course, if this works it simply delays the problem.
3) Reinstall windows so that whatever bizarre network interface currently exists is no longer there. Yes, I know this is an enormous hammer for what is probably a small nail.