[04/01/2024, 23:18:42] [tapo-camera] [TAPO C200] Failed to fetch snapshot.

I have ffmpeg installed on my Raspberry Pi 4 (11, Bullseye)
I have Homebridge installed.
Furthermore, I have the Homebridge-tapo-camera plugin installed.
And these are the error messages I am receiving:
[04/01/2024, 23:18:42] [tapo-camera] [TAPO C200] Failed to fetch snapshot.
[TAPO C200 C5E8] Snapshot request handler provided empty image buffer!
[04/01/2024, 23:19:14] [tapo-camera] [TAPO C200] Failed to fetch snapshot.
[TAPO C200 C5E8] Snapshot request handler provided empty image buffer!
[04/01/2024, 23:19:14] [tapo-camera] [TAPO C200] Starting video stream: native x native, native fps, ??? kbps (AAC-eld)
[04/01/2024, 23:19:14] [tapo-camera] [TAPO C200] FFmpeg exited with code: 1 and signal: null (Error)
[04/01/2024, 23:19:14] [tapo-camera] [TAPO C200] Stopped video stream.
[04/01/2024, 23:19:18] [tapo-camera] [TAPO C200] Failed to fetch snapshot.
[TAPO C200 C5E8] Snapshot request handler provided empty image buffer!

I'm assuming it's a problem with the camera or a problem with the plugin.
Any help is appreciated.

Here is my config:
{
    "bridge": {
        "name": "Homebridge 25AE",
        "username": "XXXXXXXXXXXXXX",
        "port": 51714,
        "pin": "392-78-811",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "cameras": [
                {
                    "name": "TAPO C200",
                    "ipAddress": "<IP_ADDRESS>",
                    "password": "PASSWORD",
                    "streamUser": "USERNAME",
                    "streamPassword": "PASSWORD",
                    "disablePrivacyAccessory": true
                }
            ],
            "platform": "tapo-camera"
        },
        {
            "addresses": [
                "<IP_ADDRESS>"
            ],
            "name": "Tapo Lights",
            "email": "EMAIL",
            "password": "PASSWORD",
            "platform": "HomebridgeTPLinkTapo"
        }
    ]
}

Did you install https://github.com/Sunoo/homebridge-camera-ffmpeg#readme too?
Try it.

Did you install https://github.com/Sunoo/homebridge-camera-ffmpeg#readme too? Try it.

Thanks for the reply, I have the same problem when using this plugin, snapshot failed. I have no idea what to do. I've asked in several places, and you're the only person to reply.

Follow the instructions to install ffmpeg-for-homebridge here: https://github.com/homebridge/ffmpeg-for-homebridge


Swagger always points to Localhost

Im new to swagger.
Even after deploying swagger to testing server, swagger points to localhost.
Please share suggestion to solve this issue

Looks like you're new to github, too.  This is not the swagger help forum.  Try this instead?
#262


⚠ Bofrost.de has degraded performance

In 9b147cc, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Bofrost.de performance has improved in c931110 after 26 minutes.


Weird appearance on PhpStorm 2020.3

Hi, i love your theme. Unfortunately, it appears very weird on my IDE, uglier i believe for both color scheme and fonts, i'll attach some photos below.
My IDE specs:

PhpStorm 2020.3
macOS 10.15.7
JDK 11.0.9

Btw, may i know what version of JDK and IDE version you are using? Because i saw some topics mentioning difference between JDK 8 and 11 causing appearance and font troubles.
Some pics:

Stange, I'm not sure what could be causing this. The theme only contains color settings so it shouldn't affect the font. But I'm not sure why the colors look off. I'm using IntelliJ IDEA 2020.2.2 (community edition) to build the plugin.

For the IDE font, i had to Verdana font because the default font on macOS looks pretty ugly and thin. That's the only custom setting i had. Can you try to test the plugin on PhpStorm or IDEA Pro?

I currently don't have access to their non-free IDEs, but I just made a request to JetBrains through their Free License Program to see if I could get access to these paid IDEs to test out this plugin. I'll let you know when I hear back from them.

You can try 30-day trial for all of Jetbrains products i believe, as i'm using the trial too 😛

I think I'll save the free trial since I might need it for work in the near future.

Hmm, then there is a trial reset plugin if you want to test, can you give it a shot?

Cuz i can't find any other themes that satisfy me 😭

If you go into Preferences > Editor > Color Scheme, do you have the Cyberpunk scheme selected? And if so, when you check out the colors used, for example in Preferences > Editor > Color Scheme > Language Defaults, do the colors used match the colors in the palette listed here: https://github.com/elliotwaite/jetbrains-cyberpunk-theme/blob/master/src/main/resources/cyberpunk.theme.json
If any of them are off, you can try manually changing them to the colors in the color palette. And you can make specific changes for the PHP syntax by looking in the PHP section (I think, I don't have a PHP section in my settings since my IDE doesn't support PHP).

Is there any way that i can export the color scheme settings to JSON so i can compare them easier?

You can also view the colors in the color scheme by going to Preferences > Editor > Color Scheme and clicking the gear icon to the right of the scheme dropdown menu and then selecting Export > IntelliJ IDEA color scheme (.icls). And then you can compare the colors in that exported file to this file: https://github.com/elliotwaite/jetbrains-cyberpunk-theme/blob/master/src/main/resources/cyberpunk.xml

I just did, they were completely matching.

Hmm, strange. I'm not sure what is causing the issue then.

 By the way, can i ask for your IDE font settings and color scheme font settings too?

For the font, try this:

Preferences > Editor > Font > Font: Source Code Pro (downloadable here)
Preferences > Appearance & Behavior > Appearance > Antialiasing > IDE: Greyscale
Preferences > Appearance & Behavior > Appearance > Antialiasing > Editor: Greyscale

What about this?

I use the font "Source Code Pro" at a font size of 14.

For that, I have it unchecked. I use the standard font they have set for macOS, but I'm not sure what it is.

Can you tell me which JDK version are you using for the IDE?

I build the plugin using Gradle, and my Gradle JVM is: java version "1.8.0_222"

I think i may know what the problem is. Can you try to switch to JDK 11.0.9 and reopen the IDE, you may get font issues same as mine, and can you tell me you are using IDE-bundled JDK 8 or which vendor did you get the JDK 8 (oracle, openjdk, ...)?

Oh, the runtime my IDE is using is <IP_ADDRESS>+11-b1145.63. I'm not noticing any font issues while using it with the Cyberpunk theme. The theme shouldn't affect the font, do any other themes you install affect the font?

Good news. JetBrains approved my request for the open source license. I tested out the theme on PhpStorm and fixed those purple colors. They were part of the default color scheme for PHP files. I made those items that were purple now default of the standard colors, which ended up making most of those syntax parts switch from purple to the light-grey/white color. The changes were included in the latest update (version 1.0.4). Let me know if this resolves the issue.

Good news. JetBrains approved my request for the open source license. I tested out the theme on PhpStorm and fixed those purple colors. They were part of the default color scheme for PHP files. I made those items that were purple now default of the standard colors, which ended up making most of those syntax parts switch from purple to the light-grey/white color. The changes were included in the latest update (version 1.0.4). Let me know if this resolves the issue.

Yahh, it looks better now except the IDE font lol, i still have to use Verdana font as default because others look so terrible. Anyways, thanks for the theme ❤

Yahh, it looks better now except the IDE font lol, i still have to use Verdana font as default because others look so terrible. Anyways, thanks for the theme ❤

Nice! Glad to hear the update helped. I'm going to close this issue, but feel free to open a new one if you notice anything else looking weird or have any suggestions in the future.

Nice! Glad to hear the update helped. I'm going to close this issue, but feel free to open a new one if you notice anything else looking weird or have any suggestions in the future.


Add lifetime parameterization to async IPC reader

Closes #850.
Pretty small ergonomic change.

Ahhhh, you won the war I started (and I lost a battle with) the compiler. Thank you! 🙇


proxyports: Sleep a bit longer in tests

Use require.Eventually to wait for the proxy port to be released for up to 100 ms in order to avoid test flakes like:
time="2024-12-05T10:03:53.750539537Z" level=info msg="Adding new proxy port rules for listener1:14623" id=listener1 subsys=proxy
proxyports_test.go:155:
Error Trace:	/host/pkg/proxy/proxyports/proxyports_test.go:155
Error:      	Not equal:
expected: 0
actual  : 1
Test:       	TestPortAllocator

/test

/test

/test

Did you run the test with go test -race ./pkg/proxy/proxyports? Reports a bunch of data races for me :/
time="2024-12-05T14:13:00.929953223+01:00" level=info msg="Adding new proxy port rules for listener1:13369" id=listener1 subsys=proxy
==================
WARNING: DATA RACE
Read at 0x00c0007ae018 by goroutine 20:
  github.com/cilium/cilium/pkg/proxy/proxyports.TestPortAllocator()
      /home/david/wrk/cilium/pkg/proxy/proxyports/proxyports_test.go:116 +0xe80
  testing.tRunner()
      /usr/lib/golang/src/testing/testing.go:1690 +0x184
  testing.(*T).Run.gowrap1()
      /usr/lib/golang/src/testing/testing.go:1743 +0x40

Previous write at 0x00c0007ae018 by goroutine 25:
  github.com/cilium/cilium/pkg/proxy/proxyports.(*ProxyPorts).releaseProxyPort.func1()
      /home/david/wrk/cilium/pkg/proxy/proxyports/proxyports.go:363 +0x134

Goroutine 20 (running) created at:
  testing.(*T).Run()
      /usr/lib/golang/src/testing/testing.go:1743 +0x5e0
  testing.runTests.func1()
      /usr/lib/golang/src/testing/testing.go:2168 +0x80
  testing.tRunner()
      /usr/lib/golang/src/testing/testing.go:1690 +0x184
  testing.runTests()
      /usr/lib/golang/src/testing/testing.go:2166 +0x6e0
  testing.(*M).Run()
      /usr/lib/golang/src/testing/testing.go:2034 +0xb74
  main.main()
      _testmain.go:45 +0x110

Goroutine 25 (finished) created at:
  github.com/cilium/cilium/pkg/proxy/proxyports.(*ProxyPorts).releaseProxyPort()
      /home/david/wrk/cilium/pkg/proxy/proxyports/proxyports.go:357 +0x1f0
  github.com/cilium/cilium/pkg/proxy/proxyports.TestPortAllocator()
      /home/david/wrk/cilium/pkg/proxy/proxyports/proxyports_test.go:113 +0xddc
  testing.tRunner()
      /usr/lib/golang/src/testing/testing.go:1690 +0x184
  testing.(*T).Run.gowrap1()
      /usr/lib/golang/src/testing/testing.go:1743 +0x40
==================
[...] many more races
--- FAIL: TestPortAllocator (10.05s)
    testing.go:1399: race detected during execution of test
FAIL
FAIL	github.com/cilium/cilium/pkg/proxy/proxyports	10.132s
FAIL

Did you run the test with go test -race ./pkg/proxy/proxyports? Reports a bunch of data races for me :/

Unfortunately I did not run the test with -race, and this one merged already. Fix in: https://github.com/cilium/cilium/pull/36399


<EMAIL_ADDRESS>error

Issue
When I want to use this library as a dependency or even check it out, I get an error on the<EMAIL_ADDRESS>library.
Setup:
deno --version
deno 1.9.1 (release, x86_64-apple-darwin)
v8 9.1.269.5
typescript 4.2.2

Details
error: TS2612 [ERROR]: Property 'resolve' will overwrite the base property in 'Deferred<undefined>'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
    public readonly resolve!: () => void;
                    ~~~~~~~
    at https://deno.land/x/evt@v1.9.12/tools/Deferred.ts:57:21
