[CONFORMANCE] RDPBCGR: In Client Core Data, RDP client version number should be one of: 00000000, 00080001, 00080004, 00080005, 00080006, 00080007, 00080008, 00080009, 0008000A, 0008000B.

Describe the bug
Some time ago Microsoft opened an RDP specifications and then published testsuites for testing RDP client implementations (conformance tests) - https://github.com/Microsoft/WindowsProtocolTestSuites. I ran tests in testsuite RDPBCGR against xfreerdp and many of them failed with similar errors:
2020-02-21 17:04:07.396 [CheckFailed] Assert.IsTrue failed. In Client Core Data, RDP client version number should be one of: 00000000, 00080001, 00080004, 00080005, 00080006, 00080007, 00080008, 00080009, 0008000A, 0008000B.

2020-02-21 17:04:07.396 [Comment] at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.VerifyStructure(TS_UD_CS_CORE core) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\ClientRoleCaptureCode.cs:line 630 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.VerifyPdu(Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request connectInitialPdu) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\ClientRoleCaptureCode.cs:line 120 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ReceiveMcsConnectInitialPdu(Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request initialPdu) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2794 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ReceiveLoop(StackPacket request) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2669

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](RdpbcgrServerSessionContext session, TimeSpan waitTimeSpan) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2241

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](TimeSpan timeout) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2252

2020-02-21 17:04:07.396 [Debug] Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.IsTrue failed. In Client Core Data, RDP client version number should be one of: 00000000, 00080001, 00080004, 00080005, 00080006, 00080007, 00080008, 00080009, 0008000A, 0008000B.===== Stack Trace ===== at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.VerifyStructure(TS_UD_CS_CORE core) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\ClientRoleCaptureCode.cs:line 630 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.VerifyPdu(Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request connectInitialPdu) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\ClientRoleCaptureCode.cs:line 120 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ReceiveMcsConnectInitialPdu(Client_MCS_Connect_Initial_Pdu_with_GCC_Conference_Create_Request initialPdu) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2794 at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ReceiveLoop(StackPacket request) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2669

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](RdpbcgrServerSessionContext session, TimeSpan waitTimeSpan) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2241

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](TimeSpan timeout) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2252=== End of Stack Trace === at Microsoft.Protocols.TestTools.AsynchronousErrorProcessor.Process() at Microsoft.Protocols.TestTools.AsynchronousErrorProcessor.ReportAsyncException(Exception checkerException)

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](RdpbcgrServerSessionContext session, TimeSpan waitTimeSpan) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2239

at Microsoft.Protocols.TestSuites.Rdpbcgr.RdpbcgrAdapter.ExpectPacket[T](TimeSpan timeout) in C:\Jenkins\workspace\ESRPCodeSign-TestSuite-withRegression-Pipeline\build\TestSuites\RDP\Client\src\Adapter\RDPBCGR\RdpbcgrAdapter.cs:line 2251

2020-02-21 17:04:07.396 [Comment] Trigger client to close all RDP connections for clean up.

2020-02-21 17:04:07.771 [Comment] RDP SUT Control Protocol Adapter: CommandId is 2: Success, agent: <IP_ADDRESS>:4488.

2020-02-21 17:04:07.771 [Debug] The result of TriggerClientDisconnectAll is 1.

2020-02-21 17:04:07.771 [Comment] Stop RDP listening.

To Reproduce
Steps to reproduce the behavior:

Setup test stand as described in documentation: https://github.com/Microsoft/WindowsProtocolTestSuites/blob/staging/TestSuites/RDP/Client/docs/RDP_ClientUserGuide.md, https://github.com/Microsoft/WindowsProtocolTestSuites/blob/staging/TestSuites/RDP/Client/docs/RDP_Overview_ClientTestDesignSpecification.md
Build XFreeRDP client and run Python wrapper on Linux machine. settings.ini:

[general]
bind_ip_adress = <IP_ADDRESS>
bind_port = 4488
buffer_size = 1024

[client]
# The command to create a negotiate-based rdp session.
# {{address}} must be present, they will be replaced with the actual address and port by the agent.
Negotiate = /home/sergeyb/backup_sdb/FreeRDP/build/client/X11/xfreerdp /t:RDPClient /cert-ignore /rfx /u:Administrator /p:Password01! /v:{{ address }}
# The command to create a negotiate-based fullscreen rdp session.
# {{address}} must be present, they will be replaced with the actual address and port by the agent.
NegotiateFullScreen = /home/sergeyb/backup_sdb/FreeRDP/build/client/X11/xfreerdp /t:RDPClient /f /rfx /u:Administrator /p:Password01! /v:{{ address }}
# The command to create a CredSSP rdp session.
# {{address}} must be present, they will be replaced with the actual address and port by the agent
DirectCredSSP = /home/sergeyb/backup_sdb/FreeRDP/build/client/X11/xfreerdp /t:RDPClient /rfx /u:Administrator /p:Password01! /v:{{ address }}
# The command to create a CredSSP fullscreen rdp session.
# {{address}} must be present, they will be replaced with the actual address and port by the agent
DirectCredSSPFullScreen = /home/sergeyb/backup_sdb/FreeRDP/build/client/X11/xfreerdp /t:RDPClient /f /rfx /u:Administrator /p:Password01! /v:{{ address }}

Start testing on Windows machine
See failed tests in a report generated by Windows Test Manager

Actual behavior
Expected behavior
All tests are passed
Application details

Version: FreeRDP dc89923f4a3db2c5ae5d169ea80ba4d0ad29e899
output of /buildconfig:

This is FreeRDP version 2.0.0-dev5 (dc89923f4)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=OFF WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=OFF WITH_GSTREAMER_1_0=ON WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=OFF WITH_PROFILER=OFF WITH_PULSE=OFF WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VAAPI=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          Release
CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -DWINPR_DLL
Compiler:            GNU, 7.4.0
Target architecture: x64

Desktop (please complete the following information):

OS: Ubuntu Linux, Windows 7 Enterprise SP1 x86_64

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic

Additional context
RDPBCGR specification
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/5073f4ed-1e93-45e1-b039-6e30c385867c

looks like this is a bug in the test suite, current [MS-RDPBCGR] contains 0x0008000C for 10.7 clients/servers as well.

@ligurio please attachyour test config C:\MicrosoftProtocolTests\RDP\Client-Endpoint\<IP_ADDRESS>\Bin\RDP_ClientTestSuite.deployment.ptfconfig file.

@ligurio it looks like you are using an outdated version of the test suite.
The current code in staging does already know the 0x0008000C value:
https://github.com/microsoft/WindowsProtocolTestSuites/blob/staging/ProtoSDK/MS-RDPBCGR/Types.cs#L6971
    public enum TS_UD_CS_CORE_version_Values : uint
    {
         ...
        /// <summary>
        /// RDP 10.7 clients
        /// </summary>
        V10 = 0x0008000C,
    }

@ligurio quite outdated actually. V10 was already added in April 2019:
https://github.com/microsoft/WindowsProtocolTestSuites/commit/c76dd7ed6fd05d5bb8889249ccee6ca9916b65c5#diff-1748bd62bc94f4d4ad77c9a78f019c1b


ValueError: total size of new array must be unchanged

