EOF when trying to read/write file using Tectia SSH Server

We're having issues communicating with Tectia's SSH server using the latest SSHJ client (0.7.0). Here's the test code and a dump of the error log:
import java.io.InputStream;

import net.schmizz.sshj.SSHClient;
import net.schmizz.sshj.sftp.SFTPEngine;
import net.schmizz.sshj.sftp.StatefulSFTPClient;
import net.schmizz.sshj.transport.verification.PromiscuousVerifier;

import org.apache.commons.io.IOUtils;

public class SFTPTest {
  public static void main(String[] args)
      throws Exception {
    SSHClient client = new SSHClient();
    client.addHostKeyVerifier(new PromiscuousVerifier());
    client.connect("<IP_ADDRESS>", 22);
    client.authPassword("test", "test");

    StatefulSFTPClient sftp = new StatefulSFTPClient(new SFTPEngine(client).init());
    System.out.println("File Exists: " + sftp.statExistence("test.txt"));

    InputStream input = sftp.open("test.txt").getInputStream();
    IOUtils.copy(input, System.out);
    IOUtils.closeQuietly(input);

    sftp.close();
    client.close();
  }
}

stdout:
File Exists: [size=14;mode=[mask=100600];atime=1326843624,mtime=1326843624;]

stderr:
317 [main] INFO net.schmizz.sshj.common.SecurityUtils - Trying to register BouncyCastle as a JCE provider
800 [main] INFO net.schmizz.sshj.common.SecurityUtils - Registration succeeded
853 [main] INFO net.schmizz.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0_7
856 [main] INFO net.schmizz.sshj.transport.TransportImpl - Server identity string: SSH-2.0-<IP_ADDRESS> SSH Tectia Server
857 [main] INFO net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_KEXINIT
5348 [reader] INFO net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_KEXINIT
5395 [reader] INFO net.schmizz.sshj.transport.kex.DHG14 - Sending SSH_MSG_KEXDH_INIT
5536 [reader] INFO net.schmizz.sshj.transport.KeyExchanger - Received kex followup data
5537 [reader] INFO net.schmizz.sshj.transport.kex.DHG14 - Received SSH_MSG_KEXDH_REPLY
5582 [reader] INFO net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_NEWKEYS
5582 [reader] INFO net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_NEWKEYS
5586 [main] INFO net.schmizz.sshj.SSHClient - Key exchange took 4.729 seconds
5588 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5707 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5707 [main] INFO net.schmizz.sshj.transport.TransportImpl - Setting active service to ssh-userauth
5708 [main] INFO net.schmizz.sshj.userauth.UserAuthImpl - Trying `password` auth...
5708 [main] INFO net.schmizz.sshj.userauth.method.AuthPassword - Requesting password for [AccountResource]<EMAIL_ADDRESS>5725 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5819 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5819 [main] INFO net.schmizz.sshj.userauth.UserAuthImpl - `password` auth successful
5819 [main] INFO net.schmizz.sshj.transport.TransportImpl - Setting active service to ssh-connection
5835 [main] INFO net.schmizz.sshj.connection.ConnectionImpl - Attaching `session` channel (#0)
5836 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5840 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Initialized - < session channel: id=0, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=65536] >
5840 [main] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Will request `sftp` subsystem
5840 [main] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending channel request for `subsystem`
5919 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5929 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5929 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5929 [main] INFO net.schmizz.sshj.sftp.SFTPEngine - Server version 3
5935 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5935 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5937 [main] INFO net.schmizz.sshj.sftp.StatefulSFTPClient - Start dir = /C:/Documents and Settings/test
5939 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5941 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5962 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5963 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5973 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5973 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Got chan request for `exit-status`
5973 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5973 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Got EOF
5973 [reader] INFO net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
5992 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Got close
5992 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending EOF
5993 [reader] INFO net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending close
5993 [reader] INFO net.schmizz.sshj.connection.ConnectionImpl - Forgetting `session` channel (#0)
5996 [main] ERROR net.schmizz.concurrent.Promise - <<sftp / 4>> woke to: net.schmizz.sshj.sftp.SFTPException: EOF while reading packet
Exception in thread "main" net.schmizz.sshj.sftp.SFTPException: EOF while reading packet
  at net.schmizz.sshj.sftp.PacketReader.readIntoBuffer(PacketReader.java:52)
  at net.schmizz.sshj.sftp.PacketReader.getPacketLength(PacketReader.java:57)
  at net.schmizz.sshj.sftp.PacketReader.readPacket(PacketReader.java:67)
  at net.schmizz.sshj.sftp.PacketReader.run(PacketReader.java:84)

You can grab the server here - http://www.tectia.com/en/Customers/Evaluate/Client_-_Server.iw3. I have only tested the Windows server (on XP). Setup is relatively straight forward, everything is set up straight out of the box, all you need to do is create a user named test with the password test and drop a file called "test.txt" into their home directory.
Let me know if you need any more info.

I'll try and set this up if there's a Mac version of the server.
Meanwhile can you post DEBUG-level logs as well?

We're having issues communicating with Tectia's SSH server using the latest SSHJ client (0.7.0).

is the problem only since 0.7.0?

No, it was originally discovered with 0.3.1. I just ran the tests with 0.7.0 to make sure it hadn't been fixed in a later version. I'll get on those DEBUG logs.

Thanks @incendium
It's looking like Tectia doesn't like the READ sftp request sshj sends and just closes the channel.
I think the best indicator of what's up may be Tectia logs. Can you get your hands at those, and correlate if there's a relevant event? http://www.tectia.com/manuals/manager-admin/61/ch07s06s02.html

Here is the entire event log chain for a similar request:
2/8/2012 1:38:45PM: [Warning] 114 Servant_warning, "Failed to resolve remote hostname.", Session-Id: 7
2/8/2012 1:38:45PM: [Success Audit] 400 Connect, Policy name: Default-Connection, Src IP: <IP_ADDRESS>, Dst IFace: listener, Dst IP: <IP_ADDRESS>, Src Port: 57472, Dst Port: 22, Ver: SSH-2.0-SSHJ_0_8, Session-Id: 7
2/8/2012 1:38:45PM: [Information] 1002 Algorithm_negotiation_success, "kex_algorithm=diffie-hellman-group14-sha1, hostkey_algorithm=ssh-rsa, cipher=aes128-ctr/aes128-ctr, mac=hmac-sha1/hmac-sha1, compression=none/none", Session-Id: 7
2/8/2012 1:38:45PM: [Information] 1003 KEX_success, Algorithm: diffie-hellman-group14-sha1, Modulus: 2048 bits, Session-Id: 7, Protocol-session-Id: 0E721AAC608EB5E692B59501AEC7D4ABA9C70F3F
2/8/2012 1:38:46PM: [Information] 801 Authentication_block_selected, Username: test, Policy name: Default-Authentication, Session-Id: 7, "file: C:\Program Files\SSH Communications Security\SSH Tectia\SSH Tectia Server\ssh-server-config.xml, line: 36"
2/8/2012 1:38:46PM: [Information] 700 Auth_method_success, Username: test, Auth method: password, Session-Id: 7
2/8/2012 1:38:46PM: [Information] 802 Authentication_block_allow, Username: test, Policy name: Default-Authentication, Session-Id: 7, "file: C:\Program Files\SSH Communications Security\SSH Tectia\SSH Tectia Server\ssh-server-config.xml, line: 36"
2/8/2012 1:38:46PM: [Information] 702 Auth_methods_completed, Username: test, Auth methods: password, Src IP: <IP_ADDRESS>, Src Port: 57472, Ver: SSH-2.0-SSHJ_0_8, Session-Id: 7
2/8/2012 1:38:46PM: [Information] 804 Group_selected, Username: test, Session-Id: 7
2/8/2012 1:38:46PM: [Information] 805 Rule_selected, Username: test, Policy name: <default>, Session-Id: 7, "file: C:\Program Files\SSH Communications Security\SSH Tectia\SSH Tectia Server\ssh-server-config.xml, line: 46"
2/8/2012 1:38:46PM: [Success Audit] 410 Login_success, Username: test, Src IP: <IP_ADDRESS>, Dst IFace: listener, Dst IP: <IP_ADDRESS>, Src Port: 57472, Dst Port: 22, Ver: SSH-2.0-SSHJ_0_8, Session-Id: 7
2/8/2012 1:38:46PM: [Information] 420 Session_channel_open, Username: test, Success, Command: sft-server-g3, Sub ID: 0, Session-Id: 7
2/8/2012 1:38:46PM: [Information] 2000 Sft_server_starting, "2000 Sft_server_starting, Username: test, Session-Id: 7"
2/8/2012 1:38:46PM: [Information] 2002 Sft_server_connected, "2002 Sft_server_connected, Session-Id: 7"
2/8/2012 1:38:46PM: [Information] 2006 Sft_server_fxp_version, "2006 Sft_server_fxp_version, Negotiated version: 3, Session-Id: 7"
2/8/2012 1:38:46PM: [Information] 2033 Sft_server_realpath, "2033 Sft_server_realpath, File name: C:\Documents and Settings\test, Path: /C:/Documents and Settings/test, "Success", Session-Id: 7"
2/8/2012 1:38:46PM: [Information] 2007 Sft_server_open_file, "2007 Sft_server_open_file, File name: C:\Documents and Settings\test\test.txt, File handle: 006E9AA8006ECFB0, "Type: Download", Session-Id: 7"
2/8/2012 1:38:46PM: [Information] 2010 Sft_server_read_file_failed, "2010 Sft_server_read_file_failed, File name: ???, "Error: Handle not found", Session-Id: 7"]
2/8/2012 1:38:47PM: [Information] 421 Session_channel_close, Username: test, Sub ID: 0, Session-Id: 7
2/8/2012 1:38:47PM: [Information] 1300 Channel_inbound_statistics, Username: uninitialized, Session-Id: 7, Channel Id: 0, Packet count: 4, Packet size: 30
2/8/2012 1:38:47PM: [Information] 1301 Channel_outbound_statistics, Username: uninitialized, Session-Id: 7, Channel Id: 0, Packet count: 6, Packet size: 27, Packet size: 512