make: *** [build] Error 1

Hi @v0d1n  👋
Thanks for raising this - it's a known issue impacting a few repos following the Deno 1.9.0 release but fortunately has a known fix ( just upgrading dependencies hopefully! ). Will hopefully have time to make the changes and release a fixed version soon!

Hi @v0d1n, please can you try 1.3.0 and see if it resolves your issue. If not then please feel free to re-open with further information!


youtube-dl doesn't allow me to download my selected resolution and audio

I'm using Kali Linux based on Debian
codingonsteroid@DESKTOP-UU4FRL9:/mnt/c/Users/antpc/FASTAI-NEW$ youtube-dl -f 137+250 https://www.youtube.com/playlist?li
st=PLfYUBJiXbdtRL3FMB3GoWHRI8ieU6FhfM
[youtube:playlist] PLfYUBJiXbdtRL3FMB3GoWHRI8ieU6FhfM: Downloading webpage
[download] Downloading playlist: Practical Deep Learning for Coders (2020)
[youtube:playlist] playlist Practical Deep Learning for Coders (2020): Downloading 8 videos
[download] Downloading video 1 of 8
[youtube] _QUEXsHfsA0: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Lesson 1 - Deep Learning for Coders (2020)-_QUEXsHfsA0.f137.mp4
[download] 100% of 178.27MiB in 01:05
[download] Destination: Lesson 1 - Deep Learning for Coders (2020)-_QUEXsHfsA0.f250.webm
[download] 100% of 40.85MiB in 00:14
[ffmpeg] Merging formats into "Lesson 1 - Deep Learning for Coders (2020)-_QUEXsHfsA0.mkv"
Deleting original file Lesson 1 - Deep Learning for Coders (2020)-_QUEXsHfsA0.f137.mp4 (pass -k to keep)
Deleting original file Lesson 1 - Deep Learning for Coders (2020)-_QUEXsHfsA0.f250.webm (pass -k to keep)
[download] Downloading video 2 of 8
[youtube] BvHmRx14HQ8: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
ERROR: unable to download video data: <urlopen error [Errno 104] Connection reset by peer>

Network issue on your side.


feature: parse the port of supernode from --node flag of dfget

Signed-off-by: Starnop<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
related pr: #586
backport to branch 0.3.x
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #590 into 0.3.x will decrease coverage by 0.14%.
The diff coverage is 65.21%.

@@            Coverage Diff             @@
##            0.3.x     #590      +/-   ##
==========================================
- Coverage   53.36%   53.22%   -0.15%
==========================================
  Files          56       57       +1
  Lines        3030     3055      +25
==========================================
+ Hits         1617     1626       +9
- Misses       1332     1347      +15
- Partials       81       82       +1

Impacted Files
Coverage Δ

cmd/dfget/app/root.go
63.05% <0%> (-5.22%)
:arrow_down:

dfget/core/api/supernode_api.go
100% <100%> (ø)
:arrow_up:

dfget/core/core.go
56.52% <100%> (-0.8%)
:arrow_down:

dfget/core/regist/register.go
97.72% <100%> (ø)
:arrow_up:

dfget/util/net_util.go
76.47% <76.47%> (ø)

Continue to review full report at Codecov.

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

LGTM.


feat/default-v3

Given that latest releases of envoy have dropped support for the v2 api and that envoy 1.18.3 is currently MARIN3R's default, set v3 as the default API to use.
I also deleted some unused code that was still around.
/kind feature
/priority important-soon
/assign

/ok-to-test

/ok-to-test

/lgtm

/ok-to-test

/lgtm

/approve


fix: add handleListenEnter on Inputfield for listening enter

Proposed changes
Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

Cloned and tested. Works Great! Thanks for the contribution :+1:

Hi @kala2 , Can you resolve these merge conflicts?

@kala2 there are some merge conflicts.

Hi @kala2, Thanks for this PR As part of the clean-up process, we are going to close this PR by the end of this week. Please Let me know if you want to work on this PR.

Hi @kala2, I am closing this PR. Just put a comment if you want to work on this, we can re-open this PR. Thanks.a


Homepage > Patterns Section > Image Link Resized

Signed-off-by: Krishna Gupta<EMAIL_ADDRESS>Description
Removed an unwanted class on the patterns section on the home page and added some CSS styles on existing class.
This PR fixes #845
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

On chrome and brave.


Support for multiple IDP(s)

I have the example application integrated into my application, however, I need to be able to support multiple Identity Providers, the example pretty much intercepts all requests and assumes that it needs to authenticate with Graph
How can I layer in support for multiple providers (Graph, Google and forms authentication - fallback for internal admin users that do not have either)
Ideally I should be able to let the user decide what identity provider to use - therefore the application should be able to handle that situation.

Hi Whatty. This sample's primary purpose is to get people up and running with Microsoft Graph, which accounts for its current structure. We'll look for alternative ASP.NET architectures that might help you with your problem and get back to you, but this also might be a good question for Stack Overflow.

The ease of integration of the into my application makes the example nice - I just need a little more control over the behavior and allow for a more flexible model. Is the code for the Graph API open-source - if so I can simulate what I was doing previously with the Forms Authentication token and simulate what the library is doing and it shouldn't be any the wiser.
I have also taken a look at the JS only solution (ADAL.js) and am thinking I can use that to to get the authentication with Windows Live to work, and then pass the corresponding token to my MVC application, simulating a Forms authentication (so my app continues to work) but store that token for usage with the API calls - but I am not sure if that is possible because I haven't looked in detail at those calls yet.
In the short-term, I can go with a single IDP since our first clients getting this upgraded version will not have a requirement for multiple IDP(s) but this will be a quick follow-on

Thanks for the feedback and for detailing how you're working through the solution. You can see the Graph SDK source here: https://github.com/microsoftgraph/msgraph-sdk-dotnet
Closing for now. Please open another issue if you run into other problems with the sample.


Obtaining correct CASSCF energies for Co 2+ ion.

Hello, I have been trying to generate state averaged CASSCF energies for Co(II) ion but it seems like my energies are getting messed up. I am using DFT-b3lyp orbitals for Co(3-) calculation as my initial guess orbitals for Co(II) SA-CASSCF calculations using the d-orbitals as my active space.  All calculations were performed using def2-TZVP basis set. The number of roots I am requesting for is 50. I am pasting below my input. It'd be great if I could get some guidance. Thank you.
import numpy as np
import math
import pyscf.gto
import pyscf.scf
import pyscf.mcscf
import pyscf.fci
np.set_printoptions(linewidth=150, edgeitems=10, suppress=True)
basis = 'def2-tzvp'
#print ("Basis set: %s" % basis)
mol = pyscf.gto.Mole()
mol.verbose = 4
mol.atom = [
['Co', ( 0., 0.    , 0.0)],
]
mol.basis = basis
mol.symmetry = False
mol.spin = 0
mol.charge = -3
mol.build()
mf = pyscf.scf.KS(mol)
mf.xc = 'b3lyp'
mf.conv_tol = 1e-12
ehf = mf.scf()
mf.analyze()
mo_init_guess = mf.mo_coeff
print ("SCF energy: %f\n" % ehf)
mol2 = pyscf.gto.Mole()
mol2.verbose = 4
mol2.atom = [
['Co', ( 0., 0.    , 0.0)],
]
mol2.basis = basis
mol2.symmetry = False
mol2.spin = 3
mol2.charge = 2
mol2.build()
mf = pyscf.scf.ROHF(mol2)
mf.conv_tol = 1e-12
#mf.xc = 'b3lyp'
ehf = mf.scf()
mf.analyze()
Run SA-CASSCF
nroots = 50
ncas = 5
nelecas = 7
weight_same = (1.0/nroots, ) * nroots
solver1 = pyscf.fci.direct_spin1.FCI(mol2)
solver1.spin = 3
solver1 = pyscf.fci.addons.fix_spin(solver1, ss=3.75)
solver1.nroots = 10
weight1 = [1.0/(2solver1.nroots), ] * solver1.nroots
solver2 = pyscf.fci.direct_spin1.FCI(mol2)
solver2.spin = 1
solver2 = pyscf.fci.addons.fix_spin(solver2, ss=0.75)
solver2.nroots = 40
weight2 = [1.0/(2solver2.nroots), ] * solver2.nroots
weight_diff = tuple(weight1 + weight2)
mc = pyscf.mcscf.CASSCF(mf, ncas, nelecas)
mo = pyscf.mcscf.project_init_guess(mc, mo_init_guess)
mc = pyscf.mcscf.state_average_mix_(mc, [solver1, solver2], weight_diff)
mc.conv_tol = 1e-10
mc.conv_tol_grad = 5e-7
mc.max_cycle_macro = 100
mc.davidson_only = False
mc.pspace_size = 6000
emc = mc.mc1step(mo)[0]
mc.analyze()

Hi, providing an output file will be more useful for people to figure out your problem.