Hi, I'm trying to implement your code on my own server. But when I entered the /dreyeve-master/experiments/train$ directory and typed " python train.py", it showes "ValueError: total size of new array must be unchanged". The full information is as follows:
Traceback (most recent call last):
File "train.py", line 114, in
fine_tuning()
File "train.py", line 20, in fine_tuning
model = DreyeveNet(frames_per_seq=frames_per_seq, h=h, w=w)
File "/data/aaa/dreyeve-master/experiments/train/models.py", line 123, in DreyeveNet
im_net = SaliencyBranch(input_shape=(3, frames_per_seq, h, w), c3d_pretrained=True, branch='image')
File "/data/aaa/dreyeve-master/experiments/train/models.py", line 72, in SaliencyBranch
coarse_predictor = CoarseSaliencyModel(input_shape=(c, fr, h // 4, w // 4), pretrained=c3d_pretrained, branch=branch)
File "/data/aaa/dreyeve-master/experiments/train/models.py", line 47, in CoarseSaliencyModel
H = Reshape(target_shape=(512, h // 8, w // 8))(H)  # squeeze out temporal dimension
File "/data/aaa/.local/lib/python2.7/site-packages/keras/engine/topology.py", line 569, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/data/aaa/.local/lib/python2.7/site-packages/keras/engine/topology.py", line 632, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/data/aaa/.local/lib/python2.7/site-packages/keras/engine/topology.py", line 168, in create_node
output_shapes = to_list(outbound_layer.get_output_shape_for(input_shapes[0]))
File "/data/aaa/.local/lib/python2.7/site-packages/keras/layers/core.py", line 336, in get_output_shape_for
self.target_shape)
File "/data/aaa/.local/lib/python2.7/site-packages/keras/layers/core.py", line 330, in _fix_unknown_dimension
raise ValueError(msg)
"
It seems that the bug comes from this line:
H = Reshape(target_shape=(512, h // 8, w // 8))(H)  # squeeze out temporal dimension
line 47 in the  models.py
I have searched about this error, but still have no clues. So could you be so kind to help me with this issue?
Thank you!

@DavideA  Dear Abati,
  Thank you so much for your kindly reply.
  I have set the "image_data_format" to "channels_first", and the Keras version is 1.2.

But the error message remains the same.

Try removing "image_data_format" and set "image_dim_ordering":"th".
D

Thank you very much! It just works!
And began：
Downloading data from http://imagelab.ing.unimore.it/files/c3d_weights/w_up2_conv4_new.h5
@DavideA Thank you very much! :)


Fix automated layer versioning

First pass at resolving the problem with automated layer versioning breaking venv layering.
Will close #24 when completed

With the hash updates merged, it looks like the updated build & deployment processes are working, but the sample project tests need to be updated to expect the unversioned names when checking the build environment folders have been created.

The test failures highlighted a deeper problem with the post-install scripts being overly sensitive to how they're executed in the deployed environment: #66
Marking this as BLOCKED until #66 is resolved.

#66 has been resolved, so this is no longer blocked (but still requires further work)


Scrublet disables my figures

I'm seeing a weird bug where all of my figures disappear when I run Scrublet.  It comes with this error message:
UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
  pl.show()

If I create at least one figure BEFORE I run scrublet then all of my other figures can be seen even though they have the same error message as above.  Any idea what is happening here?
Thank you!

Same happening here. Importing scrublet renders matplotlib unable to show plots.

+1
Any solutions or insights into this issue?
AFAIK there is nothing in the code when scrublet is loaded which explains this behavior. For me plots are not shown, even if I create on plot before importing scrublet.


Implement PartialEq and Eq

Hello again!
This PR implements traits PartialEq and Eq. :grinning:
Cc #19

I'll have to experiment with the K issue

Hm we can merge this since the Equivalent trait is waiting on the next version anyway, so we can do a small type inference break then.

PartialEq should be exercised in quickcheck tests. Ideally you'd just add a new one next to the ones that test equivalence with HashMap. This test can be added by you or I, depending on who gets there first.


Admin/Seller/User - Promotion/Deals Management

when clicked on DEAL Management all DEAL should be displayed .
Admin to have preview Button DEAL .Preview should display DEALS same as of User Terminal
Deals Managment to display seller price and new price along with all data from DEAL_MSTR
Admin to be able to edit all the attributes of image except ID .
Admin to have CheckBox for Bulk Action on Deals ( Edit , View , Delete)
All the deals created by seller would come for admin approval , Admin to accept/Reject .

CREATE TABLE DEAL_MSTR (
DEAL_MSTR_DEAL_ID VARCHAR(20)  PRIMARY KEY ,
DEAL_MSTR_DEAL_NAME VARCHAR(200) NOT NULL UNIQUE KEY,
DEAL_MSTR_DEAL_DESC VARCHAR(200),
DEAL_MSTR_STATUS VARCHAR(4) NOT NULL  DEFAULT 'LIVE' CHECK ('PNDG' or 'LIVE' or 'REJ' or 'DLTD'),
DEAL_MSTR_START_DATE DATE ,
DEAL_MSTR_END_DATE DATE ,
DEAL_MSTR_START_TIME TIMESTAMP ,
DEAL_MSTR_END_TIME TIMESTAMP ,
DEAL_MSTR_DEAL_TYPE VARCHAR(5) NOT NULL  CHECK ('TIME' or 'DAILY' ) ,
DEAL_MSTR_DEAL_DISCOUNT FLOAT NOT NULL ,
DEAL_MSTR_CREATED_BY VARCHAR(20),
DEAL_MSTR_CREATED_TIME TIMESTAMP  DEFAULT  CURRENT_TIMESTAMP,
DEAL_MSTR_MODIFIED_BY VARCHAR(20),
DEAL_MSTR_MODIFIED_TIME TIMESTAMP  DEFAULT  CURRENT_TIMESTAMP,
DEAL_MSTR_POSITION INT NOT NULL UNIQUE KEY,
);

Seller Terminal - Time Deals /Daily deals
User Terminal - changes should be reflected properly on User Terminal if changed from Admin terminal
2 Days

Next u can pick up Promotion - WedMorning

Hello @kailash05

Change Heading as Promotion Management
Create sub tabs as Deal Management, Merzido Promotion,Seller Promotion
Deal Management  Contain Time and Daily Deals
Check Flow of Daily and Timely Deal, Check image is displayed on view part or not. and manage it.
Display that deals on seller panel ask this part to mydeen.
Refer merzido old admin for admin part and lazada seller for seller part


WindowsError in python 2.7 (Anaconda) after cmake/VS2013 compilation successful

I have Windows 7 64.
I modified base.py to print the path:
>>> import mxnet as mx
C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\libmxnet.dll
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\__init__.py", line 7, in <module>
    from .base import MXNetError
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 44, in <module>
    _LIB = _load_lib()
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 36, in _load_lib
    lib = ctypes.cdll.LoadLibrary(lib_path[0])
  File "C:\Anaconda\lib\ctypes\__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "C:\Anaconda\lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError:  [Error 193] %1 is not a valid Win32 application
>>>

I dont see any documentation warnings that i need to use Python 3.0+. Cmake though warned that he wasnt able to find python 3+ binaries. And Ubuntu version works good on python 2.7.10 (Anaconda as well). Is windows version of mxnet is for Python 3 only?

Any help please?

This seems to be same error @thirdwing encountered, which happens to some windows machine but we do not know why, @hjk41 do u have any idea on this?

Exactly the same error on my machine.

you Anaconda is 64bit? and you compilation mxnet with 64bit?

Python 2.7.10 |Anaconda 2.3.0 (32-bit)| (default, Nov  7 2015, 13:29:20) [MSC v.1500 32 bit (Intel)] on win32
mxnet compilation is 64 bit, i used Cmake and VS2013, there is no 32 bit option. How can i make 32 bit compilation of mxnet?

This seems to be a bug introduced recently. I tried with x64 build on
Windows 10 several weeks ago and it worked fine. Now I have the same error.
I will try to figure out the problem.
On Sat, Nov 21, 2015 at 2:24 PM, Igor S<EMAIL_ADDRESS>wrote:

Python 2.7.10 |Anaconda 2.3.0 (32-bit)| (default, Nov 7 2015, 13:29:20)
[MSC v.1500 32 bit (Intel)] on win32
mxnet compilation is 64 bit, i used Cmake and VS2013, there is no 32 bit
option. How can i make 32 bit compilation of mxnet?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-158594570.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

@Strateus Could you try the latest version, or download the binary distribution from https://github.com/dmlc/mxnet/releases/tag/weekly_binary_build? The bug was somehow resolved on my machine, though I am not sure by which commit.

Now i have some error during compilation:
Error	196	error C2064: term does not evaluate to a function taking 2 arguments	C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap	283	1	mxnet

Any suggestions?

This is a bug bring in recently. Fixing...
On Thu, Nov 26, 2015 at 7:14 PM, Igor S<EMAIL_ADDRESS>wrote:

Now i have some error during compilation:
Error   196 error C2064: term does not evaluate to a function taking 2 arguments    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap 283 1   mxnet
Any suggestions?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-159885212.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

PR #731 (https://github.com/dmlc/mxnet/pull/731) should fix this. Please
wait till it is merged.
On Fri, Nov 27, 2015 at 10:56 AM, Chuntao HONG<EMAIL_ADDRESS>wrote:

This is a bug bring in recently. Fixing...
On Thu, Nov 26, 2015 at 7:14 PM, Igor S<EMAIL_ADDRESS>wrote:

Now i have some error during compilation:
Error   196 error C2064: term does not evaluate to a function taking 2 arguments    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap 283 1   mxnet
Any suggestions?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-159885212.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

--
HONG Chuntao
System Research Group
Microsoft Research Asia

OK. it is merged. Please have another try. :-)
On Fri, Nov 27, 2015 at 11:10 AM, Chuntao HONG<EMAIL_ADDRESS>wrote:

PR #731 (https://github.com/dmlc/mxnet/pull/731) should fix this. Please
wait till it is merged.
On Fri, Nov 27, 2015 at 10:56 AM, Chuntao HONG<EMAIL_ADDRESS>wrote:

This is a bug bring in recently. Fixing...
On Thu, Nov 26, 2015 at 7:14 PM, Igor S<EMAIL_ADDRESS>wrote:

Now i have some error during compilation:
Error   196 error C2064: term does not evaluate to a function taking 2 arguments    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xrefwrap 283 1   mxnet
Any suggestions?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-159885212.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

--
HONG Chuntao
System Research Group
Microsoft Research Asia

--
HONG Chuntao
System Research Group
Microsoft Research Asia

I have same issue now as at the beginning:
WindowsError:  [Error 193] %1 is not a valid Win32 application

I just copied new dll from build/Release to previous mxnet python installation, or i need to reinstall python build as well?

Yes. Please reinstall.
On Fri, Nov 27, 2015 at 3:21 PM, Igor S<EMAIL_ADDRESS>wrote:

I have same issue now as at the beginning:
WindowsError:  [Error 193] %1 is not a valid Win32 application
I just copied new dll from build/Release to previous mxnet python
installation, or i need to reinstall python build as well?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-160057864.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

Now its very strange, i tried to import it twice in a row and there are different errors:
>>> import mxnet
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\__init__.py", line 7, in <module>
    from .base import MXNetError
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 43, in <module>
    _LIB = _load_lib()
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 35, in _load_lib
    lib = ctypes.cdll.LoadLibrary(lib_path[0])
  File "C:\Anaconda\lib\ctypes\__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "C:\Anaconda\lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError:  [Error 193] %1 is not a valid Win32 application
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>

>>> import mxnet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\__init__.py", line 7, in <module>
    from .base import MXNetError
  File "C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 10, in <module>
    from . import libinfo
ImportError: cannot import name libinfo
>>>

btw im cloning master, maybe i need to clone some branch?

I am using master. Windows 10 with Python 3.4 x86_64.
Is it possible for you to try Python 3.4? I cannot install mxnet with
python 2.7 on my machine. It requires vcpython27, which only supports
windows 7/8/8.1.   @_@
On Fri, Nov 27, 2015 at 3:31 PM, Igor S<EMAIL_ADDRESS>wrote:

btw im cloning master, maybe i need to clone some branch?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-160058881.

 You will
need 64bit python to use 64bit mxnet.
On Fri, Nov 27, 2015 at 4:53 PM, Chuntao HONG<EMAIL_ADDRESS>wrote:

I am using master. Windows 10 with Python 3.4 x86_64.
Is it possible for you to try Python 3.4? I cannot install mxnet with
python 2.7 on my machine. It requires vcpython27, which only supports
windows 7/8/8.1.   @_@
On Fri, Nov 27, 2015 at 3:31 PM, Igor S<EMAIL_ADDRESS>wrote:

btw im cloning master, maybe i need to clone some branch?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-160058881.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

--
HONG Chuntao
System Research Group
Microsoft Research Asia

i replied to that earlier - im using 32 bit python. So there is no way to install on 32 bit python under windows?

The pre-built binary distribution is 64bit. So you will need 64bit python
to use that package. I think it is also possible to built 32bit mxnet and
use it in 32bit python. Let me have a try.
On Fri, Nov 27, 2015 at 8:16 PM, Igor S<EMAIL_ADDRESS>wrote:

i replied to that earlier - im using 32 bit python. So there is no way to
install on 32 bit python under windows?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-160127787.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

i also meet the same question:
import mxnet as mx
Traceback (most recent call last):
File "", line 1, in
File "D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet_init_.py", line 7, in
from .base import MXNetError
File "D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 43, in
_LIB = _load_lib()
File "D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 35, in load_lib
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "D:\Python27\lib\ctypes_init.py", line 443, in LoadLibrary
return self.dlltype(name)
File "D:\Python27\lib\ctypes_init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126]
i use the VS2013 and PTVS, after i build successfully.  I follow the installation guide,and i use "python setup.py install".But i can't import the mxnet.

haoran, are you using 32bit Python or 64bit?
On Thu, Dec 10, 2015 at 11:36 AM, li-haoran<EMAIL_ADDRESS>wrote:

i also meet the same question:
import mxnet as mx
Traceback (most recent call last):
File "", line 1, in
File
"D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet__init__.py",
line 7, in
from .base import MXNetError
File "D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py",
line 43, in
LIB = load_lib() File
"D:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line
35, in _load_lib lib = ctypes.cdll.LoadLibrary(lib_path[0]) File
"D:\Python27\lib\ctypes__init.py", line 443, in LoadLibrary
return self.
dlltype(name) File "D:\Python27\lib\ctypes__init_.py", line 365, in
init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126]
i use the VS2013 and PTVS, after i build successfully. I follow the
installation guide,and i use "python setup.py install".But i can't import
the mxnet.
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-163477238.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

i use 64.bit python 2.7.10.

closing due to inactive status, feel free to reopen if there is update

I'm encountering the same problem
import mxnet as mx
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import mxnet as mx
File "C:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet_init_.py", line 7, in
from .base import MXNetError
File "C:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 43, in
_LIB = _load_lib()
File "C:\Python27\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py", line 35, in load_lib
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "C:\Python27\lib\ctypes_init.py", line 443, in LoadLibrary
return self.dlltype(name)
File "C:\Python27\lib\ctypes_init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
I'm using python 2.7.10 64 on win10 x64.

@tqchen @K-Wu I had the same problem.Did you have any solution?

@cupermanrose haven't so far. Still waiting for the official fixing.

Guys, I don't really have a clue here. Are you all using Windows 7? Could
that have caused the problem?
On Tue, Dec 22, 2015 at 11:59 AM, K-Wu<EMAIL_ADDRESS>wrote:

@cupermanrose https://github.com/cupermanrose haven't so far. Still
waiting for the official fixing.
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-166499850.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

@hjk41  I have built the mxnet(USE_DIST_KVSTORE) and installed python package on some machines successfully.But the error 126 occurred when I import mxnet.Maybe I should wait for the official fixing about error 126?

Could you try to install MXNET on a short path, say d:\mxnet? And make sure
libmxnet.dll is in your PATH.
On Tue, Dec 22, 2015 at 2:08 PM, cupermanrose<EMAIL_ADDRESS>wrote:

@hjk41 https://github.com/hjk41 I have built the
mxnet(USE_DIST_KVSTORE) and installed python package on some machines
successfully.But the error 126 occurred when I import mxnet.Maybe I should
wait for the official fixing about error 126?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/655#issuecomment-166521363.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

@K-Wu  @cupermanrose put depneds dll in python.exe path.like openv_*.dll. zmq *.dll

@yajiedesign I put libopenblas.dll libzmq-v120-mt-4_0_4.dll opencv_world300.dll in python.exe path still error.

@cupermanrose  OPENCV_CORE300.DLL  OPENCV_IMGPROC300.DLL OPENCV_IMGCODECS300.DLL

@yajiedesign My opencv has only opencv_world300.dll opencv_world300d.dll and opencv_ffmpeg300_64.dll.

i add the build path(...mypath/x64/release/) to my pc's environment path,then it works.

@Strateus I met the same problem.I tried to import mxnet twice ,the first error is error 126 The specified module could not be found and the second error is cannot import name libinfo.Have you fixed it?

Im not using mxnet now, it does not support 32 bit Python under Windows, only 64bit.

@Strateus I think I fix the problem.Put the libmxnet.ll to mxnet\python\mxnet before installing python package.

always get ,the first error is error 126 The specified module could not be found and the second error is cannot import name libinfo...

I had the same problem, and finally I figured it out. I used Dependency walker to analyze the .dll and found many missing API-MS-WIN-CORE DLLs. Then I recalled that before compiling mxnet, I firstly had to install MS C++ Compiler Nov 2013 CTP, which, however, couldn't be installed until the conflicting Visual C++ Redistributable 2013 were uninstalled. Hence, I reinstalled it and collected all the dependent DLLs. It worked.

[Error 193] %1 is not a valid Win32 application
i also met similar problem. OS: win7 64;python:anaconda Py2.7 64bit
i just tried 20160309_win10_x64_gpu.7z and 20151209_win64_gpu.7z  and ocurred the same error.
is there any method to solve it?
`
WindowsError                              Traceback (most recent call last)
 in ()
----> 1 import mxnet as mx
C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet_init_.py in ()
5
6 from .context import Context, current_context, cpu, gpu
----> 7 from .base import MXNetError
8 from . import base
9 from . import ndarray
C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py in ()
41 version = libinfo.version
42 # library instance of mxnet
---> 43 _LIB = _load_lib()
44
45 # type definitions
C:\Anaconda\lib\site-packages\mxnet-0.5.0-py2.7.egg\mxnet\base.py in _load_lib()
33     """Load libary by searching possible path."""
34     lib_path = libinfo.find_lib_path()
---> 35     lib = ctypes.cdll.LoadLibrary(lib_path[0])
36     # DMatrix functions
37     lib.MXGetLastError.restype = ctypes.c_char_p
C:\Anaconda\lib\ctypes_init_.pyc in LoadLibrary(self, name)
441
442     def LoadLibrary(self, name):
--> 443         return self._dlltype(name)
444
445 cdll = LibraryLoader(CDLL)
C:\Anaconda\lib\ctypes_init_.pyc in init(self, name, mode, handle, use_errno, use_last_error)
363
364         if handle is None:
--> 365             self._handle = _dlopen(self._name, mode)
366         else:
367             self._handle = handle
WindowsError:  [Error 193] %1 is not a valid Win32 application`

I met this problem too. And then fix by add

mxnet root path,
2)all dependent dll path,
to PATH.
It work!


Enable promise dependency injection (just like node-fetch)

node-fetch allows Promise dependency injection (if you like using bluebird for example). It would be great if we could do the same thing with this wrapper.

I talked to @timothyGu about the ability to set a custom promise on node-fetch. They are not very happy with the implementation, they will probably remove it in future, so I don’t think that we should add it

They are not very happy with the implementation

@gr2m, I would love a better explanation of why they weren't/aren't happy with their implementation.
I'm trying to contribute and improve this package. While I get that my idea of what is/isn't an improvement may differ from the opinion of the collaborators, it would be nice to give an explanation beyond "some other guy isn't happy with their implementation of the same feature, so we won't adopt that same implementation".
Libraries like BluebirdJS are both faster than native promises and come with a lot of extra utility functions. tap and tapCatch are the two that I'm most interested in personally as they provide a very clean API for logging.
I'm sure @TimothyGu has some great reasons as to why the disadvantages of setting your own promise dependencies outweigh the extra speed and utility of the widely used BluebirdJS, but without that explanation, this looks like a decision was made here without any real justification.

It’s worth noting that they’re primarily faster by violating the language spec (altho not A+). Can’t you wrap the returned promise in your library of choice?

@ljharb, I think my real solution is to just use node-fetch directly.

...violating the language spec

Thanks, I'll look into that further.


Notes under tables

When looking at the table under
https://ihe.github.io/publications/ITI/TF/Volume2/ITI-18.html#<IP_ADDRESS>.<IP_ADDRESS>
the notes are using superscripts. Is this the default arrangement, or are we switching to something like the table after
https://ihe.github.io/publications/ITI/TF/Volume1/ch-16.html#16.2
For the latter, you can use this markup:

Note 1:

At least one of these options is required for each Actor. In order to enable a better
            interoperability, is highly recommended that the actors support all the options.

Note 2:

This option requires the ZIP over Email Option.

@JohnMoehrke

notes should all be migrated to a note paragraph type... the export from WORD to html did leave us with some places where there is this kind of mess. We will continue to clean this up over the coming months, after first publication.

When the conversion was first done on the TF Volumes, a style was created for Notes referenced in a table. It looks like sometimes this was used (your second example) and sometimes not (your first example).
At some point, as suggested, we will need to pick a style and update the documents for consistency.
I also see some OLE Links, do those come from Word. The look like links in the html but go no where.

The one OLE link I saw did not have a corresponding link in the PDF, so I just removed it. Probably left over from Word 2000...

Google Sheet to track progress of fixes for this issue is at https://docs.google.com/spreadsheets/d/1eM8OgzO8qGbc9Q8lEyBtwdALFOaYZN9W-AsyV6EnXWA/edit#gid=2021735577


Added Kartik666 to contributors list.

@Kartik666, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


Tf backend test refactor

Refactor the TF backend tests to use pytest

TFBackend coverage via the ported tests.
No batching, pure:
----------- coverage: platform linux, python 3.5.6-final-0 -----------
Name                                                           Stmts   Miss  Cover
----------------------------------------------------------------------------------
tfbackend/__init__.py                                              3      0   100%
tfbackend/backend.py                                             194     30    85%
tfbackend/circuit.py                                             500    119    76%
tfbackend/ops.py                                                 604     99    84%
tfbackend/states.py                                              241     31    87%
----------------------------------------------------------------------------------
TOTAL                                                           1542    279    81.9%

approved pending a small commit I will push

Looks great, before merging I will revert the travis config back to master.


Generate cdk erigon/type2 trace decoder test data

More info in the code TODO

Blocked (among other things) by https://github.com/0xPolygonHermez/cdk-erigon/issues/1133


MEP for Future-based shuffle on Ray

This PR proposes enhancement to support Future-based shuffle on Ray, which is first MEP in our shuffle optimizations:

Future-based shuffle on Ray
Push-based Shuffle using Ray Future
Mitigate Straggler tasks
Dynamically coalescing shuffle partitions
Dynamically splitting shuffle partitions

Please rename the file as mep-0000-ray-future-based-shuffle.md.

Some spelling suggestions:

Unify the ray and Ray to Ray.
Use C++ instead of c++.

Besides, can you add some comments to the ShuffleManager API?

@fyrestone @wjsi @qinxuye @zhongchun @hekaisheng @yuyiming  I've updated the proposal, could you please review it again?


Only versions of packaging are packaging<23.2 & packaging>=25

Steps to Reproduce

rye init
rye add langchain

Expected Result
+ langchain==0.2.7
Actual Result

rye add langchain --pre

Added langchain~=0.2.7 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: \\?\C:\Users\moham\Desktop\gg\requirements.lock
  × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of langchain are available:
          langchain<=0.2.7
          langchain>=0.3.dev0
      and langchain==0.2.7 depends on langchain-core>=0.2.12, we can conclude that langchain>=0.2.7 depends on
      langchain-core>=0.2.12.
      And because only the following versions of langchain-core are available:
          langchain-core<=0.2.17
          langchain-core>=0.3.0
      we can conclude that langchain>=0.2.7 depends on langchain-core>=0.2.12. (1)

      Because only the following versions of packaging are available:
          packaging<23.2
          packaging>=25
      and langchain-core==0.2.17 depends on packaging>=23.2,<25, we can conclude that langchain-core==0.2.17 cannot
      be used.
      And because we know from (1) that langchain>=0.2.7 depends on langchain-core>=0.2.12, we can conclude that
      langchain>=0.2.7 depends on langchain-core>=0.2.12,<0.2.17.
      And because you require langchain>=0.2.7 and langchain-core>=0.2.17, we can conclude that the requirements are
      unsatisfiable.
error: could not write production lockfile for project

Caused by:
    Failed to run uv compile C:\Users\moham\AppData\Local\Temp\.tmp3SyAEt\requirements.txt. uv exited with status: exit code: 1

Version Info
rye 0.36.0
commit: 0.36.0 (12c024c7c 2024-07-07)
platform: windows (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: true

Stacktrace
No response

[[sources]]
name = "pypi"
url = "https://files.pythonhosted.org/packages"


Assignment Operation Without Value

For instance, currently the assignment without value will pop out panic: runtime error: invalid memory address or nil pointer dereference.
We can assign value in the next line or later on in REPL:
» a =
¤    1

After do some research I think this might be REPL's issue more than parser's issue. @hachi8833

Currently we'll raise a parsing error like unexpected  Line: 0 for cases like a =. I think this is enough for now.


Compiling Game Problem with VideoState.hx

source/VideoState.hx:48: characters 31-46 : Cannot access static field SKIP_STEP_LIMIT from a class instance
im currently making a mod in fnf and im having an issue that it doesnt compile the game can anyone help me and solve this?

source/VideoState.hx:48: characters 31-46 : Cannot access static field SKIP_STEP_LIMIT from a class instance
im currently making a mod in fnf and im having an issue that it doesnt compile the game can anyone help me and solve this?

you should try reinstalling my extension-webm fork
do not use the one from the tricky mod

@GrowtopiaFli I have the same issue. I reinstalled your extension-webm and I still get the error "source/VideoState.hx:48: characters 31-46 : Cannot access static field SKIP_STEP_LIMIT from a class instance". Any idea of how to fix this?

I have the same issue, I reinstalled the new extension-webm fork and still got the same error, and I have no idea how to fix it


Firestore: Internal error when fetching all the documents in a collection.

Describe your environment:

Xcode version: 9.4.1
Firebase SDK version: 4.3.0
Firebase Component: Firestore
Component version: 0.8.0

Describe the problem:
We tried to use the example iOS code to fetch all the documents on our Firestore collection from:
https://firebase.google.com/docs/firestore/query-data/get-data
It worked on the first run, but the next time we tried we received an internal error from Firestore:
*** Assertion failure in -[FSTLevelDBRemoteDocumentCache decodedMaybeDocument:withKey:], third_party/firebase/ios/Source/Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm:147

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'FIRESTORE INTERNAL ASSERTION FAILED: Read document has key (<FSTDocumentKey: AddressLatLngDictionary/A21 Flavour Studio, Teurastamo, Työpajankatu 2, 00580 Helsinki>) instead of expected key (<FSTDocumentKey: AddressLatLngDictionary/A21 Flavour Studio, Teurastamo, Työpajankatu 2, 00580 Helsink>).'
*** First throw call stack:
(0x184a66d8c 0x183c205ec 0x184a66bf8 0x185456fa0 0x1016cc8ac 0x1016cc2a8 0x1016cd120 0x1016ccf10 0x1016d20ec 0x1016b7964 0x1016afbc0 0x1016b14d8 0x106cc11dc 0x106cc119c 0x106ccfdfc 0x106cc46ac 0x106cd0d54 0x106cd7e38 0x18468be70 0x18468bb08)
libc++abi.dylib: terminating with uncaught exception of type NSException

It fails in the first field stating that the keys don't match (in one it is Helsinki and in the other Helsink).
Steps to reproduce:
We are using the plain code from the Firebase website, only changing the collection name. Just run the code pasted behind two times with an existing collection instead of "cities". In our case the documents fields contain UTF-8 characters and special characters: /,.
Relevant Code:
db.collection("cities").getDocuments() { (querySnapshot, err) in
    if let err = err {
        print("Error getting documents: \(err)")
    } else {
        for document in querySnapshot!.documents {
            print("\(document.documentID) => \(document.data())")
        }
    }
}

This is a dup of #445, the fix for which was released as part of Firebase 4.8.0 in December 2017.
You really should upgrade your SDK :-).

Thank you @wilhuff ! :)