And the corresponding SSHJ logs:

2012-02-08 13:38:41,022 [main] INFO  net.schmizz.sshj.common.SecurityUtils - Trying to register BouncyCastle as a JCE provider
2012-02-08 13:38:41,556 [main] INFO  net.schmizz.sshj.common.SecurityUtils - Registration succeeded
2012-02-08 13:38:41,635 [main] INFO  net.schmizz.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0_8
2012-02-08 13:38:41,637 [main] INFO  net.schmizz.sshj.transport.TransportImpl - Server identity string: SSH-2.0-<IP_ADDRESS> SSH Tectia Server
2012-02-08 13:38:41,637 [main] DEBUG net.schmizz.concurrent.Promise - Setting <<kex done>> to `null`
2012-02-08 13:38:41,638 [main] INFO  net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_KEXINIT
2012-02-08 13:38:41,642 [main] DEBUG net.schmizz.concurrent.Promise - Setting <<kexinit sent>> to `SOME`
2012-02-08 13:38:41,643 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<kex done>>
2012-02-08 13:38:46,417 [reader] INFO  net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_KEXINIT
2012-02-08 13:38:46,418 [reader] DEBUG net.schmizz.sshj.transport.KeyExchanger - Negotiated algorithms: [ kex=diffie-hellman-group14-sha1; sig=ssh-rsa; c2sCipher=aes128-ctr; s2cCipher=aes128-ctr; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none ]
2012-02-08 13:38:46,474 [reader] INFO  net.schmizz.sshj.transport.kex.DHG14 - Sending SSH_MSG_KEXDH_INIT
2012-02-08 13:38:46,619 [reader] INFO  net.schmizz.sshj.transport.KeyExchanger - Received kex followup data
2012-02-08 13:38:46,619 [reader] INFO  net.schmizz.sshj.transport.kex.DHG14 - Received SSH_MSG_KEXDH_REPLY
2012-02-08 13:38:46,668 [reader] DEBUG net.schmizz.sshj.transport.KeyExchanger - Trying to verify host key with net.schmizz.sshj.transport.verification.PromiscuousVerifier@254e8cee
2012-02-08 13:38:46,668 [reader] INFO  net.schmizz.sshj.transport.KeyExchanger - Sending SSH_MSG_NEWKEYS
2012-02-08 13:38:46,668 [reader] INFO  net.schmizz.sshj.transport.KeyExchanger - Received SSH_MSG_NEWKEYS
2012-02-08 13:38:46,672 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<kexinit sent>> to `null`
2012-02-08 13:38:46,672 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<kex done>> to `SOME`
2012-02-08 13:38:46,672 [main] INFO  net.schmizz.sshj.SSHClient - Key exchange took 5.035 seconds
2012-02-08 13:38:46,675 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:46,675 [main] DEBUG net.schmizz.concurrent.Promise - Setting <<service accept>> to `null`
2012-02-08 13:38:46,675 [main] DEBUG net.schmizz.sshj.transport.TransportImpl - Sending SSH_MSG_SERVICE_REQUEST for ssh-userauth
2012-02-08 13:38:46,676 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<service accept>>
2012-02-08 13:38:46,790 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:46,790 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<service accept>> to `SOME`
2012-02-08 13:38:46,790 [main] INFO  net.schmizz.sshj.transport.TransportImpl - Setting active service to ssh-userauth
2012-02-08 13:38:46,791 [main] INFO  net.schmizz.sshj.userauth.UserAuthImpl - Trying `password` auth...
2012-02-08 13:38:46,791 [main] DEBUG net.schmizz.concurrent.Promise - Setting <<authenticated>> to `null`
2012-02-08 13:38:46,791 [main] INFO  net.schmizz.sshj.userauth.method.AuthPassword - Requesting password for [AccountResource]<EMAIL_ADDRESS>2012-02-08 13:38:46,792 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<authenticated>>
2012-02-08 13:38:46,888 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,575 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,575 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<authenticated>> to `SOME`
2012-02-08 13:38:47,575 [main] INFO  net.schmizz.sshj.userauth.UserAuthImpl - `password` auth successful
2012-02-08 13:38:47,575 [main] INFO  net.schmizz.sshj.transport.TransportImpl - Setting active service to ssh-connection
2012-02-08 13:38:47,584 [main] INFO  net.schmizz.sshj.connection.ConnectionImpl - Attaching `session` channel (#0)
2012-02-08 13:38:47,584 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<chan#0 / open>>
2012-02-08 13:38:47,587 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,590 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Initialized - < session channel: id=0, recipient=0, localWin=[winSize=2097152], remoteWin=[winSize=65536] >
2012-02-08 13:38:47,590 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<chan#0 / open>> to `SOME`
2012-02-08 13:38:47,590 [main] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Will request `sftp` subsystem
2012-02-08 13:38:47,591 [main] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending channel request for `subsystem`
2012-02-08 13:38:47,591 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<chan#0 / chanreq for subsystem>>
2012-02-08 13:38:47,672 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,672 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<chan#0 / chanreq for subsystem>> to `SOME`
2012-02-08 13:38:47,675 [main] DEBUG net.schmizz.sshj.connection.channel.Window$Remote - Consuming by 9 down to 65527
2012-02-08 13:38:47,687 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,687 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 5 down to 2097147
2012-02-08 13:38:47,687 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,687 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 33 down to 2097114
2012-02-08 13:38:47,688 [main] INFO  net.schmizz.sshj.sftp.SFTPEngine - Server version 3
2012-02-08 13:38:47,694 [main] DEBUG net.schmizz.sshj.sftp.SFTPEngine - Sending Request{1;REALPATH}
2012-02-08 13:38:47,695 [main] DEBUG net.schmizz.sshj.connection.channel.Window$Remote - Consuming by 14 down to 65513
2012-02-08 13:38:47,695 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<sftp / 1>>
2012-02-08 13:38:47,696 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,696 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 5 down to 2097109
2012-02-08 13:38:47,696 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,696 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 102 down to 2097007
2012-02-08 13:38:47,697 [sftp reader] DEBUG net.schmizz.sshj.sftp.PacketReader - Received NAME packet
2012-02-08 13:38:47,697 [sftp reader] DEBUG net.schmizz.concurrent.Promise - Setting <<sftp / 1>> to `Buffer [rpos=5, wpos=103, size=103]`
2012-02-08 13:38:47,697 [main] INFO  net.schmizz.sshj.sftp.StatefulSFTPClient - Start dir = /C:/Documents and Settings/test
2012-02-08 13:38:47,700 [main] DEBUG net.schmizz.sshj.sftp.StatefulSFTPClient - Opening `/C:/Documents and Settings/test/test.txt`
2012-02-08 13:38:47,701 [main] DEBUG net.schmizz.sshj.sftp.SFTPEngine - Sending Request{2;OPEN}
2012-02-08 13:38:47,701 [main] DEBUG net.schmizz.sshj.connection.channel.Window$Remote - Consuming by 61 down to 65452
2012-02-08 13:38:47,701 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<sftp / 2>>
2012-02-08 13:38:47,702 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,703 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 5 down to 2097002
2012-02-08 13:38:47,703 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,703 [reader] DEBUG net.schmizz.sshj.connection.channel.Window$Local - Consuming by 16 down to 2096986
2012-02-08 13:38:47,703 [sftp reader] DEBUG net.schmizz.sshj.sftp.PacketReader - Received HANDLE packet
2012-02-08 13:38:47,703 [sftp reader] DEBUG net.schmizz.concurrent.Promise - Setting <<sftp / 2>> to `Buffer [rpos=5, wpos=17, size=17]`
2012-02-08 13:38:47,704 [main] DEBUG net.schmizz.sshj.sftp.SFTPEngine - Sending Request{3;READ}
2012-02-08 13:38:47,705 [main] DEBUG net.schmizz.sshj.connection.channel.Window$Remote - Consuming by 37 down to 65415
2012-02-08 13:38:47,705 [main] DEBUG net.schmizz.concurrent.Promise - Awaiting <<sftp / 3>>
2012-02-08 13:38:47,708 [reader] INFO  net.schmizz.sshj.transport.TransportImpl - Received SSH_MSG_IGNORE
2012-02-08 13:38:47,709 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Got chan request for `exit-status`
2012-02-08 13:38:47,709 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Got EOF
2012-02-08 13:38:47,711 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Got close
2012-02-08 13:38:47,712 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending EOF
2012-02-08 13:38:47,712 [reader] INFO  net.schmizz.sshj.connection.channel.direct.SessionChannel - Sending close
2012-02-08 13:38:47,712 [reader] INFO  net.schmizz.sshj.connection.ConnectionImpl - Forgetting `session` channel (#0)
2012-02-08 13:38:47,712 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<chan#0 / close>> to `SOME`
2012-02-08 13:38:47,712 [main] ERROR net.schmizz.concurrent.Promise - <<sftp / 3>> woke to: net.schmizz.sshj.sftp.SFTPException: EOF while reading packet
Exception in thread "main" net.schmizz.sshj.sftp.SFTPException: EOF while reading packet
	at net.schmizz.sshj.sftp.PacketReader.readIntoBuffer(PacketReader.java:52)
	at net.schmizz.sshj.sftp.PacketReader.getPacketLength(PacketReader.java:57)
	at net.schmizz.sshj.sftp.PacketReader.readPacket(PacketReader.java:67)
	at net.schmizz.sshj.sftp.PacketReader.run(PacketReader.java:84)

and here's the error...
2/8/2012 1:38:46PM: [Information] 2010 Sft_server_read_file_failed, "2010 Sft_server_read_file_failed, File name: ???, "Error: Handle not found", Session-Id: 7"]

hmm

This should be fixed with the merged patch of #150. Closing


[Event Request] Table 246 "Requisition Line" - OnBeforeOnValidateEndingTime

We are migrating our code from NAV 2018 to BC16.4. In the Table 246 "Requisition Line", in the Field 99000895 "Ending Time", in the trigger OnValidate, we need to add some conditions on the first if. To do so, we need a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Page scss not working

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request

Current behavior:

Adding page-specific styles in the page's scss file doesn't have any effect.  Putting the same styles in the global scss works as expected.
Expected behavior:

Adding page-specific styles in the page's scss file should modify the styles for the page.
Steps to reproduce:

Clone the blank starter.
Add the following to home.page.scss:

app-home {
	ion-content {
		background-color: aquamarine !important;
	}
}

This has no effect, but placing the same code in global.scss changes the background colour for the page.

Other information:

It seems like it is incorrectly adding the _ngcontent-c0 attribute on app-home, in the generated style (app-home[_ngcontent-c0] ...), but app-home only has an _nghost-c0 attribute.
When placing the styles in global.scss, it doesn't add any attributes to the generated style.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
$ ionic info
√ Gathering environment info - done!

Ionic:

   ionic (Ionic CLI)          : 4.1.1
   Ionic Framework            : @ionic/angular 4.0.0-beta.5
   @angular-devkit/core       : 0.7.5
   @angular-devkit/schematics : 0.7.5
   @angular/cli               : 6.1.5
   @ionic/ng-toolkit          : 1.0.7
   @ionic/schematics-angular  : 1.0.5

System:

   NodeJS : v8.9.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.1.0
   OS     : Windows 8.1

This is normal in Ionic 4 (Angular 6). Take a look at Shadow Root. You should probably be using :host. If you have many changes in deep HTML elements in Ionic directives, expect big CSS issues.

Thanks, that pointed me in the direction of Josh Morony's Shadow DOM tutorial.  I will change my app to use CSS4 variables.
There does, however, seem to be some inconsistency between his tutorial and what I am experiencing.

I AM able to change the style of the components if I place the rules in global.scss.
I also had a look at the conference app, and changing the page-specific rules seems to work there.

You can just use encapsulation: Encapsulation.None, in the angular Component decorator


[backport] Move skl eval_metric and early_stopping rounds

(#6751)
A new parameter custom_metric is added to train and cv to distinguish the behaviour from the old feval.  And feval is deprecated.  The new custom_metric receives transformed prediction when the built-in objective is used.  This enables XGBoost to use cost functions from other libraries like scikit-learn directly without going through the definition of the link function.
eval_metric and early_stopping_rounds in sklearn interface are moved from fit to __init__ and is now saved as part of the scikit-learn model.  The old ones in fit function are now deprecated. The new eval_metric in __init__ has the same new behaviour as custom_metric.
Added more detailed documents for the behaviour of custom objective and metric.

I will delay this to 1.6.  The change is too big to backport.


Create Deployment of entire microservice architecture on kubernetes

https://github.com/airavata-courses/CloudElves/wiki/Homework-2-Scalability#kubernetes-deployment
https://github.com/airavata-courses/CloudElves/commit/fae21edee7182165f908e0e2abc6026a3980fbd2


Updating leserver to 1.19.2

Main issue: mods

Name
Links
Notes
Has 1.19.2 version
Has a version that also works on 1.19.2

AntiXray
Modrinth
-
yes
n/a

AntiShulkerDupe
Modrinth
-
yes
n/a

Architectury API
Modrinth
-
yes
n/a

BanHammer
Modrinth
-
yes
n/a

BetterSleeping Revived
Modrinth
-
yes
n/a

Carpet TIS Addition
Modrinth
-
no
yes

Cloth Config API
Modrinth
-
yes
n/a

Consistency+
Modrinth
-
yes
n/a

EasyWhitelist
Modrinth
-
yes
n/a

Fabric API
Modrinth
-
yes
n/a

Carpet
Curseforge
-
yes
n/a

Simple Discord Link
Modrinth
-
yes
n/a

Fabric Language Kotlin
Modrinth
-
yes
n/a

Fabric Tailor
Modrinth
-
yes
n/a

FerriteCore
Modrinth
-
yes
n/a

Global Packs
Modrinth
-
yes
n/a

Inv View
Modrinth
-
no
yes

Keep Head Names
Modrinth
-
yes
n/a

Krypton
Modrinth
-
no
yes

LazyDFU
Modrinth
-
yes
n/a

Ledger
Modrinth
-
yes
n/a

Lithium
Modrinth
-
yes
n/a

LuckPerms
Modrinth
-
no
no

MiniMOTD
Modrinth
-
yes
n/a

Mods Command
Modrinth
-
no
yes

Recipe Cache
CurseForge
-
no
yes

Right-Click-Harvest
Modrinth
-
no
yes

Server-Translations
GitHub
-
yes
n/a

Server Tick
Modrinth
-
yes
n/a

Starlight
Modrinth
-
yes
n/a

Styled Chat
Modrinth
Testing pending
yes
n/a

Styled Player List
Modrinth
-
yes
n/a

TimeOutOut
Modrinth
-
yes
n/a

Simple Voice Chat
Modrinth
-
yes
n/a

Polysit
Modrinth
-
no
yes

Polymer
Modrinth
-
yes
n/a

Universal Ores
Modrinth
-
no
yes

Dawn API
Modrinth
-
no
yes

Modern Glass Doors
Curseforge
-
yes
n/a

Patterned Glass
Curseforge
-
yes
n/a

Dynmap
Curseforge
-
yes
n/a

Modlist from https://github.com/leservermods/administration/blob/main/mods_and_datapacks.md.
Datapacks
todo

Done!


Fix bug in eliminate_contiguous for operators that have module inputs

@pfultz2 onnx-taau-downsample dropped significantly, can you review

onnx-taau-downsample dropped significantly, can you review

So this doesn't seem to run with miopen on my local machine. After using #2102(which fixes this issue), the compiled programs is the same as the program on develop. Most likely a mixed layout is being used and miopen is calling a different kernel, which most likely produces incorrect results.


Folder hierarchy for bookmarks

Is it possible to nest saved windows in folders and categorize them? I am afraid if I do such a thing the extension would not recognize them any longer. If not can you play add it as a feature request?
Thanks

Not sure, but I think you could safely test it in a new browser profile since it would have its own instance of bookmarks and extensions.


bump loofah to squash a security complaint

I rule and have completed some work on Case Manager that's ready for review!
Squash a loofah security complaint by bumping to 2.3.1
This pull request makes the following changes:

loofah to >= 2.3.1

no issues

invoking godmode to get the build to pass again, and because security update


Step registration syntax is ugly

From https://github.com/acmcarther/cucumber/blob/master/features/cuke.rs#L20:
  cucumber::start(
    CucumberWorld::new(),
    &[
      &project_steps::register_steps,
    ]
  );

To a newcomer to rust (well, to anyone with eyeballs really), this looks obtuse for two reasons:

&[] syntax is obnoxious
Passing in registration functions is weird.

Maybe just update the examples to demo registering the steps manually, and add a macro to register them more terse-ly?

How about a fluent interface for 1.?
Something like this?

Ah that looks awesome! Much more consistent behavior. Can you put up a pull request with that content?
A lot of random test might break. I can help in fixing them if you'd like.

I can start a pr, but I cannot promise anything further for the next to weeks.


Need better docs on how to build

I can write a Windows guide. Please assign it to me if you/anyone isn't working on it already.

I’m not working on it and actually prefer to spend as little time as possible here, so yes please! You can use the wiki, I’ll eventually link to wiki articles from README.

@abhijeetbhagat Yes, please! I need to build on Win 8.1 and 10 :)

@zmwangx @abhijeetbhagat It tries to use pkg-config on Win 8.1:

Compiling ffmpeg-sys-next v4.3.0 (D:\3rdparty\rust-ffmpeg-sys)
error: failed to run custom build command for ffmpeg-sys-next v4.3.0 (D:\3rdparty\rust-ffmpeg-sys)
Caused by:
process didn't exit successfully: D:\3rdparty\rust-ffmpeg\target\debug\build\ffmpeg-sys-next-1f41adb6c84bc303\build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: Command { command: ""pkg-config" "--libs" "--cflags" "libavutil"", cause: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." } }', D:\3rdparty\rust-ffmpeg-sys\build.rs:547:9

How can I make it work? :)