******** <class 'pyscf.dft.rks.RKS'> ********
method = RKS-RHF
initial guess = minao
damping factor = 0
level_shift factor = 0
DIIS = <class 'pyscf.scf.diis.CDIIS'>
diis_start_cycle = 1
diis_space = 8
SCF conv_tol = 1e-12
SCF conv_tol_grad = None
SCF max_cycles = 100
direct_scf = True
direct_scf_tol = 1e-13
chkfile to save SCF result = /scratch/local/tmpc82us55s
max_memory 4000 MB (current use 64 MB)
XC library pyscf.dft.xcfun version 2.1.1
XCFun DFT library Copyright 2009-2020 Ulf Ekstrom and contributors.
See http://dftlibs.org/xcfun/ for more information.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details see the documentation.
Scientific users of this library should cite
U. Ekstrom, L. Visscher, R. Bast, A. J. Thorvaldsen and K. Ruud;
J.Chem.Theor.Comp. 2010, DOI: 10.1021/ct100117s
XC functionals = b3lyp
radial grids:
Treutler-Ahlrichs [JCP 102, 346 (1995); DOI:10.1063/1.469408] (M4) radial grids
becke partition: Becke, JCP 88, 2547 (1988); DOI:10.1063/1.454033
pruning grids: <function nwchem_prune at 0x7f8b80819ea0>
grids dens level: 3
symmetrized grids: False
atomic radii adjust function: <function treutler_atomic_radii_adjust at 0x7f8b80819e18>
cycle= 12 E= -1381.78868884077  delta_E= -1.49  |g|= 0.549  |ddm|= 1.81
HOMO = 0.602474910606381  LUMO = 0.766650202012564
cycle= 13 E= -1381.81369620053  delta_E= -0.025  |g|= 0.345  |ddm|= 0.384
HOMO = 0.593238355052027  LUMO = 0.763271192854558
cycle= 14 E= -1381.82649954913  delta_E= -0.0128  |g|= 0.0475  |ddm|= 0.122
HOMO = 0.591461704364517  LUMO = 0.762352167298805
cycle= 15 E= -1381.82675970033  delta_E= -0.00026  |g|= 0.00224  |ddm|= 0.0253
HOMO = 0.591410786949229  LUMO = 0.762347225857483
cycle= 16 E= -1381.82676024757  delta_E= -5.47e-07  |g|= 2.65e-05  |ddm|= 0.0016
HOMO = 0.591410934482258  LUMO = 0.762346759907528
cycle= 17 E= -1381.82676024764  delta_E= -7.41e-11  |g|= 1.03e-06  |ddm|= 2.22e-05
HOMO = 0.591410967930839  LUMO = 0.762346771512445
cycle= 18 E= -1381.82676024764  delta_E= 2.27e-13  |g|= 1.05e-08  |ddm|= 9.89e-07
HOMO = 0.591410964313635  LUMO = 0.762346770103791
Extra cycle  E= -1381.82676024764  delta_E= -1.36e-12  |g|= 1.01e-07  |ddm|= 4.39e-08
converged SCF energy = -1381.82676024764
**** SCF Summaries ****
Total Energy =                       -1381.826760247641460
Nuclear Repulsion Energy =               0.000000000000000
One-electron Energy =                -1938.838750810812144
Two-electron Coulomb Energy =<PHONE_NUMBER>50798296
DFT Exchange-Correlation Energy =      -59.722319787627590
**** MO energy ****
MO #1   energy= -276.677418397401  occ= 2
MO #2   energy= -31.9592012391781  occ= 2
MO #3   energy= -27.6060688244335  occ= 2
MO #4   energy= -27.6060688244335  occ= 2
MO #5   energy= -27.6060688244335  occ= 2
MO #6   energy= -2.83988495926878  occ= 2
MO #7   energy= -1.52460019854002  occ= 2
MO #8   energy= -1.52460019854001  occ= 2
MO #9   energy= -1.52460019854001  occ= 2
MO #10  energy= 0.452384106467204  occ= 2
MO #11  energy= 0.591410964313627  occ= 2
MO #12  energy= 0.59141096431363   occ= 2
MO #13  energy= 0.59141096431363   occ= 2
MO #14  energy= 0.591410964313633  occ= 2
MO #15  energy= 0.591410964313635  occ= 2
MO #16  energy= 0.762346770103791  occ= 0
MO #17  energy= 0.764131925858702  occ= 0
MO #18  energy= 0.764131925858702  occ= 0
MO #19  energy= 0.76413192585871   occ= 0
MO #20  energy= 0.804024199416955  occ= 0
MO #21  energy= 0.804024199416964  occ= 0
MO #22  energy= 0.804024199416967  occ= 0
MO #23  energy= 0.804024199416968  occ= 0
MO #24  energy= 0.804024199416969  occ= 0
MO #25  energy= 1.73324981108308   occ= 0
MO #26  energy= 1.73324981108309   occ= 0
MO #27  energy= 1.73324981108309   occ= 0
MO #28  energy= 1.7332498110831    occ= 0
MO #29  energy= 1.7332498110831    occ= 0
MO #30  energy= 2.61978763645989   occ= 0
MO #31  energy= 2.6197876364599    occ= 0
MO #32  energy= 2.61978763645992   occ= 0
MO #33  energy= 3.60157581908288   occ= 0
MO #34  energy= 4.62969776934204   occ= 0
MO #35  energy= 4.62969776934205   occ= 0
MO #36  energy= 4.62969776934205   occ= 0
MO #37  energy= 4.62969776934206   occ= 0
MO #38  energy= 4.62969776934206   occ= 0
MO #39  energy= 5.71673163390673   occ= 0
MO #40  energy= 5.71673163390674   occ= 0
MO #41  energy= 5.71673163390675   occ= 0
MO #42  energy= 5.71673163390675   occ= 0
MO #43  energy= 5.71673163390675   occ= 0
MO #44  energy= 5.71673163390676   occ= 0
MO #45  energy= 5.71673163390676   occ= 0
** Mulliken pop on meta-lowdin orthogonal AOs  **
** Mulliken pop  **
pop of  0 Co 1s        1.99999
pop of  0 Co 2s        1.99979
pop of  0 Co 3s        1.99931
pop of  0 Co 4s        1.62756
pop of  0 Co 5s        0.21126
pop of  0 Co 6s        0.16210
pop of  0 Co 2px       1.99997
pop of  0 Co 2py       1.99997
pop of  0 Co 2pz       1.99997
pop of  0 Co 3px       1.99976
pop of  0 Co 3py       1.99976
pop of  0 Co 3pz       1.99976
pop of  0 Co 4px       0.00021
pop of  0 Co 4py       0.00021
pop of  0 Co 4pz       0.00021
pop of  0 Co 5px       0.00006
pop of  0 Co 5py       0.00006
pop of  0 Co 5pz       0.00006
pop of  0 Co 3dxy      1.81908
pop of  0 Co 3dyz      1.81908
pop of  0 Co 3dz^2     1.81908
pop of  0 Co 3dxz      1.81908
pop of  0 Co 3dx2-y2    1.81908
pop of  0 Co 4dxy      0.09645
pop of  0 Co 4dyz      0.09645
pop of  0 Co 4dz^2     0.09645
pop of  0 Co 4dxz      0.09645
pop of  0 Co 4dx2-y2    0.09645
pop of  0 Co 5dxy      0.06233
pop of  0 Co 5dyz      0.06233
pop of  0 Co 5dz^2     0.06233
pop of  0 Co 5dxz      0.06233
pop of  0 Co 5dx2-y2    0.06233
pop of  0 Co 6dxy      0.02214
pop of  0 Co 6dyz      0.02214
pop of  0 Co 6dz^2     0.02214
pop of  0 Co 6dxz      0.02214
pop of  0 Co 6dx2-y2    0.02214
pop of  0 Co 4f-3      0.00000
pop of  0 Co 4f-2      0.00000
pop of  0 Co 4f-1      0.00000
pop of  0 Co 4f 0      0.00000
pop of  0 Co 4f 1      0.00000
pop of  0 Co 4f 2      0.00000
pop of  0 Co 4f 3      0.00000
** Mulliken atomic charges  **
charge of  0Co =     -3.00000
Dipole moment(X, Y, Z, Debye):  0.00000, -0.00000,  0.00000
SCF energy: -1381.826760
******** <class 'pyscf.mcscf.addons._state_average_mcscf_solver..StateAverageMCSCF'> ********
CAS (5e+2e, 5o), ncore = 9, nvir = 31
max_cycle_macro = 100
max_cycle_micro = 4
conv_tol = 1e-10
conv_tol_grad = 5e-07
orbital rotation max_stepsize = 0.02
augmented hessian ah_max_cycle = 30
augmented hessian ah_conv_tol = 1e-12
augmented hessian ah_linear dependence = 1e-14
augmented hessian ah_level shift = 1e-08
augmented hessian ah_start_tol = 2.5
augmented hessian ah_start_cycle = 3
augmented hessian ah_grad_trust_region = 3
kf_trust_region = 3
kf_interval = 4
ci_response_space = 4
ci_grad_trust_region = 3
with_dep4 0
natorb = False
canonicalization = True
sorting_mo_energy = False
ao2mo_level = 2
chkfile = /scratch/local/tmpzvzcp481
max_memory 4000 MB (current use 150 MB)
internal_rotation = False
******** <class 'pyscf.mcscf.addons.state_average_mix..FakeCISolver'> ********
max. cycles = 50
conv_tol = 1e-08
davidson only = False
linear dependence = 1e-10
level shift = 0.001
max iter space = 12
max_memory 4000 MB
nroots = 50
pspace_size = 400
spin = None
CASCI E = -1376.98874154399  S^2 = 2.4750000
macro iter 1 (21 JK  4 micro), CASSCF E = -1378.84808171965  dE = -1.8593402  S^2 = 2.4750000
|grad[o]|= 3.75  |grad[c]|= None  |ddm|=0.00654
macro iter 2 (21 JK  4 micro), CASSCF E = -1379.66385919315  dE = -0.81577747  S^2 = 2.4750000
|grad[o]|= 2.07  |grad[c]|= None  |ddm|=0.0215
macro iter 3 (21 JK  4 micro), CASSCF E = -1379.91103191956  dE = -0.24717273  S^2 = 2.4750000
|grad[o]|=0.926  |grad[c]|= None  |ddm|=0.0191
macro iter 4 (21 JK  4 micro), CASSCF E = -1379.95354584406  dE = -0.042513925  S^2 = 2.4750000
|grad[o]|=0.328  |grad[c]|= None  |ddm|=0.0119
macro iter 5 (12 JK  3 micro), CASSCF E = -1379.95609843452  dE = -0.0025525905  S^2 = 2.4750000
|grad[o]|=0.0753  |grad[c]|= None  |ddm|=0.00437
macro iter 6 (9 JK  3 micro), CASSCF E = -1379.95611001581  dE = -1.1581288e-05  S^2 = 2.4750000
|grad[o]|=0.011  |grad[c]|= None  |ddm|=0.000242
macro iter 7 (7 JK  2 micro), CASSCF E = -1379.95619089773  dE = -8.0881916e-05  S^2 = 2.4750000
|grad[o]|=0.00222  |grad[c]|= None  |ddm|=0.00549
macro iter 8 (7 JK  2 micro), CASSCF E = -1379.95635792594  dE = -0.00016702821  S^2 = 2.4750000
|grad[o]|=0.00468  |grad[c]|= None  |ddm|=0.00733
macro iter 9 (15 JK  4 micro), CASSCF E = -1379.95656265479  dE = -0.00020472885  S^2 = 2.4750000
|grad[o]|=0.00698  |grad[c]|= None  |ddm|=0.0127
macro iter 10 (12 JK  3 micro), CASSCF E = -1379.95660802538  dE = -4.5370586e-05  S^2 = 2.4750000
|grad[o]|=0.00866  |grad[c]|= None  |ddm|=0.00411
macro iter 11 (8 JK  2 micro), CASSCF E = -1379.9566113838  dE = -3.3584249e-06  S^2 = 2.4750000
|grad[o]|=0.00214  |grad[c]|= None  |ddm|=0.00094
macro iter 12 (16 JK  4 micro), CASSCF E = -1379.95661831571  dE = -6.9319071e-06  S^2 = 2.4750000
|grad[o]|=0.00129  |grad[c]|= None  |ddm|=0.00232
macro iter 13 (17 JK  4 micro), CASSCF E = -1379.9566186686  dE = -3.5288849e-07  S^2 = 2.4750000
|grad[o]|=0.000847  |grad[c]|= None  |ddm|=0.000353
macro iter 14 (14 JK  4 micro), CASSCF E = -1379.9566186718  dE = -3.2066509e-09  S^2 = 2.4750000
|grad[o]|=2.21e-05  |grad[c]|= None  |ddm|=5.42e-05
macro iter 15 (32 JK  3 micro), CASSCF E = -1379.95661867181  dE = -6.3664629e-12  S^2 = 2.4750000
|grad[o]|=1.27e-06  |grad[c]|= None  |ddm|=2.28e-06
macro iter 16 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 9.094947e-13  S^2 = 2.4750000
|grad[o]|=6.23e-07  |grad[c]|= None  |ddm|=1.66e-15
macro iter 17 (17 JK  1 micro), CASSCF E = -1379.95661867181  dE = -4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=7.05e-16
macro iter 18 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.41e-15
macro iter 19 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.07e-15
macro iter 20 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.88e-15
macro iter 21 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=7.21e-16
macro iter 22 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.53e-15
macro iter 23 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.1e-15
macro iter 24 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=9.51e-16
macro iter 25 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.02e-15
macro iter 26 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=8.63e-16
macro iter 27 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.04e-15
macro iter 28 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.9e-15
macro iter 29 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.53e-15
macro iter 30 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=8.34e-16
macro iter 31 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.24e-15
macro iter 93 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=8.08e-16
macro iter 94 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=7.1e-16
macro iter 95 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.45e-15
macro iter 96 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 4.5474735e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=8.07e-16
macro iter 97 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=5.5e-16
macro iter 98 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 0  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.06e-15
macro iter 99 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = 2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.14e-15
macro iter 100 (1 JK  1 micro), CASSCF E = -1379.95661867181  dE = -2.2737368e-13  S^2 = 2.4750000
|grad[o]|=6.47e-07  |grad[c]|= None  |ddm|=1.18e-15
1-step CASSCF not converged, 100 macro (334 JK 135 micro) steps
CASSCF canonicalization
Density matrix diagonal elements [1.32503139 1.4073666  1.4053916  1.42616209 1.43604832]
CASSCF energy = -1379.95661867181
CASCI E = -1379.95661867181  E(CI) = -27.5870408162682  S^2 = 2.4750000
CASCI state-averaged energy = -1379.95661867181
CASCI energy for each state
State 0 weight 0.05  E = -1380.23549109516 S^2 = 3.7500000
State 1 weight 0.05  E = -1380.2109773823 S^2 = 3.7500000
State 2 weight 0.05  E = -1380.2109773823 S^2 = 3.7500000
State 3 weight 0.05  E = -1380.17351265936 S^2 = 3.7500000
State 4 weight 0.05  E = -1380.17350816135 S^2 = 3.7500000
State 5 weight 0.05  E = -1380.09313035479 S^2 = 3.7500000
State 6 weight 0.05  E = -1379.73259889663 S^2 = 3.7500000
State 7 weight 0.05  E = -1379.73259578021 S^2 = 3.7500000
State 8 weight 0.05  E = -1379.69608975185 S^2 = 3.7500000
State 9 weight 0.05  E = -1379.69608974896 S^2 = 3.7500000
State 10 weight 0.0125  E = -1380.28773406277 S^2 = 0.7500000
State 11 weight 0.0125  E = -1380.2877340609 S^2 = 0.7500000
State 12 weight 0.0125  E = -1380.20820721204 S^2 = 0.7500000
State 13 weight 0.0125  E = -1380.20331897594 S^2 = 0.7500000
State 14 weight 0.0125  E = -1380.20331196376 S^2 = 0.7500000
State 15 weight 0.0125  E = -1380.18368945665 S^2 = 0.7500000
State 16 weight 0.0125  E = -1380.18368945665 S^2 = 0.7500000
State 17 weight 0.0125  E = -1380.16954764477 S^2 = 0.7500000
State 18 weight 0.0125  E = -1380.16954764477 S^2 = 0.7500000
State 19 weight 0.0125  E = -1380.15420654194 S^2 = 0.7500000
State 20 weight 0.0125  E = -1380.14624174782 S^2 = 0.7500000
State 21 weight 0.0125  E = -1380.1462372567 S^2 = 0.7500000
State 22 weight 0.0125  E = -1380.11778272731 S^2 = 0.7500000
State 23 weight 0.0125  E = -1380.11778068561 S^2 = 0.7500000
State 24 weight 0.0125  E = -1380.0803929032 S^2 = 0.7500000
State 25 weight 0.0125  E = -1380.0803929032 S^2 = 0.7500000
State 26 weight 0.0125  E = -1380.06586820537 S^2 = 0.7500000
State 27 weight 0.0125  E = -1380.01002056964 S^2 = 0.7500000
State 28 weight 0.0125  E = -1380.01002056922 S^2 = 0.7500000
State 29 weight 0.0125  E = -1379.93549109516 S^2 = 3.7500000
State 30 weight 0.0125  E = -1379.9109773823 S^2 = 3.7500000
State 31 weight 0.0125  E = -1379.9109773823 S^2 = 3.7500000
State 32 weight 0.0125  E = -1379.89449898935 S^2 = 0.7500000
State 33 weight 0.0125  E = -1379.87351265936 S^2 = 3.7500000
State 34 weight 0.0125  E = -1379.87350816135 S^2 = 3.7500000
State 35 weight 0.0125  E = -1379.79313035479 S^2 = 3.7500000
State 36 weight 0.0125  E = -1379.66312461787 S^2 = 0.7500000
State 37 weight 0.0125  E = -1379.66312461787 S^2 = 0.7500000
State 38 weight 0.0125  E = -1379.6563490684 S^2 = 0.7500000
State 39 weight 0.0125  E = -1379.65634906524 S^2 = 0.7500000
State 40 weight 0.0125  E = -1379.63513799544 S^2 = 0.7500000
State 41 weight 0.0125  E = -1379.63513723074 S^2 = 0.7500000
State 42 weight 0.0125  E = -1379.62564374214 S^2 = 0.7500000
State 43 weight 0.0125  E = -1379.62564374214 S^2 = 0.7500000
State 44 weight 0.0125  E = -1379.60280500634 S^2 = 0.7500000
State 45 weight 0.0125  E = -1379.60280367814 S^2 = 0.7500000
State 45 weight 0.0125  E = -1379.60280367814 S^2 = 0.7500000
State 46 weight 0.0125  E = -1379.58813361842 S^2 = 0.7500000
State 47 weight 0.0125  E = -1379.58813361842 S^2 = 0.7500000
State 48 weight 0.0125  E = -1379.57470114061 S^2 = 0.7500000
State 49 weight 0.0125  E = -1379.57470113857 S^2 = 0.7500000
Natural occ [1.44222921 1.44222539 1.39525859 1.39525858 1.32502823]