HBASE-25626 Possible Resource Leak in HeterogeneousRegionCountCostFunction

This PR fixes the issue mentioned here.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.


How to use weld to fix a cable on the link?

I used weld to fix a cable on the link2 , but in simulate if i  apply force on the cable ,the cable will be separated from the link2.
Here is the code:

I used weld to fix a cable on the link2 , but in simulate if i  apply force on the cable ,the cable will be separated from the link2.
Here is the code:

The gray ball is the weld point.

And how to make the cable through the small hole in link?
The cable have no gemo name,so i cant use contact pair.

why are you not using tendons?

why are you not using tendons?

Thank you! I need to use rigid cable in the simulation，ensure that the force on the cable is consistent and there is as little deformation as possible.

And which part of this do you think you cannot do with a tendon?

In the model I hope to achieve, I can change the position of the first site where the tendon is located, in order to change the length of the tendon. I used muscles and general as actuator, but the results were not very good.

And which part of this do you think you cannot do with a tendon?

In the model I hope to achieve, I can change the position of the first site where the tendon is located, in order to change the length of the tendon. I used muscles and general as actuator, but the results were not very good.

And which part of this do you think you cannot do with a tendon?

Thank you!In the model I hope to achieve, I can change the position of the first site where the tendon is located, in order to change the length of the tendon. I used muscles and general as actuator, but the results were not very good.