@Boscop , follow these steps:

Download the shared and dev versions of FFMPEG from https://ffmpeg.zeranoe.com/builds/
Unzip them somewhere.
Set an environment variable: FFMPEG_DIR with value /path/to/unzipped/dev/folder. This folder should contain examples, include and lib folders. Restart shell, if it is open, for it to see the newly created environment variable.
Try building.
If it builds fine, copy all the DLLs from /path/to/unzipped/shared/folder to the target/debug folder (where the executable resides). These DLLs contain the actual FFMPEG libraries implementation.
Try running.

I used the rust-gnu toolchain since i have an older VC++ compiler that comes with VS 2013. Since it doesn't recognize the inline keyword present in the FFMPEG headers, it fails. If you have a latest version of the compiler, then it may work.
What the build script does is check for the FFMPEG_DIR variable first and find the static libraries pointed by it. If it doesn't find it, then it tries to invoke the pkg-config tool. Since the pkg-config tool can't find where your static lib (.a) files reside, it fails.
Let me know what happens. Good luck!

@abhijeetbhagat Thanks, I'll try it. And how can I link ffmpeg statically?

   Compiling ffmpeg-sys-next v4.3.0 (D:\3rdparty\rust-ffmpeg-sys)
error: failed to run custom build command for `ffmpeg-sys-next v4.3.0 (D:\3rdpar
ty\rust-ffmpeg-sys)`