I have pasted the output above. My input file states it to give me 10 states with S^2 = 3.75 and 40 states with S^2 = 0.75. Also, comparing the CASSCF energies for the 50 states, I do not see any degeneracy that I expect for Co(II) ion.

I don't know what kind of degeneracy are you expecting exactly, but there are still a good amount of degenray states right?

Yes, it shows some. But the Co(II) has 4F term as its ground state, so it should be showing a 7-fold degenerate states and then there are 4P, 2G states which I'd expect to show their respective degeneracies. That's why I was thinking of how to get the CASSCF states accounted for.

However, the PySCF calculations are restricted to the m_s subshell specified by the spin; it doesn't reproduce the multiplets. Also, the basis functions are real spherical harmonics, not complex spherical harmonics, which might also affect the results.

I simply use the UHF natural orbitals (UNO) as the initial guess for SA-CASSCF calculations, and find the results look normal, i.e. 7 lowest states with S^2 = 3.75, then 3 states with S^2 = 3.75, 9 states with S^2 = 0.75, etc. Here is my calcualtions:
Step 1. Get UNO using Gaussian program
(I do not know how to easily obtain UNO using PySCF, maybe someone can show a simple example to me)
The Co2+.gjf file is
%chk=Co2+.chk
#p UHF/def2TZVP nosymm int=nobasistransform stable=opt

title

2 4
Co   0.0   0.0   0.0

--Link1--
%chk=Co2+.chk
#p UHF chkbasis guess(read,only,save,NaturalOrbitals) geom=allcheck nosymm int=nobasistransform

After computation finished, we obtain Co2+.chk. Now run
formchk Co2+.chk Co2+.fch
fch_u2r Co2+.fch
bas_fch2py Co2+_r.fch

I use the utility fch_u2r to delete Beta MO information in Co2+.fch file, since Gaussian has a tiny bug in storing UNOs into fch file (useless Beta MO information). Then the utility bas_fch2py is used to generate Co2+_r.py for following PySCF computation. Two utilities fch_u2r and bas_fch2py can be freely download at MOKIT.
Step 2. Simply modify the .py script
Append SA-CASSCF keywords in Co2+_r.py
from pyscf import mcscf
(not shown for brevity)
mc = mcscf.CASSCF(mf, 5, (5,2))
mc.verbose = 5
mc = mc.state_average_([1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0])
mc.kernel()
ave_mo = mc.mo_coeff.copy()

mc = mcscf.CASCI(mf, 5, (5,2))
mc.verbose = 5
mc.fcisolver.spin = 1
mc.fcisolver.nroots = 20
mc.kernel(ave_mo)

Step 3. Perform SA-CASSCF and multi-root CASCI calculations
The results are
CASCI converged
CASCI state 0  E = -1380.57046582305  E(CI) = -28.5798780998521  S^2 = 3.7500000
CASCI state 1  E = -1380.57046563871  E(CI) = -28.5798779155066  S^2 = 3.7500000
CASCI state 2  E = -1380.57046559792  E(CI) = -28.5798778747167  S^2 = 3.7500000
CASCI state 3  E = -1380.5704653852  E(CI) = -28.5798776619949  S^2 = 3.7500000
CASCI state 4  E = -1380.5704653081  E(CI) = -28.5798775849005  S^2 = 3.7500000
CASCI state 5  E = -1380.57046523822  E(CI) = -28.5798775150186  S^2 = 3.7500000
CASCI state 6  E = -1380.57046508628  E(CI) = -28.5798773630788  S^2 = 3.7500000
CASCI state 7  E = -1380.48411707858  E(CI) = -28.4935293553769  S^2 = 3.7500000
CASCI state 8  E = -1380.48411669018  E(CI) = -28.4935289669734  S^2 = 3.7500000
CASCI state 9  E = -1380.48411626282  E(CI) = -28.4935285396195  S^2 = 3.7500000
CASCI state 10  E = -1380.48363169675  E(CI) = -28.4930439735474  S^2 = 0.7500000
CASCI state 11  E = -1380.48363169337  E(CI) = -28.4930439701666  S^2 = 0.7500000
CASCI state 12  E = -1380.48363162956  E(CI) = -28.4930439063585  S^2 = 0.7500000
CASCI state 13  E = -1380.48363160211  E(CI) = -28.493043878904  S^2 = 0.7500000
CASCI state 14  E = -1380.48363154527  E(CI) = -28.4930438220661  S^2 = 0.7500000
CASCI state 15  E = -1380.4836315179  E(CI) = -28.4930437946973  S^2 = 0.7500000
CASCI state 16  E = -1380.48363151635  E(CI) = -28.4930437931473  S^2 = 0.7500000
CASCI state 17  E = -1380.48363147359  E(CI) = -28.4930437503831  S^2 = 0.7500000
CASCI state 18  E = -1380.48363146284  E(CI) = -28.4930437396395  S^2 = 0.7500000
CASCI state 19  E = -1380.45484898172  E(CI) = -28.4642612585196  S^2 = 0.7500000

@1234zou , your procedure can be simply done with PySCF as follows (I skipped the stability check for simplicity, which can also be done by PySCF)
from pyscf import lib, gto, scf, mcscf

lib.num_threads(8)

mol = gto.Mole(atom='''Co 0.0 0.0 0.0''', basis='def2-tzvp', charge=2, spin=3).build()

mf = scf.UHF(mol).kernel()

noon,uno = mcscf.addons.make_natural_orbitals(mf)

mc = mcscf.CASSCF(mf, 5, (5,2))
mc.mo_coeff = uno
mc.verbose = 5
mc = mc.state_average_([1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0,1e0/7e0])
mc.kernel()
ave_mo = mc.mo_coeff.copy()

mc = mcscf.CASCI(mf, 5, (5,2))
mc.verbose = 5
mc.fcisolver.spin = 1
mc.fcisolver.nroots = 20
mc.kernel(ave_mo)

Thank you so much for the help. The spatial degeneracy has been restored using the natural orbitals as my guess orbitals for the CASSCF calculations.

So the problem with the original input file was just that it used UB3LYP orbitals, while ROB3LYP would have worked? I.e. replace KS with ROKS.

So the problem with the original input file was just that it used UB3LYP orbitals, while ROB3LYP would have worked? I.e. replace KS with ROKS.

I don't think so. In the original input, the mo_init_guess came from a RB3LYP of Co with -3 charge, which is closed shell. In my and jxzou's solution, UHF natural orbitals (UNO) are used. There's no ROHF/ROKS orbital used in the above discussion, although UNO is quite close to ROHF orbital in this case.

Oh, okay. I guess the answer in that case is that the states used for the state average didn't have the correct symmetry..?
In any case, if you're doing atomic CASSCF, I would recommend skipping the initial SCF and just starting CASSCF from the atomic guess since those are fractionally occupied, spin-restricted orbitals that should be relatively close to the multi-determinant Hartree-Fock solution.