Request add IBM.34 double density support

Add IBM34 double density support as per WD279x double density system 34 track format
c=0-76:s=1-26:size=2:mfm   Standard 8" IBM system 34 MFM format
Peter

Would/Can you test this feature?

Kier,
Yes please, do you have a url link to the relevent version?
Peter
------ Original Message ------
From: "Keir Fraser" @.>
To: "keirf/greaseweazle" @.>
Cc: "z80micro-mc" @.>; "Author"
@.>
Sent: Wednesday, 13 Jul, 22 At 19:47
Subject: Re: [keirf/greaseweazle] Request add IBM.34 double density
support (Issue #148)
Would/Can you test this feature?
—
Reply to this email directly, view it on GitHub
https://github.com/keirf/greaseweazle/issues/148#issuecomment-1183560801
, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCK64CFXLOCPXKFHIG5MUTVT4FLHANCNFSM5LMYHJQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

And single density ibm 3740 format would be single sided cylinders 0-76 360rpm and 26 sectors of 128 bytes per?

Kier,
Normal IBM.34 is 256 byte sectors, but controllers support other sector
sizes, 128, 256, 512, 1024. For RM CP/M purposes it needs 256 byte
sectors.
It would be helpful if it could also cope with SD track 0.  Assume the
IBM.34 table entries for various gaps, as per WD1793/2793 controller
datasheet.
Peter
------ Original Message ------
From: "Keir Fraser" @.>
To: "keirf/greaseweazle" @.>
Cc: "z80micro-mc" @.>; "Author"
@.>
Sent: Wednesday, 13 Jul, 22 At 20:57
Subject: Re: [keirf/greaseweazle] Request add IBM.34 double density
support (Issue #148)
I was asking before I bother to implement it. Just to check at 360rpm
500k data rate and 26 sectors, how many bytes per sector I'm thinking
256 bytes?
—
Reply to this email directly, view it on GitHub
https://github.com/keirf/greaseweazle/issues/148#issuecomment-1183620132
, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCK64HXL7QETQOCP7O6CHTVT4NTDANCNFSM5LMYHJQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Kier,
That is correct. Standard 8" FM disks.
RM uses 3740 format for 8" SD, and a pseudo 34 format ie normal ibm.34
MFM except track 0 which as per RM norm is SD FM (3740)
Again gaps as per tables as per WD 1793/2793 datasheet.
Peter
------ Original Message ------
From: "Keir Fraser" @.>
To: "keirf/greaseweazle" @.>
Cc: "z80micro-mc" @.>; "Author"
@.>
Sent: Wednesday, 13 Jul, 22 At 20:59
Subject: Re: [keirf/greaseweazle] Request add IBM.34 double density
support (Issue #148)
And single density ibm 3740 format would be single sided cylinders 0-76
360rpm and 26 sectors of 128 bytes per?
—
Reply to this email directly, view it on GitHub
https://github.com/keirf/greaseweazle/issues/148#issuecomment-1183621706
, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCK64EAM64H63HGBK5IY3LVT4NYVANCNFSM5LMYHJQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Keir,
Correct.
Peter
------ Original Message ------
From: "Keir Fraser" @.>
To: "keirf/greaseweazle" @.>
Cc: "z80micro-mc" @.>; "Author"
@.>
Sent: Wednesday, 13 Jul, 22 At 20:59
Subject: Re: [keirf/greaseweazle] Request add IBM.34 double density
support (Issue #148)
And single density ibm 3740 format would be single sided cylinders 0-76
360rpm and 26 sectors of 128 bytes per?
—
Reply to this email directly, view it on GitHub
https://github.com/keirf/greaseweazle/issues/148#issuecomment-1183621706
, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCK64EAM64H63HGBK5IY3LVT4NYVANCNFSM5LMYHJQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Consider this done, see #261


[Zip] New Package: SamuelTulach.VirusTotalUploader 0.1.9

Resolves #80937

Microsoft Reviewers: Open in CodeFlow

@msftbot zip

@msftbot zip

@msftbot zip

@wingetbot run

@wingetbot run


Do graphql auto reconnects, if websocket connection gets closed?

Hi!
I am writing an app which needs to be up to date with eos blockchain and I am wondering, if I need to handle websockets closing on my end.
In other words:
If websockets close for graphql query do they automatically reconnects if I use your library or I need to manually establish connection again?
Example query:
        const stream = await dfuseClient.graphql(`subscription {
                searchTransactionsForward(query: "receiver:eosio.token action:transfer", irreversibleOnly: false) {
                  cursor
                  trace {
                    matchingActions {
                      json
                    }
                  }
                }
              }`, (message) => {
            if (message.type === "data") {
                console.log(message.data);
            } else {
                console.log(message);
            }
        });

Yes, it handles reconnection automatically as well as tracking the stream cursor, check https://github.com/dfuse-io/client-js#features for more features of the library.
Check never miss a beat GraphQL example for a more thorough example: https://github.com/dfuse-io/client-js/blob/master/examples/advanced/graphql-never-miss-a-beat.ts.
This is a bug tracker, questions and support request are best asked in our Telegram channel: https://t.me/dfuseAPI


Fix crash during import bone remap.

The HashMap being used by can fail to find a bone to remap which will result in a crash since the HashMap is const.
Use the find method on the hashmap to loop values and gracefully handle the failure to find the bone instead of crashing.
Fixes: #87904

While it shouldn't crash the fact that it didn't already use a permissive check makes me think this should cause an error instead and abort importing

I suspect that would change previous behavior where it would rename/remap the bones it couldn't match and not the others which might break peoples import workflows.

No previous behaviour would change though would it? It'd just crash before, I mean specifically when the original crash condition occurs?

Prior to 96a95cb9743e755f10fa6a14895ea099e5ac4c51 this worked just fine and didn't crash either.

Wasn't aware of that part, but that was a case where it shouldn't have manipulated the map anyway so no intentional behaviour was changed
The map is intentionally filled with valid entries and then previously copied, so the values weren't supposed to be added I'd say
Id suspect the previous copy instead of passing as const was an oversight, which was exposed by that change
But I'm not sure, we'll see what the relevant teams say 🙂

I suspect we don't want to warn.  I partially only added them to confirm it was working but hey are a bit too verbose.  Maybe only in dev builds or if at all.

Adding MRP to help in getting this merged at some point.
bone-remap-mrp.zip

@TokageItLab if you want to review.

I don't believe t his PR is needed anymore.  The merging of  #81746 included the same type of changes(using the find methods on the hashmap).

Thanks for the contribution!


expressionProperties issue

I specified in the expressionProperties for the first field the "templateOptions.onChange" event. However, the onChange is triggered not only when the user changes the first field, but also when the user changes another field of the form. I'd want that the function in "templateOptions.onChange" is run only when the first field is changed. Is it possible?
Example:
vm.formFields = [ // fields
        {
            key: 'cls',
            type: 'select',
            defaultValue: vm.input.cls,
            templateOptions: {
                label: 'Cls',
                placeholder: 'Cls',
                options: vm.getOptions(), //[],
                valueProp: 'value',
                labelProp: 'value',
                required: true
            },
            expressionProperties: { 'templateOptions.onChange': function($viewValue, $modelValue){
                    //console.log('viewValue: ' + $viewValue);
                    //console.log('modelValue: ' + $modelValue);
                    onSelect();
                }
            },
        },
        {
            key: 'fc0',
            type: 'input',
            defaultValue: vm.input.fc0,
            templateOptions: {
                label: 'fc0 (MPa)',
                placeholder: 'fc0 (MPa)',
                type: 'number',
                required: true,
                min : 0.
            }
        }]

Instead of putting templateOptions.onChange in expressionProperties, put onChange in templateOptions. It's similar to this example
Note, from the README:

Please don't file an issue unless you feel like you've found a bug or have a feature request. Instead, go to help.angular-formly.com and follow the instructions.

So I'm going to go ahead and close this. Thanks.


Anyone know how to dynamically change controlsHoverDuration?

I want to change duration when the video is playing. Tried this but not working:
SizedBox(
  height: MediaQuery.of(context).size.height / 3,
  child: MaterialVideoControlsTheme(
    normal: MaterialVideoControlsThemeData(
      visibleOnMount: true,
      controlsHoverDuration: _player.state.playing
              ? const Duration(seconds: 1)
              : const Duration(milliseconds: 250),
    ),
    fullscreen: const MaterialVideoControlsThemeData(),
    child: Video(
      controller: controller,
    ),
  ),
);

Just build own controls.

Or you can copy our single file... and edit it. Not really accepting any changes to that.


OSC not working outside of editor (4.15)

Hi monsieurgustav,
I am currently working in 4.15, and I am running into an issue where the editor will receive OSC just fine, but it will not work on a local server on my computer that I am using to test. I have seen similar problems in the UE forum thread centered around your plugin (which by the way, your plugin is fantastic and has provided exactly what I need! Thank you!), but these issues revolved around a packaged build as opposed to a local server. If any repairs that you've made regarding the packaged builds could provide any insight, that would be great!
The device that I am working with is the Muse headset, and I am integrating a program called MusePlayer to stream the data in real time to a .csv file, then send it back out into my project. I am sending OSC to port 7000, which MP is listening to, then MP is sending OSC back out to port 5001, which my project is set to listen to in the OSC plugin settings.
I currently have a Player Controller that has an OscReceiver component attached to it. Here is what it looks like:

Please disregard the nodes in the event graph, as I unplugged them on purpose. The OSC actually made it to the controller, but it would not recognize a reference to a HUD widget that I gave it no matter what I tried, so I moved the code to a list widget.
I have bound an event to the list widget in question, which displays some of the OSC values that are being passed in. It looks like this:

This event works as expected in the editor, but on the server that I am testing on, the OSC does not make it to my project.
I appreciate you taking the time to read this. Please get back to me with an answer as soon as you are able, and let me know if you need anything else from me. :)
Best Regards,
Trostka

Hi Trostka,
Did you read the log file of your packaged game? It includes some OSC related entries like the port it listens to, etc.

If the plugin cannot listen the 5001 port (for whatever reason) and you send data to it, there is no chance it could get it. Try another port?
"Settings changed registration" is telling that the plugin could not bind a callback when the settings change. It only makes sense in the editor anyway.

Thank you for your quick response! Upon some further testing, it looks like the problem that I am having is not with the OSC. I have hooked the code in my player controller back into the execution pin, and added a debug message that prints the object name of a widget that I am trying to send data to. The debug message is printing, so my project is getting OSC; that narrows the issue down to my widget. I'll keep you posted as I try to figure this out.

So I've figured out what my issue was. In my testing process, I open up a server, and then an online client; when I opened them in that order, the server would listen for OSC on the specified port, and the client would try to listen on that same port and fail because the server was already occupying it. The server is in charge of my player controller and doesn't know about any of my HUD widgets, likewise the client holds the widgets and doesn't know about the player controller. Changing the order in which I opened them allowed OSC to reach the widget that I wanted to get it.
I do have one question though: is there any way in your plugin to specify what can listen to OSC? For example, if I passed in the keyword "server" on the command line, is there any way to keep the server from listening to OSC?
Thank you so much again for all your help. :)

Hum, interesting question...
I don't think there a way to do this right now.
If there is, it would be by disabling the plugin completely. Maybe it can be done with config files?

My coworker and I actually figured it out! I ended up putting an if/else around the code for UOscDispatcher::Listen; I'm checking if the command line used to open the game contains the word "server" and if it doesn't, all it will do is display a log warning. I don't feel comfortable with making a push since I feel like the purpose that I am using it for is very specialized, but I will post my code below:
void UOscDispatcher::Listen(FIPv4Address address, uint32_t port, bool multicastLoopback) {       if(!FParse::Param(FCommandLine::Get(), TEXT("server")))       {              if(_listening != std::make_pair(address, port))              {                    // See OscDispatcher.cpp for the rest of the normal functionality              }       }       else       {             UE_LOG(LogOSC, Warning, TEXT("Servers not allowed to listen"))       } }
I can't say this enough, your plugin is fantastic! Keep up the good work! :)


wheel files for 64-bit Windows

I'm not sure if this is the right place to report this, but I'm unable to find wheel files for 64-bit Windows.  I'm specifically looking for wheels for Python 3.6 and Python 3.7.

Hi @Phillip-M-Feldman! poliastro is a pure Python package and therefore has universal wheels. Did you have any trouble installing it?

My main difficulty is that I haven't been able to find any wheel file.
On Tue, Dec 3, 2019 at 4:42 PM Juan Luis Cano Rodríguez <
<EMAIL_ADDRESS>wrote:

Hi @Phillip-M-Feldman https://github.com/Phillip-M-Feldman! poliastro
is a pure Python package and therefore has universal wheels. Did you have
any trouble installing it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/poliastro/poliastro/issues/812?email_source=notifications&email_token=AAIEDRBX3B5S5QRMXHFPFR3QW34FZA5CNFSM4JU5VUYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF3KCTQ#issuecomment-561422670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEDRCFSA3PZZKBHGY4MDTQW34FZANCNFSM4JU5VUYA
.

Here you can find the wheel of the latest release: https://pypi.org/project/poliastro/#files (poliastro-0.13.0-py3-none-any.whl)

Thanks very much!
On Wed, Dec 4, 2019 at 12:15 AM Juan Luis Cano Rodríguez <
<EMAIL_ADDRESS>wrote:

Here you can find the wheel of the latest release:
https://pypi.org/project/poliastro/#files (
poliastro-0.13.0-py3-none-any.whl)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/poliastro/poliastro/issues/812?email_source=notifications&email_token=AAIEDRGVLLFAS4MEH4F4KGLQW5RIVA5CNFSM4JU5VUYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF4DW6A#issuecomment-561527672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEDRFSC7CD7XU7V2VXUATQW5RIVANCNFSM4JU5VUYA
.

 Closing :muscle:


Handle watch-exec rollback correctly

When using WATCH/EXEC transactions in Redis, if the transaction rolls back (due to one of the watched keys being modified), the EXEC command does not return a result (instead of returning an array).
Currently this leads to utils/wrapMultiResult failing with a TypeError: Cannot read property 'length' of null.
This PR adds tests for WATCH/EXEC (normal and rollback) and fixes the problem by making wrapMultiResult a little more defensive.

Cool! Released in 1.7.3 🍺

Wow, that was quick. Thanks so much for your help.


Remove hard-coded dropdown values

In AddUserModal and in EditUserModal the dropdown values are hardcoded and generated in the render function - need to move data to mobix and create data dynamically.

TODO
role_id should be converted to role on display and back to id on change
TODO
department_id should be converted to department name on display and filteres should work whereas on change it should be sent as department_id, do not assume its integer


Allow configuration of --service-account-extend-token-expiration or disable it

How to categorize this issue?
/area control-plane
/kind enhancement
/priority 3
What would you like to be added:
Currently --service-account-extend-token-expiration is enabled by default for shoot kube-apiserver, which means bound service account tokens would be extended up to 1 year instead of 1 hour.
Are you planning to disable it or expose a configuration in shoot spec?
Why is this needed:
We would like to be able to control automatic token rotation period, and 1 year is too long from security aspects.

Once #4639 is merged I can tackle this.


Readme.md

The readme.md file need some improvements.
The avahi install instructions seem to be Debian-specific. That library does not exist on CentOS/RedHat , but I found one that works.
On centos 7/rhel7, it needs avahi-compat-libdns_sd-devel, this will install it for you:
sudo yum install -y avahi-compat-libdns_sd-devel
Also, I don't have a sample file in my ~/.homebridge/ folder. Can you add the full path to config-sample.json to the readme instructions?

This is an open source project. Feel free to open a PR to update the Readme. I personally am not running it on any RedHat based OS but it sounds like you are. :)


Constructor injection for factories with arguments

Current example of factories with arguments (and the related tests) seems to only allow for intializer injection into an already instantiated object, instead of allowing for a factory method that returns a new instance.  This means it is impossible to inject the factory arguments as constructor arguments on the returned instance.  I'm attempting to inject into a class who's parent I do not control, and need to inject dynamically created arguments into the constructor.
If there's a way to do this, can we update the documentation to reflect the method?
example:
import { token, Container, Factory } from 'brandi';

class OtherThing { }

class UntouchableParent {
  protected dep: OtherThing;

  public constructor(dep: OtherThing) {
    this.dep = dep;
  }
}

class MyChild extends UntouchableParent {
  //...
}

const TOKENS = {
  myChildFactory: token<Factory<MyChild, [dep: OtherThing]>>('Factory<MyChild>')
};

const container = new Container();

container.bind(TOKENS.myChildFactory)
  .toFactory(MyChild, (dep: OtherThing): MyChild => new MyChild(dep));

const factoryInstance = container.get(TOKENS.myChildFactory);

const childInstance = factoryInstance(new OtherThing());

Hi!
Actually I don't like this design myself, but here's the problem I can't solve:
class MyChild {
  constructor(someService: SomeService: otherThing: OtherThing) {
    /* ... */
  }
}

const TOKENS = {
  someService: token<SomeService>('SomeService'),
  myChildFactory: token<Factory<MyChild, [dep: OtherThing]>>('Factory<MyChild>')
};

injected(MyChild, TOKENS.someService, /* ??? */);

const container = new Container();

container.bind(TOKENS.myChildFactory)
  .toFactory(MyChild, (dep: OtherThing): MyChild => new MyChild(/* ??? */, dep));

I mean, the problems start when you need to combine injected arguments and external ones.
It might look like:
container.bind(TOKENS.myChildFactory)
  .toFactory(
    MyChild,
    (dep: OtherThing): MyChild => new MyChild(container.get(TOKENS.someService), dep),
);

but I don't think it's the best design. What do you think?

Sorry for the delayed response, I keep meaning to sit down and give this the attention it deserves.  The bottom example is something that I'm actually using in some of my code currently, and while it sorta works there are several issues with it.

Currently, as far as I can tell, the constructing container is not supplied to the factory, so you have to rely on inherited scope.  That makes it very difficult to use factories that are not in the binding file itself, leading to that file blowing out.. unless you then inject the container, which is a whole different mess.
It means that container aware factories are not really viable for use in dependency modules, as they will have no idea of the container they are being used from within. (ran into this one today)
This method also requires that you either hard code the tokens, or inject them.  That gets really really cumbersome, especially if you're using this to build factories for a library.
It leads to a lot of not-so-DRY code which (while not exactly unusual for the construction layer) is annoying.
I'm not sure how it would live alongside the initialization pattern that is currently in place.  I'm not a huge fan of that pattern as a default, but it definitely solves some problems with objects that don't support constructor injection.

I think there are a few potential things that could help in all of this:

Supply the calling container to the factory at call time.  I like this better than injecting it into an instance of the factory, as it allows child container bindings to be used, even if the factory was bound to a parent container or dependency module.
Create something that acts as something between a factory and a container, in that it allows you to supply temporary bindings for use in a normal resolution request down the line.
Add a runtime token type that specifies that the dependency will be supplied at runtime instead of being a registered token

So numbers 2 and 3 might look something like this
// [...]

injected(MyChild, TOKENS.someService, RuntimeToken('otherThing'), RunTimeToken('anotherOtherThing'));

const MyChildBindingResolver: BindingResolver<OtherThing, OtherThing> = (thing1: OtherThing, thing2: OtherThing) => { 'otherThing' : thing1, 'anotherOtherThing': thing2 };

// Potential binding syntax 1
container.bind(TOKENS.myChildFactory)
  .withBindingSource(MyChildBindingResolver)
  .toFactory(MyChild, Factory<MyChild>) ;  // unsure if this signature would need to change

// Potential binding syntax 2
container.bind(TOKENS.myChildFactory)
  .toFactory(MyChild, Factory<MyChild, [thing1: OtherThing, thing2: OtherThing]>, MyChildBindingResolver);

The idea being that you'd call the factory with arguments, but it'd pass those arguments to the binding resolver... though looking at it, that resolver might not be necessary if we are using the factory tuple with a Runtime token?
I'm reaching the edges of my TypeScript knowledge with this one, sorry... it's just a bit of functionality that is common in the DI systems I've used in other languages.
Thanks regardless!

just bumping, any movement on this?


styling is an issue

feature note: add ability in code to actually use shadcn or tamagui or something. So far...this is...nasty. Love the tech but its unusable atm. Everything is just buttons and squares. I can add this to the code but would like to see the team's approach first.

This is coming!  Hopefully by tomorrow.  I haven't wired up a UI to modify the color scheme, but I've setup tailwind to use utility classes like primary, muted, etc.  you'll be able to customize them in the generated HTML.  Would love to have someone run with extending the ability to customize once I release.

This is now merged!  You can now choose from a variety of color schemes.


[BUG] Datatable order not working

'order' => [[3, 'asc']], not working in datatable. Can you check it please?

`@php
$heads = [
'ID',
'Full Name',
['label' => 'Phone', 'width' => 20],
['label' => 'Email', 'width' => 35],
['label' => 'Role', 'width' => 15],
['label' => 'Actions', 'no-export' => true, 'width' => 8],
];
    $config = [
        'data' => [],
        'order' => [[2, 'asc']],
        'columns' => [null, null, null, null, null, ['orderable' => true]],
    ];

    foreach ($users as $user) {
        $btnDetails = '$user->id]).'" class="text-olive mx-1" title="Edit">';
        $btnDelete = '$user->id]).'" class="text-danger btn-remove" title="Delete">';
        $row = [$user->id, $user->full_name, $user->phone_number, $user->email, $user->role_name, $btnDetails.$btnDelete];
        $config['data'] [] = $row;
    }
@endphp

<x-adminlte-datatable id="accounts-table" :heads="$heads">
    @foreach($config['data'] as $row)

            @foreach($row as $cell)
                {!! $cell !!}
            @endforeach

    @endforeach
</x-adminlte-datatable>`

here is my code

Ok, I can see you're misusing the x-adminlte-datatable component. If you take an in-depth look, you will see that you have never passed all the $config values to the component. You're just manually defining the rows and cells of the datatable. Also, if you are already defining the data in the $config object, there is no need to manually generate it inside the component again, it is better to use the component like this:
<x-adminlte-datatable id="accounts-table" :heads="$heads" :config="$config"/>

Thank you!


Change print -> logger.debug

Describe your changes
Logger level = DEBUG

No Preset Logger Level

Issue ticket number and link
Closes #x
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added thorough tests (when necessary).
[ ] I have added the right documentation in the docstring and changelog (when needed)

:books: Documentation preview :books:: https://jupysql--254.org.readthedocs.build/en/254/

Followup:
While I was doing some research of logging, I think we may extend the logging idea and store the logging in some centralized systems like logtail or datadog.
What we may do here differently than the original telemetry is we can define the different levels of logging info when the user sees the error or exception. We can also trigger the logging info collection once the Exception class is raised
For now, our telemetry is more about collecting the user's PC environment and database info.... Still, somehow we can inspect more by seeing what / how many errors the user is facing in the day and night.
@edublancas @idomic  LMK if you think this idea can be expanded

yeah, I think at some point we might want to log some of these messages to telemetry, for now, let's keep it as is


Add Offset to table A-1 for SP 91

Add Offset to table A-1 for SP 91. 0.4 % is close enough to 0: just like 99% is close enough to 100.
PGN 61443 with Supported SPNs 91, 92
09:55:06.4505 0CF00300 [8] D1 01 08 FF FF FF 6E FF
Found: Electronic Engine Controller 2 from Engine #1 (0):
SPN   558, Accelerator Pedal 1 Low Idle Switch: 01
SPN   559, Accelerator Pedal Kickdown Switch: 00
SPN  1437, Road Speed Limit Status: 01
SPN  2970, Accelerator Pedal 2 Low Idle Switch: 11
SPN    91, Accelerator Pedal Position 1: 0.400000 %
SPN    92, Engine Percent Load At Current Speed: 8.000000 %
SPN   974, Remote Accelerator Pedal Position: Not Available
SPN    29, Accelerator Pedal 2 Position: Not Available
SPN  2979, Vehicle Acceleration Rate Limit Status: 11
SPN  5021, Momentary Engine Maximum Power Enable Feedback: 11
SPN  5399, DPF Thermal Management Active: 11
SPN  5400, SCR Thermal Management Active: 11
SPN  3357, Actual Maximum Available Engine - Percent Torque: 44.000000 %
SPN  5398, Estimated Pumping - Percent Torque: Not Available
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 91 (0.4) is implausible

Investigate parasitic losses too.
PGN 65247 with Supported SPNs 3236
09:53:54.3957 18FEDF00 [8] 7F 20 01 07 7D C1 04 FF
Found: Electronic Engine Controller 3 from Engine #1 (0):
SPN   514, Nominal Friction - Percent Torque: 2.000000 %
SPN   515, Engine's Desired Operating Speed: 36.000000 rpm
SPN   519, Engine's Desired Operating Speed Asymmetry Adjustment: 7.000000
SPN  2978, Estimated Engine Parasitic Losses - Percent Torque: 0.000000 %
SPN  3236, AFT 1 Exhaust Gas Mass Flow Rate: 243.400000 kg/h
SPN  3237, AFT 1 Intake Dew Point: 11
SPN  3238, AFT 1 Exhaust Dew Point: 11
SPN  3239, AFT 2 Intake Dew Point: 11
SPN  3240, AFT 2 Exhaust Dew Point: 11
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 2978 (0.0) is implausible

PGN 65270 with Supported SPNs 102, 105, 173
13:49:14.2427 18FEF600 [8] FF 07 45 FF FF 6D 36 FF
Found: Intake/Exhaust Conditions 1 from Engine #1 (0):
SPN    81, AFT 1 DPF Intake Pressure (use SPN 3609): Not Available
SPN   102, Engine Intake Manifold #1 Pressure: 14.000000 kPa
SPN   105, Engine Intake Manifold 1 Temperature: 29.000000 °C
SPN   106, Engine Intake Air Pressure: Not Available
SPN   107, Engine Air Filter 1 Differential Pressure: Not Available
SPN   173, Engine Exhaust Temperature: 162.406250 °C
SPN   112, Engine Coolant Filter Differential Pressure: Not Available
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 102 (14.0) is implausible
PGN 64976 with Supported SPNs 3563
13:49:14.4417 18FDD000 [8] FF FF FF FF 39 FF FF FF
Found: Intake/Exhaust Conditions 2 from Engine #1 (0):
SPN  2809, Engine Air Filter 2 Differential Pressure: Not Available
SPN  2810, Engine Air Filter 3 Differential Pressure: Not Available
SPN  2811, Engine Air Filter 4 Differential Pressure: Not Available
SPN  3562, Engine Intake Manifold #2 Pressure: Not Available
SPN  3563, Engine Intake Manifold #1 Absolute Pressure: 114.000000 kPa
SPN  4817, Engine Intake Manifold 1 Absolute Pressure (High Resolution): Not Available
SPN  5422, Engine Intake Manifold 2 Absolute Pressure: Not Available
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 3563 (114.0) is implausible

PGN 61444 with Supported SPNs 190, 512, 513
13:55:44.0076 0CF00400 [8] F0 7E 83 C8 12 00 F0 83
Found: Engine Speed from Engine #1 (0):
SPN   899, Engine Torque Mode: 0000
SPN  4154, Actual Engine - Percent Torque (Fractional): 1.875000 %
SPN   512, Driver's Demand Engine - Percent Torque: 1.000000 %
SPN   513, Actual Engine - Percent Torque: 6.000000 %
SPN   190, Engine Speed: 601.000000 rpm
SPN  1483, Source Address of Controlling Device for Engine Control: 0.000000 source address
SPN  1675, Engine Starter Mode: 0000
SPN  2432, Engine Demand - Percent Torque: 6.000000 %
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 512 (1.0) is implausible
// 10 lb-ft is a little more than a gallon jug held out at arms length

(New) table 1 offset for SP of is 0.8 % is two bits
91 | Accelerator Pedal Position 1 | 61443 | BC 50 ms or rpm dependent | Yes | No | No | Fail | Warn | Warn | >0.8% | > 0.8%

Subsumed by Table A-1 umbrella #1094


Current Issues

There are currently issues:

[ ] Primary/secondary field approach (Division by zero)
[ ] with the stability of the environment as a whole, use enforce the use of mkl
[ ] GemPy / Pandas
[ ] PyVista / vtk

The first point is serious and needs investigation. It might be an mkl/openblas difference, but either way, it is not good.
The other things will hopefully resolve themselves as all packages mature.

Re primary/secondary approach:
The zero division is in core.solve. Checking there before dividing by zero would resolve the issue, however, it would make it slower. It should not be necessary.
Now, in the example, it is a very strange issue:

That works:dsigma = grid.vol.reshape(grid.vnC, order='F')*=(1/model.property_x-1/model_pf.property_x)

That fails:dsigma = grid.vol.reshape(grid.vnC, order='F')
dsigma *= 1/model.property_x-1/model_pf.property_x

Testing with np.allclose shows they are identical. But one fails, the other not...?

Re PyVista/vtk. Looks like conda-forge has issues with vtk. Installing PyVista through pip works.
Re GemPy: Pinning pandas<1.0 works: https://github.com/cgre-aachen/gempy/issues/497


feat: support for CDKv2

What does this PR do?
Fixes #51
This PR implements CDKv2 support for this construct library.
Please refer to Additional Notes in regards to BREAKING CHANGES
Motivation
CDKv2 is now GA and all libraries are expected to upgrade
Testing Guidelines
Ensured all unit tests are passing with no changes to snapshots or expectations
Additional Notes
This PR introduces BREAKING CHANGES and it's expected to produce a new major version of the package.
Process proposal
If long-term support for CDKv1 is desired, the owners of this repository are expected to maintain two parallel main line branches: main-v1 and main-v2. in which case main-v2 should be set as default branch.
Contributions to the main-v2 branch are to be back-ported by the maintainer into main-v1 as required.
Releases for CDKv1 are expected to fall under the 1.x.x major version.
Releases for CDKv2 are expected to fall under the 2.x.x major version and possibly >2 in the future
Types of Changes

[x] Breaking change
[x] Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

[x] This PR's description is comprehensive
[x] This PR contains breaking changes that are documented in the description
[x] This PR impacts documentation, and it has been updated (or a ticket has been logged)
[x] This PR's changes are covered by the automated tests

@msessa @agocs  can you review please?

Hey @msessa and @lielran , thanks for this PR. I'll make time to test it and review it in the new year. I think my team needs to have an internal discussion about how we want to handle the CDKv1 to CDKv2 changeover.

We've implemented CDK v2 support with PR #84. The new package supporting CDK v2 is datadog-cdk-constructs-v2, available through npm and pypi. Thanks for this PR, it's been a great reference for all the changes required!


[UI] Move /epinio/about to /:product/c/:cluster/about

The route is currently in the base product level
This won't work for the embedded world (as cluster specific info is shown)
Route needs to move to one under the cluster context

I am not sure if this is something I need to check I understand is within the epinio about functionality, but mind pls a small explanation / expected behavior for testing? thanks

I think this just needs a regression check. If the About page reached via clicking on the version in the bottom left still works fine then we're all good

Thanks for the clarification.
Being that is the case then although the About page is reached it seems there is a small change not parsing the version. As it can be seen in the screenshot it shows the full Epinio version v1.9.0-rc2-1-g2240f783 instead of just the v1.9.0. Links however seem to be ok and point correctly to v1.9.0.

I must say that the important thing there is that links point to the main version, which they do, so it does not interfere with testing, but noting the change in case we decide if this is intended or not.


ECR mock passing through commands to boto3

I'm using moto 1.3.7 and trying to mock out a simple command to create a repository in ECR.
from moto import mock_ecr
from boto3 import client, setup_default_session

@mock_ecr
def test_sync_ecr(self):
    setup_default_session()

    ecr = client("ecr", region_name="us-east-1")
    ecr.create_repository(repositoryName="Testing")

This code raises the following error, though, which seems to signify that the request is reaching boto and trying to actually execute that command remotely.  I shouldn't need credentials to mock the endpoints, plus a S3 mock works fine.
Traceback (most recent call last):
  File "/Users/pierce/.virtualenvs/project/lib/python3.7/site-packages/moto/core/models.py", line 74, in wrapper
    result = func(*args, **kwargs)
  File "/Users/pierce/globality/project/globality_ml_scripts/tests/test_sync.py", line 23, in test_sync_ecr
    ecr.create_repository(repositoryName="Testing")
  File "/Users/pierce/.virtualenvs/project/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/Users/pierce/.virtualenvs/project/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ExpiredTokenException) when calling the CreateRepository operation: The security token included in the request is expired

I tried the workaround proposed in #1926 to reset the session via setup_default_session - but the same error occurs.

Fixed by #2036.  Closing this ticket.


BUG: Unhandled exception during task queue run loop.

2016-02-02 23:41 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task_queue.py", line 47, in run
    self.current_task.execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 69, in wrapper
    return func(self, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 578, in execute
    self._execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 557, in _execute
    entry.complete()
  File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 163, in complete
    self.run_hooks('complete', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 78, in run_hooks
    func(self, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 178, in entry_complete
    search_results.remove(entry)
KeyError: <Entry(title=Sarah.&.Duck.S01E03.Lach.mal.Esel.GERMAN.HDTV.x264-pbw,state=rejected)>

    manipulate:  ## Fix for Serienjunkies.org
      - title:
          replace:
            regexp: 'Deutsch'
            format: ''
      - title:
          replace:
            regexp: 'Englisch'
            format: ''
      - title:
          replace:
            regexp: 'ö'
            format: 'oe'
      - title:
          replace:
            regexp: 'ä'
            format: 'ae'
      - title:
          replace:
            regexp: 'ü'
            format: 'ue'
      - title:
          replace:
            regexp: '!'
            format: ''
      - title:
          replace:
            regexp: 'tv-film'
            format: ''
      - title:
          replace:
            regexp: ','
            format: ''

Sarah.&.Duck.S01E03.Lach.mal,.Esel!.GERMAN.HDTV.x264-pbw

It seams the , after "mal" in the titles crashes the loop

2016-02-02 23:53 VERBOSE  manipulate    Series_Collection_EN Field `title` is now `Sarah.&.Duck.S01E03.Lach.mal,.Esel.GERMAN.HDTV.x264-pbw`
2016-02-02 23:53 VERBOSE  manipulate    Series_Collection_EN Field `title` is now `Sarah.&.Duck.S01E03.Lach.mal.Esel.GERMAN.HDTV.x264-pbw`

I can believe that's an actual release name...

I can believe that's an actual release name...

http://serienjunkies.org/serie/sarah-duck/

I believe you, and yet it's unbelievable

Its for my kids :D

Bless their souls :wink:

its absolutly funny :D

for kids... ;)

So, I think this is a problem because discover is remembering entries to do something later with, but it's determining entry uniqueness by title and url. When manipulate is in the task, this confuses discover plugin, and I think we get this crash. Not sure the correct solution yet.

Is this still relevant? if so please attach debug logs

yep, still there
https://nopaste.me/view/9faddec8
latest flexget

I'm still getting it in the latest.
2017-08-25 10:08 WARNING  backlog       torrent downloads popular No input snapshot available for `The Chris Gethard Show S03E03 HDTV x264-W4F[eztv] mkv`, using current state
2017-08-25 10:08 WARNING  backlog       torrent downloads popular No input snapshot available for `Im Sorry S01E08 HDTV x264-W4F[eztv] mkv`, using current state
2017-08-25 10:08 WARNING  backlog       torrent downloads popular No input snapshot available for `The Chris Gethard Show S03E02 720p HDTV x264-W4F[eztv] mkv`, using current state
2017-08-25 10:08 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task_queue.py", line 48, in run
    self.current_task.execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 72, in wrapper
    return func(self, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 642, in execute
    fire_event('task.execute.started', self)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 106, in fire_event
    result = event(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/simple_persistence.py", line 195, in load_task
    SimplePersistence.load(task.name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/simple_persistence.py", line 145, in load
    cls.class_store[task][skv.plugin][skv.key] = skv.value
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 293, in __get__
    return self.descriptor.__get__(instance, owner)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/database.py", line 139, in getter
    return json.loads(getattr(self, name), decode_datetime=True)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/json.py", line 112, in loads
    return json.loads(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 533, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/json.py", line 48, in decode
    return super(DTDecoder, self).decode(obj, **kwargs)
  File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 394, in raw_decode
    if len(s) > idx:
TypeError: object of type 'NoneType' has no len()

I think I might have found it.
I was just trying to run a specific task for an individual RSS feed:
pvr@movingpictures[10:18:47]~/.flexget$ flexget -c tv-shows.yml execute --tasks "showrss personal"
2017-08-25 10:18 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-08-25 10:18 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
2017-08-25 10:18 CRITICAL manager                       An unexpected crash has occurred. Writing crash report to /home/pvr/.flexget/crash_report.2<IP_ADDRESS>855530877.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.10.82

Obviously it did not run
I have multiple tasks that have spaces in the names, as is implied to be possible in the page https://flexget.com/Configuration#top-level-keys with it's "test task" example.
When I get rid of the spaces in my task names, this issue no longer happens.

@CoryAlbrecht I don't think it's related. Have you verified that it crashes if you rename your tasks to something else with spaces?

@gazpachoking, here's a fix (not necessarily the best solution):
In flexget\plugins\input\discover.py's entry_complete method, insert:
if entry not in search_results:
    # Rebuild search_results in place to recompute all its hashes
    search_results_copy = list(search_results)
    search_results.intersection_update([])      # empty search_results set in place
    search_results.update(search_results_copy)  # repopulate search_results set in place

before the line:
search_results.remove(entry)

The underlying issue is:

the discover plugin maintains a set of entries for the duration of the task;
the manipulate plugin can change entries' titles during the task;
the set class, by design, doesn't support mutable elements (i.e. objects whose hash values can change during their lifetime), so an entry with a changed title becomes un-findable in search_results because its hash (based on its title) has changed.

There are certainly other solutions to this bug (e.g. using something besides a set for search_results, or making Entry keep its initial hash for life) but the above fix seemed like the simplest/least invasive.

@pirandello9 @gazpachoking shouldn't the fix be implement ?!

Just flagging that error still annoyingly present and wishes that either

a developer have a quick look at the hotfix posted above and apply it, or explain why that fix is not feasable, or that
someone explains how to apply that hotfix temporarily, locally, and that it may need to be reapplied after updating flexget

I'd accept either to close an issue that's been around for close to two years now...

Do I understand it right? We should modify a flexget file cause it can't be implemented in the next flexget version?
Then please don't let the modified file changed back when a new flexget version comes out without a bug fix by flexget developers. Thank you 😊

does this issue still exist?

The Hotfix works.

This appears to be a Windows  only issue, used same yml's with flexget 2.14.10 and 2.14.11 on windows 10 and ubuntu 18.04. Only needed Hotfix for windows.

@Chaosmagnetx are you sure you experience the same issue?

Correction - Encountered both on Windows 10 and Ubuntu 18.04 both fully updated, and with flexget updated.
Yes I am. From Ubuntu run:
Traceback (most recent call last):   File "/usr/local/lib/python2.7/dist-packages/flexget/task_queue.py", line 48, in run     self.current_task.execute()   File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 72, in wrapper     return func(self, *args, **kw)   File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 645, in execute     self._execute()   File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 623, in _execute     entry.complete()   File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 165, in complete     self.run_hooks('complete', **kwargs)   File "/usr/local/lib/python2.7/dist-packages/flexget/entry.py", line 80, in run_hooks     func(self, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 148, in entry_complete     search_results.remove(entry) KeyError: <Entry(title=Last Week Tonight with John Oliver,state=rejected)>


Rendering issue with the Paper Doll mod

When using the paper doll mod with this mod, in first person, the doll appears without the head.
Tested with version Paper Doll 1.0.0 and First Person Model 1.0.1.

Not rendering the head in paperdoll was fixed, but paperdoll had a horrible design decision to remove the player body rotation and to lock it to the head(which translated to f5 and the firstpersonMod). I'll have to check the current state of their compatibility, and if this got fixed by paperdoll.

Gonna close this issue since it's a bug of Paperdoll that might or might not be fixed. Nothing really I can do about.