Caused by:
  process didn't exit successfully: `D:\3rdparty\rust-ffmpeg\target\debug\build\
ffmpeg-sys-next-57a35d9bed782d2c\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-search=native="D:\3rdparty\ffmpeg-zeranoe\ffmpeg-4.3-win64-dev"
\lib
cargo:rustc-link-lib=dylib=avcodec
cargo:rustc-link-lib=dylib=avdevice
cargo:rustc-link-lib=dylib=avfilter
cargo:rustc-link-lib=dylib=avformat
cargo:rustc-link-lib=dylib=avutil
cargo:rustc-link-lib=dylib=swresample
cargo:rustc-link-lib=dylib=swscale
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
HOST_CC = None
CC = None
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
DEBUG = Some("true")
check.c
check.c(3): fatal error C1083: Cannot open include file: 'libavutil/avutil.h': N
o such file or directory

--- stderr
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
thread 'main' panicked at 'Compile failed', D:\3rdparty\rust-ffmpeg-sys\build.rs:407:9

It fails here:
https://github.com/zmwangx/rust-ffmpeg-sys/blob/89e5800682e1f5175464fa48148c5ffa3efc1a88/build.rs#L398-L408
This should be changed to use out_dir instead of current_dir and .file("check.c") instead of .arg("check.c") and .compile(&executable) instead of .arg("-o").arg(&executable).

On Windows, we can't link directly with dynamic libraries (DLLs), but on Linux, we can. So on Windows, we either link with static libraries (those that contain the entire implementation) or with import libraries (static libraries that in turn 'point' to the dynamic libraries) when you build your program. By creating the FFMPEG_DIR environment variable, you tell the build script location of not only the FFMPEG static libraries (i.e., libavcodec.dll.a and others) but also the header files and so the build script will automatically link with the static libraries when you build.

@Boscop what is the value of the FFMPEG_DIR variable? I am hoping it is D:\3rdparty\ffmpeg-zeranoe\ffmpeg-4.3-win64-dev.

Ah, the problem was the quotes around the path. Now it built successfully, thanks!

@abhijeetbhagat Btw, I didn't mean to link to the dlls statically, but to link ffmpeg into my executable so that I don't need the dlls to execute my program.

@Boscop , yeah i understood what you want although, i am not sure why you would want to do that. Nonetheless, i think FFMPEG gives only import libraries and not full blown static libraries. Please correct me if i am wrong.

@abhijeetbhagat Because it's much less convenient having to always remember to also copy the DLLs when I copy my exe to another computer (because then I first have to check in depwalker which dlls it needs and where they are, and it's easy to miss some, because it's not automatic).
So I prefer to link everything statically. Why wouldn't I want to do that?
Zeranoe has statically built ffmpeg.exe so shouldn't it be possible to also link to the ffmpeg lib statically like that exe does?

@Boscop if bundling the exe and its dependencies is a problem, then you can give https://github.com/volks73/cargo-wix a try (i myself haven't had an opportunity to try it though).

If you get errors about missing "libclang.dll", I found installing LLVM from https://releases.llvm.org/download.html and adding it to the PATH solved the problem.

One can also use libclang from Visual Studio, if the component is installed. See this workflow for an example. Useful for building in GitHub Actions at least. (choco install llvm takes forever.)

I've successfully compiled it with minGW!

..and added a guide how to build it on windows with GNU toolchain

Late reply but thanks for the contribution. @DuckerMan
I think I'm satisfied with what we have now (well I should add a brief paragraph about MSVC).


dbt Power User can't find snowflake.connector module