Discovery not working on Windows 8.1

Hi,
I'm developping an application on windows phone 8.1 and windows 8.1
I'm using Zerconf to discover a device. I installed it with nuget on each project (PCL, windows phone and windows).
The discover method is shared thrue a Portable Class Library.
Everything work fine on Windows phone but nothing is discovered on windows.
Here is the code :
IReadOnlyList hosts = await ZeroconfResolver.ResolveAsync("myservice");
foreach (IZeroconfHost host in hosts)
{
foreach (IService service in host.Services.Values)
{
System.Diagnostics.Debug.WriteLine(string.Format("ID : {0}, IPAddress : {1}, Name : {2}, Port : {3}", host.Id, host.IPAddress, host.DisplayName, service.Port));
}
}
There is no error, no exception, just an empty hosts.
Do you have an idea why ?
How can I diagnose the problem ?
Thank you

OK I found the solution (or the problem).
The capability "Private Networks (Client & Server)" has to be enabled.


Documentation for Fast Html

Hi,
I was not able to find documentation for Fast Html mode, only some comment from ago, that Fast Html is lower quality than Html-Css. Also was not able to find how to set it as default. I am not sure if we can use it in production or not. We don't want to use Html-Css + Fast Preview, because then math changes style 2 times, and it seems like flickering. Fast Html looks fine and switches only one time, but as I said I did not find if it can be used and displays everything correctly.

As discussed in the release announcement, the preview mode was included in the combined configuration files but both author and user can override this. For  documentation, see our documentation, in particular the CHTML-preview extension and the CommonHTML output.

On 3 February 2015 at 07:36, Peter Krautzberger<EMAIL_ADDRESS>wrote:

As discussed in the release announcement
http://www.mathjax.org/mathjax-v2-5-now-available/, the preview mode
was included in the combined configuration files but both author and user
can override this. For documentation, see our documentation
http://docs.mathjax.org, in particular the CHTML-preview extension
http://docs.mathjax.org/en/latest/options/CHTML-preview.html and the CommonHTML
output http://docs.mathjax.org/en/latest/options/CommonHTML.html.

Probably the new common HTML output should be listed  here?
http://docs.mathjax.org/en/latest/output.html
as the link you give above
http://docs.mathjax.org/en/latest/options/CommonHTML.html
is how to customise it rather than documenting it exists.
David

Ah, we missed that page...
I've filed a but upstream at https://github.com/mathjax/MathJax-docs/issues/91. Closing this here.

PS.

Fast Html looks fine and switches only one time, but as I said I did not find if it can be used and displays everything correctly.

FYI, the CommonHTML output is not yet on par with HTML-CSS or SVG, neither in terms of features nor in terms of layout quality.


LPC for paper

Even if it works great on paper, it doesn't use it's possibilities, so maybe you could make another plugin, with the same functionality, which uses minimessages, and maybe other paper api
like there already are people who would like to see hover texts in their prefixes, and other
since your plugin tends to be extremely small and lightweight, i don't think it's worth to make that plugin support both

Hey, I'm already preparing a new plugin for the chat format. It will use MiniMessage and Hover/Clickable texts. I totally agree with you that this shouldn't be an LPC update and I plan to make this new resource premium. I would like to give it to you for free when it's launched as this will be a pilot project. Please contact me on Discord: BukkitSmurf#3388 and let me know what you think.


DoSampler: Fails when you Add a Graph to the Causal Model

Regards,
I noticed something that I do not understand at this stage:
The DoSampler works fine when you do not add a graph to your CausalModel object, but fails when you add a graph. To elaborate:
This model object, which I will name "a" and does not have a graph. It doesn't give you problems:
# Define causes, Outcomes and Common Causes
causes = ['v']
outcomes = ['y']
common_causes = ['x1',
                 'x4',
                 'x5',
                 'x6']

model = CausalModel(df,
                    causes,
                    outcomes,
                    common_causes=common_causes)

This model object, which I will name "b", has a graph as an input.  It gives you problems;
# Define causes, Outcomes and Common Causes
causes = ['v']
outcomes = ['y']
common_causes = ['x1',
                 'x4',
                 'x5',
                 'x6']
graph = "digraph {x1 -> y;v -> y;x6 -> y;x6 -> x5;x4 -> x5;}"

model = CausalModel(df,
                    causes,
                    outcomes,
                    common_causes=common_causes,
                    graph=graph)

To be specific the model object formulation named "b" gives you problems when you try to create the interventional dataframe as follows:
interventional_df = sampler.do_sample(None)
It gives you the following "value error":

ValueError: Found array with 0 feature(s) (shape=(46, 0)) while a minimum of 1 is required.

Why is this so?
Best
-C.

@cschiri In the second example if x1, x4,x5,x6 are common causes, shouldn't they influence both v and y in the causal graph?


Support Multi-Root Workspaces

👓 What did you see?
Not working in multi-root workspaces (only root folder works).
📦 Which tool/library version are you using?
node: 14.20.0
vscode: 1.69.2
@cucumber/cucumber : 8.5.1
extension version: 1.2.8
🔬 How could we reproduce it?
New Folder. Add:
add package.json
    "name": "testing",
    "private": true,
    "dependencies": {
        "@cucumber/cucumber": "^8.5.1"
    }
}

add foo.code-workspace
{
  "folders": [
    {
      "name": "[root]",
      "path": "."
    },
    {
      "name": "lib",
      "path": "lib",
    }
  ],
  "settings": {
    "cucumber.features": [
      "./spec/features/*.feature"
    ],
    "cucumber.glue": [
      "./spec/steps/**/*.step.ts"
    ]
  }

add ./lib/spec/features/test.feature
Feature: Demo
  Scenario: Check
    When the greeter says hello
    Then I should have heard "hello"

add ./lib/spec/steps/test.step.ts
import {When, Then} from '@cucumber/cucumber';

When('the greeter says hello', function () {
  this.msg = "hello;"
});

Then('I should have heard {string}', function (expectedResponse) {
  this.whatIHeard == expectedResponse;
});

Open as Workspace foo.code-workspace
Navigate to Lib Workspace Folder in the Explorer
Click on feature file to trigger index
📚 Any additional context?
Extension is unable to locate features or glue when in a workspace folder:
Info  - 14:14:22] Reindexing...
[Info  - 14:14:22] * Found 0 feature file(s) in ["./spec/features/*.feature"]
[Info  - 14:14:22] * Found 0 steps in those feature files
[Info  - 14:14:22] * Found 0 glue file(s) in ["./spec/steps/**/*.step.ts"]
[Info  - 14:14:22] * Found 0 parameter types in those glue files
[Info  - 14:14:22] * Found 0 step definitions in those glue files
[Info  - 14:14:22] * Built 0 suggestions for auto complete

Copy the spec folder into the [root] workspace and open the feature file via the root, and it will work:
[Info  - 14:24:37] Reindexing...
[Info  - 14:24:37] * Found 1 feature file(s) in ["./spec/features/*.feature"]
[Info  - 14:24:37] * Found 2 steps in those feature files
[Info  - 14:24:37] * Found 1 glue file(s) in ["./spec/steps/**/*.step.ts"]
[Info  - 14:24:37] * Found 0 parameter types in those glue files
[Info  - 14:24:37] * Found 2 step definitions in those glue files
[Info  - 14:24:37] * Built 2 suggestions for auto complete

Tried:
I tried prefixing the glob paths with ${workspaceFolder} but it didn't work.

nvm... this works:
"settings": {
    "cucumber.features": [
      "**/spec/features/*.feature"
    ],
    "cucumber.glue": [
      "**/spec/steps/**/*.step.ts"
    ]
  }

and it seems smart enough to link them depending on which workspace folder they're in (i.e. if you copy the lib folder a few times.
I suggest a quick change to the extension readme on how to deal with multi-root workspace

Marking issue as resolved due to configuration mentioned above using the ** glob pattern to look in all subdirectories of the root. For documentation, an alternative option is to specify glob paths to each of the individual subdirectories we want the extension to inspect.
"settings": {
    "cucumber.features": [
      "lib/spec/features/**/*.feature",
      "lib2/spec/features/**/*.feature"
    ],
    "cucumber.glue": [
      "lib/spec/steps/**/*.step.ts",
      "lib2/spec/steps/**/*.step.ts"
    ]
}


feat: add video timeline chart (FC-0024)

Here is a dataset and dashboard update to show a breakdown of which segments of videos were watched. There is an additional filter, scoped only to the video tab, to select a specific video. Here is a screenshot of the new chart:

Thanks for the pull request, @SoryRawyer!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@SoryRawyer 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


[NOID] Annotate unsafe procedures with @NotThreadSafe

Annotate unsafe procedures with @NotThreadSafe
Proposed Changes
When run with parallel runtime not all operations on injected instances of Transaction and GraphDatabaseService are supported. By annotating these with @NotThreadSafe we can avoid runtime failures and we detect already at planning that we cannot run these procedures with parallel runtime.
NOTE: the NotThreadSafe annotation has been merged in dev but I guess we need to wait for it to become available?

What's the criteria to mark something as not thread safe?
For example in coll.min, is it that we are trying to execute a transaction against the slotted runtime?
Is there any way we can test the changes are working correctly and that we haven't missed any annotations that are needed?

Not all operations on injected Transaction or GraphDatabaseService are supported. For example you are not allowed to initiate new transactions nor execute cypher statements when being called from the parallel runtime. In order to verify I think we would need to run all tests with all available runtimes but I don't see any easy way of doing this change here.


QoL improvements for IDEs and LSPs

Description
I ran into a few minor barbs working with units in the Toolkit using the PyRight LSP. PyRight includes a type checker that is generally stricter than MyPy and less pedantic than MyPy --strict, so I love it. This PR fixes those barbs.
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] Add __all__ to the exceptions module.

This helps IDEs understand that the exceptions are part of the public API.

[x] Make Quantity generic over its magnitude type.

This allows users to specify the magnitude type as part of a type annotation, which is very useful. Previously, an OpenFF Quantity was always a Quantity[Any].
MyPy seems to be fine with specifying a generic for a non-generic type, but Python itself is not (it causes a TypeError).

Status

[x] Ready to go

Codecov Report

Merging #41 (6608ec3) into main (b04bd4d) will decrease coverage by 48.30%.
The diff coverage is 75.00%.

Agree with you on star imports. I think the way to think about how __all__ functions in the tooling/IDE world is that it specifies the public API. Without it, the only way to distinguish a re-export from an import is to rename the import with a leading underscore (from x import y as _y). I think it's good to specify this, as it makes it clear what to document publicly, what we promise not to break, and it avoids cluttering people's autocompletes with our imports.

is this int vs. float vs numpy.ndarray, etc.?

Yeah exactly, the magnitude type is the data type wrapped by the quantity, the type you get when you call Quantity.magnitude() or Quantity.m():
box_vectors: Quantity[ArrayLike]
formal_charge: Quantity[float]

I see bracketed Quantitys and think of the length: FloatQuantity["nanometer"] = Field(..) annotations we have in most of our Pydantic models.

