SOCKS proxy replies with general failure

Tor is installed, enabled, running, and has active circuits up, on <IP_ADDRESS>:9050.  I am actively using this system tor to connect to different services just fine.  It is up and working:
#netstat -tunlap
tcp        0      0 <IP_ADDRESS>:9050          <IP_ADDRESS>:*               LISTEN      2312598/tor

On Debian x86_64, in Sparrow 1.6.5 (deb from website), I go to File -> Preferences -> Server -> Private Electrum
Under URL I enter my electrumserverreallylonghostname.onion and its port 50001
If I enable "Use proxy" and enter my tor socks proxy (<IP_ADDRESS>:9050), and click "Test connection" I get the following error message:
Connecting to tcp://electrumserverreallylonghostname.onion:50001...
Starting Tor
Jul 25 10:47:18.262 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Jul 25 10:47:18.262 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 25 10:47:18.262 [notice] Read configuration file "/tmp/tor8036162468937850980/torrc".
Jul 25 10:47:18.264 [notice] Opening Control listener on <IP_ADDRESS>:0
Jul 25 10:47:18.264 [notice] Control listener listening on port 36563.
Jul 25 10:47:18.264 [notice] Opened Control listener on <IP_ADDRESS>:36563
Jul 25 10:47:18.264 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.

------------------

Could not connect:

Error reply: Unable to set option: Failed to bind one of the listener ports.
Is a Tor proxy already running on port 9050?

Yes one is.  That's the point of using the "Use Proxy" option, is it not?
If I turn off "Use Proxy", this happens:
Connecting to tcp://electrumserverreallylonghostname.onion:50001...
Starting Tor
Jul 25 10:16:37.536 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Jul 25 10:16:37.536 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 25 10:16:37.536 [notice] Read configuration file "/tmp/tor939583139834442911/torrc".
Jul 25 10:16:37.538 [notice] Opening Control listener on <IP_ADDRESS>:0
Jul 25 10:16:37.538 [notice] Control listener listening on port 37467.
Jul 25 10:16:37.538 [notice] Opened Control listener on <IP_ADDRESS>:37467
Jul 25 10:16:37.538 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
Starting Tor
Jul 25 10:16:38.243 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Jul 25 10:16:38.243 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 25 10:16:38.243 [notice] Read configuration file "/tmp/tor15317891499259481748/torrc".
Jul 25 10:16:38.245 [notice] Opening Control listener on <IP_ADDRESS>:0
Jul 25 10:16:38.245 [notice] Control listener listening on port 32941.
Jul 25 10:16:38.245 [notice] Opened Control listener on <IP_ADDRESS>:32941
Jul 25 10:16:38.245 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
Stopping Tor
Tor is already running, using external instance...
Starting Tor...

------------------

Could not connect:

SOCKS server general failure. Check if the proxy server is running.

On another occasion with the same settings ("Use Proxy" disabled, but the system tor is up & running):
Connecting to tcp://electrumserverreallylonghostname.onion:50001...
CircuitStatus: 95 LAUNCHED
CircuitStatus: 85 CLOSED $96070698714DC07AE2B377864625B7EF64E33BF5~upsuperRelay2,$6600C560E7E2A7601F6F4B019942C9E4D47872CE~stimorol,$C4CE54BF7CF355433FF6E9D80240070F65B6B96E~ForPrivacyNET
CircuitStatus: 95 EXTENDED $509EAB4C5D10C9A9A24B4EA0CE402C047A2D64E6~toralf2
CircuitStatus: 95 EXTENDED $509EAB4C5D10C9A9A24B4EA0CE402C047A2D64E6~toralf2,$30EDD1504D77FA155B3FF0F49CA787E0F24AA865~agir6yah7Bahxolooqu
Starting Tor
Jul 25 10:49:01.832 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Jul 25 10:49:01.832 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 25 10:49:01.832 [notice] Read configuration file "/tmp/tor12873972795965718421/torrc".
Jul 25 10:49:01.834 [notice] Opening Control listener on <IP_ADDRESS>:0
Jul 25 10:49:01.834 [notice] Control listener listening on port 33973.
Jul 25 10:49:01.834 [notice] Opened Control listener on <IP_ADDRESS>:33973
Jul 25 10:49:01.834 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
CircuitStatus: 95 EXTENDED $509EAB4C5D10C9A9A24B4EA0CE402C047A2D64E6~toralf2,$30EDD1504D77FA155B3FF0F49CA787E0F24AA865~agir6yah7Bahxolooqu,$C92DE921C34ACB1C1B4EA7D2C1ECF4A0ACD2CA00~FileDitchExit2
CircuitStatus: 95 BUILT $509EAB4C5D10C9A9A24B4EA0CE402C047A2D64E6~toralf2,$30EDD1504D77FA155B3FF0F49CA787E0F24AA865~agir6yah7Bahxolooqu,$C92DE921C34ACB1C1B4EA7D2C1ECF4A0ACD2CA00~FileDitchExit2

------------------

Could not connect:

SOCKS server general failure. Check if the proxy server is running.

As stated before, the system tor definitely running, up and working.  So if my system tor is running, but Use Proxy is off, so it attempts to use its own internal tor daemon, why is it failing to connect to the socks server it launched itself?

Could not connect:

Retries exhausted

Expected, good!  Now I turn off "Use Proxy":
Connecting to tcp://electrumserverreallylonghostname.onion:50001...
Starting Tor
Jul 25 11:09:18.331 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Jul 25 11:09:18.331 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jul 25 11:09:18.331 [notice] Read configuration file "/tmp/tor2678724759637111846/torrc".
Jul 25 11:09:18.332 [notice] Opening Control listener on <IP_ADDRESS>:0
Jul 25 11:09:18.332 [notice] Control listener listening on port 41049.
Jul 25 11:09:18.332 [notice] Opened Control listener on <IP_ADDRESS>:41049
Jul 25 11:09:18.332 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.

------------------

Could not connect:

SOCKS server general failure. Check if the proxy server is running.

Unexpected.  Why couldn't Sparrow connect to its own built-in Tor?  I have no firewalls running, no port restrictions.

I'm unable to reproduce this behaviour on Ubuntu 20.04, with a Tor proxy (<IP_ADDRESS>) running locally. Sparrow connects to a .onion server fine, using the external proxy. It's also the first time I've heard of an issue with this common configuration. I also tested this configuration on macOS again for good measure, and it worked there too (Tor <IP_ADDRESS>).
The key question is why, when the 'Use Proxy' toggle is enabled on your side, Sparrow apparently appears to ignore this configuration. Possibly a UI issue?
The following two entries in ~/.sparrow/config are set by the relevant UI controls, and should appear as follows:
...
  "useProxy": true,
  "proxyServer": "<IP_ADDRESS>:9050",
....

Can you check the above, and if so determine if the problem happens consistently across fresh Sparrow restarts?

Thanks for the followup, Craig.
You might be on to something.  On my Debian box, no matter what I do, even when I turn on Use Proxy and close and re-open Sparrow, the config is always set to:
  "useProxy": false,
  "proxyServer": "<IP_ADDRESS>:9050",

There are only two places that useProxy can be set to false:

The toggle in the Server Preferences. Try toggling on/off and cat ~/.sparrow/config each time - the value should be changing in the file immediately. If not, there is a problem with the UI toggle itself.
If using a .onion URL, and Sparrow fails to connect through the configured proxy, it will try to setup Tor itself after internally configuring useProxy to false.

It would be useful to know which of the two of these it is to troubleshoot further. Also, take a look in the Sparrow log file (~/.sparrow/sparrow.log) to see if there is any error when using the toggle.

useProxy's value is not changing from false when I toggle the UI switch.
Sparrow doesn't write anything to the log until I hit "Test Connection" (after enabling "Use Proxy").  It displays the error:
Could not connect:

Error reply: Unable to set option: Failed to bind one of the listener ports.
Is a Tor proxy already running on port 9050?