Expected behavior
When using any features that invoke a command in the terminal (dbt run, dbt build, dbt test) no errors are produced
Actual behavior
When using any features that invoke a command in the terminal (dbt run, dbt build, dbt test) through vscode-dbt-power-user, an error results in the terminal.
Steps To Reproduce
Clicking on the 'Build dbt Model', 'Run dbt Model', 'Test dbt Model' icons in vscode.
Log output/Screenshots
21:20:55  Running with dbt=1.6.9
21:20:55  Encountered an error:
No module named 'snowflake.connector'
21:20:55  Traceback (most recent call last):
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 87, in wrapper
    result, success = func(*args, **kwargs)
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 72, in wrapper
    return func(*args, **kwargs)
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/cli/requires.py", line 140, in wrapper
    profile = load_profile(flags.PROJECT_DIR, flags.VARS, flags.PROFILE, flags.TARGET, threads)
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/config/runtime.py", line 70, in load_profile
    profile = Profile.render(
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/config/profile.py", line 436, in render
    return cls.from_raw_profiles(
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/config/profile.py", line 401, in from_raw_profiles
    return cls.from_raw_profile_info(
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/config/profile.py", line 355, in from_raw_profile_info
    credentials: Credentials = cls._credentials_from_profile(
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/config/profile.py", line 165, in _credentials_from_profile
    cls = load_plugin(typename)
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/factory.py", line 212, in load_plugin
    return FACTORY.load_plugin(name)
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/factory.py", line 58, in load_plugin
    mod: Any = import_module("." + name, "dbt.adapters")
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/snowflake/__init__.py", line 2, in <module>
    from dbt.adapters.snowflake.connections import SnowflakeConnectionManager  # noqa
  File "/home/appuser/anaconda3/envs/py39/lib/python3.9/site-packages/dbt/adapters/snowflake/connections.py", line 17, in <module>
    import snowflake.connector
ModuleNotFoundError: No module named 'snowflake.connector'

Operating System
Sonoma 14.1 (23B74)
dbt version
1.6.9
dbt Adapter
snowflake
dbt Power User version
0.29.3
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

As a note, when we run dbt in the python environment outside of vscode in terminal, we encounter no errors. It is only when running it through vscode that we encounter an error

@jaredparco It appears that there is an issue with your Python environment, and it seems that the Snowflake adapter is not installed correctly. To resolve this issue, you can try creating a new Python virtual environment and perform a fresh installation of the Snowflake adapter. After doing so, you can check if the issue has been resolved.

The terminal may not use the same Python environment as the extension. The setup walkthrough may help you resolve the issue as well: https://docs.myaltimate.com/setup/installation/.

thanks. Checking the environment, it looks like it is the same environment between the interpreter vscode is using and the activated environment installed to the docker instance. I'll try creating a clean environment with the dot-snowflake adapter and see if that resolves the issue

Just created a new Conda environment and installed dbt-snowflake==1.6.6. I switched to the new environment in vscode and am still getting the same error. Here is the installed pip packages:
Package                    Version
-------------------------- ------------
agate                      1.7.1
annotated-types            0.6.0
asn1crypto                 1.5.1
attrs                      23.2.0
Babel                      2.14.0
certifi                    2023.11.17
cffi                       1.16.0
charset-normalizer         3.3.2
click                      8.1.7
colorama                   0.4.6
cryptography               41.0.7
dbt-core                   1.6.9
dbt-extractor              0.4.1
dbt-semantic-interfaces    0.2.3
dbt-snowflake              1.6.6
filelock                   3.13.1
hologram                   0.0.16
idna                       3.6
importlib-metadata         6.11.0
isodate                    0.6.1
jaraco.classes             3.3.0
jeepney                    0.8.0
Jinja2                     3.1.3
jsonschema                 4.21.0
jsonschema-specifications  2023.12.1
keyring                    24.3.0
leather                    0.3.4
Logbook                    1.5.3
MarkupSafe                 2.1.3
mashumaro                  3.8.1
minimal-snowplow-tracker   0.0.2
more-itertools             8.14.0
msgpack                    1.0.7
networkx                   3.2.1
packaging                  23.2
parsedatetime              2.6
pathspec                   0.11.2
pip                        23.3.1
platformdirs               3.11.0
protobuf                   4.25.2
pycparser                  2.21
pydantic                   1.10.13
pydantic_core              2.14.6
PyJWT                      2.8.0
pyOpenSSL                  23.3.0
python-dateutil            2.8.2
python-slugify             8.0.1
pytimeparse                1.1.8
pytz                       2023.3.post1
PyYAML                     6.0.1
referencing                0.32.1
requests                   2.31.0
rpds-py                    0.17.1
SecretStorage              3.3.3
setuptools                 68.2.2
six                        1.16.0
snowflake-connector-python 3.6.0
sortedcontainers           2.4.0
sqlparse                   0.4.4
text-unidecode             1.3
tomlkit                    0.12.3
typing_extensions          4.9.0
urllib3                    1.26.18
wheel                      0.41.2
zipp                       3.17.0

The error is the same as reported above.
What else am I missing?

Can you please check if you have set the variable "dbtPythonPathOverride" in the extension settings?

No variable is set

Can you open a python shell from the env stored at /home/appuser/anaconda3/envs/py39/ and then run
import snowflake.connector

unsuccessful. I think there may be a snowflake.py that exists somewhere in our python project. I'm wondering if this is creating a conflict. I'll keep you posted

I've renamed any conflicting file names, reinstalled environment, restarted computer and then did the following
trying
import snowflake.connector
does not work, but
import snowflake
does

It more of an issue with snowflake python library and your python environment. I am quite confident that once you resolve this issue the extension should start working.
I found this thread in the dbt community slack channel. Seems relevant to the problem you are facing.

thank you I will explore this route


Coexist with Mattermost bridge

One way: Have Mattermost rooms already bridged with Zephyr just have a Zephyr bridge and not have a Mattermost bridge (and vice versa)
Another way: get PR accepted by quentin in the Mattermost-Zephyr bridge so messages aren't double-bridged

Going with second thing (PR not accepted but we can apply it in production Mattermost)


how to inference only?

Why always do we inference with validation? We don't know understand it.

I don't know your problem correctly. Could you describe more details?
In the fine-tune, we use validation to conduct early stopping.


clear with limit

I'm working on some bindings and run into some trouble with implementing clear with limit.
Currently I'm able to implement all write operations synchronously by just batching the mutations in memory and applying them during reads and then asynchronously flushing them to disk. This is great and allows me to guarantee synchronous and immediate read after write.
However, it's not possible to implement this for clear with limit as the limit parameter forces me to inspect the current state of the db, i.e. it's not possible to lazily apply the operation during reads.
My question here is what is the use of db.clear with limit? Can we make it optional and make bindings that do not implement still "valid" bindings. I guess this would mostly require some updates to the test suite so that bindings can opt out and still pass the tests?

applying them during reads

Can you please elaborate?

My question here is what is the use of db.clear with limit?

It was originally added for symmetry with db.iterator({ limit }). An actual use case is a background job that cleans up data (e.g. to rebuild an index, delete expired entries, etc) in a big database, and wanting to break that up into shorter tasks. I suppose you could also use limit to delete the first or last N entries, but I haven't seen such a use case.

An actual use case is a background job that cleans up data (e.g. to rebuild an index, delete expired entries, etc) in a big database, and wanting to break that up into shorter tasks. I suppose you could also use limit to delete the first or last N entries, but I haven't seen such a use case.

I see. That makes sense. Though I guess you could also achieve that by being smart with your keys and e.g. including the timestamp as a key prefix etc... if you want maximum performance.

Rocks has some experimental feature towards that https://github.com/facebook/rocksdb/wiki/User-defined-Timestamp-(Experimental).

and wanting to break that up into shorter tasks

Though with a range delete breaking it up into shorter tasks isn't neccessarily necessary since the operation is cheap (depending on the implementation ofc).

The solution is simple: if a limit option is present, use a regular iterator, else use RocksDB's DeleteRange.


Backport #1465: fix: line label invisible in dark theme

References

Code changes

User-facing changes

Backwards-incompatible changes

That's not working. I will backport more PRs before trying to backport this one again.


Issues related to CR status

Commit to analyzer stuff for 1.10.  De-emphasize distribution status
Tracking issue.  Please set Github priorities and milestones for these.

[ ] #31122 analysis: panic in reporter removeCompletedResource
[ ] #27330 Istiod restart seems to break istioctl wait
[ ] #29709 panic in pilot: GetAdapter (when Istio installed with enableAnalysis: true)
[ ] #30514 analysis mixes camel and snake case
[ ] #30513 analysis missing message
[ ] #30512 analysis level formatted wrong
[ ] #30511 distribution: "X/Y proxies up to date" api is not feasible
[ ] #30498 distribution: NACKs treated as reconciled
[ ] #30362 Pilot log complaint when deleting EnvoyFilter with enableAnalysis=true
[ ] #30292 crash
[ ] #30284 status: resources stuck in "not reconciled"
[ ]  #30200 status: wasteful re-runs of analyzers leaders to large allocations
[ ] #30218 excessive CPU on proxy events
[ ] #30164 Excessive API server watches P2
[x] #30160 "panic: session.stop: Invalid state: terminating" P1 PR Pending
[x] #30133 panic in CRD discovery P1 PR Pending
[ ] #30130 CRD updates lead to excessive logs (and, possibly, perf impacts) P2
[x] #30128 strip spec on UpdateStatus P2 CLOSED
[ ] #30127 reconciled unexpectedly goes from True -> False P1 PR Pending
[ ] #30126 excessive goroutines/work done cluster without activity P2 Cannot reproduce
[x] #30123 inefficient marshalling P2 PR Pending
[ ] #30120 Status API issues
[ ] #30122 status updates not resilient to conflicts during writes P2
[ ] #29315 TestWait flake P2
[ ] #29157 promote "CRD status" feature to beta - Tracking Issue
[x] #28797 istiod memory extremely high when status enabled
[x] #28687 Does ledger memory leak?
[ ] #28015 StatusReporter memory leak P2
[x] #27978 Frequent pilot crashes in CI after enabling analysis by default
[ ] #27953 Move pilot analysis test P2
[x] #27091 Pilot status reporter spawns unbounded number of goroutines for updates; eventually causing OOM
[x] #25091 Don't do ledger put on updatesame
[ ] #23160 Add observability to ledger P2
[x] #22478 Galley panic on analysis P1 PR Pending
[x] https://github.com/istio/istio.io/issues/8797 Doc test for this page @esnible
[x] https://github.com/istio/istio.io/issues/8805 Typo in documentation @esnible

cc @howardjohn

@therealmitchconnors I had some different opinions on some. I classified them as blocker/non blocker for beta:

#30164 Excessive API server watches - blocker for default, beta is borderline
#30160 "panic: session.stop: Invalid state: terminating" - blocker, cannot panic
#30133 panic in CRD discovery - blocker, cannot panic
#30130 CRD updates lead to excessive logs (and, possibly, perf impacts) - not a blocker, but would REALLY like it to be fixed. No one likes log spam
#30127 reconciled unexpectedly goes from True -> False - blocker; its a fundamental flaw
#30126 excessive goroutines/work done cluster without activity - blocker, perf here is a huge issue
#30123 inefficient marshalling - Doesn't matter if perf is reasonable through other means
#30122 status updates not resilient to conflicts during writes - not a blocker IF we determine it doesn't impact correctness - but I think it does
#29315 TestWait flake - Not a blocker
#28015 StatusReporter memory leak  - needs investigation
#27953 Move pilot analysis test - not a blocker
#23160 Add observability to ledger  - not a blocker
#22478 Galley panic on analysis P1 - blocker

All of the ones that crash are clearly blockers, in my opinion

@therealmitchconnors I had some different opinions on some. I classified them as blocker/non blocker for beta:

#30164 Excessive API server watches - blocker for default, beta is borderline
#30160 "panic: session.stop: Invalid state: terminating" - blocker, cannot panic
#30133 panic in CRD discovery - blocker, cannot panic
#30130 CRD updates lead to excessive logs (and, possibly, perf impacts) - not a blocker, but would REALLY like it to be fixed. No one likes log spam
#30127 reconciled unexpectedly goes from True -> False - blocker; its a fundamental flaw
#30126 excessive goroutines/work done cluster without activity - blocker, perf here is a huge issue
#30123 inefficient marshalling - Doesn't matter if perf is reasonable through other means
#30122 status updates not resilient to conflicts during writes - not a blocker IF we determine it doesn't impact correctness - but I think it does
#29315 TestWait flake - Not a blocker
#28015 StatusReporter memory leak  - needs investigation
#27953 Move pilot analysis test - not a blocker
#23160 Add observability to ledger  - not a blocker
#22478 Galley panic on analysis P1 - blocker

All of the ones that crash are clearly blockers, in my opinion

Distribution and analysis are 2 features that are going in together, per previous understanding.
The panics are all in the Galley side of the code base that is involved in the "analysis" feature.
Next steps

Mitch will provide a detail plan on how "status" only graduation is possible. All stability related blockers above must be fixed.
We agreed (howardjohn & therealmitchconnors) that extra watches are not ideal, but should not block graduation.
Do a time boxed effort on finding root cause of panics.

Distribution and analysis are 2 features that are going in together, per previous understanding.
The panics are all in the Galley side of the code base that is involved in the "analysis" feature.
Next steps

Mitch will provide a detail plan on how "status" only graduation is possible. All stability related blockers above must be fixed.
We agreed (howardjohn & therealmitchconnors) that extra watches are not ideal, but should not block graduation.
Do a time boxed effort on finding root cause of panics.

Per conversation with @mandarjog and @howardjohn, the P1's listed above are considered blockers to release, and I am working on them now.  Specifically, the following are the remaining release blocking bugs:
#30160, #30128, #30133, #22478

Per conversation with @mandarjog and @howardjohn, the P1's listed above are considered blockers to release, and I am working on them now.  Specifically, the following are the remaining release blocking bugs:
#30160, #30128, #30133, #22478

I think the API review and approval by TOC - in particular around the controversial status fields - is still required ?

I think the API review and approval by TOC - in particular around the controversial status fields - is still required ?

Added https://github.com/istio/istio/issues/30736, definitely a blocker

https://github.com/istio/istio/issues/33095
not stale

Only one task left, and half of the feature was removed recently.. time to close this I think


Add Permalink option for sections

I have something like the following option in the config.toml:
[permalinks]
posts = "/new-posts/:filename/"

If I visit http://localhost:1313/new-posts/post-name/ I get the intended page. But if I visit http://localhost:1313/new-posts/ I don't get the list page, as I would expect. Instead, I get nothing at all.  I still have to go to http://localhost:1313/posts/ to get the list page.
The version I'm using:
hugo v0.83.1+extended linux/amd64 BuildDate=unknown

I'm not sure if this behavior is intended. But it would be a good idea to have the ability to change the URL of the list pages using the permalinks option as well. Right now, I have to add the url parameter in the front matter of the _index.md to make the list page have the different url.

@writeonlycode yes, something like that could work, but we need to somehow rework the existing permalinks struct in a backwards compatible way (we're not adding something ... else)... I suggest we somehow use the page Kind. I'm not sure if this is even valid TOML, but:
[permalinks]
[permalinks.section]
posts = "/some/new/path/"
[permalinks.page]
posts = "/:06/:1/:2/:title/"

That looks good! And it is be valid TOML as far as I can see. I suppose the assumption should be that if no kind is specified, it defaults to single pages, so the following two should be equivalent:
[permalinks]
posts = "/:06/:1/:2/:title/"

[permalinks]
[permalinks.page]
posts = "/:06/:1/:2/:title/"

In this way, it will be backwards compatible. And in addition to those, we could have the section option, to accommodate the new behavior:
[permalinks]
[permalinks.section]
posts = "/some/new/path/"

This looks like a good way to go!

Another way / syntax to handle the section case would be that the value of the keys in [permalinks] can be either a string "" or an array ["", ""].
If an array is specified :

the first string define the path of page (or term if it's a taxonomy).
The second define the section path.

Current version:
[permalinks]
posts = "/:06/:1/:2/:title/"

Proposition:
[permalinks]
# Classic way
categories = "/projects/:slug/"
# Advance way to define also the section path
posts = [ "/:06/:1/:2/:title/", "/articles/" ]

This would be very helpful, indeed. I am facing the same situation in a multilingual setup.
At least there would be only one place to define the translated section name.
Currently I have to define the translation both in the configuration for the pages and in the list page in the url frontmatter entry.
config.yml
languages:
  de:
    permalinks:
      offer: /angebot/:slug/

offer/_index.md
---
weight: 30
title: Angebot
url: /angebot/
---

This is doable, but shifts parts of the translation into the configuration, which is not optimal.
For multilingual content management it is way easier to keep the path and filenames untranslated and translate the target only. One of the reasons for that is that you need lots of translationKey entries if you simply translate the section path in the file system. The second reason is that most tools are capable of translating file contents only, but not file paths. In these scenarios the limitation that the target of a section cannot be changed at build time in hugo makes content maintenance much more complicated.
The translation tools I am aware of are capable of translating frontmatter and content (file content), but not the configuration. And they cannot translate path segments in the file tree of the generated output (file path).
Having that said, it would be even better to have an option where the url of list pages is simply inherited for all children, so effectively a means to set permalink from frontmatter for list pages and the children. But this would be a different Enhancement (obviously of the sort that would change a fundamental design decision as per https://gohugo.io/content-management/sections/) and I absolutely understand that these are not accepted these days.
+1 for @BenSouchet 's proposal, because this structure keeps the multiple options in one place per section.

It makes a lot of sense that way. It would be great if this problem is fixed with a new update.

That looks good! And it is valid TOML as far as I can see. I suppose the assumption should be that if no kind is specified, it defaults to single pages, so the following two should be equivalent:
[permalinks]
posts = "/:06/:1/:2/:title/"

[permalinks]
[permalinks.page]
posts = "/:06/:1/:2/:title/"

In this way, it will be backwards compatible. And in addition to those, we could have the section option, to accommodate the new behavior:
[permalinks]
[permalinks.section]
posts = "/some/new/path/"

This looks like a good way to go!

It makes a lot of sense that way. It would be great if this problem is fixed with a new update.

any update?

I would love this feature. I like this solution: https://github.com/gohugoio/hugo/issues/8523#issuecomment-1192894337.

I'll add another use case for this FWIW:
I'm currently working with the mechanism espoused in this discussion.  After jumping through a few hoops (mostly media related), it works fairly well -- except that I've also set up non-default permalinks, and none of my multi-page posts appear in the correct location unless I deliberately configure their front matter, which is very inconvenient.
I can see other potential uses, but this is the concrete one I'm fighting with literally right now.  😀

It is a daily fight for me, as most of my Hugo websites are multilingual and my front matter is accessible to my clients/content editors. Therefore I would love to have a way to configure this properly.

@writeonlycode yes, something like that could work, but we need to somehow rework the existing permalinks struct in a backwards compatible way (we're not adding something ... else)... I suggest we somehow use the page Kind. I'm not sure if this is even valid TOML, but:
[permalinks]
[permalinks.section]
posts = "/some/new/path/"
[permalinks.page]
posts = "/:06/:1/:2/:title/"

has this been implemented yet?

@writeonlycode yes, something like that could work, but we need to somehow rework the existing permalinks struct in a backwards compatible way (we're not adding something ... else)... I suggest we somehow use the page Kind. I'm not sure if this is even valid TOML, but:
[permalinks]
[permalinks.section]
posts = "/some/new/path/"
[permalinks.page]
posts = "/:06/:1/:2/:title/"

has this been implemented yet?

No, just a suggestion. If developers want to make this feature, they will be inspired by the ideas here. Ultimately, if the update comes, it's up to the developer to code this solution.

@Mai-Lapyst I think that a PR would be highly welcome.

@Mai-Lapyst I think that a PR would be highly welcome.

@istr Have created one; you can test it out if you want.


Add NovaID to adopters

Signed-off-by: Bang Nguyen<EMAIL_ADDRESS>

@tenk224 do you have a png with just the logo, we use a white background so the current logo doesn't look good:


Number of CPUs should be a runtime argument, not an input.

The runtime will inform the tool how many cores it has to work with.

+1
My experience with CWL is limited. It would appear that CPUs is now an argument, not an input.


Adding C++17 support

Not sure where / how to write a test case, but to verify create a C++17 notebook and execute the following cell:
#include <tuple>
#include <iostream>

{
    auto [x, y] = std::pair<int, int>(10, 20);
    std::cout << x;
}

It should print "10" - cling seems to have some issues with C++17 syntax but the usual tricks of wrapping in braces or namespaces seem to work.

Thanks, this looks good to me!


User Interface version is incorrect

On 2.5.0-rc4:

User Interface is seen as: vmaster-dev

On 2.4.8 - its 2.4.34

This should be good to go on the 2.5 branch for this.

On 2.5.0 User Interface is seen as:


Platform UI - phone number input bug fix

Issue:

bcgov/entity/issues/

Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

Temporary Url for review: https://strr-platform-dev--pr-244-v6tepebq.web.app


[type: feature] add http file to examples[grpc,http,spring cloud]，fix pr [#2059]

add http file to examples[grpc,http,spring cloud] [#2044]
other examples project learning, subsequent submission
work list:
add http file to

add http file to  examples[grpc,http,spring cloud]
remove HttpServerConfig#environment [shengyu-examples-http], it never used
add ShenyuWebHandler#ShenyuWebHandler()[shengyu-web] java docs, it build warning

@li-keguo  can you fix this pr？
I suggest you only add grpc-test-api.http / springcloud-test-api.http/ http-test-api.http

ok

I encountered a problem in adding tars and sofa, which is being solved

Codecov Report

Merging #2065 (72e04e9) into master (18ce26c) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2065      +/-   ##
============================================
- Coverage     60.55%   60.33%   -0.22%
+ Complexity     4015     4009       -6
============================================
  Files           607      607
  Lines         17850    17848       -2
  Branches       1704     1702       -2
============================================
- Hits          10809    10769      -40
- Misses         6161     6197      +36
- Partials        880      882       +2

Impacted Files
Coverage Δ

...rg/apache/shenyu/web/handler/ShenyuWebHandler.java
33.33% <ø> (ø)

...ache/shenyu/client/tars/common/dto/TarsRpcExt.java
0.00% <0.00%> (-30.77%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
70.58% <0.00%> (-23.53%)
:arrow_down:

...enyu/client/tars/TarsServiceBeanPostProcessor.java
33.82% <0.00%> (-22.06%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.10% <0.00%> (-11.66%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.69% <0.00%> (-4.35%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
60.00% <0.00%> (-4.22%)
:arrow_down:

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
58.00% <0.00%> (-2.00%)
:arrow_down:

...che/shenyu/admin/model/vo/SelectorConditionVO.java
96.07% <0.00%> (-1.97%)
:arrow_down:

... and 9 more

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 18ce26c...72e04e9. Read the comment docs.


No Module Named Flask

Description
bhai ye problem solve nahi ho rahi he

To Reproduce
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pywhatkit/init.py"
Screenshots

Version Information

OS: [e.g. Windows 10]
Browser: [e.g. Microsoft Edge, Google Chrome]
Python: [e.g. 3.10.0]
PyWhatKit: [e.g. 5.2]

You can Check the PyWhatKit Version using
print(pywhatkit.__VERSION__)

Hey @Manojwithcode, thanks for reaching out. This can be solved by running the following command: pip3 install flask.

pip install flask


Fix float document not displaying

fix #150
The problem arises when the left or right space is unable to accommodate the floating doc. This PR fix it by computing them and adjust the maxwith before getting the actual width.

LGTM.


Is zoom suddenly more digital than analogical?

Zoom in and zoom out are jumping in my screen.
As far as I remember it used to be a smooth animation.

[x] Is it reproducible in other computers?
[ ] Test with older versions of ipycytoscape
[ ] Test on a Mac/machine other than thinkpad

Having this issue on ArchLinux, Firefox 77

I think I have always had this issue - its what motivated https://github.com/QuantStack/ipycytoscape/issues/77#issue-621178946
This happens on both a desktop with an external mouse and my thinkpad laptop. Both have
PopOS 20 - Firefox 75
On my laptop scrolling with two fingers on the touchpad it looks like this:

Maybe its a linux issue? def plausible that smooth scrolling is less well supported on linux than windows

Hum, interesting!
Thanks for confirming this @ianhi, yeah, I'm also on a ThinkPad and it's happening exactly the same thing.
I see what you mean on the comment now, sorry I didn't get it earlier.
I'll test it on my Mac tomorrow when I have the chance.

:+1: - also (only mentioning because maybe relevant to scrolling) if you have a T490 then there may be other issues if you're on systemd 245. I found that the touchpad size definition was wrong for that release https://github.com/systemd/systemd/issues/15694

Seems like a linux thing (or browser) ?
It’s pretty smooth on Mac (Safari)

On 16-Jun-2020, at 23:36, Mariana Meireles<EMAIL_ADDRESS>wrote:
Hum, interesting!
Thanks for confirming this @ianhi https://github.com/ianhi, yeah, I'm also on a ThinkPad and it's happening exactly the same thing.
I see what you mean on the comment now, sorry I didn't get it earlier.
I'll test it on my Mac tomorrow when I have the chance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/QuantStack/ipycytoscape/issues/85#issuecomment-644923100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI5RFEHZEEYLQBRTEMHLJ3RW6YC3ANCNFSM4N73AOTQ.

Not my model, but good to keep documented. :) Thanks @ianhi.
Thanks for testing @MridulS! If I remember correctly it used to work fine on my Mac too... On Firefox. Might be either an OS or hardware problem maybe?
(btw I want to merge your PR! It's great work, gonna take some time this week to check on it again)

It does seem to be a browser issue. It's smooth on chrome for me

It works smoothly in my MacOS on Firefox Nightly and on my Chrome.
On linux I can only reproduce the issue in Firefox. Think they're doing something wrong here, might open a webcompat issue.


Aggregation Macros

Writing a complete Tuxedo runtime will typically involve composing several individual pieces together. In the current design this means creating aggregate verifier and redeemer enums that have a variant for each of the individual verifiers and redeemer. Currently there is no macro to make this job easier, and all of the code must be written manually, which is long and redundant.
Simple Aggregation
At minimum we will want a macro to provide all of the From implementations. I've prototyped such a macro https://github.com/JoshOrndorff/proc-macro-experiment/blob/main/src/lib.rs. This is a good start. In fact this same macro could be used to aggregate the verifier and the redeemer (and any other types where we want this pattern in Tuxedo or elsewhere).
Implementing Verifier on the aggregate enum
The simple aggregator I've sketched is a good start, however we may want it to do more. For example, we may want it to implement the Verifier trait on the aggregate verifier enum. This implementation is mechanical because each of the inner types are already Verifier so we just have to match on the variant and then dispatch to the inner type. This would require dedicated macros for the verifier and the redeemer because the traits have different methods with different signatures.
Syntax
Assuming we want the traits implemented by the macros, there is the question of syntax. I can imagine two possibilities and there may well be more.
Option 1: Single macro with parameters used as follows
#[aggregate(Verifier)]
pub enum AggregateVerifier {
  Money(money::Verifier),
  Amoeba(amoeba::Verifier),
}

#[aggregate(ConstraintChecker)]
pub enum AggregateChecker {
  SigCheck(Sigcheck),
  UpForGrabs(UpForGrabs),
}

Option 2: Separate macros for the verifier and the redeemer
#[aggregate_verifier]
pub enum AggregateVerifier {
  Money(money::Verifier),
  Amoeba(amoeba::Verifier),
}

#[aggregate_redeemer]
pub enum AggregateRedeemer {
  SigCheck(Sigcheck),
  UpForGrabs(UpForGrabs),
}

In the second case, both macros may call out to a third macro that is similar to my prototyped helper for the aggregation alone. Currently I'm leaning toward option 1.
Additional Design Considerations
It is possible that the scope of the macros' jobs may still change. So even when we decide something here, there is no guarantee that we will stick with it forever and ever amen.

An alternate approach would be to synthesize the runtime dynamically at, well, runtime. Kian has been thinking in direction recently https://github.com/paritytech/substrate/issues/12331#issuecomment-1263696458

The first round of aggregation macros are in place, so I'll close this. There is plenty left to do, like testing for example. That can come in followups.


remove org permission content type

Fixes #262.
Change-Id: Ie9acf859346fce6b797b039d35b17e46f404e2a3

LGTM

I made the changes mentioned in #262. PTAL.

Left one comment, otherwise LGTM.


Remove a stray eprintln! in GenericBuilder::set_implicit_assertion

Closes #34

Ouch. Thanks for spotting that and for the PR!


Self-consistent mass and radius for interior modules

The current iteration of the code requires the user to specify interior mass and radius in the configuration file. However, interior mass is calculated as part of the Aragog/SPIDER/Dummy step anyway. This means that allowing the user to input the interior mass leads to two physically-inconsistent values. This is currently only physically consistent with using planetary masses and radii near Earth values, since then the SPIDER solution will happen to be identical to that provided by the user.
The simplest solution to this is to use the interior model to calculate the interior radius based on the inputted interior mass. This PR achieves this and closes #253.
Because Aragog currently uses constant physical properties, it does not make a very good structure model, but it's still more physically consistent this way. SPIDER (and even the Dummy module) does a good job in this regard.
Minor changes:

Provide aragog with initial temperature specified in config file
Enable aragog core cooling boundary condition
Configuration file for K2-18 b
All SPIDER options are passed to SPIDER via spider.py, not through the .opts file. This is to ensure consistency with Aragog (in that all parameters are set via the Python code).
Reworked plot_stacked into plot_structure which includes the core temperature, R_xuv, and R_obs. This also (importantly) plots the entire profile on the same radius scale, so it's clearer what the structure of the planet looks like.
Does not run atmosphere module when atmosphere has already escaped, and goes straight to checking the break criteria.
Do not allow all gases to be set as condensible when running AGNI, as this can lead to sum(VMR)=0 in some regions, which causes the model to crash.

Requires https://github.com/ExPlanetology/aragog/pull/29 to be merged first.
Next steps:

Consider more realistic structure model
Allow user to input radius instead of mass, which avoids this structure calculation entirely.

@timlichtenberg this is now ready for review I think. There are lots of changed files, but this is mostly a result of the changed tests. It makes the changes we discussed in the meeting earlier, plus a few bug fixes that I discovered in the last week or so.

Thanks for the review Tim - this is really useful. I'll make these changes tonight/tomorrow, and if you could have a look again tomorrow then that would be great.

@timlichtenberg please can you have another look at this again today? I have made the changes that you suggested and responded to the other comments above. I also had to update the test data.
I will then address this issue: https://github.com/FormingWorlds/PROTEUS/issues/267


:new: added Github Actions push

update Github actions: publish a new release on dokcerhub every Github tag
added cURL to dockerfiles


alert() will now send alerts to discord/slack

Thank you @aaronsjsu. This commit was tested and reviewed by the Seattle team.


debug_traceTransaction custom EVM tracer - ETH value of calls

Describe the bug
I'm using a custom EVM tracer to get the ETH transferred in calls. The ETH amount is an object rather than a string that is used for Geth.
Steps to reproduce
The following POST RPC call
{
    "jsonrpc": "2.0",
    "method": "debug_traceTransaction",
    "params": [
        "0xafc8b33fd096bffaaec0c75f4fad0fc8815bc906761a44a8db72d8aea3c9fec6",
        {
            "tracer": "{data: [], fault: function(log) {}, step: function(log) { if(log.op.toString() == \"CALL\" && log.stack.length() >= 3 && log.stack.peek(2) > 0) this.data.push({ value: log.stack.peek(2) }) }, result: function() { return this.data; }}"
        }
    ],
    "id": 1
}

returns the following on rETH
{
    "jsonrpc": "2.0",
    "result": [
        {
            "value": {
                "isSmall": false,
                "sign": false,
                "value": [
                    0.0,
                    0.0,
                    3500.0
                ]
            }
        }
    ],
    "id": 1
}

but against Geth returns
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        {
            "value": "350000000000000000"
        }
    ]
}

The key part is log.stack.peek(2) which is returning the object in rETH and a string in Geth
Node logs
No response
Platform(s)
Windows (x86)
What version/commit are you on?
reth Version: 0.1.0-alpha.21
Commit SHA: e0c220e
Build Timestamp: 2024-02-27T23:36:16.342166667Z
Build Features: jemalloc
Build Profile: maxperf

What database version are you on?
root@b2a92c539d19:/# reth db version
Current database version: 1
Local database version: 1

What type of node are you running?
Archive (default)
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

thanks, this looks like conversion/serialization issue, checking


feat: Support tokenizer configurations

https://medium.com/@emitchellh/extending-bm25-with-subwords-30b334728ebd

Chinese: https://github.com/messense/jieba-rs
Tiktoken (OpenAI GPT's tokenizer): https://github.com/zurawiki/tiktoken-rs
Unigram tokenizer: https://docs.rs/rust_tokenizers/latest/rust_tokenizers/


Change in API docs samples did not trigger tests in presubmit

Found in https://github.com/flutter/flutter/pull/129381
This small change to an API doc sample did not end up executing the sample code tests in presubmit.
Related to https://github.com/flutter/flutter/issues/129389, I was looking into why gold did not run for the PR and discovered that on top of that edge case the tests had not actually run either.
https://flutter-gold.skia.org/changelists shows no golden file tests were run for that PR, which would have happened if the tests had run at all.

This change should have triggered the misc shard, but did not.

I know how to fix, will send PR tomorrow


enable set skill directly instead of only from manifest url

Is your feature request related to a problem? Please describe.

I'm always frustrated when I am debugging bot-skill interaction. I need to set a manifest file which is only needed to provide information like appid, url that could be set directly.
Describe the solution you'd like

The user could provide either manifestUrl or the required values:

Describe alternatives you've considered

Additional context

@mareekuh @sangwoohaan  do we have more options for skill page.


Convert the vote system to be more customizable through packages

I recently tried to implement a package that modifies how voting works, and I simply couldn't get it to work. The hooks currently available are insufficient by far.
Currently the hooks available are the upvoteCallbacks and the downvoteCallbacks. At the very least, hooks for cancelUpvote and cancelDownvote need to be available. Those are easy enough to add, but that still leaves packages in an awkward place when modifying voting. Something as simple as modifying vote power is relatively complex. You have to first reformat the code for voting such that it no longer needs to access server variables (such as Meteor.[whatever]), then you need to remove the vote that was added in as part of the normal vote script, and add in the new vote.
The easiest solution I can think of would be to convert the voting system to a package, as that would allow one to copy the package, and disable the original with minimal fuss, or to extend the original package.

I agree that some parts of the voting functionality could be improved upon, but I don't know that I'd consider that a trivial amount of work.  I also don't see many users requesting the ability to modify voting from an external package.  I'm certainly not saying that it's a bad idea (I think it's a great idea!), but it's probably not at the top of the priority list considering how many other things are already on the roadmap.
Since you feel the current state is "insufficient by far", you are more than welcome to fork the repo and make some contributions.  Pull requests are always welcome.  ;)

Haha, yea. It's definitely not a priority for the amount of work it would take to convert it. I actually looked into it as an option when I was working with the feature, as I figured if I could improve upon Telescope there was no reason not to! But the vote system is separated into a lot of different parts. I might put up a pull request for hooks for cancelUpvoteCallback and cancelDownvoteCallback tomorrow, simply because I think that would be relatively easy to do. I might also see if I can re-organize part of the voting code to make modifying the power possible if I have spare time, I have a bit of an idea of how I might do that.
Anyway, sorry if I came off aggressively, that wasn't my intention. I was simply trying to explain the problem I ran into, in case someone wanted to put it on a low priority list, since I didn't see anyone else having mentioned this.

Umm, quick question. Should I try to preserve backwards compatibility, or aim towards callback names that make sense for the hooks?

Here's the pull request: https://github.com/TelescopeJS/Telescope/pull/797

Thanks for the PR! Closing this now.


Use JSON mapper in project catalogue

Use something like JSON Object Mapper in the projects-service of the project catalogue so that we lose some of the duplications and make this slightly more readable

I think we don't need this anymore


Use InvalidMessageException and add test

LGTM.
Love the new low-level test methods and love having negative tests.

The patch LGTM. It's a bit weird that Errors and ErrorMapping map error code 2 to different exception names. Perhaps we can add a comment in InvalidMessageException that when we phase out the old scala clients, we can replace InvalidMessageException with CorruptRecordException.

@junrao We kind of say that already:
* InvalidMessageException extends CorruptRecordException for temporary compatibility with the old Scala clients.

But perhaps that could be made clearer.


Switch from bundle to bundler in Gemfile

Whilst working on Libraries.io I noticed that this project depends on the bundle gem rather than bundler, this pull request fixes the typo and updates the Gemfile.lock

Thanks Andrew!


session connection being closed

I am using neomodel with neo4j 3.1.0.  Can you suggest a solution? I believe this might be related to neo4j driver as well thus have posted this there as well (https://github.com/neo4j/neo4j-python-driver/issues/116). If you feel so you can close this  thread.
File "/webapps/env/local/lib/python2.7/site-packages/neomodel/match.py", line 488, in get
    result = self.query_cls(self).build_ast()._execute()
  File "/webapps/env/local/lib/python2.7/site-packages/neomodel/match.py", line 406, in _execute
    results, _ = db.cypher_query(query, self._query_params)
  File "/webapps/env/local/lib/python2.7/site-packages/neomodel/util.py", line 28, in wrapper
    return func(self, *args, **kwargs)
  File "/webapps/env/local/lib/python2.7/site-packages/neomodel/util.py", line 96, in cypher_query
    response = session.run(query, params)
  File "/webapps/env/local/lib/python2.7/site-packages/neo4j/v1/session.py", line 490, in run
    return self._run(statement, parameters)
  File "/webapps/env/local/lib/python2.7/site-packages/neo4j/v1/session.py", line 515, in _run
    self.connection.send()
  File "/webapps/env/local/lib/python2.7/site-packages/neo4j/v1/connection.py", line 296, in send
    raise ProtocolError("Cannot write to a closed connection")
ProtocolError: Cannot write to a closed connection

Its quite possible there is something i have over looked when using the
driver.  I will investigate over the next week
On 26 Dec 2016 4:00 p.m., "Siddharth Maheshwari"<EMAIL_ADDRESS>wrote:

I am using neomodel with neo4j 3.1.0.  Can you suggest a solution? I believe this might be
related to neo4j driver as well thus have posted this there as well (
neo4j/neo4j-python-driver#116
https://github.com/neo4j/neo4j-python-driver/issues/116). If you feel
so you can close this thread.

Reply to this email directly, view it on GitHub
https://github.com/robinedwards/neomodel/issues/227, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ0YXDtW8l7lCZmYS9z14rO-skidffxks5rL9aXgaJpZM4LVz2G
.

@robinedwards Great! thanks a lot

Ah do you know what exception you got for that?
Would you be able to create a short snippet to recreate the issue so I can handle it gracefully

Sure. will do it within a day or two.

Just tried to recreate locally with what you described and I couldn't get it to work but perhaps I missed something. As soon as you have a test case I will fix the issue.

Closing for now.. @siddharthm please re-open when you have a test case


Introduce k8s like state to easegress controllers

Is your feature request related to a problem? Please describe.
Providing more detailed and Kubernetes-like states to Easegress controllers.
Describe the solution you'd like
Introduce the following states to easegress controllers, accessible via egctl commands:
Pending: Indicates that a controller has been created but is not yet active or is in the process of initialization.
Running: Reflects that the controller is operating as expected and carrying out its tasks.
Failed: Signifies that an error has occurred within the controller, necessitating investigation or action.
When Failed, controllers should provide an error message for user to find problem (save time for checking log).
By implementing these states, users can gain more insight and easily identify potential issues. This proposal is open for further discussion and refinement to ensure alignment with easegress's existing architecture and the specific needs of its users.

@suchen-sci Do you think we should implement this enhancement currently?


Workaround tar concurrency issue.

GNU tar can fail when multiple concurrent process are trying to extract
to the same directory tree. To work around this we need to retry the
failed tar command in some case.
For this, invent a new Exception "MaybeRecoverableError", and queue the
job back when it is encountered. We also have to maintain a counter for
each file, to abort after 3 times.
To test this, add a "tar_failer" command which reads it's input from
stdin and output the same message tar would do if encountering the
above-mentioned race condition.
Fixes #452.
I pushed that fix to a specific debug branch running the test numerous time, and they pass when the race condition actually happens: https://github.com/aiven/pghoard/runs/3260472904?check_suite_focus=true (grep for "can be recoverable" in the logs).

Good job figuring out the root cause for this. When I originally introduced the related functionality this happened sometimes but not in a reproducible way and this was "resolved" by just using gnutaremu which isn't affected by this.
Since the upstream case is already in "in progress" state I wonder if it made sense to just wait a bit to see if that gets fixed immediately and if yes then just update docs to suggest using gnutaremu unless one is using new enough GNU tar? The fix here probably works as such but since chunks are by default up to 2 gigs each a mode where those maybe fail and are retried is not very appealing.

I understand it's not very appealing, on the other hand this doesn't happen very frequently and if it fails I think we would rather re-transfer a few gigs rather than restarting the restore process from scratch and downloading the whole cluster again. Maybe we should also implement a configuration parameter for how to handle those (with a max retry) ?
I don't know if distros like Debian / RHEL update tar aside from security issues during a stable release: if not, it could take years for a patched tar to make its way to most production machines.

For some distros it might indeed take a very long time for the patch to be available. Otoh there isn't any major downside in using gnutaremu; it is somewhat slower but in practice you can anyway achieve restore speeds of over 1 GiB/s and network or disk IO is more likely to throttle the speed. But I'd anyway first wait a bit to see if this gets resolved "immediately" in upstream. If not then having a workaround becomes more relevant.

I would merge this now: I do not see this tar fix entering any longterm supported distro withing a year or so and so it's either this or more or less telling all pghoard users to always use to gnutaremu (then we should simply add a warning to not use tar directly).