I would love this feature (though I'd want to specify dimensions and not units. Or both/either I guess), and there is an open issue for it on Pint, but it hasn't seen much attention recently. One day I want to specify types like box_vectors: Quantity["length", NDArray[(3, 3), float]]

would a type checker actually pick up on disobeying the original annotation?

It does for Pint quantities:
from openff.units import unit
from pint import Quantity as PintQuantity
from openff.units import Quantity as OpenFFQuantity
from numpy.typing import NDArray
import numpy as np

# Create pint quantities of ints and arrays
pint_quant_int = PintQuantity(1, unit.nanometer)
pint_quant_ary = PintQuantity(np.array([1]), unit.nanometer)
# Assign the above to annotated variables
pint_quant_int_annotated_ary: PintQuantity[NDArray] = pint_quant_int # Should not typecheck
pint_quant_int_annotated_int: PintQuantity[int] = pint_quant_int # Should typecheck
pint_quant_ary_annotated_ary: PintQuantity[NDArray] = pint_quant_ary # Should not typecheck
pint_quant_ary_annotated_int: PintQuantity[int] = pint_quant_ary # should typecheck

MyPy:
openff/units/type_test.py:11: error: Incompatible types in assignment (expression has type "Quantity[int]", variable has type "Quantity[ndarray[Any, dtype[Any]]]")
openff/units/type_test.py:14: error: Incompatible types in assignment (expression has type "Quantity[ndarray[Any, dtype[Any]]]", variable has type "Quantity[int]")
Found 2 errors in 1 file (checked 14 source files)

PyRight:
/home/joshmitchell/Documents/openff/units/openff/units/type_test.py
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:11:55 - error: Expression of type "Quantity[int]" cannot be assigned to declared type "Quantity[NDArray[Unknown]]"
    TypeVar "_MagnitudeType@Quantity" is invariant
      "int" is incompatible with "NDArray[Unknown]" (reportGeneralTypeIssues)
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:14:51 - error: Expression of type "Quantity[NDArray[Any]]" cannot be assigned to declared type "Quantity[int]"
    TypeVar "_MagnitudeType@Quantity" is invariant
      "NDArray[Any]" is incompatible with "int" (reportGeneralTypeIssues)

But I'm glad you brought this up explicitly because it seems MyPy and PyRight both seem not to like the way type annotations are inherited here:
from openff.units import unit
from pint import Quantity as PintQuantity
from openff.units import Quantity as OpenFFQuantity
from numpy.typing import NDArray
import numpy as np

# Same for OpenFF
openff_quant_int = OpenFFQuantity(1, unit.nanometer)
openff_quant_ary = OpenFFQuantity(np.array([1]), unit.nanometer)
openff_quant_int_annotated_ary: OpenFFQuantity[NDArray] = openff_quant_int
openff_quant_int_annotated_int: OpenFFQuantity[int] = openff_quant_int
openff_quant_ary_annotated_ary: OpenFFQuantity[NDArray] = openff_quant_ary
openff_quant_ary_annotated_int: OpenFFQuantity[int] = openff_quant_ary

# Try leaving off the generic
openff_quant_int_annotated_quant: OpenFFQuantity = openff_quant_int

MyPy can't seem to find the type annotation on the parent type:
openff/units/type_test.py:8: error: Need type annotation for "openff_quant_int"
openff/units/type_test.py:9: error: Need type annotation for "openff_quant_ary"
Found 2 errors in 1 file (checked 14 source files)

PyRight finds the type annotation, but seems not to accept OpenFFQuantity as an instance of PintQuantity, leading to confusing messages (it's also unhappy with the status quo):
/home/joshmitchell/Documents/openff/units/openff/units/type_test.py
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:10:59 - error: Expression of type "Quantity[int]" cannot be assigned to declared type "Quantity[NDArray[Unknown]]"
    "Quantity[int]" is incompatible with "Quantity[NDArray[Unknown]]" (reportGeneralTypeIssues)
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:11:55 - error: Expression of type "Quantity[int]" cannot be assigned to declared type "Quantity[int]"
    "pint.quantity.Quantity" is incompatible with "openff.units.units.Quantity" (reportGeneralTypeIssues)
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:12:59 - error: Expression of type "Quantity[NDArray[Any]]" cannot be assigned to declared type "Quantity[NDArray[Unknown]]"
    "Quantity[NDArray[Any]]" is incompatible with "Quantity[NDArray[Unknown]]" (reportGeneralTypeIssues)
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:13:55 - error: Expression of type "Quantity[NDArray[Any]]" cannot be assigned to declared type "Quantity[int]"
    "Quantity[NDArray[Any]]" is incompatible with "Quantity[int]" (reportGeneralTypeIssues)
  /home/joshmitchell/Documents/openff/units/openff/units/type_test.py:16:52 - error: Expression of type "Quantity[int]" cannot be assigned to declared type "Quantity[Unknown]"
    "Quantity[int]" is incompatible with "Quantity[Unknown]" (reportGeneralTypeIssues)
5 errors, 0 warnings, 0 informations

So I guess I jumped the gun on this PR and I need to figure out what's happening there! I'll take another look after I've finished the toolkit showcase PR.


Add Power Unit Tab

This is an overhaul of the original Propeller calculator with faster calculations, better UI and more

We have a lot to fix inside our pipeline to make Netlify deploys work. Merging for now


How to configure autopep8?

Hi, I am trying to use autopep8 but it doesn't work as I was expecting. When doing Code Format: Format Code some parts of my code are formatted and others aren't. I tried the autopep8 command in CLI and it formatted a lot more my code which is what I was looking for. I also tried using atom-beautify and it also did a lot more formatting.
So, I would like to know:

Why isn't ide-python formatting as much as autopep8 on CLI or atom-beautify?
Is there a configuration that is preventing ide-python to do this?
Is there a configuration file I should change (or create) to have the formatting I would like?

I am fairly new to autopep8 and I haven't used much this package but I think there should be a little more documentation on these topics as someone new to them. I feel a little lost on what steps to take to have this package working as I'd like.
Notes:
python -m pyls --help shows the desired output
I'm on macOS 10.13.6
Atom version 1.29.0
When seeing a Python file in Atom, pycodestyle shows a lot of errors that aren't corrected by the autopep8 setting.

autopep8 should use the pycodestyle config so there is no need to add a configuration file. The language server supports both formatting ranges as well as the entire document. So make sure no part of the file is selected when formatting code in order to format the whole document. Please also make sure that Yapf is disabled and autopep8 enabled in the settings. Otherwise Yapf would be used for the formatting.
I agree our documentation is currently lacking. This is mostly due to a lack of time. Do you want to send a PR to fix this?

@lgeiger Hi! Im not sure that this is the place where its better to write about it, but please, add the keyboard shortcut Code Format: Format Code - ctrl-shift-C for autopep8 in the documentation, because i couldnt understand for a long time why it doesnt work. Also, thanks @caballerofelipe, you saved my time.

Hey, I'm having the same question ! I cant find how to make the format code more aggressive with python-ide on atom.
Did you find how to do ?

autopep8 should use the pycodestyle config so if you change the pycodestyle config autopep8 will respect that.
I've personally been very happy with pyls-black for running black formatting and disabled both autopep8 and yapf.

Thanks for your reply, I'll try that !
Well what should I put then in the pycodestyle config to make autopep8 behave like the command :
"autopep --in-place --aggressive --aggressive <my_file>"
I want this behavior but when I do right click => Format Code inside Atom editor but I've been struggling all day with no success ><

I don't think the language server has support for the aggressive option: https://github.com/palantir/python-language-server/blob/develop/pyls/plugins/autopep8_format.py
Feel free to send a PR, and we can start supporting it in ide-python as well

Ok, black seems to work well thank for the suggestion !
Except it doesnt correct import sys, math to
import sys
import math
And it doesnt change deprecated fonction like "has_key()" to "in".
If you know a way to make it with black I would be super happy !
I'll do a PR to language server to implement the aggressive option in autopep8 !


Hangfire jobs use events time zone

Fixes #1493

I plan to review this tonight

@dpaquette, when this build completes, can you eyeball this? All DateTime.Now's change to DateTime.Today's

@mgmccarthy once @dpaquette does a quick review and its good I will merge it in

:shipit:


Use estimatedAssetCount when updating collections

I noticed loading the picker becomes extremely slow (a few seconds on an iPhone 6, and as long as 10 - 15 seconds on an iPhone 4S) when you have a few thousand photos in your library. The bottleneck appears to be in calculating the number of items in a given collection – currently it requires fetching full PHAsset objects, and I think using estimatedAssetCount on the PHAssetCollection object would be a more efficient option. After implementing, I noticed the load time on the 4S comes down to 1 - 2 seconds.

@kevinwo Thank you. I indeed thought about using estimatedAssetCount in the very first beginning until I found in the document that it might not match the number in the collection:-

This count may not match the current number of assets in the collection. To get the most recent count, fetch the collection’s assets with the fetchAssetsInAssetCollection:options: method and read the count property of the fetch result.

Given that this picker supports custom assetsFetchOptions, I would also like to add a property for not using estimatedAssetCount. This PR would not be merged directly but I will add the function as said in the coming release.

Thanks @chiunam! Sounds good!

@kevinwo Just realise that estimatedAssetCount does not return the result instantly so I'll keep using fetchAssetsInAssetCollection:options: for showing the asset count of the albums.
To check whether the album is empty when updating collections, your suggestion of using estimatedAssetCount is good enough indeed so this PR will be merged. Thanks.

@chiunam Cool, thanks!


Update botbuilder-dialogs-declarative README

Description
Indicate on README for botbuilder-dialogs-declarative that it is a preview library and only works for Node.js v10, v12.
The following line  is derived from the description of Microsoft.Bot.Builder.Dialogs.Declarative:

"This preview library implements Node.js support Declarative definition of dialogs assets."

@JonathanFingold, @Kaiqb FYI

Pull Request Test Coverage Report for Build 149887

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.622%

Totals

Change from base Build 149867:
0.0%

Covered Lines:
13439

Relevant Lines:
15702

💛  - Coveralls


Connection timeout errors

Fill in this template completely. Issues not following this template will be closed and ignored.
Check the boxes below by filling [ ] with an x so it looks like [x].
Use the Preview button to ensure the template is filled in correctly.

[ ] I am using the latest version of PyInstaLive: 3.3.0.
[x] I have installed  3.6+: YOUR VERSION HERE
[x] I have read the README.
[x] I have read the FAQ.
[x] I have checked all existing issues, none of which could solve my issue.

I am using:

[x] Windows 10
[ ] Windows 8.1
[ ] Windows 8
[ ] Windows 7
[ ] Linux (distribution: )
[ ] macOS (version: )
[ ] Other (device & OS name: )

To report a bug, fill in the information below.
Required files
Please attach the log file of the user you were trying to download (if applicable) and the pyinstalive.default.log log file.
If your issue is related to assembling segment files please also include the JSON file and a zipped segment files directory.
If any of these files exceed the Github upload size limit in size please use WeTransfer or a similar service to upload these files.
PyInstaLive information
Run pyinstalive --info and paste its output below. Don't forget to omit your username and password.
Example:
$ pyinstalive --info
---------------------------------------------------------------------------
[I] PYINSTALIVE (SCRIPT V3.3.0 - PYTHON V3.8.10) - 08-21-2021 03:33:23 AM
---------------------------------------------------------------------------
[I] To see all the available arguments, use the -h argument.

[I] PyInstaLive version:        4.0.2
[I] Python version:             3.9.13
[E] FFmpeg framework:           Not found
[I] Login session files:        1 (------.dat matches configuration username)
[I] CLI supports color:         No

[I] Configuration file:

    [pyinstalive]
    username = ------
    password = ------
    download_path = ----------
    ffmpeg_path = ----------\ffmpeg.exe
    download_comments = False
    cmd_on_started =
    cmd_on_ended =
    clear_temp_files = True
    use_locks = True
    no_assemble = False
    log_to_file = False
    send_heartbeat = True
    proxy =

[I] End of PyInstaLive information screen.
---------------------------------------------------------------------------

Command used
Paste the command here that you are running. Don't forget to omit your username and password.
Example: pyinstalive -df
Behaviour
Accurately describe the issue you're experiencing with the script.
Steps to reproduce issue
Run download followers command in a loop with an interval of 30 seconds between each run.

To ask a question, fill in the information below.
Question
Receiving timeout errors intermittently. The code runs in a loop with a 30 seconds interval. Screenshots of the errors are below:

It seems to me that your internet connection isn't very stable.


python311Packages.psygnal: 0.10.0 -> 0.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.psygnal is: Implementation of Qt Signals
meta.homepage for python311Packages.psygnal is: https://github.com/pyapp-kit/psygnal
meta.changelog for python311Packages.psygnal is: https://github.com/pyapp-kit/psygnal/blob/v0.10.2/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.10.2 with grep in /nix/store/1gdimfbqrdli40znhrcmhi3s3iskhqzk-python3.11-psygnal-0.10.2
found 0.10.2 in filename of file in /nix/store/1gdimfbqrdli40znhrcmhi3s3iskhqzk-python3.11-psygnal-0.10.2

Rebuild report (if merged into master) (click to expand)

23 total rebuild path(s)

23 package rebuild(s)

First fifty rebuilds by attrpath
napari
python311Packages.altair
python311Packages.anywidget
python311Packages.app-model
python311Packages.gradio
python311Packages.gradio-client
python311Packages.gradio-pdf
python311Packages.magicgui
python311Packages.napari
python311Packages.napari-npe2
python311Packages.psygnal
python311Packages.streamlit
python311Packages.vega
python312Packages.altair
python312Packages.anywidget
python312Packages.app-model
python312Packages.gradio
python312Packages.gradio-client
python312Packages.gradio-pdf
python312Packages.magicgui
python312Packages.napari-npe2
python312Packages.psygnal
streamlit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1gdimfbqrdli40znhrcmhi3s3iskhqzk-python3.11-psygnal-0.10.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.psygnal https://github.com/r-ryantm/nixpkgs/archive/ff069364d01bcc2f77406fe22cfdb7e84872ba4b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ff069364d01bcc2f77406fe22cfdb7e84872ba4b#python311Packages.psygnal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1gdimfbqrdli40znhrcmhi3s3iskhqzk-python3.11-psygnal-0.10.2
ls -la /nix/store/1gdimfbqrdli40znhrcmhi3s3iskhqzk-python3.11-psygnal-0.10.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

30 packages failed to build:

napari (python311Packages.napari)
napari.dist (python311Packages.napari.dist)
python311Packages.altair
python311Packages.altair.dist
python311Packages.anywidget
python311Packages.anywidget.dist
python311Packages.gradio
python311Packages.gradio-client
python311Packages.gradio-client.dist
python311Packages.gradio-pdf
python311Packages.gradio-pdf.dist
python311Packages.gradio.dist
streamlit (python311Packages.streamlit)
streamlit.dist (python311Packages.streamlit.dist)
python311Packages.vega
python311Packages.vega.dist
python312Packages.altair
python312Packages.altair.dist
python312Packages.anywidget
python312Packages.anywidget.dist
python312Packages.gradio
python312Packages.gradio-client
python312Packages.gradio-client.dist
python312Packages.gradio-pdf
python312Packages.gradio-pdf.dist
python312Packages.gradio.dist
python312Packages.magicgui
python312Packages.magicgui.dist
python312Packages.napari-npe2
python312Packages.napari-npe2.dist

12 packages built:

python311Packages.app-model
python311Packages.app-model.dist
python311Packages.magicgui
python311Packages.magicgui.dist
python311Packages.napari-npe2
python311Packages.napari-npe2.dist
python311Packages.psygnal
python311Packages.psygnal.dist
python312Packages.app-model
python312Packages.app-model.dist
python312Packages.psygnal
python312Packages.psygnal.dist

Maintainer pings
cc @SomeoneSerge for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.psygnal is: Implementation of Qt Signals
meta.homepage for python311Packages.psygnal is: https://github.com/pyapp-kit/psygnal
meta.changelog for python311Packages.psygnal is: https://github.com/pyapp-kit/psygnal/blob/v0.11.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.11.0 with grep in /nix/store/1szkij0bcrm6d5hlajg3qwrr364i9nc9-python3.11-psygnal-0.11.0
found 0.11.0 in filename of file in /nix/store/1szkij0bcrm6d5hlajg3qwrr364i9nc9-python3.11-psygnal-0.11.0

Rebuild report (if merged into master) (click to expand)

23 total rebuild path(s)

23 package rebuild(s)

First fifty rebuilds by attrpath
napari
python311Packages.altair
python311Packages.anywidget
python311Packages.app-model
python311Packages.gradio
python311Packages.gradio-client
python311Packages.gradio-pdf
python311Packages.magicgui
python311Packages.napari
python311Packages.napari-npe2
python311Packages.psygnal
python311Packages.streamlit
python311Packages.vega
python312Packages.altair
python312Packages.anywidget
python312Packages.app-model
python312Packages.gradio
python312Packages.gradio-client
python312Packages.gradio-pdf
python312Packages.magicgui
python312Packages.napari-npe2
python312Packages.psygnal
streamlit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1szkij0bcrm6d5hlajg3qwrr364i9nc9-python3.11-psygnal-0.11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.psygnal https://github.com/r-ryantm/nixpkgs/archive/fadbc18fd93d74741413b0a04db3eb2214f5806f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/fadbc18fd93d74741413b0a04db3eb2214f5806f#python311Packages.psygnal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1szkij0bcrm6d5hlajg3qwrr364i9nc9-python3.11-psygnal-0.11.0
ls -la /nix/store/1szkij0bcrm6d5hlajg3qwrr364i9nc9-python3.11-psygnal-0.11.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

12 packages failed to build:

napari (python311Packages.napari)
napari.dist (python311Packages.napari.dist)
python312Packages.gradio
python312Packages.gradio-client
python312Packages.gradio-client.dist
python312Packages.gradio-pdf
python312Packages.gradio-pdf.dist
python312Packages.gradio.dist
python312Packages.magicgui
python312Packages.magicgui.dist
python312Packages.napari-npe2
python312Packages.napari-npe2.dist

30 packages built:

python311Packages.altair
python311Packages.altair.dist
python311Packages.anywidget
python311Packages.anywidget.dist
python311Packages.app-model
python311Packages.app-model.dist
python311Packages.gradio
python311Packages.gradio-client
python311Packages.gradio-client.dist
python311Packages.gradio-pdf
python311Packages.gradio-pdf.dist
python311Packages.gradio.dist
python311Packages.magicgui
python311Packages.magicgui.dist
python311Packages.napari-npe2
python311Packages.napari-npe2.dist
python311Packages.psygnal
python311Packages.psygnal.dist
streamlit (python311Packages.streamlit)
streamlit.dist (python311Packages.streamlit.dist)
python311Packages.vega
python311Packages.vega.dist
python312Packages.altair
python312Packages.altair.dist
python312Packages.anywidget
python312Packages.anywidget.dist
python312Packages.app-model
python312Packages.app-model.dist
python312Packages.psygnal
python312Packages.psygnal.dist

Maintainer pings
cc @SomeoneSerge for testing.

12 packages failed to build:

Gradio broken on hydra, and the napari stuff is... disorderly at the moment: https://github.com/NixOS/nixpkgs/issues/301437


Replication slots are currently not supported in Aurora

Hi,every hacker!
Before PostgreSQL used WalRecord as a log, now I need to migrate to aurora. Should I change it? Can someone help me,thanks :-)

Hi @Belyenochi, it seems you've gotten Apache Aurora, a Mesos scheduler framework, confused with Amazon Aurora, a relational database service for AWS. Alas, there's not much we here in Apache Aurora can do to answer your question!


GetConvolveAlgorithms fixup take 2

Attention @tfboyd
Move loop to toggle tensor_ops inside GetConvolveAlgorithms functions. Also
tensor_ops are not included in the returned list if they are not supported by
the cuDNN or GPU architecture versions.
This is a re-submit of PR 13252 which seems to have been accidentally squashed
during the merge at hash 37800b9.

Can one of the admins verify this patch?

Hold off on this for 24-48 hours while the build team figures out what happened with the merge.  This PR is useful to illustrate what was lost as a reference.

@yifeif   Do you mind merging after the tests pass (assuming they pass).  Reed verified this is the same change as before.

For sure. @tensorflow-jenkins test this please.

FYI for sync @frankchn

makefile rerun at http://ci.tensorflow.org/job/tensorflow-pull-requests-makefile/11014/console

@yifeif I assume you'll be merging this in after the tests passes, etc?


Buckaroo (old) : Add check on empty shipping phone number

This commit fixes an issue where the extension assumes the shipping phone-number is never empty.
However there are cases, in which an empty shipping phone-number is saved.
In this case Buckaroo just copies the empty value, and adds is to to the SOAP request.
The SOAP request will then fail, because an empty value is sent for the shipping phone number.

Hi @rutgerrademaker !
Thanks for your request , we will include it into next release !

Thanks a lot @rutgerrademaker for your proposal !
We've incorporated logic you proposed, but without exception dropping, because ShippingPhoneNumber is not required field (according to specification).
It will be published within upcoming release next week.

You might want to reconsider that.
Although the field is not required, it does not accept an empty value

Right, but we've added a check for emptiness, so in that case it won't be added to request at all.


CookieJar don't save cookies while Guzzle is being used inside Class context.

Guzzle version(s) affected: 6.3.3 / 6.4.1
Description
CookieJar don't save cookies while Guzzle is being used inside Class context.
How to reproduce
class Client
{
    protected $headers;

    protected $guzzle;

    protected $credentialsCookies;

    protected $utils;

    protected $user;

    protected $serializer;

    protected $cookieJar;

    public function __construct()
    {
        $userSessionFile = sprintf('data/%s_credentials.json', 'xxx');
        if (!file_exists($userSessionFile)) {
            file_put_contents($userSessionFile, '');
        }
        $this->cookieJar = new FileCookieJar(PROJECT_ROOT . $userSessionFile, true);
        $this->guzzle             = new \GuzzleHttp\Client([
            'headers' => $this->headers,
            'cookies' => $this->cookieJar,
        ]);
    }

    public function login(User $user)
    {
        $loginRequest = new Login([
            'username' => $user->username,
            'password' => $user->password
        ]);

        try {
            $response = $this->guzzle->request(
                $loginRequest->getMethod()->getValue(),
                $loginRequest->getUri() . $loginRequest->getUriSuffixPattern(),
                [
                    'form_params' => $loginRequest->getPostParams(),
                    'headers'     => $this->headers,
                ]
            );
    }
}

then in test.php im calling:
       $client = new Client();
       $client->login(new User('xxx', 'xxx'));

After that my xxx_credentials.json file where cookies should be stored is empty, whereas everything is working perfect when I extract my code from the class and put it directly into test.php which will look like:
$userSessionFile = sprintf('data/%s_credentials.json', 'xxx');
if (!file_exists($userSessionFile)) {
    file_put_contents($userSessionFile, '');
}
$cookieJar = new FileCookieJar(PROJECT_ROOT . $userSessionFile, true);

$headers = [];
$credentialsCookies = json_decode(file_get_contents(PROJECT_ROOT . $userSessionFile), true);
$guzzle = new \GuzzleHttp\Client([
     'headers' => $headers,
     'cookies' => $cookieJar,
]);

$loginRequest = new Login([
    'username' => 'xxx',
    'password' => 'xxx'
]);

$response = $guzzle->request(
    $loginRequest->getMethod()->getValue(),
    $loginRequest->getUri() . $loginRequest->getUriSuffixPattern(),
    [
        'form_params' => $loginRequest->getPostParams(),
        'headers'     => $headers,
    ]
);

In the future, give working examples (copy - paste - run):
<?php

class Client {
	protected $guzzle;
	protected $cookieJar;

	public function __construct() {
		$userSessionFile = sprintf(__DIR__ . '/%s_credentials.json', 'xxx');
		if (!file_exists($userSessionFile)) {
			touch($userSessionFile);
		}
		$this->cookieJar = new \GuzzleHttp\Cookie\FileCookieJar($userSessionFile, true);
		$this->guzzle    = new \GuzzleHttp\Client([
			'cookies' => $this->cookieJar,
		]);
	}

	public function login() {
		$this->guzzle->request('GET', 'https://httpbin.davecheney.com/cookies/set?foo=bar&lorem=ipsum');
	}
}

[
  {
    "Name": "foo",
    "Value": "bar",
    "Domain": "httpbin.davecheney.com",
    "Path": "\/",
    "Max-Age": null,
    "Expires": null,
    "Secure": false,
    "Discard": false,
    "HttpOnly": false
  },
  {
    "Name": "lorem",
    "Value": "ipsum",
    "Domain": "httpbin.davecheney.com",
    "Path": "\/",
    "Max-Age": null,
    "Expires": null,
    "Secure": false,
    "Discard": false,
    "HttpOnly": false
  }
]

Strange, it works for me...

Are you sure this is the same file?
$userSessionFile = sprintf('data/%s_credentials.json', 'xxx');
PROJECT_ROOT . $userSessionFile

Function file_put_contents creates a file on save, so it could be a completely different file.

The problem was that I was using PHP 7.4-RC. When i switched to version 7.3 everything is working as expected.
Closed.


Added support for RolloutBefore field in KubeadmControlPlane

What does this PR do?
This PR introduces a new field in the Helm values called rolloutBefore. It can be used to control how many days before the expiration of control plane certificates should the control plane nodes be rolled. This mechanism is used by CAPI to ensure that control plane certificates are renewed automatically.
What is the effect of this change to users?
It ensures that certificates on control plane nodes are rotated automatically.
How does it look like?
There is a new field available in Values:
internal:
  advancedConfiguration:
    controlPlane:
      rolloutBefore: # this structure is taken from CAPI
        certificatesExpiryDays: 180 # 180 is the default value

It is added to the KubeadmControlPlane CR.
Any background context you can provide?
Towards: https://github.com/giantswarm/roadmap/issues/3147
What is needed from the reviewers?
Check if the new property located in the correct section of the Helm Values and possibly also test that it works.
Do the docs need to be updated?
Yes
Should this change be mentioned in the release notes?
Probably yes

[x] CHANGELOG.md has been updated (if it exists)

You might wanna also run make generate-docs

E2E test results: https://github.com/giantswarm/cluster-aws/pull/503


Show both NeoMake and GitGutter signs

How do I get both NeoMake and GitGutter to play nicely in the sign column? At the moment NeoMake's overwriting GitGutter signs.

Oh, just set signcolumn=auto:<n>, that's all there is to it?

Yes, that should help / do it.
Closing as answered (by yourself :)).


[Question] compile some specifics assets but not all of them

Hello guys! first of all, this is a question, not an issue.
I've already worked with React Js but never using a generator (well, I used Meteor) like this one. And I need a specific feature but I'm not sure how to implement it using this package. So:
I'm going to build several "components" for a web page that's already online, meaning, I can't change/migrate the whole page to be a SPA, only create new components.
The idea is to create different components with this package and release them (with all its specific assets) in a way that I can attach each one of them to that existing website, separately.
My questions are:

Can I use this generator to generate a distribution package with only the contents of the specific components an not the whole html template? I know I can only place in the index.html file the code that I need, but I also need the assets of the webpage to be present for development, but they're already online so: I need 6 css files to be present during development, but when I build it, I only need the custom.css file I created. Do you have any suggestion on how to tackle this?
Also, for each new component, I'm planing to "replace" the /src folder to create a new set of files (I don't think this might be a good practise but I'm short on better ideas)

I'm kind of lost with this, and I downloaded this package which has exactly what I need except for that.
Thanks in advance!

doesn't matter, the package is great! I'm just gonna create new packages for each new component. Very simple


Validate simple bitstream with 1000BaseX/2500BaseX.

[x] Test build with 1000BaseX on Baseboard Mini.
[x] Test build with 2500BaseX on Baseboard Mini.
[x] Verify correct operation with SFP1 and 2.

Done.


DevOps for Keyless

@ananyavasudeva @apoorvq can you please mention here what needs to be done from the DevOps side?

@ananyavasudeva @apoorvq do we need dist folder in our git repo ?


Exported HTML links to original wiki site

Describe the bug
Links within a page (like #bkmrk-whatever-the-header-is) still work, but links to other pages within the wiki link to the original URL on the hosted wiki.
Steps To Reproduce
Steps to reproduce the behavior:

Export a book as HTML
Open HTML file
Click on a link to a different page
Get redirected to the original wiki

Expected behavior
A link in the downloaded HTML points to https://wiki.domain.com/books/my-book-name/page/my-lage-name#bkmrk-quest-progression instead of #bkmrk-quest-progression
I can post a sanitized example if you'd like.
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): v21.05.3
Hosting Method (Nginx/Apache/Docker): Docker

Here's an example (Github won't let me upload HTML files)
It also seems to happen with PDFs as well.