And writes the following to the log:
2022-07-27 15:12:09,929 ERROR [JavaFX Application Thread] c.s.s.p.ServerPreferencesController [null:-1] Connection error
com.sparrowwallet.sparrow.net.TorServerAlreadyBoundException: Tor server already bound
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.TorService$1.call(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.TorService$1.call(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: net.freehaven.tor.control.TorControlError: Error reply: Unable to set option: Failed to bind one of the listener ports.
	at com.github.JesusMcCloud.jtorctl@1.5/net.freehaven.tor.control.TorControlConnection.sendAndWaitForResponse(Unknown Source)
	at com.github.JesusMcCloud.jtorctl@1.5/net.freehaven.tor.control.TorControlConnection.setConf(Unknown Source)
	at com.github.JesusMcCloud.jtorctl@1.5/net.freehaven.tor.control.TorControlConnection.setConf(Unknown Source)
	at netlayer.jpms@0.6.8/org.berndpruenster.netlayer.tor.TorController.enableNetwork(Unknown Source)
	at netlayer.jpms@0.6.8/org.berndpruenster.netlayer.tor.NativeTor.<init>(Unknown Source)
	at netlayer.jpms@0.6.8/org.berndpruenster.netlayer.tor.NativeTor.<init>(Unknown Source)
	at netlayer.jpms@0.6.8/org.berndpruenster.netlayer.tor.NativeTor.<init>(Unknown Source)
	... 10 common frames omitted

useProxy's value is not changing from false when I toggle the UI switch.

Ok, that's a pretty fundamental problem if the toggle isn't triggering changes. TBH I've never heard of this before, but there's a first time for everything.
Firstly, just to check - are you running on mainnet? If testnet, the config file is at ~/.sparrow/testnet/config
Does the toggle in the main window (status bar bottom right) appear to do anything? It should trigger attempts to connect and disconnect from the current server.
My other thought is that there might be an exception during initialization of the Server Preferences dialog - is there any logging when the Preferences are opened?
Finally, what window manager are you using - anything unusual?

Well this is wild.  I left it open all day and at some point useProxy went to true in the config.  Apparnetly it has been trying to connect all day, it continually says "Starting Tor..." at the bottom left and the switch in the bottom right is toggled on (though greyed out and untoggleable).
~/.sparrow/testnet/ does not exist.
Now, however, when I tailed the log and opened File -> Preferences -> Server -> Edit Existing Connection, Use Proxy toggle goes back to off instantly and useProxy goes to false.  This is what the log shows when I do that:
2022-07-27 02:23:32,247 ERROR [JavaFX Application Thread] c.s.s.MainApp [null:-1] Exception in thread "JavaFX Application Thread"
java.lang.IllegalStateException: Can only start a Service in the READY state. Was in state RUNNING
	at javafx.graphics@18/javafx.concurrent.Service.start(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.AppServices$1.changed(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.AppServices$1.changed(Unknown Source)
	at javafx.base@18/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
	at javafx.base@18/javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(Unknown Source)
	at javafx.base@18/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
	at javafx.base@18/javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.AppServices.requestConnect(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.Subscriber$1.run(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.util.concurrent.DirectExecutor.execute(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.Subscriber.dispatchEvent(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Unknown Source)
	at com.google.common@28.2-jre/com.google.common.eventbus.EventBus.post(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.preferences.PreferencesDialog.lambda$new$0(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.controls@18/javafx.scene.control.Dialog.close(Unknown Source)
	at javafx.controls@18/javafx.scene.control.Dialog.setResultAndClose(Unknown Source)
	at javafx.controls@18/javafx.scene.control.DialogPane.lambda$createButton$3(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics@18/javafx.scene.Node.fireEvent(Unknown Source)
	at javafx.controls@18/javafx.scene.control.Button.fire(Unknown Source)
	at javafx.controls@18/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
	at javafx.controls@18/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene$MouseHandler.process(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene.processMouseEvent(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.View.notifyMouse(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.gtk.GtkApplication.enterNestedEventLoopImpl(Native Method)
	at javafx.graphics@18/com.sun.glass.ui.gtk.GtkApplication._enterNestedEventLoop(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.EventLoop.enter(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
	at javafx.graphics@18/javafx.stage.Stage.showAndWait(Unknown Source)
	at javafx.controls@18/javafx.scene.control.HeavyweightDialog.showAndWait(Unknown Source)
	at javafx.controls@18/javafx.scene.control.Dialog.showAndWait(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.AppController.openPreferences(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source)
	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at javafx.base@18/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source)
	at javafx.fxml@18/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source)
	at javafx.fxml@18/javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)
	at javafx.fxml@18/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.controls@18/javafx.scene.control.MenuItem.fire(Unknown Source)
	at javafx.controls@18/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(Unknown Source)
	at javafx.controls@18/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene$MouseHandler.process(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene.processMouseEvent(Unknown Source)
	at javafx.graphics@18/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.View.notifyMouse(Unknown Source)
	at javafx.graphics@18/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics@18/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

I still get the following error upon hitting going into the server settings for electrum and hitting "Test Connection" even though tor is up and functioning just fine on <IP_ADDRESS>:9050 for other apps:
Could not connect:

Error reply: Unable to set option: Failed to bind one of the listener ports.
Is a Tor proxy already running on port 9050?

The behaviour of the Use Proxy toggle is not making much sense barring some underlying problem in the UI framework.
I'm going to need to try recreate this problem - can you provide details of your Debian system so I can try to set it up in a VM?

I've installed Debian 11.4.0 (amd64) on a VM and then installed tor (<IP_ADDRESS>) and Sparrow (1.6.5). I was able to connect to a .onion server using the external proxy configured at <IP_ADDRESS>:9050 without issues.
Tried to reproduce the toggle issue with Use Proxy as well on both GNOME and Xfce - in both cases switching the toggle immediately changed the value in ./sparrow/config.
If you can provide any more details here that might help to recreate this I'd appreciate it.

I am having the same issue....Sparrow was connecting to my node via private electrum .onion address.
I used this guide: https://raspibolt.org/guide/bitcoin/desktop-wallet.html
It was working, but now it wont connect:
without "Use Proxy":**

Could not connect:
SOCKS server general failure. Check if the proxy server is running.

with "Use Proxy"

Could it just be TOR that is having temp problems? Why does it say "exited"?
admin@raspibolt:~ $ systemctl status tor

tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2022-08-01 05:42:12 BST; 1h 47min ago
Process: 529 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 529 (code=exited, status=0/SUCCESS)
CPU: 6ms

Warning: some journal files were not opened due to insufficient permissions.

@uskrusader It looks like your external Tor proxy simply shut down for some reason.
This issue tracks a reported configuration problem with the Use Proxy toggle, and so is unrelated.

"active (exited)" means that whoever made the systemd service file didn't use the features of systemd that allow it to track the service properly, but it is probably up.  My system tor also says the same thing though it is up and working fine.
Sorry to have taken so long to get back to you, but when I went to go reproduce this (the button not instantly setting ~/.sparrow/config useProxy to true) on other systems, I could not.  The system I was originally testing on is actually Parrot (A debian-based distro that has some off-the-beaten-path security properties) so I figured I'd go duplicate it on basic debian, and could not.  So although maybe there's a bug somehow somewhere about it not setting use proxy, I cannot duplicate that anywhere reasonable.  However, even though useProxy gets set instantly, I still have issues connecting to the local tor socks proxy on multiple systems.
Here is on Linux Mint (20.3 xfce, tor is up and running and working, useProxy successfully enabled, and I am using electrum itself, connected to the same electrs onion on the same computer, simultaneously, so tor and my server are working):
Could not connect:

SOCKS server general failure. Check if the proxy server is running.

LOG:
2022-08-01 11:54:42,657 ERROR [JavaFX Application Thread] c.s.s.p.ServerPreferencesController [null:-1] Connection error
com.sparrowwallet.sparrow.net.ProxyServerException: java.net.SocketException: SOCKS server general failure
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.TcpTransport.connect(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.ElectrumServer.connect(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$1.call(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$1.call(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: SOCKS server general failure
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.ProxySocketFactory.createSocket(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.ProxySocketFactory.createSocket(Unknown Source)
	at com.sparrowwallet.sparrow@1.6.5/com.sparrowwallet.sparrow.net.TcpTransport.createSocket(Unknown Source)
	... 12 common frames omitted

So I uncheck "Use Proxy" in the hopes sparrow will use the built-in tor.  It tries...
Connecting to tcp://electrumserverreallylonghostname.onion:50001...
Starting Tor
Aug 01 12:51:05.678 [notice] Tor <IP_ADDRESS> (git-30711296fd5b7f51) running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1g, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Aug 01 12:51:05.678 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Aug 01 12:51:05.678 [notice] Read configuration file "/tmp/tor4267375093160349034/torrc".
Aug 01 12:51:05.681 [notice] Opening Control listener on <IP_ADDRESS>:0
Aug 01 12:51:05.681 [notice] Control listener listening on port 45775.
Aug 01 12:51:05.681 [notice] Opened Control listener on <IP_ADDRESS>:45775
Aug 01 12:51:05.681 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.

But ends with:
Could not connect:

SOCKS server general failure. Check if the proxy server is running.

Thanks for the additional testing.
The issue is quite clear now - the Java SOCKS client java.net.SocksSocketImpl successfully starts the negotiation with the Tor proxy server, but during this initialisation process the server replies with a general failure message. Why it does so is unclear, but there are some potential reasons.
I've used Wireshark to examine the packets in the SOCKS protocol negotiation with both Sparrow and Electrum. This process is described quite well here: https://samsclass.info/122/proj/how-socks5-works.html. Of course on my side both are working successfully, but I thought it would be useful to see how they differ.
The only difference during the connection phase is that the Electrum (Python) client indicates it can only handle "No Auth" (0x00) authentication, while the Sparrow (Java) client indicates it can handle both "No Auth" 00 and "Username/password" 02. The response from the proxy is therefore different - to Python it responds with "No Auth" 00 and to Java it responds with "Username/password" 02 (I assume because switching credentials is a way of switching Tor circuits). Python proceeds to connection, while Java, in the absence of any supplied credentials, sends the username of the current system user and an empty password, which the proxy authenticates successfully with a response of 01 00. Note that this must be true even in your case, otherwise a Java exception would be raised at this point.
Both clients then write identical byte streams (on my side at least) with 05 01 00 03 3e 73 72 .... 2e 6f 6e 69 6f 6e c3 51 which contains a header indicating the domain name, followed by the electrumserverreallylonghostname.onion address followed by the port. The proxy responds to this with bytes starting with 05 00 indicating the negotiation was successful. In your case, the proxy is responding with 05 01, which is classified a "general SOCKS server failure" according to RFC 1928.
My suspicion is that either the authentication is causing the failure to happen in some mysterious way (seems unlikely given that the proxy has already successfully authenticated the client before it returns an error), or that there is something odd about the domain name that is being passed to the proxy (which seems more likely since it is the last piece of information supplied by the client before the error is returned).
This suspicion is borne out by testing. When I try to use the non-functional Tor v3 address for blockstream.info (explorerzydxu5ecjrkwceayqybizmjjznk5izmitf2modhcusuqlid.onion) my Tor proxy also responds with general SOCKS server failure 05 01, and logs [warn] Invalid hostname [scrubbed]; rejecting in the Tor log. Is there anything written to this log when you try connecting?
My tor configuration is default (no Socks5ProxyUsername or Socks5ProxyPassword are set), and my server address is a standard Tor v3 hidden service.

Here is my Tor log when connecting to the blockstream address above with Tor's config set to Log debug:
Aug 02 10:19:32.000 [debug] connection_handle_listener_read: Connection accepted on socket 9 (child of fd 4).
Aug 02 10:19:32.000 [info] connection_handle_listener_read: New SOCKS connection opened from <IP_ADDRESS>.
Aug 02 10:19:32.000 [debug] connection_add_impl: new conn type Socks, socket 9, address <IP_ADDRESS>, n_conns 5.
Aug 02 10:19:32.000 [debug] conn_read_callback: socket 9 wants to read.
Aug 02 10:19:32.000 [debug] read_to_chunk: Read 4 bytes. 4 on inbuf.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: entered.
Aug 02 10:19:32.000 [debug] process_socks5_methods_request: socks5: accepted method 2 (username/password)
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: socks handshake not all here yet.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: entered.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: socks handshake not all here yet.
Aug 02 10:19:32.000 [debug] conn_write_callback: socket 9 wants to write.
Aug 02 10:19:32.000 [debug] conn_read_callback: socket 9 wants to read.
Aug 02 10:19:32.000 [debug] read_to_chunk: Read 14 bytes. 14 on inbuf.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: entered.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: socks handshake not all here yet.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: entered.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: socks handshake not all here yet.
Aug 02 10:19:32.000 [debug] conn_write_callback: socket 9 wants to write.
Aug 02 10:19:32.000 [debug] conn_read_callback: socket 9 wants to read.
Aug 02 10:19:32.000 [debug] read_to_chunk: Read 68 bytes. 68 on inbuf.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_process_socks: entered.
Aug 02 10:19:32.000 [debug] connection_ap_handshake_rewrite: Client asked for [scrubbed]:143
Aug 02 10:19:32.000 [warn] Invalid hostname [scrubbed]; rejecting

I've attached my pcap in the hopes that you can make more sense of it than I can.
Best I can tell:
Tor sends 0502
Sparrow sends back 05020002
(I think?) sparrow then tries to proxy a connection to the onion(?)
Shortly thereafter tor sends a FIN+ACK packet which then terminates the tcp session between Sparrow and Tor's socks proxy
.

Thanks, that's very helpful. It's now clear why your Tor proxy is disconnecting from Sparrow: Your electrumserverreallylonghostname.onion is resolving to a local IP on your machine. Exactly why is does so is unclear to me, but I assume there is a good reason - perhaps Docker?
Here is what happens:

The Java proxy client in Sparrow authenticates successfully with the proxy.
The proxy client takes the provided Electrum server address it is being asked to connect to via the proxy and sees it is resolvable.
The proxy client writes the resolved IPv4 address and the port to the proxy server, in this case <IP_ADDRESS>:50001. You can see this in your network capture at the end of frame 14: 05 01 00 01 0a 63 1c bf c3 51.
The Tor proxy server notes this is a local IP address, and because it cannot handle it, closes the connection.

To me, it appears that electrumserverreallylonghostname.onion should not be resolvable. Can you shed more light on your local setup?

Well, I have absolutely no explanation for that.  I am on a 10. private network but nowhere is 10.99.* anything used.  And I'm not sure where this IP could have come from, no DNS server I can query at the moment will give me any answer for an A record for my electrumserverreallylonghostname.onion.  Beside that, I was under the impression Tor's socks (4a/5) proxy does the resolution itself (by forwarding that job to an exit node who forwards the answer back to tor.  I wasn't even aware it exposed the answer to the client, so if the socks library is asking for the name before it talks to Tor's socks proxy, that's a privacy leak that should probably be fixed.  Obviously, .onions need to resolve to something inside tor, or ip can't work, but afaik these are mapped in the <IP_ADDRESS>/8 space.

I was under the impression Tor's socks (4a/5) proxy does the resolution itself

True, these versions of the protocol can do DNS resolution, although the user might be using a Socks4 proxy which cannot.

If sparrow is asking for the IP from DNS before it talks to the socks proxy, that's a privacy leak and probably needs to be changed.

Agreed, it's not ideal. I'd made a change in ca782dfc which checks if the host is a .onion address, and if so avoids the automatic DNS resolution attempt that occurs when creating the socket address. This should solve this issue, although why it is occurring in the first place is still a mystery. Internally Java uses the system getaddrinfo call which is standard. I setup my system to use <IP_ADDRESS> but could not reproduce this.
Would it be possible to run from source (instructions in README) to see if this fixes the problem?

After following the instructions here:
https://github.com/sparrowwallet/sparrow/blob/master/docs/reproducible.md
Mixed with the ones here so I don't pull down the 1.6.6 tag, but master, and with this small detail changed to pull down the latest because the version recommended was not available:
user@host:~/Dev/Packages/sparrow$ sudo apt install -y temurin-17-jdk=18.0.1+10
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '18.0.1+10' for 'temurin-17-jdk' was not found
user@host:~/Dev/Packages/sparrow$ sudo apt install -y temurin-18-jdk=18.0.2+9
Reading package lists... Done
Building dependency tree
Reading state information... Done
temurin-18-jdk is already the newest version (18.0.2+9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Thinks look good until I get to:
$ ./gradlew jpackage --info
Initialized native services in: /home/user/.gradle/native
Initialized jansi services in: /home/user/.gradle/native
The client will now receive all logging from the daemon (pid: 131427). The daemon log file: /home/user/.gradle/daemon/7.5/daemon-131427.out.log
Starting 11th build in daemon [uptime: 1 hrs 47 mins 17.776 secs, performance: 99%, non-heap usage: 18% of 256 MiB]
Using 8 worker leases.
Not watching /home/user/Dev/Packages/sparrow since the file system is not supported
Not watching /home/user/Dev/Packages/sparrow/buildSrc since the file system is not supported
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file '/home/user/Dev/Packages/sparrow/settings.gradle'.
Projects loaded. Root project using build file '/home/user/Dev/Packages/sparrow/build.gradle'.
Included projects: [root project 'sparrow', project ':drongo']

> Configure project :buildSrc
Evaluating project ':buildSrc' using build file '/home/user/Dev/Packages/sparrow/buildSrc/build.gradle'.
Task name matched 'build'
Selected primary task 'build' from project :
Resolve mutations for :buildSrc:compileJava (Thread[Execution worker,5,main]) started.
Resolve mutations for :buildSrc:compileJava (Thread[Execution worker,5,main]) completed. Took 0.001 secs.
:buildSrc:compileJava (Thread[included builds,5,main]) started.

> Task :buildSrc:compileJava FAILED
Caching disabled for task ':buildSrc:compileJava' because:
  Build cache is disabled
Task ':buildSrc:compileJava' is not up-to-date because:
  Task has failed previously.
The input changes require a full rebuild for incremental task ':buildSrc:compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain '/usr/local'.
Compiling with JDK Java compiler API.
:buildSrc:compileJava (Thread[included builds,5,main]) completed. Took 0.021 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:compileJava'.
> Java compiler is not available. Please check that /usr/local contains a valid JDK installation.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 606ms
1 actionable task: 1 executed
Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching.

It keeps looking for java & all its associated binaries in /usr/local/ yet I've repeatedly informed it of where java lives, as instructed in reproducible.md:
$ sudo update-alternatives --config java
[sudo] password for user:
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                         Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/temurin-18-jdk-amd64/bin/java    1811      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java   1111      manual mode
* 2            /usr/lib/jvm/temurin-18-jdk-amd64/bin/java    1811      manual mode

Press <enter> to keep the current choice[*], or type selection number: 0

To no avail.  Any ideas?

I'm not sure - my approach is to use SDKman to manage the JDKs, which is detailed a little further down in the doc. It seems to avoid these kinds of issues.
Happy to create a binary for you tomorrow though.

Excellent, that worked, thanks!
So this is odd.  When I specify the proxy as <IP_ADDRESS>:9050 it does not work:
Could not connect:

Retries exhausted

2022-08-16 13:49:43,775 ERROR [JavaFX Application Thread] c.s.s.p.ServerPreferencesController [ServerPreferencesController.java:579] Connection error
com.sparrowwallet.sparrow.net.ElectrumServerRpcException: Error getting server version
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.SimpleElectrumServerRpc.getServerVersion(SimpleElectrumServerRpc.java:47)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.ElectrumServer.getServerVersion(ElectrumServer.java:145)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$1.call(ElectrumServer.java:1138)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$1.call(ElectrumServer.java:1080)
	at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$6(Service.java:727)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$7(Service.java:726)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.sparrowwallet.sparrow.net.ServerException: Retries exhausted
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.RetryLogic.getResult(RetryLogic.java:38)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.SimpleElectrumServerRpc.getServerVersion(SimpleElectrumServerRpc.java:44)
	... 11 common frames omitted
Caused by: java.lang.IllegalStateException: I/O error during a request processing
	at simple.json.rpc.client@1.0/com.github.arteam.simplejsonrpc.client.builder.RequestBuilder.executeRequest(RequestBuilder.java:364)
	at simple.json.rpc.client@1.0/com.github.arteam.simplejsonrpc.client.builder.RequestBuilder.executeAndConvert(RequestBuilder.java:316)
	at simple.json.rpc.client@1.0/com.github.arteam.simplejsonrpc.client.builder.RequestBuilder.execute(RequestBuilder.java:295)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.SimpleElectrumServerRpc.lambda$getServerVersion$1(SimpleElectrumServerRpc.java:45)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.RetryLogic.getResult(RetryLogic.java:34)
	... 12 common frames omitted
Caused by: java.io.IOException: No response from server
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.TcpTransport.readResponse(TcpTransport.java:109)
	at com.sparrowwallet.sparrow@1.6.6/com.sparrowwallet.sparrow.net.TcpTransport.pass(TcpTransport.java:88)
	at simple.json.rpc.client@1.0/com.github.arteam.simplejsonrpc.client.builder.RequestBuilder.executeRequest(RequestBuilder.java:362)
	... 16 common frames omitted

Very odly, when I specify localhost:9050 it does work:
Connected to electrs/0.9.7 on protocol version 1.4
Batched RPC enabled.
Server Banner: Welcome to electrs 0.9.7 (Electrum Rust Server)!

Very odd indeed.
To try understand this, I've created a very simple Java application which will indicate what Java is doing when it attempts to resolve:
import java.net.*;

public class Resolver {
	public static void main(String[] args) {
		String host = "<IP_ADDRESS>";
		if(args.length > 0) {
			host = args[0];
		}

		InetSocketAddress socketAddress = new InetSocketAddress(host, 50001);
		if(socketAddress.isUnresolved()) {
			System.out.println("Could not resolve " + host);
		} else {
			System.out.println(host + " resolved to " + socketAddress.getAddress());
		}
	}
}

You can compile this yourself with javac Resolver.java, or use the attached .class file, compiled with Java 18. The InetSocketAddress constructor is the same one used within Sparrow when creating the proxy address. The host you are trying to resolve can be passed in as the first parameter. Here are my results:
❯ java Resolver localhost
localhost resolved to localhost/<IP_ADDRESS>
❯ java Resolver <IP_ADDRESS>
<IP_ADDRESS> resolved to /<IP_ADDRESS>
❯ java Resolver paynym7bwekdtb2hzgkpl6y2waqcrs2dii7lwincvxme7mdpcpxzfsad.onion
Could not resolve paynym7bwekdtb2hzgkpl6y2waqcrs2dii7lwincvxme7mdpcpxzfsad.onion

Resolver.class.zip

That works exactly as expected:
$ java Resolver localhost
localhost resolved to localhost/<IP_ADDRESS>
$ java Resolver <IP_ADDRESS>
<IP_ADDRESS> resolved to /<IP_ADDRESS>
$ java Resolver electrumserverreallylonghostname.onion
Could not resolve electrumserverreallylonghostname.onion

It might That works exactly as expected:
$ java Resolver localhost
localhost resolved to localhost/<IP_ADDRESS>
$ java Resolver <IP_ADDRESS>
<IP_ADDRESS> resolved to /<IP_ADDRESS>
$ java Resolver electrumserverreallylonghostname.onion
Could not resolve electrumserverreallylonghostname.onion

This must have just been a conveniently timed tor-being-shitty thing yesterday (I noticed hidden services being rather intermittently available - it's been getting ddos'd for months now and afaict was extra shitty over the last week, though today something seems to have abated, and not just where I am).  Anyway, today when I tried with the same yesterday's-master Sparrow, <IP_ADDRESS>:9050, it worked fine.  So maybe that was a red herring.  I actually now have your master and 1.6.5 lined up right next to each other and master can connect and 1.6.5 cannot, so I think this is fixed for me.  Thank you!

Great to hear! Following this down the rabbit hole has improved Sparrow, so I'm grateful for your patience as we figured this out. Closing this off.


W3mButton & Modal aren't auto-connecting wallet in React-Native

Describe the bug
A clear and concise description of what the bug is.
SDK Version (if relevant)

Client: React-Native CLI
Viem: 1.16.6
WAGMI: 1.4.5
React-Native: 0.72.4

To Reproduce
Steps to reproduce the behavior:

Create a react native cli app and install the wallet connect dependencies
Configure the _app page accordingly
Run the app and connect wallet.
Close the app and re-open

Expected behavior
If the user has already connected and approved the app, they stay connected until they choose to disconnect.
Desktop (please complete the following information):

OS: iOS, Swift 3

Smartphone (please complete the following information):

Device: iOS 14
IOS 17.0.3

Additional context
Works as expected on React.

Hey @asapboo 👋 can you share your implementation? The re-connection should work well

Sure thing! I have an _app.tsx, a home screen, & a Tabs component.
Home screen, I show the W3m button for the first time and then in each tab,
show it in the header as well.
Cheers, thanks for the quick reply!
Nishant M
On Mon, Oct 30, 2023 at 12:35 PM ignaciosantise @.***>
wrote:

Hey @asapboo https://github.com/asapboo 👋 can you share your
implementation? The re-connection should work well
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1785730112,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POQPWBM4DQRY63OJY4LYB7QPBAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVG4ZTAMJRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

👌  can you provide an example app where i can reproduce the issue?

Yea! check this out, should reproduce the error.
TMAPP.zip
https://drive.google.com/file/d/1NzI51CtuQ_WJI6jhcgW3E_PsUZY271nA/view?usp=drive_web
Cheers,
On Mon, Oct 30, 2023 at 1:13 PM ignaciosantise @.***>
wrote:

👌 can you provide an example app where i can reproduce the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1785788483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POQMRDMIK3B54NAJTN3YB7U27AVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVG44DQNBYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

could you share a public repository or a code sandbox instead?

apologies, take a look at this https://github.com/asapboo/TMAPP
On Wed, Nov 1, 2023 at 11:13 AM Glitch @.***> wrote:

could you share a public repository or a code sandbox instead?
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1789242233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POWBHJ6GCGP7QT4WFDDYCJYMBAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZGI2DEMRTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

hey @asapboo the problem is how you define the chains. As you can see in the docs here the chain object is just an array with chains.
In your code you are doing this to get the chain object:
const {chains, publicClient, webSocketPublicClient} = configureChains(
  [mainnet],
  [publicProvider()],
);

configureChains

Ahh I see, it's working now, thank you!
On Wed, Nov 1, 2023 at 1:35 PM ignaciosantise @.***>
wrote:

Reopened #78
https://github.com/WalletConnect/web3modal-react-native/issues/78.
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#event-10835647157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POXMLQF7TDVWLYZZWX3YCKI63AVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHAZTKNRUG4YTKNY
.
You are receiving this because you were mentioned.Message ID:
<WalletConnect/web3modal-react-native/issue/78/issue_event/10835647157@
github.com>

Actually sorry, unfortunately this did not fix the issue.
When I close and re-open the app, it still forces me to re-connect my
wallet.
On Wed, Nov 1, 2023 at 1:39 PM Nishant Medicharla @.***>
wrote:

Ahh I see, it's working now, thank you!
On Wed, Nov 1, 2023 at 1:35 PM ignaciosantise @.***>
wrote:

Reopened #78
https://github.com/WalletConnect/web3modal-react-native/issues/78.
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#event-10835647157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POXMLQF7TDVWLYZZWX3YCKI63AVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHAZTKNRUG4YTKNY
.
You are receiving this because you were mentioned.Message ID:
<WalletConnect/web3modal-react-native/issue/78/issue_event/10835647157@
github.com>

@asapboo i found the issue. There's an error in the WalletConnectConnector in how i handle the storage.
As a workaround until i fix it, you can solve it by adding another chain to the array.
for example:
const chains = [mainnet, polygon];

I think I have the same setup currently?
On Wed, Nov 1, 2023 at 4:46 PM ignaciosantise @.***>
wrote:

@asapboo https://github.com/asapboo i found the issue. There's an error
in the WalletConnectConnector in how i handle the storage.
As a workaround until i fix it, you can solve it by adding another chain
to the array.
for example:
const chains = [mainnet, polygon];
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1789736964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POS6DAPFDWP2S2AZ43DYCK7LTAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZG4ZTMOJWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The issue will be solved in the next release 🎉

Sweet looking forward to it - thanks for the help!

@asapboo the issue was solved in 1.0.0-alpha.14. Thanks for reporting 🎉

Hey! I installed the new version but am running into these 4 new errors -
On Tue, Nov 7, 2023 at 8:23 AM ignaciosantise @.***>
wrote:

Closed #78
https://github.com/WalletConnect/web3modal-react-native/issues/78 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#event-10887597343,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54PORLYJTY6SKUMULX3M3YDI75JAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHA4DONJZG4ZTIMY
.
You are receiving this because you were mentioned.Message ID:
<WalletConnect/web3modal-react-native/issue/78/issue_event/10887597343@
github.com>

sample app - https://github.com/asapboo/TMAPP
On Tue, Nov 7, 2023 at 12:09 PM Nishant Medicharla @.***>
wrote:

Hey! I installed the new version but am running into these 4 new errors -
On Tue, Nov 7, 2023 at 8:23 AM ignaciosantise @.***>
wrote:

Closed #78
https://github.com/WalletConnect/web3modal-react-native/issues/78 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#event-10887597343,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54PORLYJTY6SKUMULX3M3YDI75JAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQHA4DONJZG4ZTIMY
.
You are receiving this because you were mentioned.Message ID:
<WalletConnect/web3modal-react-native/issue/78/issue_event/10887597343@
github.com>

@asapboo which errors do you see?

Issues:
WARN - Please use proxy object at W3mButton
(vanilla.js) TypeError: Cannot convert undefined value to object (3x)
On Tue, Nov 7, 2023 at 12:23 PM ignaciosantise @.***>
wrote:

@asapboo https://github.com/asapboo which errors do you see?
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1799418693,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POU47BORA6LZLE3RJQDYDJ4AJAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGQYTQNRZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@asapboo you have some issues in your yarn.lock file. Can you delete it, delete node_modules folder and install the dependencies again?
rm yarn.lock && rm -rf node_modules && yarn install

ah sweet deleting the yarn.lock file did it for me - thanks for the help
and fix!
On Tue, Nov 7, 2023 at 1:52 PM ignaciosantise @.***>
wrote:

@asapboo https://github.com/asapboo you have some issues in your
yarn.lock file. Can you delete it, delete node_modules folder and install
the dependencies again?
rm yarn.lock && rm -rf node_modules && yarn install
—
Reply to this email directly, view it on GitHub
https://github.com/WalletConnect/web3modal-react-native/issues/78#issuecomment-1799794360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM54POSXMPOYAOOBL6MUPT3YDKGOHAVCNFSM6AAAAAA6WK53POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZG44TIMZWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Align breadcrumbs on iPhone

@adamcogan @bradystroud @pierssinclairssw
Hi,
The breadcrumb on mobile screens wraps randomly and doesn't look neat. The separators (>) should be aligned vertically.

Figure: Breadcrumb poorly aligned vertically

[ ] Align the breadcrumb separators vertically

Note: issue #624 could resolve this issue.
AB#63370

I've made some changes that might help this out.
Hey @tiagov8,
Do you think that this is good enough for now?
I think another PBI to align multiple categories properly can be made. But this should be enough to make things a little bit more aesthetically pleasing.

Hey @tkapa
Yes, that's good. Definitely an improvement. Can you share how the multiple category rules will look like after this change?

Yep,

Hey @tkapa ,
as per our conversation on Teams the breadcrumb is better but still got bugs and unwanted markup. I've created this https://codepen.io/tiagov8/pen/OJxRPdx with the goal of simplify the breadcrumb ;)
Please have a look and try converting this to the React code. We may need to make some style adjustments when it's up in staging ;)


sh tools/sat/test/test_DAVIS2017.sh    error

when I  run the code ‘sh tools/sat/test/test_DAVIS2017.sh’    ,then there would be an error:
2020-05-19 20:45:57.972 | INFO     | main::65 - Load experiment configuration at: /home/work/guoxianda/video_analyst/experiments/sat/test/sat_res50-davis17.yaml
2020-05-19 20:45:58.291 | INFO     | videoanalyst.model.module_base:update_params:62 - Load pretrained SiamTrack parameters from: /home/work/guoxianda/video_analyst/models/siamfcpp/siamfcpp-alexnet-vot-md5_18fd31a2f94b0296c08fff9b0f9ad240.pkl whose md5sum is 18fd31a2f94b0296c08fff9b0f9ad240
2020-05-19 20:46:16.195 | INFO     | videoanalyst.model.module_base:update_params:62 - Load pretrained SatVOS parameters from: /home/work/guoxianda/video_analyst/models/sat/sat_res50_davis17_b81fa.pkl whose md5sum is 61900ceacf73cc10fcf242491cbb81fa
2020-05-19 20:46:16.204 | INFO     | videoanalyst.engine.tester.tester_impl.davis:run_tracker:94 - runing test on devices [device(type='cuda', index=0), device(type='cuda', index=1), device(type='cuda', index=2), device(type='cuda', index=3)]
2020-05-19 20:46:16.204 | INFO     | videoanalyst.engine.tester.tester_impl.davis:run_tracker:96 - Using dataset DAVIS2017 at: /home/work/guoxianda/video_analyst/datasets/DAVIS
0%|                                                                         | 0/30 [00:00<?, ?it/s]2020-05-19 20:46:17.498 | INFO     | videoanalyst.engine.tester.tester_impl.davis:run_tracker:125 - process:0, start:0, end:8
torch_shm_manager: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "./main/test.py", line 80, in
tester.test()
File "/home/work/guoxianda/video_analyst/videoanalyst/engine/tester/tester_impl/davis.py", line 83, in test
self.run_tracker()
File "/home/work/guoxianda/video_analyst/videoanalyst/engine/tester/tester_impl/davis.py", line 126, in run_tracker
proc.start()
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
File "/home/work/anaconda3/envs/venv3/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 324, in reduce_storage
metadata = storage.share_filename()
RuntimeError: error executing torch_shm_manager at "/home/work/anaconda3/envs/venv3/lib/python3.6/site-packages/torch/bin/torch_shm_manager" at /pytorch/torch/lib/libshm/core.cpp:99
Any solutions to this?  thank you very much! looking forward to your reply!

"torch_shm_manager: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file: No such file or directory"
which version of your pytorch and cuda?

"torch_shm_manager: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file: No such file or directory"
which version of your pytorch and cuda?

thank you for your reply！ my cuda is 9.0  and pytorch is 1.4.0

It seems that we need cuda 10.1 for libcudart.so.10.1

It seems that we need cuda 10.1 for libcudart.so.10.1

thank you very much. cloud you tell me how to run the test.py in cpu?

set the deive_num 0 in the config file


[FEATURE]  Support Spark 3.5

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Spark 3.5 is releasing. We should support the version.
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@LuciferYang @summaryzb Could you help me with this issue?

volunteering

Once spark3.5 release, i'll move on

@summaryzb Apache Spark 3.5.0 has been released to the Maven Central Repository.


⚠ Bofrost.at has degraded performance

In 1958dde, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1192 ms

Resolved: Bofrost.at performance has improved in 9dd71cd.


orange tree saplings don't drop when broken

unlike other saplings which drop their item when broken, orange tree saplings just disappear.

it's been this way for a long time


ConditionalAssignment with assign_inside_condition

There are a few changes to assign_inside_condition that would be better for us:

We are ok with ternary assignment. This should be allowed

  @chromeless = params[:chromeless] ? :present : :missing

It crashes on a source file with this backtrace:

undefined method `loc' for nil:NilClass
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/util.rb:50:in `ternary_op?'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/style/conditional_assignment.rb:291:in `move_assignment_inside_condition'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/style/conditional_assignment.rb:269:in `autocorrect'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/cop.rb:179:in `correct'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/cop.rb:169:in `add_offense'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/style/conditional_assignment.rb:240:in `check_assignment_to_condition'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/style/conditional_assignment.rb:216:in `block (2 levels) in <class:ConditionalAssignment>'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:42:in `block (2 levels) in on_lvasgn'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:97:in `with_cop_error_handling'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:41:in `block in on_lvasgn'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:40:in `each'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:40:in `on_lvasgn'
(eval):2:in `block in on_begin'
(eval):2:in `each'
(eval):2:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/ast_node/traversal.rb:155:in `on_block'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_block'
(eval):2:in `block in on_begin'
(eval):2:in `each'
(eval):2:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/ast_node/traversal.rb:89:in `on_class'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_class'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/ast_node/traversal.rb:142:in `on_while'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_module'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/ast_node/traversal.rb:142:in `on_while'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_module'
(eval):2:in `block in on_begin'
(eval):2:in `each'
(eval):2:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:46:in `on_begin'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/ast_node/traversal.rb:13:in `walk'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/commissioner.rb:59:in `investigate'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cop/team.rb:59:in `inspect_file'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:203:in `inspect_file'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:173:in `block in do_inspection_loop'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:163:in `loop'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:163:in `do_inspection_loop'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:87:in `process_file'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:59:in `block in inspect_files'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:57:in `each'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:57:in `inspect_files'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/runner.rb:35:in `run'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/lib/rubocop/cli.rb:30:in `run'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/bin/rubocop:14:in `block in <top (required)>'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
/Users/pt/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rubocop-0.39.0/bin/rubocop:13:in `<top (required)>'
/Users/pt/.rbenv/versions/2.1/bin/rubocop:23:in `load'
/Users/pt/.rbenv/versions/2.1/bin/rubocop:23:in `<main>'

/cc @rrosenblum

We are ok with ternary assignment. This should be allowed

I would also love an option to enforce assign_inside_condition with the exception of ternary conditions. Indenting an entire if-else block is ugly IMO, but short ternary assignments are totally fine.

@defrex, that sounds doable to me. I think the easiest way to implement this will be to add a config option outside of the SupportedStyles to include or disclude ternary conditions. That way it can work with assign_inside_condition or assign_to_condition.
This might take a little while to implement. That cop is very complex and probably the worst offender to any of the Metrics cops. I will try to get started on the configuration in the next couple of days.


Add two overload methods to the invokePromptAsync method

This PR is related to #108.

One method accepts KernelFunctionArguments
The other method accepts KernelFunctionArguments and InvocationContext

Motivation and Context

Description

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

@takashiuesaka great, thanks


Harry Craddock the mixologist's brain

This adds an initial implementation of craddock, a Python script that matches ingredients to cocktail recipes and scores them by their fit.
$ cat examples/bar1.json | ./craddock

[
    {
        "required": 0.5,
        "optional": 1.0,
        "name": "martini",
        "preferred": 0.0
    },
    {
        "required": 0.33,
        "optional": 0.0,
        "name": "old fashioned",
        "preferred": 0.0
    }
]

👍


Support keywords

Codecov Report

Merging #60 into develop will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines         1207      1215    +8
=========================================
+ Hits          1207      1215    +8

Impacted Files
Coverage Δ

src/zero_one/geni/column.clj
100.00% <100.00%> (ø)

src/zero_one/geni/core.clj
100.00% <100.00%> (ø)

src/zero_one/geni/dataset.clj
100.00% <100.00%> (ø)

src/zero_one/geni/interop.clj
100.00% <100.00%> (ø)

src/zero_one/geni/ml.clj
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 050b58b...f01b7b8. Read the comment docs.


Feature/sagas

One more thing: It would be easier for incremental review if changes are not force pushed every time.


Document common setup challenges with DSC

It behooves us to proactively document common issues that one runs into when starting with a DSC module.

Blocked Files: Depending on how the file is transferred to the server, the files may be blocked.  Document how to check for blocked files, verify integrity, and unblock if valid.
Default Untrusted Publishers: DSC resource will register as explicitly blocked when the executionpolicy requires signed modules, even if they are signed with a valid signature.  this is due to the LCM running under system so there is no prompt to trust or distrust the publisher.  It distrusts the publisher by default.  Need to open the baby gate (bypass exec policy) or add the publisher cert manually.
WinRM Not Accessible: PSRemoting needs to be enabled for DSC cmdlets to communicate with the LCM.  You can still block external access to WinRM if you are running locally, but PSRemoting must be enabled.

Added Resolving common issues running DSC to the Wiki.


two view image with large parallax

Hii,
Using Colab to match two images with large parallax, the results are not well
Is there any way to improve this problem?
thank you for sharing this code.

Please provide the used image pair for us to determine the problem.


Can't download module via go mod tidy cause by checksum mismatch

When I follow the waeviate quickstart complete code and type go mod tidy
I got error as below:
go mod tidy
go: finding module for package [github.com/weaviate/weaviate-go-client/v4/weaviate/auth](http://github.com/weaviate/weaviate-go-client/v4/weaviate/auth)
go: finding module for package [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate)
go: downloading [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: downloading [github.com/weaviate/weaviate-go-client](http://github.com/weaviate/weaviate-go-client) v1.1.2
go: found [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate) in [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: found [github.com/weaviate/weaviate-go-client/v4/weaviate/auth](http://github.com/weaviate/weaviate-go-client/v4/weaviate/auth) in [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: downloading [golang.org/x/oauth2](http://golang.org/x/oauth2) v0.8.0
go: downloading [github.com/weaviate/weaviate](http://github.com/weaviate/weaviate) v1.21.0
go: downloading [github.com/go-openapi/strfmt](http://github.com/go-openapi/strfmt) v0.21.3
go: downloading [google.golang.org/appengine](http://google.golang.org/appengine) v1.6.7
go: downloading [go.mongodb.org/mongo-driver](http://go.mongodb.org/mongo-driver) v1.11.3
go: downloading [github.com/asaskevich/govalidator](http://github.com/asaskevich/govalidator) v0.0.0-20210307081110-f21760c49a8d
go: downloading [github.com/go-openapi/errors](http://github.com/go-openapi/errors) v0.20.3
go: downloading [github.com/google/go-cmp](http://github.com/google/go-cmp) v0.5.8
go: downloading [github.com/tidwall/pretty](http://github.com/tidwall/pretty) v1.0.0
[github.com/1ckpwee/weaviate_starter](http://github.com/1ckpwee/weaviate_starter) imports
        [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate) imports
        [github.com/weaviate/weaviate-go-client/v4/weaviate/backup](http://github.com/weaviate/weaviate-go-client/v4/weaviate/backup) imports
        [github.com/weaviate/weaviate/entities/models](http://github.com/weaviate/weaviate/entities/models): [github.com/weaviate/weaviate@v1.21.0](http://github.com/weaviate/weaviate@v1.21.0): verifying module: checksum mismatch
        downloaded: h1:ULv1RjMzWGgKOQctm148phR1iZpdLKn5D6nEvBUNsgw=
        [sum.golang.org](http://sum.golang.org/): h1:hP0g74nr9OQEMfuvS5niA+0OEBLiQ/faGuqkMweIuDo=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

The issue was resolved when I downgraded the weaviate-go-client to v4.9.0.

I did not have an issue with v4.13.1


Add FIRE Positional Encoding

This is a recently published positional encoding which aims to improve extension of context length without re-training.
Works best with regular softmax.
See paper for more info:
https://arxiv.org/abs/2310.04418

Looks good


Add e2e tests to verify RHSSO Configuration

What type of PR is this?

/kind enhancement

What does this PR do / why we need it:
Adds e2e tests for RHSSO Installation and Configuration. This mere purpose of this PR is to verify e2e scenarios for PR - https://github.com/redhat-developer/gitops-operator/pull/124
Test Scenarios covered by this PR:

Verify RHSSO installation for default instance.
Verify RHSSO Configuration.
Verify RHSSO Uninstallation.
ReInstall RHSSO

Have you updated the necessary documentation?
NA
Which issue(s) this PR fixes:
Adds e2e tests for https://github.com/redhat-developer/gitops-operator/pull/124
Test acceptance criteria:

[x] E2E Test

How to test changes / Special notes to the reviewer:
Download the PR and run make test-e2e

Test cases are properly covered. Thanks @iam-veeramalla
/approve
/lgtm


proposal: dark mode

I wish Hacker News had this.

Looks like https://github.com/denoland/saaskit/pull/219 intends to address this proposal

This has been implemented in #219.


Kolide Slack is down

https://osquery-slack.herokuapp.com/  is down, How can I join the slack group?

I run to the same issue.
just above the button u just pressed there is a text: "Join us in the osquery slack team at #kolide"

Ah, the link was just changed. This is the new link: https://osquery.slack.com/join/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw#/
I will update the documentation.


Firestore: Update CustomClassMapper

Update CustomClassMapper to pull in changes from https://github.com/firebase/firebase-android-sdk/pull/272
Fixes https://b.corp.google.com/issues/127664723

There are a bunch of flips from public to default visibility and vice versa.  Do those have to be part of this PR?  Are they even meaningful for a package private class?
Please add a unit test for the changes.

There are a bunch of flips from public to default visibility and vice versa. Do those have to be part of this PR? Are they even meaningful for a package private class?

I can revert these changes but in general I prefer to choose the narrowest possible visibility. Let me know if you want me to remove these changes.

Please add a unit test for the changes.

In general, this particular class is not tested in the Server SDK. While we have tests for the integration, thorough testing of the CustomClassMapper exists in only in the Android SDK (https://github.com/firebase/firebase-android-sdk/blob/f040a20ba9eefbd5231f87b7757299b18d7aba54/firebase-firestore/src/test/java/com/google/firebase/firestore/util/MapperTest.java), which is the canonical source for the Mapper.  I did add some unit tests for the new errors though.

Please run mvn com.coveo:fmt-maven-plugin:format to fix liniting issues.

Updated with Lint fix.


Allow JSX element attributes type to be an intersection

Consider the following:
declare module JSX {
    interface ElementAttributesProperty { props: {}; }
}

class Component<P> {
    props: P & { ref?: string };
}

This results in the error: JSX element attributes type '[type parameter] & { ref?: string; }' must be an object type.
An alternative would be an additional member of the JSX namespace that allowed specifying "global" attributes (that would apply to both value-based and intrinsic elements). For example:
declare module JSX {
    interface GlobalAttributes {
        ref?: string
    }
}

See also borisyankov/DefinitelyTyped#5347

Removing this restriction for the sake of intersection types makes sense. It was put in place because we don't really correctly support the JSX Attributes type being a union type.

What should happen if it is an intersection of unions? Or an intersection of type parameters that could be instantiated to unions?

A GlobalAttributes interface would be great because it would make it possible to add global attributes without redefining the entire typing file of for example react.

What does this proposal allow exactly? The attributes type can be any type in the world? Or just an intersection of object types? Keep in mind that an intersection of object types would not fix the Component<P> example above because P is a type parameter.
If the attributes can be any type in the world, what are the semantics for union types and type parameters?

My use case is the following:
abstract class TestA<T> extends React.Component<{x:number}&T, {}> {
   ...
}
class TestB extends TestA<{y:number}> {
   render() {...}
}

Declaration works fine, but it can't be used because (I think) of the above problem.

Fixed in nightly build

@RyanCavanaugh Thank you!


Storing error data in redis

I read through it and nothing jumps out as incorrect, but I'm not very familiar with the redis code or error code really. Probably ready to test on branchbosun or in Denver.


Reinstate excluded test

Signed-off-by: Simon Rushton<EMAIL_ADDRESS>

Failure fixed in hotspot jdk14: see https://github.com/AdoptOpenJDK/openjdk-tests/issues/1665


Improve authentication

Currently, only one authentication backend is allowed at a time. This is wrong. One could wish for example to use both Cookie and a Bearer token strategies.
Still taking inspiration from Django, the goal would be to be able to define a list of auth backends. There would be then a wrapper that would run sequentially until it finds a strategy that yield a user ; or raise 401.
Here is a non-working first attempt: 5160dba0043dadc57c36093573d44e7d852e31c7
This approach is promising but currently blocked by https://github.com/tiangolo/fastapi/issues/679.

LGTM


Update comments.json - ko

Updated Korean for comments.json
Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[x] There's a clear use-case for this code change, explained below
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run yarn test:all and yarn lint)

We appreciate your contribution!

🤖 Generated by Copilot at 8eefb72
This change adds Korean translations for the comments feature of Ghost in the file ghost/i18n/locales/ko/comments.json. This enables Korean users and readers to interact with Ghost-powered sites using their native language.

@syb343 LGTM, 고맙습니다! :)


Replace button text

As the client can no longer report others, but can still use the Social Interactions screen, the button text should be changed from Player Reporting to Social Interactions, aka menu.playerReporting to gui.socialInteractions.title.
Edit: this should be done only when the mod is present on server and client or when #62 is enabled.

There could also be a setting in mod options to disable it.

There could also be a setting in mod options to disable it.

Disabling it would have to be reverted if a friend system is implemented.

There could also be a setting in mod options to disable it.

Disabling it would have to be reverted if a friend system is implemented.

You can press P

In other languages, the text might not fit the button. In fact, have you checked that it does indeed fit the button in English?

Actually, you're right. I didn't test this and it seemed like most languages would fit but now that I had a look, there were several that wouldn't.

How was that button called before chat reporting was a thing?

How was that button called before chat reporting was a thing?

It was just grayed out "Open to LAN".

No, I mean, we had social interactions screen earlier than chat reporting, right? Or wasn't it accessible via button at all?

Indeed, it was only accessible with the keybind P initially. There is even a toast for it for fresh installs.

Ah, okay. Well, questionable naming is on Mojang anyways, seeing how player reporting is not the only thing that can be done in social interactions.


Blas GEMM launch failed

Hi @HuguesTHOMAS
During training, an error was reported here:
InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(2054, 256), b.shape=(2054, 128), m=256, n=128, k=2054
         [[node optimizer/gradients/KernelPointNetwork/layer_2/resnetb_deformable_0/conv1/MatMul_grad/MatMul_1 (defined at /disk/tia/KPConv/utils/trainer_ss.py:141)  = MatMul[T=DT_FLOAT, transpose_a=true, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](KernelPointNetwork/layer_1/resnetb_strided_1/LeakyRelu, optimizer/gradients/AddN_110)]]

I use the Ubuntu 16.04; CUDA 9.2; cudnn 7.6.5;  NVIDIA TITAN RTX GPU
And with anaconda environment: cudatoolkit 9.0;  cudnn 7.6.5; tensorflow-gpu 1.12.3
This error has been occur several times, as well as the below:
2020-11-10 21:13:16.706760: E tensorflow/stream_executor/cuda/cuda_event.cc:48] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
2020-11-10 21:13:16.706819: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:274] Unexpected Event status: 1

Could you please help me solve this problem?
Best regards!

This is strange it seems to be an error in the network model. I have not updated this repo for a long time, but I have never seen this error... Di you change some things in the models or networks blocks definition (files in the models folder)?

This is strange it seems to be an error in the network model. I have not updated this repo for a long time, but I have never seen this error... Di you change some things in the models or networks blocks definition (files in the models folder)?

Hi, @HuguesTHOMAS
I did not change anything about the files in the models folder.
and the same error was found in the project based on Kpconv, such as mprm and D3feat
2020-12-17 14:24:21.381140: E tensorflow/stream_executor/cuda/cuda_event.cc:48] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered


Clear/Reset Filters button on the map page should be disabled by default

Description
Right now, Clear/Reset filters is enabled by default, and clicking on it doesn't do anything. When I click on a tag, and then click on this button, it works fine.
I think disabling it by default would be a better UX. Else, the user is confused when nothing happens when the button is clicked without any tags being selected.
Screenshots

Additional information
No response

Yes good suggestion 👍

I would like to work on this issue, please assign it to me.

Yes, it should be displayed only when you select a tag for the map.
Thank you for the Contribution to the community @FrozenHearth
Keep up the good work 💯

Thanks! @eddiejaoude @MAYANKpandey14
@Vedant-Manjrekar One of the maintainers will assign you the issue soon.


animated svg with complex class name

Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
v1.3.5
Have you tried using jspdf.debug.js?
Yes, as below
Steps to reproduce
As below
Ideally a link too. Try fork this http://jsbin.com/rilace/edit?html,js,output
As below
What I saw
The following are what were reported by the Chrome v66 debugger:

I have a simple pie chart rendered by Chartist.js which results in the above classname definition.  Line 7215 of jspdf.debug.js fails and is not caught, because .split is not a function in this case.
What I expected
Ignore this type of classname?

Duplicate of #1579


[DO NOT MERGE] Refactoring Generics (GenericParamList)

As stated in this thread on the Swift Forums, before introducing Variadic Generics we might want to refactor a little bit how generics are handled in the compiler, one piece at a time.
This PR is about two things:

it introduces a new type, GenericParam, which is a wrapper class+enum for any kind of generic parameter declaration (for now, only GenericTypeParamDecl)
it (mainly) edits GenericParamList to use GenericParam instead of GenericTypeParamDecls. Code that depends on it has been changed as well.

The new type GenericParam has no code comments attached to it, might want to write them before merging this PR.

@DougGregor may I tag you here?

Can one of the admins verify this patch?

@technicated It's been quite a while since there was any movement here. Do you still want us to hold this open?

@CodaFi unfortunately I've not been able to work on this lately - but in the meanwhile, I've tried to formalise a complete pitch for Variadic Generics. The code for this initial refactor might to be stale, I don't know how much the compiler has changed in this area since last year... there seems to be a lot of conflicts. Could it be better to start a new branch in the future (even to repurpose the same changes, if possible / useful)? I hope I can still put my effort on this once things settle down for me...

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Declare the required props for Election Map.

The puzzle 30-19a372c6 from #30 has to be resolved:
https://github.com/codeforthailand/election-live/blob/8f936f7ad7fa3518499aecc394ebb12d72e845ba/src/components/ElectionMap.js#L4-L4
The puzzle was created by Thai Pangsakulyanont on 19-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 30-19a372c6 has disappeared from the source code, that's why I closed this issue.


Can't install with the error on Mac.

when install, following error was happened. What should I do to install ?
error An unexpected error occurred<EMAIL_ADDRESS>Request failed "404 Not Found"".
Installing plugin heroku-slugs... !
Error: yarn add heroku-slugs@latest --non-interactive --mutex=file:/Users/XXXXXXXX/.local/share/heroku/yarn.lock --preferred-cache-folder=/Users/XXXXXXXX/Library/Caches/heroku/yarn --check-files --registry=https://registry.npmjs.org exited with code 1
at ChildProcess.forked.on (~/.local/share/heroku/client/7.12.2/node_modules/@oclif/plugin-plugins/lib/yarn.js:31:28)

Same issue here

Ping @heroku/cli

Thanks @RasPhilCo, that fixed it

Just additional info for people that might looking for other solution: For me, after deleting all of those yarn.lock file, I need to re-open my tab. Also, I need to execute heroku plugins:install heroku-slugs command from my home directory. So:

/other/than/home/dir~:$ heroku plugins:install heroku-slugs Error.
/home/me~:$ heroku plugins:install heroku-slugs Success.

Not sure what is actually causing the problem.


Data format descriptor

Checklist

[x] cargo clippy reports no issues
[x] cargo doc reports no issues
[x] cargo deny issues have been fixed or added to deny.toml
[x] cargo test shows all tests passing
[x] human-readable change descriptions added to the changelog under the "Unreleased" heading.

[x] If the change does not affect the user (or is a process change), preface the change with "Internal:"
[x] Add credit to yourself for each change: Added new functionality @githubname.

Description
Add support for parsing Data Format Descriptor sections from KTX2 files.

To appease clippy I had to change some 0 | _ => SomeType::Unspecified to just _ => as it rightly points out that the _ matches anything else anyway. I had left it as 0 | _ as some kind of documentation. 0 is explicitly in the spec as an 'unspecified' type, presumably so it can be used for custom data without breaking things for other people as ids get standardised. However, as ids get standardised, they won't be in the enums. It feels wrong that a constructor function would return a Result so perhaps adding an Unsupported to the enums and mapping 0 to Unspecified as per the spec, and anything that the crate doesn't know about to Unsupported. However, it would be a shame to break/block user code just because it is an unknown type by the crate. Maybe instead adding an Unknown(pub u32) or whatever is a better option...? Mmm, I like that last option.

Thanks for working on this! Out of curiosity, what's your use case for this data?

tl;dr so I can load supercompressed and compressed textures from KTX2 files.
I pulled in the ktx2 crate to bevy to try to add support for some compressed texture formats (also ddsfile). As I was hooking things up and trying to get something working, I noticed that the sample I had was supercompressed and had no format. I looked at the spec and it seemed like parsing the Data Format Descriptor was necessary to figure out the format of the contained data. Indeed after implementing this I was able to understand that the textures contained in the sample that I had were UASTC format, which I think need additional transcoding to formats that can be directly sampled by a GPU like BC*/ASTC/ETC2.
So, my goal is support for KTX2 as a container primarily for compressed textures, with or without mipmaps, and perhaps also supporting cubemaps, even if long-term bevy has a different and custom asset metadata format to be able to configure whatever the engine needs.
The asset pipeline is the next priority in bevy I think, but it’s good to have good support for glTF 2.0, and KTX2/DDS out of the box.

I noticed that the sample I had was supercompressed and had no format

Interesting, didn't realize that was at all common. That makes this a pretty key feature!

LGTM, thanks for all your work!

Thanks for all the review! :) It’s for sure a better PR because of it.


Suggestion for new tab redirect options...

I have a theme on my browser with a really cool background picture, but I can't find an option that will display only the background and nothing else when opening a new page. If the "about:blank" option just showed the background theme instead of an all white page, it would be perfect. The "chrome apps" option is the only one that lets the background show, but I don't even want the web store button there.
Anyway, just a suggestion. I'd love to be able to see the browser theme unobstructed every time I opened a new page. :)

Unfortunately, Chrome doesn't yet allow extensions to display your configured themes.

Late answer, but you might want to look at this: https://chrome.google.com/webstore/detail/hide-most-visited-pages-r/dhphmpoekpoecdbjeionimpiceigkeil

I just checked out the source for that extension. Very cool how it just modifies the default new tab page. It only hides the most visited links, though.

…by default. You can hide everything in the settings.


Support exec command to take file patterns as an option

What
To run tests separately:
$ delta_test exec bundle exec rspec spec/{lib,concerns}
$ delta_test exec bundle exec rspec spec/models
$ delta_test exec bundle exec rspec spec/controllers

Using --pattern option will do.
delta_test exec bundle exec rspec spec/models --pattern 'spec/models/**/*_spec.rb'

Supported in #15
delta_test exec bundle exec rspec -- spec/models


Shortened names of items should have full name titles

When I have longer item - for example instance with name mmojzis_awesome_test. Then name is shortened to mmojz..._test and when I do mouseover it shows the title of that item. But title is same as shortened name, but is should be full name.

Screenshot would be helpful.

@mmojzis

Screenshot would be helpful.

Also, may be a fixed here #10755, so please close if it is.

Yes, it is. Closed.


Unable to make fresh project

I am attempting to work off git main with a fresh project. I have followed the steps outlined in the readme and I am receiving an error:
  |
7 | wdk_build::cargo_make::load_rust_driver_makefile()?
  |                                                 ^ expected one of `!` or `::`

I have since updated my Cargo.toml:
[dependencies]
wdk = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }
wdk-alloc = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }
wdk-panic = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }
wdk-sys = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }

[build-dependencies]
wdk-build = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }

And Makefile.toml:
extend = "target/rust-driver-makefile.toml"

[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true

[config]
load_script = '''
#!@rust
//! ```cargo
//! [dependencies]
//! wdk-build = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" } # "0.1.0" gives same output
//! ```
#![allow(unused_doc_comments)]

wdk_build::cargo_make::load_rust_driver_makefile()?
'''

I finally got some different errors that led me to this working script:
load_script = '''
#!@rust
//! ```cargo
//! [dependencies]
//! wdk-build = { git = "https://github.com/microsoft/windows-drivers-rs", branch = "main" }
//! ```
fn main() -> Result<(), wdk_build::ConfigError> {
    wdk_build::cargo_make::load_rust_driver_makefile()
}
'''