FWIW this still happens and i found this bug by searching Google about it.

Are there any updates on this? This bug makes exporting some content really useless since I mostly reference to other pages of the same book and without these internal links some content is pretty much unreadable.


Pubmatic adapter only uses adSlot param for banners

I'm using PBS for video HB and Pubmatic adapter (based on the info in pubmatic.yaml) supports video. I couldn't find my video requests/imps in Pubmatic reporting and on closer look at the bid requests sent to Pubmatic, the adapter code here only ever passes the adapter adSlot param for the banner requests (in imp.tagid field) but not for any other media type. I believe this is a bug as after modifying the adapter to set imp.tagid for video I see the bids in Pubmatic reports + Pubmatic started bidding much more frequently than before.

Hi @jbartek25
We've ported the code from Go - https://github.com/prebid/prebid-server/blob/e7f7b558951684f1fb75bc4c180506cdc91b5f98/adapters/pubmatic/pubmatic.go#L160
Actually, they do the same.
Technically, we can fix it but sure if it ok from requirements. @bretg can you help?

@rpanchyk any logic setting tagid in the Java adapter runs only for banners whereas the logic in Go here seemingly runs for all ad types. I see tagid populated in PBS Go requests but not PBS Java so bits of logic got missed in the Java port.

ahhh... thank you guys, was looking into old Call(..) instead of MakeRequests(..) method.
Btw, didn't expect imp modification in validateAdSlot(..) method.
Anyway, we'll fix the port.

@rpanchyk thank you

Code of Pubmatic adapter updated in linked PR, so now everything worked as expected


Update README to include config, env var changes

For 1.1.0 we updated wrangler config to be an interactive prompt for security reasons, but we also introduced environment variables for the values configured with that command for the sake of users integrating Wrangler into their CI pipelines. This PR updates the README to reflect those changes.
Fixes #378 , #377

@gabbifish @ashleymichal I ran the demo GIF through gifsicle and shrinked it from over 1mb to ~200kb! Want to update with this?

vaguely blocked on this https://github.com/cloudflare/worker-template/pull/14

cloudflare/worker-template#14 is merged


Lyrics Search

Lyrics Search App
A project created using an API to fetch lyrics of any songs. Enter the respective details, & related searches with their lyrics will appear.
Event
GSSOC'21
Demo

Kindly assign this to me @harshgupta20 or @urvashi-code1255  :)

Can you assign this to me so that I can make PR for this @urvashi-code1255?

Great Idea @TidbitsJS Please go ahead!


issue_1627 wrong state for new custom locator

https://github.com/jdi-testing/jdn-ai/issues/1627

Лайк за рефакторинг ♥


A sampe sequenceDiagram crashes mermaid-cli

Below sample crashes mermaid-cli.
Env: node 6.2 , mac osx
sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail...
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

It seems that mermaid-cli is deprecated. After reinstalling mermaid and phantomjs, everything works as expected 💯


Failed to parse source map from ... Error: ENOENT: no such file or directory, open ...

The issue #521 still reappears after the 0.11 update, but this time without >100 warnings.
Compiled with warnings.

Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

assets by path static/js/*.js 2.92 MiB
  asset static/js/bundle.js 2.92 MiB [emitted] (name: main) 1 related asset
  asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.92 KiB [emitted] 1 related asset
asset index.html 1.67 KiB [emitted]
asset asset-manifest.json 458 bytes [emitted]
cached modules 4.26 MiB (javascript) 31.5 KiB (runtime) [cached] 1227 modules

WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS><EMAIL_ADDRESS>2:0-63 4:33-55
<EMAIL_ADDRESS>4:0-69 19:4-23
<EMAIL_ADDRESS>2:0-27 2:0-27
<EMAIL_ADDRESS>6:0-34 6:0-34
<EMAIL_ADDRESS>2:0-28 2:0-28
 @ ./src/App.tsx 6:0-54 9:30-42 11:24-37 11:39-54
 @ ./src/index.tsx 7:0-24 11:33-36

1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.68.0 compiled with 1 warning in 2753 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.
^C
(env) mbp:src mac$

I remove latest version and install version 0.7.3 to by pass the error. Hope it useful for you.

Any updates on this ? I get the same error
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>Does not render anything on the screen when I run yarn start.

Looks like one of our dependencies, @metamask/detect-provider, didn't include the source code. Doesn't seem like the critical error though. Does it prevent you from building the app?
Also there's not much we can do from our side, consider opening an issue there https://github.com/MetaMask/detect-provider#readme

@dmaretskyi According to metamask, they don't import index.ts.
https://github.com/MetaMask/detect-provider/issues/42

@vsevdrob Looks like a possible solution is:

https://github.com/MetaMask/detect-provider/issues/42

still getting this error, prevents me from building the app in netlify

Hi All,
We have the same issue with our create-react-app. When running in localhost we get the following
"Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory ..."
but the Dapp runs perfectly fine
However when trying to deploy to Vercel (or similar) it becomes impossible because of this message

still getting this error, prevents me from building the app in netlify

I have the same problem. Is there no solution to fix this?

Related: https://github.com/MetaMask/detect-provider/issues/42

Promising update: https://github.com/MetaMask/detect-provider/issues/42#issuecomment-1215848244


Implement search method for database service

And maybe more methods. Will be updated later if necessary.

dummy function (for now...) to deliver event from form to database and then to calendar.
Will be used to test calendar setting events after feasibility check, and the transfer of event from form to database...

dummy becasuse the events needs to pass feasibility check first, but we dont have that check yet.
This is important because we want to work on calendar events already. :grinning: :grinning:

dummy done.
to be continued...

Done.


When logging cache hit/miss, include cache_key

I want these log messages:
Persistent compilation cache hit for 'jit_scan_outer_bigs'

To look like this:
Persistent compilation cache hit for 'jit_scan_outer_bigs' with cache_key `b86d2a45745d2417b7a28b1c38aa39497bf611e8320238cabe31e99142be5f2d`

Optionally we can truncate the cache key. I implemented this feature, let me know if you want a pull request.

Thank you! Please make a pull request

I like your proposal - just let me note here that you can already log cache keys (including info about its calculation):
import logging
logging.getLogger("jax._src.cache_key").setLevel(logging.DEBUG)

@jaro-sevcik Thank you. However these log lines do not contain the module name which makes them a bit difficult to search for.


ADD DASC Instituto Tecnologico Universitario

DASC Instituto Tecnológico Universitario
https://dasc.edu.mx/

@rosalesdc-edu First stage of verification passed, official domain is dasc.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@rosalesdc-edu Pull request merged. Thank you.