creating an entity inside postUpdate event handler fails... sometimes

we have a transaction, some entities are changed inside it. We are subscribed to postUpdate event
to log that changes. The log is also based on Doctrine mapped class (LogEntry).
so, roughly speaking, for each postUpdate event we create  a new LogEntry inside a postUpdate event handler
    $logEntry = $this->constructLogEntry($record);
    $this->em->persist($logEntry);
    $this->em->flush();

we've witnessed one case when it failed, although after that it works without any issues. So the problem must be floating.
the final error of that single failure is:
Type error: Argument 3 passed to Doctrine\ORM\Event\PreUpdateEventArgs::__construct() must be of the type array, null given, called in ...\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php on line 1060
in stack, this exception is down the that flush we do in order for a new LogEntry to be saved.
Most of the time, everything works.
if there shall no be persists/flushes on postUpdate event, this must be stated in docs (http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html)
however there's a warning only regarding preUpdate (in our case it's postUpdate).
also would appreciate any guidance on how to achive this without risking occasional failures.

Flushes in lifecycle event listeners are not allowed in any case: please
consider sending a patch to the docs.
On 10 Nov 2017 17:05, "hq9000"<EMAIL_ADDRESS>wrote:

we have a transaction, some entities are changed inside it. We are
subscribed to postUpdate event
to log that changes. The log is also based on Doctrine mapped class
(LogEntry).
so, roughly speaking, for each postUpdate event we create a new LogEntry
inside a postUpdate event handler
$logEntry = $this->constructLogEntry($record);
$this->em->persist($logEntry);
$this->em->flush();

we've witnessed one case when it failed, although after that it works
without any issues. So the problem must be floating.
the final error of that single failure is:
Type error: Argument 3 passed to Doctrine\ORM\Event\PreUpdateEventArgs::__construct()
must be of the type array, null given, called in
...\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php on line 1060
in stack, this exception is down the that flush we do in order for a new
LogEntry to be saved.
Most of the time, everything works.
if there shall no be persists/flushes on postUpdate event, this must be
stated in docs (http://docs.doctrine-project.org/projects/doctrine-orm/en/
latest/reference/events.html)
however there's a warning only regarding preUpdate (in our case it's
postUpdate).
also would appreciate any guidance on how to achive this without risking
occasional failures.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6822, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakKTr8R4PwFyMvoAw1MbR0ix79JXkks5s1HRFgaJpZM4QZw7r
.

Flushes in lifecycle event listeners are not allowed in any case

what about persists?

Mostly safe to perform in onFlush and preFlush, but not after that...
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
On Fri, Nov 10, 2017 at 8:05 PM, hq9000<EMAIL_ADDRESS>wrote:

Flushes in lifecycle event listeners are not allowed in any case
what about persists?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6822#issuecomment-343558963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakCSKuEmL3bDaNnkIk_mN2XHzCCoqks5s1J6TgaJpZM4QZw7r
.

so what is the right way then to do some doctrine event handling involving creating entities?
Our plan B was to hook on postFlush and persist and flush there. After your last comment I'm not sure anymore.

You should hook into onFlush and do it there (without nested flush(), which doesn't work anyway)

Thanks, now trying your suggestion.

what about persists?

Mostly safe to perform in onFlush and preFlush

What do you mean by "mostly". What are circumstances they are not safe in on/preFlush?

also, what if we do this log entries operations through it's own, log dedicated EntityManager - would it still be a problem if we persist/flush on this dedicated entity manager in lifecycle callbacks related to the "main" entity manager?

You should hook into onFlush and do it there (without nested flush(), which doesn't work anyway)

tried that an bumbed into another problem. It looks like there's a problem inserting these new onFlush-originating entities into the DB.
`An exception occurred while executing 'INSERT INTO audit_log_entries (.. ... ..)
SQLSTATE[HY093]: Invalid parameter number: no parameters were bound`
relevant fragment of the stack:
at PDOStatement ->execute (null)  in vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php at line 105   +  at PDOStatement ->execute (null)  in vendor\doctrine\dbal\lib\Doctrine\DBAL\Statement.php at line 168   +  at Statement ->execute ()  in vendor\doctrine\orm\lib\Doctrine\ORM\Persisters\Entity\BasicEntityPersister.php at line 281   +  at BasicEntityPersister ->executeInserts ()  in vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php at line 1014   +  at UnitOfWork ->executeInserts (object(ClassMetadata))  in vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php at line 378   +  at UnitOfWork ->commit (null)  in vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php at line 356   +  at EntityManager ->flush (null)  in var\cache\dev\appDevDebugProjectContainer.php at line 5967   +
what can be wrong here?

@hq9000 things here are a bit confusing, could you send us a failing test case that reproduces that behaviour? It would help us a lot to identify and fix the issue you're describing.
You can find examples on https://github.com/doctrine/doctrine2/tree/388afb46d0cb3ed0c51332e8df0de9e942c2690b/tests/Doctrine/Tests/ORM/Functional/Ticket

@hq9000 also, why do you want to couple this to the ORM event system? Using your own events should be simpler (but please don't call flush() more than once on a single operation).

Same problem as #7387

Flushes in lifecycle event listeners are not allowed in any case: please
consider sending a patch to the docs.

What about throwing some exception/warning in case of using flush inside flush than?

Send a patch 👌
On Fri, 12 Oct 2018, 11:37 Ilya Antipenko<EMAIL_ADDRESS>wrote:

Flushes in lifecycle event listeners are not allowed in any case: please
consider sending a patch to the docs.
What about throwing some exception/warning in case of using flush inside
flush than?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6822#issuecomment-429266914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakL-a9shc3CH0vZlHWCfDrR1B5Lr1ks5ukGLEgaJpZM4QZw7r
.


Rope dead-code?

In Box2D/Box2D/Box2D is the Rope folder. It has two files in it:

b2Rope.cpp, and
b2Rope.h.

These don't seem to serve any purpose at the moment however as I believe rope functionality is provided through the b2RopeJoint class. So I'm basically wondering if the Rope folder and its contents should be removed or if there's a purpose to them.
Thanks!

Another ThirdParty libs also contains not exported in Urho code. For example ThirdParty\Bullet\src\BulletSoftBody
I think it is not problem. Users can use these parts themselves, if they need

Actually b2Rope is the main library. The other stuff is just fluff.
Just kidding, but the rope stuff is there because I was experimenting with a 2D cloth simulation. No need to worry about it.

Cloth simulation?? Cool beans! ;)
Thank you for the clarification.

Oh, I'm sorry, I made a mistake with the repository X)) I think qustion in my repo


Visibility Add-in LLOS does not produce layers for Sight Lines or LLOS results

From @topowright on December 8, 2016 23:9
LLOS tool should populate the TOC and Map with the following four layers:
Observers
Targets
Sight Lines
LLOS Results
Expected Behavior
Sight Lines populate to the TOC, bu they do not populate to the map.
Current Behavior

LLOS results are not drawn and sight lines do not show up in the map even though they are in the TOC
Possible Solution
Issues with GP tools not overwriting layers in a default GDB
Steps to Reproduce (for bugs)

1.Choose Observers
2.Choose Targets
3.Run the tool LLOS
4.
Context
Currently LLOS is not being written to the default database; however, the Sight Lines are
Your Environment
Windows 8 and Build number 7156 of ArcGIS Pro 1.4
Copied from original issue: Esri/military-tools-for-arcgis#81

From @migueldls on December 9, 2016 0:6
I'm seeing similar issues using LLOS tool. Not sure if this is Pro limitation.
Expected Behavior
Sight Lines are added to TOC symbolized as visible/not visible segments to observer along a sight line. And visible/ not visible target.
Current Behavior
Los Output is added to TOC as Single Symbol symbology, user must then have select Unique Values by vis code.
Environment
Windows 7 and ArcGIS Pro 1.4 (7156)

This has now been fixed.


As I User, on the Tech Support page, I can fetch and view the API information.

[x] Tech Support page fetches and display API information on load
[x] 'Refresh' button will fetch and display the API information

Per https://fusion-alliance.gitbooks.io/autorenter-spec/content/modules/tech_support_module/tech_support_interactions.html

@BWortman we should be able to close this issue.

Yes, thanks @camoore1979


On Ghost Tap Just Doesn't Work

Describe your bug here.
The function onGhostTap(key) does litterally nothing. I wanted to make a system to take waway the players HP on a ghost tap, but still with the setting on so it doesn't hurt your accuracy, so I was sad to learn that on ghost tap just nothing. I can't even get it to debug print a message! This should be fixed.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope, sure didn't.

this is just how 0 ghost tapping would work in the base game, without the miss animations and score reduction

this is just how 0 ghost tapping would work in the base game, without the miss animations and score reduction

Precisely, and I was also thinking of having it remove some score as well. I like the way base game does it so was trying to recreate that in Psych. Unfortunately...

You could just force ghostTapping off for that song by running a setPropertyFromClass('backend.ClientPrefs', 'ghostTapping', false) variable.

You could just force ghostTapping off for that song by running a setPropertyFromClass('backend.ClientPrefs', 'ghostTapping', false) variable.
Not sure why you would want to disable the ghost tapping, tho.

That wouldn't do what I want it to, because then it would affect accuracy, while I just want the player to get hurt for it. The bug report would still stand anyways 😭


QueryBuilder: Nested 'OR/AND' conditions

Hi,
I couldn't find in the documentation (http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/query-builder-api.html) how to do nested conditions.
After some searching on the web I found out that there exists something as ->addOr().
But I can't seem to create the following condition with the QueryBuilder :
in SQL it looks like this:
SELECT *
FROM user
WHERE
    ( active = true AND password  = "")
    OR ( active = false AND password <> "" )
    OR ( active = true AND password <> "")

Which I think translates into:
{
	"$or": {
		"0": {
			"isActive": true,
			"password" : { "$in" : [ "" ] }
		},
		"1": {
			"isActive": false,
			"password" : { "$nin" : [ "" ] }
		},
		"2": {
			"isActive": true,
			"password" : { "$nin" : [ "" ] }
		}
	}
}

But with the QueryBuilder I can't seem to do this. For now I've got:
$qb = $qb
            ->field('id')->notIn($userId)
            // all the inactive users
            ->addOr(
                array(
                    $qb->field('isActive')->equals(false),
                    $qb->field('password')->notIn('')
                )
            )
            ->addOr(
                array(
                    $qb->field('isActive')->equals(true),
                    $qb->field('password')->in('')
                )
            )
            // end all the inactive users
            ->sort('isActive', 'ASC')
            ->sort('createdAt', 'DESC')
            ->sort('updatedAt', 'DESC');

        if (!$showInactiveOnly) {
            // add all the active users
            /*$qb
                ->addOr(
                array(
                    $qb->field('isActive')->equals(true),
                    $qb->field('password')->notIn('')
                )
            ;*/
        }

Which amounts to nothing good:
MongoDB query: {"sort":true,"sortFields":{"isActive":1,"created_at":-1,"updated_at":-1},"query":{"_id":{"$nin":[{"$id":"5052f8f1aa1c96471400001c"}]},"isActive":true,"password":{"$nin":[""],"$in":""},"$or":[[{},{}],[{},{}]]},"fields":[]} [] []

It's probably fairly simple to do this but I can't seem to find it.
Could someone point me in the right direction?

How can we achieve following query?
{
  "$and": [
    {
      "name": "abc"
    },
    {
      "$or": [
        {
          "category": 2
        },
        {
          "in_stock": 1
        }
      ]
    }
  ]
}

@metanav probably something like
$qb->field('name')->equals('abs')
    ->addOr($qb->expr()->field('category')->equals(2))
    ->addOr($qb->expr()->field('in_stock')->equals(1))

Anyway for support please use StackOverflow or IRC channel.


google.protobuf.empty is not available in protobuf-lite

Building catena with model:"LITE" and connection:"REST" causes an error when linking param.pb.cc. This is because param.proto uses google.protobuf.empty which is not available in the protobuf-lite library. This issue did not appear when using gRPC connection because the gRPC library is linked to the full protobuf library.
The easiest fix for this is probably to define our own empty message instead of using the one provided by protobuf. This would require changing the namespace of the empty message in the C++ sdk and might also break the Java sdk.

I was curious to see how large of a difference it would make to just use the full protobuf library, so I did some test. All of these tests were done with gRPC disabled.
proto_optimization = LITE_RUNTIME, empty.proto commented out, linked to libprotobuf-lite: example/start_here Size: 15M
proto_optimization = LITE_RUNTIME, empty.proto commented out, linked to full libprotobuf: example/start_here Size: 15M
proto_optimization = LITE_RUNTIME, empty.proto uncommented, linked to full libprotobuf: example/start_here Size: 23M
Needless to say, increasing the file size by 8M just to define an empty message seems a bit excessive. I then decided to do the same test with gRPC enabled.
using google.protobuf.empty: example/status_update Size: 75M
using locally defined empty: example/status_update Size: 67M
Again, we save 8M by not using google.protobuf.empty. The good news here is that despite gRPC being linked against the full libprotobuf, the file size only increases if we are using the full protobuf library.

#291


[BUG] Can't clear visual selection after changing to another workspace

I've tried to use redraw-display and it didn't work.
Also the problem doesn't occur when I select only one line with V. That way editor doesn't change to the normal mode and it only place the cursor to the next line for some reason.
Steps to reproduce

select some text with v
switch to another workspace without clearing selection
switch back and clear the selection
the selection stays, but editor is back to the normal mode

System information

((emacs
  (version . "27.0.50")
  (features . "XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP")
  (build . "Sep 11, 2019")
  (buildopts "--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-gconf --without-gsettings --enable-link-time-optimization --with-x-toolkit=gtk3 --without-xaw3d --without-m17n-flt --with-imagemagick --with-cairo --without-compress-install 'CFLAGS=-march=native -O2 -pipe -fstack-protector-strong -fno-plt -flto=jobserver -fuse-linker-plugin -flto=jobserver -fuse-linker-plugin -fuse-ld=gold' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop b1e8ee717 2019-10-26 04:15:32 -0400"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/usr/bin/zsh")
  (uname . "Linux 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64")
  (path "/usr/lib/ccache/bin/" "/usr/local/bin" "/usr/local/sbin" "/usr/bin" "/opt/android-ndk" "/opt/android-sdk/tools" "/opt/android-sdk/tools/bin" "/var/lib/flatpak/exports/bin" "/usr/lib/jvm/default/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/usr/lib/emacs/27.0.50/x86_64-pc-linux-gnu"))
 (config
  (envfile)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard fill-column hl-todo hydra modeline nav-flash ophints (popup +all +defaults) treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets word-wrap :emacs (dired +ranger) electric vc :term vterm :tools editorconfig eval flycheck flyspell (lookup +docsets) magit make rgb :lang data emacs-lisp javascript ledger markdown (org +dragndrop +ipython +pandoc +present) php python scheme sh web :email (mu4e +gmail) :app (write +wordnut +langtool) :config (default +bindings +smartparens))
  (packages "(hl-line :ignore nil :recipe nil :disable t)" "(evil-terminal-cursor-changer :ignore nil :recipe nil)" "(pkgbuild-mode :ignore nil :recipe nil)" "(vimrc-mode :ignore nil :recipe nil)")
  (elpa "n/a")))

This appears to be an Emacs 27 issue. Try this:
(add-hook 'persp-before-deactivate-functions (lambda (_) (evil-force-normal-state)))

I've been seeing this too for some time and I'm on 26.2. I tried the suggested fix but it didn't help. For me it happens with v or V selections.

Using that, when I try to open new project SPC p p I get:
run-hook-with-args: Wrong number of arguments: ((t) nil (evil-normal-state 1)), 1
I can see the new workspace with SPC TAB TAB but I can't switch to it with any of the usual ways.

@krathdog Sorry, I changed the snippet in my last response right after I submitted it. Please try the new version.

That one still doesn't fix the issue. I can also test any suggested fix via discord if you prefer (@kdog).

As of d347574 this should be resolved. Let me know if that isn't the case and I'll reopen this. Thanks for bringing it to my attention!


Add hashmap + D arrays example

From @CyberShadow's comment:

So, not sure about this example's illustrative powers. D arrays are awesome too!

I really liked the example and imho it makes a good fit for the frontpage.
(this temporarily includes the first commit from https://github.com/dlang/dlang.org/pull/1755 to fix the roulette picker, s.t. it can be previewed)

@ others: what do you feel about this one? Is showing cool slicing with nice iteration a good example?

@ others: what do you feel about this one? Is showing cool slicing with nice iteration a good example?

There was a long discussion on the NG one months ago with the gist that the current examples are too advanced and that Python.org shows simple things like list comprehensions on their front page.


[Feature Request] Save settings automatically.

Excellent mod, has some issues with performance on opening as nothing is filtered or set.
Recommend to save the current configuration automatically.
Whatever boxes are ticked should be saved so next time the game is loaded the experience doesn't reset.
This includes the window scale.
I have over 2300 miners, this gives a significant performance hit until they are filtered.

Similar with Logistics stations, over 1380.
Until those boxes are ticked the game lags.

In the unreleased development version I have tried to add in more levels of grouping to combat lag. The main issue is that more complex GUI using the "Immediate Mode UI" in Unity don't scale at all. So I had to learn Unity and how to build a proper UI through it. That went well, but my interest in the game started falling a bit, coupled with a lot of work stuff happening. Going to revisit this mod and game with the new release coming today though. Cannot give any time frame for a new release though.
Thanks for the feedback :) I may do a interrim release with default filters on, etc, and with fixes to integrate into the new code structure. I think this mod may break with the new release. Will give this issue a ping in case I do that.


Add react-input-trigger to UI Components

Firstly, thank you maintaining these docs. ❤ 😄
What does this PR bring?
Adds react-input-trigger to the list of free UI components.
npm
github
live example
What does this component do?
React component for handling character triggers inside textareas and input fields. 🐼
Useful for building applications that need Slack-like emoji suggestions (triggered by typing :) or Github-like user mentions (triggered by typing @).

We've removed this page.


Two questions about ssh-jce

KeyFormat.SSH_RSA has Algorithm.SSH_RSA as the first candidate for algorithm, but it is not supported by node-http-signature:
https://github.com/adamcin/httpsig-java/blob/2b1fc5601bbc17ee4b953c0063423fffe2ccd0bb/ssh-jce/src/main/java/net/adamcin/httpsig/ssh/jce/KeyFormat.java#L53
https://github.com/joyent/node-http-signature/blob/529441d9d04a8ecb296a2a152929332526344673/lib/utils.js#L13
For this to work without algorithms rotations, i do the following after a signer creation:
Collection<Algorithm> algorithms = Collections.singletonList(Algorithm.RSA_SHA256);
Challenge challenge = new Challenge("<preemptive>", Constants.DEFAULT_HEADERS, algorithms);
signer.rotateKeys(challenge);

Is this how it is supposed to be used? Can't there be more "out of the box experience" for this?

Why SSHKey here must have public key?
https://github.com/adamcin/httpsig-java/blob/2b1fc5601bbc17ee4b953c0063423fffe2ccd0bb/ssh-jce/src/main/java/net/adamcin/httpsig/ssh/jce/SSHKey.java#L64
It seems that presence of methods like canVerify and checks in verify method itself should prevent invalid use. Just curious. Use case is that a key used only for signing, not verifying.

The SSHKey piece is what I was working on independently before I refactored to support the Joyent spec, so the default primacy of the ssh-rsa algorithm is an artifact of that. I haven't had much feedback from users outside of my own tooling ecosystem, so the ergonomics of this library have not really followed the node-http-signature implementation very closely. I'm happy to keep incorporating your feedback as long as you are actively using this library. I can probably safely change the default signature algorithm for ssh keys to be rsa-256 or rsa-512 to match whatever is most commonly supported to reduce the need for rotation requests.
I think the reason for requiring the public key in the constructor is that it is necessary to compute the key fingerprint. Looking at it now it doesn't make much sense to have that error message there.

You can also add another two values to enum. Like DSA_SHA and RSA_SHA which would have only corresponding algorithms.


Changes to the invite cohort

Issue Description

There is a bug where the Bonner cohort checkbox (#checkBonners) does not remain checked after creating, saving, or editing an event. While the invited Bonner scholars are successfully saved, the checkbox itself appears unchecked when revisiting the event editing page. This can cause confusion for users who may think the cohort was not properly invited.
Fixes issue #1344
Changes

Added persistence to the Bonner cohort checkbox so that its state is saved when creating or editing an event.
Modified the event form loading logic to correctly populate the #checkBonners checkbox with the previously saved state.
Updated the event-form to retrieve the saved cohort invite status from the backend and set the checkbox accordingly.

Testing

Prepare your local development environment and run the application.
source setup.sh
checkout BCI1
database/reset_database.sh test
flask run

Create a new event, select the Bonner cohort checkbox, and save the event. Verify that upon reloading the page or editing the event, the checkbox remains checked.

Edit an existing event without the Bonner cohort selected, invite Bonners, save, and confirm the checkbox is checked when reopening the event edit page.

@Mbeweg is this in a reviewable state?

I tried to test this a few different ways, and I followed the testing guide. The cohort checkbox did not remained checked for either a previously saved event or a new event. Also, the date picker seemed to break in the branch. I tried to pull development into the branch, but the date picker for the start date still did not seem to function properly. This was not an issue that I was having on Development.

It looks good! I just wanted to have Finn take one last look before approval.


Failed to start language server

Environment data
Version: 1.57.0-insider
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T10:36:57.548Z
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-74-generic snap

Extension version (available under the Extensions sidebar): v2021.6.897246044-dev
OS and version: Linux
Python version (& distribution if applicable, e.g. Anaconda): 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...) poetry
Value of the python.languageServer setting: pylance

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Actual behaviour
Failed to start language server
Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
Python interpreter path: ./.venv/bin/python
Starting Pylance language server.
Error 2021-06-10 10:35:41: Starting language server, Class name = r, completed in 1ms, has a falsy return value, , Return Value: undefined [TypeError: Cannot read property 'onDidOpenNotebookDocument' of undefined
	at l.get onDidOpenNotebookDocument [as onDidOpenNotebookDocument] (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:78:180756)
	at new a (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:183978)
	at new t.NotebookMiddlewareAddon (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:178815)
	at new y (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:9:446239)
	at r.startLanguageServer (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:240168)]
Error 2021-06-10 10:35:41: Failed to start language server, Class name = r, completed in 3ms, has a falsy return value, Arg 1: <Uri:/home/chris/data/ddddd>, Arg 2: {"sysPrefix":"","envType":"Venv","envName":".venv","envPath":"/home/chris/data/ddddd/.venv","path":"/home/chris/data/ddddd/.venv/bin/python","architecture":1,"sysVersion":"","version":{"raw":"3.8.2","major":3,"minor":8,"patch":2,"build":[],"prerelease":[]},"displayName":"Python 3.8.3 64-bit ('.venv': venv)"}, Return Value: undefined [TypeError: Cannot read property 'onDidOpenNotebookDocument' of undefined
	at l.get onDidOpenNotebookDocument [as onDidOpenNotebookDocument] (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:78:180756)
	at new a (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:183978)
	at new t.NotebookMiddlewareAddon (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:178815)
	at new y (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:9:446239)
	at r.startLanguageServer (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:240168)]
Error 2021-06-10 10:35:41: [TypeError: Cannot read property 'onDidOpenNotebookDocument' of undefined
	at l.get onDidOpenNotebookDocument [as onDidOpenNotebookDocument] (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:78:180756)
	at new a (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:183978)
	at new t.NotebookMiddlewareAddon (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:178815)
	at new y (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:9:446239)
	at r.startLanguageServer (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:240168)]
We encountered an issue starting the language server. Reverting to Jedi language engine. Check the Python output panel for details.
Error 2021-06-10 10:35:41: Failed to activate language server, Class name = a, completed in 8ms, has a falsy return value, Arg 1: <Uri:/home/chris/data/ddddd>, Arg 2: {"sysPrefix":"","envType":"Venv","envName":".venv","envPath":"/home/chris/data/ddddd/.venv","path":"/home/chris/data/ddddd/.venv/bin/python","architecture":1,"sysVersion":"","version":{"raw":"3.8.2","major":3,"minor":8,"patch":2,"build":[],"prerelease":[]},"displayName":"Python 3.8.3 64-bit ('.venv': venv)"}, Return Value: undefined [TypeError: Cannot read property 'onDidOpenNotebookDocument' of undefined
	at l.get onDidOpenNotebookDocument [as onDidOpenNotebookDocument] (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:78:180756)
	at new a (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:183978)
	at new t.NotebookMiddlewareAddon (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:178815)
	at new y (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:9:446239)
	at r.startLanguageServer (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:240168)]
Error 2021-06-10 10:35:41: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://ssh-remote+tyrion2/home/chris/.config/Code - Insiders/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://ssh-remote+tyrion2/home/chris/.config/Code - Insiders/User/settings.json')
	at _handleError (/home/chris/.vscode-server-insiders/bin/b4c1bd0a9b03c749ea011b06c6d2676c8091a70c/out/vs/server/remoteExtensionHostProcess.js:84:155538)
	at async y.readText (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:9:344808)
	at async p.doesFileNeedToBeFixed (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:579757)
	at async /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:578884
	at async Promise.all (index 0)
	at async p.getFilesToBeFixed (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:578830)
	at async p.updateTestSettings (/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/out/client/extension.js:59:578457)] {
  code: 'FileNotFound'
}
> ~/data/miniconda3/bin/conda --version
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.prefix)"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py site --user-site
cwd: ~/data/ddddd
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py
> ~/data/ddddd/.venv/bin/python ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/pyvsc-run-isolated.py ~/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py
Error 2021-06-10 10:35:52: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:590: DeprecationWarning: Providing the line is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(
/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:590: DeprecationWarning: Providing the column is now done in the functions themselves like `Script(...).complete(line, column)`
  script = jedi.Script(

Error 2021-06-10 10:35:52: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:590: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
  script = jedi.Script(

Error 2021-06-10 10:35:52: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:624: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
  script.goto_definitions(), request["id"]

Error 2021-06-10 10:35:59: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:601: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).goto instead.
  script.goto_assignments(follow_imports=True), request["id"]

Error 2021-06-10 10:35:59: stderr jediProxy Error (stderr) Traceback (most recent call last):
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py", line 657, in watch
    response = self._process_request(rq)
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py", line 601, in _process_request
    script.goto_assignments(follow_imports=True), request["id"]
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/lib/python/jedi/api/__init__.py", line 350, in goto_assignments
    return self.goto(*self._pos,
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/lib/python/jedi/api/helpers.py", line 484, in wrapper
    raise ValueError('`column` parameter (%d) is not in a valid range '
ValueError: `column` parameter (21) is not in a valid range (0-11) for line 2 (' "cells": [\n').

Error 2021-06-10 10:35:59: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:590: DeprecationWarning: Use the code keyword argument instead.
  script = jedi.Script(

Error 2021-06-10 10:35:59: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:105: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_signatures instead.
  call_signatures = script.call_signatures()

Error 2021-06-10 10:35:59: stderr jediProxy Error (stderr) /home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py:230: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).complete instead.
  completions = script.completions()

Error 2021-06-10 10:36:06: stderr jediProxy Error (stderr) Traceback (most recent call last):
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py", line 657, in watch
    response = self._process_request(rq)
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/completion.py", line 601, in _process_request
    script.goto_assignments(follow_imports=True), request["id"]
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/lib/python/jedi/api/__init__.py", line 350, in goto_assignments
    return self.goto(*self._pos,
  File "/home/chris/.vscode-server-insiders/extensions/ms-python.python-2021.6.897246044-dev/pythonFiles/lib/python/jedi/api/helpers.py", line 484, in wrapper
    raise ValueError('`column` parameter (%d) is not in a valid range '
ValueError: `column` parameter (21) is not in a valid range (0-11) for line 2 (' "cells": [\n').

@joyceerhl Looks like notebooks API is failing. Can you investigate?

@kuelumbus Language server works for me with v2021.7.922878407-dev of the Python extension. Could you please try opting into the daily Insiders channel in the Python extension? That should download the most recent Insider-compatible extension build. Thanks!

Thanks. It works on 2021.7.922878407-dev.


[TW#12148] Crash on reboot while wifi is connecting

Every now and then i get a crash and core dump when the device is supposed to reboot.
So yes, reboot happens, but it's not exactly clean:
I (4063) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (4623) wifi: state: init -> auth (b0)
I (4633) wifi: state: auth -> assoc (0)
Tick
esp32_fs_deinit      Unmounting FS
I (4643) wifi: state: assoc -> run (10)
I (4643) wifi: state: run -> init (0)
I (4653) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
wifi_event_handler   WiFi STA: disconnected, reason 8
mgos_system_restart  Restarting
event_handler        event: 3
Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.

Looks like wifi was connecting when the time came to reboot.
The code that performs reboot is here
The backtrace at the bottom symbolizes to: ieee80211_sta_is_running <- eapol_txcb <- ppProcTxDone <- ppTask
Looks like esp_restart() stopped wifi but then TX callback arrived and touched some state that was already gone (EXCVADDR suggests a NULL struct pointer dereference).

i should not that event 3 is SYSTEM_EVENT_STA_STOP

What did you do when received event 3?

nothing, just print.

Did you use the latest IDF?

i was at the time when this was filed. we are currently using IDF at https://github.com/espressif/esp-idf/commit/65baf502b7777655c7e8088311fdb709cba23109

@rojer Please try the latest IDF to see whether the problem still exist.

Hi @rojer I think this issue is fixed in latest idf.

yes, i haven't seen this in a while. let's consider this fixed.
OTOH, i keep seeing #341 sometimes and have just seen it happen again - with latest, most bleeding edge IDF (a41ac2d21d90fc69f8426eb6036d2d1e1274ec28).


Broken OSK

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit e419ef1873de01b0762f7f1a411994170a4d8cab  (Revert CMake: use add_custom_command for generating protocols (6104)).
Date: Tue May 21 21:29:56 2024
Tag: v0.40.0-117-ge419ef18, commits: 4723

flags: (if any)

System Information:
System name: Linux
Node name: icicle
Release: 6.9.0-rc4-baka+
Version: #1 SMP PREEMPT Thu Apr 18 09:30:50 IDT 2024

GPU information:

os-release: NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo

plugins:
  hyprgrass by horriblename ver 0.6

Bug or Regression?
Bug
Description
On screen keyboards seem to have stopped working on my phone as of the latest hyprland updates
Yesterday i upgraded hyprland from 0.39 to 0.40 and noticed that my OSK stopped working
Oddly enough OSKs still work just fine on desktop
How to reproduce
1: Install any OSK (I personally use wvkbd but wf-osk is broken too)
2: Launch the OSK
3: Tap on an input field (Or launch a terminal)
4: Try typing something
5: No worky
Crash reports, logs, images, videos
No response

cant repro

It appears that the issue is related to a lack of keyboard and mouse, Attaching a keyboard and mouse to my phone made the OSK start working again, Disconnecting it causes the OSK to stop working.

patch.txt
le try

potentially fixed by #6366 ?

Fun
[65/600] Compiling C++ object protocols/libserver_protos.a.p/meson-generated_.._xdg-shell.cpp.o
ninja: job failed: c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++23 -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -DHAS_EXECINFO -march=armv8-a -mtune=generic -Ofast -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o -c protocols/linux-dmabuf-v1.cpp
In file included from protocols/linux-dmabuf-v1.cpp:33:
protocols/linux-dmabuf-v1.hpp:211:22: error: ‘CWlBuffer’ has not been declared
  211 |     void sendCreated(CWlBuffer*);
      |                      ^~~~~~~~~
protocols/linux-dmabuf-v1.hpp:213:25: error: ‘CWlBuffer’ has not been declared
  213 |     void sendCreatedRaw(CWlBuffer*);
      |                         ^~~~~~~~~
protocols/linux-dmabuf-v1.cpp:224:6: error: variable or field ‘sendCreated’ declared void
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
protocols/linux-dmabuf-v1.cpp:224:43: error: ‘CWlBuffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |                                           ^~~~~~~~~
      |                                           wl_buffer
protocols/linux-dmabuf-v1.cpp:224:54: error: ‘buffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |                                                      ^~~~~~
      |                                                      wl_buffer
protocols/linux-dmabuf-v1.cpp:232:6: error: variable or field ‘sendCreatedRaw’ declared void
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
protocols/linux-dmabuf-v1.cpp:232:46: error: ‘CWlBuffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |                                              ^~~~~~~~~
      |                                              wl_buffer
protocols/linux-dmabuf-v1.cpp:232:57: error: ‘buffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |                                                         ^~~~~~
      |                                                         wl_buffer
../hyprpm/src/core/PluginManager.cpp: In function ‘std::string execAndGet(std::string)’:
../hyprpm/src/core/PluginManager.cpp:45:50: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
   45 |     const std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd.c_str(), "r"), pclose);
      |                                                  ^
ninja: subcommand failed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: hyprland-git-exit status 4

its called not updating hw-s

potentially fixed by #6366 ?

I'm afraid not

Fun
[65/600] Compiling C++ object protocols/libserver_protos.a.p/meson-generated_.._xdg-shell.cpp.o
ninja: job failed: c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++23 -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -DHAS_EXECINFO -march=armv8-a -mtune=generic -Ofast -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._linux-dmabuf-v1.cpp.o -c protocols/linux-dmabuf-v1.cpp
In file included from protocols/linux-dmabuf-v1.cpp:33:
protocols/linux-dmabuf-v1.hpp:211:22: error: ‘CWlBuffer’ has not been declared
  211 |     void sendCreated(CWlBuffer*);
      |                      ^~~~~~~~~
protocols/linux-dmabuf-v1.hpp:213:25: error: ‘CWlBuffer’ has not been declared
  213 |     void sendCreatedRaw(CWlBuffer*);
      |                         ^~~~~~~~~
protocols/linux-dmabuf-v1.cpp:224:6: error: variable or field ‘sendCreated’ declared void
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
protocols/linux-dmabuf-v1.cpp:224:43: error: ‘CWlBuffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |                                           ^~~~~~~~~
      |                                           wl_buffer
protocols/linux-dmabuf-v1.cpp:224:54: error: ‘buffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  224 | void CZwpLinuxBufferParamsV1::sendCreated(CWlBuffer* buffer) {
      |                                                      ^~~~~~
      |                                                      wl_buffer
protocols/linux-dmabuf-v1.cpp:232:6: error: variable or field ‘sendCreatedRaw’ declared void
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~
protocols/linux-dmabuf-v1.cpp:232:46: error: ‘CWlBuffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |                                              ^~~~~~~~~
      |                                              wl_buffer
protocols/linux-dmabuf-v1.cpp:232:57: error: ‘buffer’ was not declared in this scope; did you mean ‘wl_buffer’?
  232 | void CZwpLinuxBufferParamsV1::sendCreatedRaw(CWlBuffer* buffer) {
      |                                                         ^~~~~~
      |                                                         wl_buffer
../hyprpm/src/core/PluginManager.cpp: In function ‘std::string execAndGet(std::string)’:
../hyprpm/src/core/PluginManager.cpp:45:50: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
   45 |     const std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd.c_str(), "r"), pclose);
      |                                                  ^
ninja: subcommand failed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: hyprland-git-exit status 4

When I try update hyprland from 0.40 to 0.41 in Gentoo, I also got it, but I think it's not due the same reason.

its called not updating hw-s

I'm confused, What's meaning is hw-s

@xz-dev hyprwayland-scanner.

try now

Can confirm, it works!
Another flawless victory for vaxry :+1:


transpile to ES5 pre-npm publish

I was trying to use CapitalJS and had to run Babel since the published code isn't transpiled. This adds a script to transpile the ES6 code to ES5 on npm publish.
Review
@contolini @cfarm

I'm getting this same babel error locally. Not sure why.

It took some fiddling, but it should work now.


Kibana prompt to enter password

In Mac, after success full installation. Kibana login page is popping up. As per the document it should prompt to select the default Index. On configuring user name and password in kibana.yml file the system throws elastic licensing error. Please add the default user name and password in documents.
Able to login with  elastic/changeme in Kibana but the rest of components (logstash, beats) are unable to establish the connection.
Here is a error message
root@vagrant-ubuntu-trusty-32:/var/log/elasticsearch# curl http://localhost:9200/
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security_exception","reason":"missing authentication token for REST request [/]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}},"status":401}root@vagrant-ubuntu-trusty-32:/var/log/elasticsearch# curl http://localhost:9200/
{
Port 9200 and 9300 are not running tcp 4
vagrant@vagrant-ubuntu-trusty-32:~/.ssh$ netstat -lt |egrep '9200|9300|5601'
tcp        0      0 :5601                  :                     LISTEN
tcp6       0      0 localhost:9300          [::]:                  LISTEN
tcp6       0      0 ip6-localhost:9300      [::]:*                  LISTEN
tcp6       0      0 ip6-localhost:5601      [::]:*                  LISTEN
tcp6       0      0 localhost:9200          [::]:*                  LISTEN
tcp6       0      0 ip6-localhost:9200      [::]:*                  LISTEN

That's X-Pack, I'll fix this. Skip the final step to run without security in the meantime.
Thanks for reporting!

Hi @poornalingam,
I've just pushed a fix for Logstash, the Beats and added some documentation. Let me know if stuff still does not work as expected :)


Show Ranked All Pick ban nominations

Can you add information about the banned heroes and ban nominations  in ranked matchmaking like Dotabuff does ?

Yes, I think so.  I've seen this data in the replay.

In the Skill Builds panel you have level up information, what each hero leveled up at that particular level.
I think it would be nice if a little timestamp was shown to tell us also when that hero reached that level ?
Similar to the item timings in DotaBuff, but for leveling up.

For anyone interested: I believe these show up as CHAT_MESSAGE events (same as rune pickups, etc.)

I think this data might actually be returned by the steam API now.  Need to confirm

Update: The data has the bans, but not the nominations.


Fixed typographical error, changed aggresive to aggressive in README.

@mono, I've corrected a typographical error in the documentation of the CocosSharp project. You should be able to merge this pull request automatically. However, if this was intentional or if you enjoy living in linguistic squalor, please let me know and create an issue on my home repository.

Thanks.


Table

Description
The react-table is a lightweight, fast, fully customizable (JSX, templates, state, styles, callbacks), and extendable Datagrid built for React. It is fully controllable via optional props and callbacks.
Screenshots

Additional information
No response

@mishrashree18  @rajasingh10  Have a look on this issue.
And please assign it to me.

@DishaSharma-dev you are already assigned with progress bar

@rajasingh10 I am done with progress bar.
Please change the label from SWoC to Woc.


Adds support for git-based catalogs, explicit git-based modules, managed catalogs, and fixes build without pkg_mgmt feature set

Adds support for git-based catalogs, explicit git-based modules, and fixes build without pkg_mgmt feature set.
Currently the OpenSSL dependency is on by default.  If we want to make it a build-time switch at the CMake level, we will need to feature-gate the requirements in ./python/CMakeLists.txt, as well as changing whether the "git" feature is passed to the cargo library build.
Currently we don't have any features that require coordinate between CMake and cargo so I wasn't sure how you want to handle that
the GIT CMake option will enable or disable git support.  It is on by default.  To disable it, pass -DGIT=OFF to cmake

The major one is https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1610922376
I still going through files but decided to leave comments which I already have to discuss them.

I looked at all changes you made they are ok, but I am not sure what do you think about comments left unanswered?

There are several outstanding discussion points where there are several good options available and I wanted your feedback on your preference.

Should "optional builtin" modules, like catalog access operations, be loaded directly or via the catalog / pkg_mgmt system?  https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1610899402
Do you think additional changes to the catalog management atoms are an improvement? https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1610922376

There are several other points you raised where I don't believe, on balance, additional change is justified.  To each of those I commented to that effect.

https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1610893425
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1610924228
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1611104555 & https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1611582155
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1612684174 (I think the Requirement API should be done as a separate PR in the future)
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1612711312
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1613098768
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1613126819
https://github.com/trueagi-io/hyperon-experimental/pull/691#discussion_r1613209311

You are saying you commented the questions but I don't see these comments. Is it possible you didn't publish them? May be it is some GitHub glitch.

You are saying you commented the questions but I don't see these comments. Is it possible you didn't publish them? May be it is some GitHub glitch.

Agh!  Sorry.  I didn't realize I had to "submit" the comments...  I've never needed to do that before.


sysstat: 12.3.1 -> 12.3.2

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sysstat/versions.
meta.description for sysstat is: "A collection of performance monitoring tools for Linux (such as sar, iostat and pidstat)"
meta.homepage for sysstat is: "http://sebastien.godard.pagesperso-orange.fr/"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 12.3.2 with grep in /nix/store/ma71k34glakvdyji6adihkkmjq0pmr15-sysstat-12.3.2

directory tree listing: https://gist.github.com/0203d0dccf1058ec109e11b5e6c2c8ac

du listing: https://gist.github.com/b223674a0580042dce01ec4b867dfe6f

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

376 total rebuild path(s)

134 package rebuild(s)

134 x86_64-linux rebuild(s)
120 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
120 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bareos
ceph
ceph-client
ceph-dev
collectd
collectd-data
deepin.dde-api
deepin.dde-control-center
deepin.dde-daemon
deepin.dde-dock
deepin.dde-file-manager
deepin.dde-kwin
deepin.dde-launcher
deepin.dde-session-ui
deepin.deepin-desktop-base
deepin.deepin-desktop-schemas
deepin.deepin-wallpapers
deepin.startdde
docker-machine-kvm
docker-machine-kvm2
easysnap
gnome3.gnome-boxes
grub2
grub2_efi
grub2_full
grub2_pvgrub_image
grub2_xen
haskellPackages.libvirt-hs
haskellPackages.libzfs
i3blocks-gaps
libceph
libguestfs
libguestfs-with-appliance
libvirt
libvirt-glib
libvirt_5_9_0
libvmi
linuxPackages-libre.zfs
linuxPackages-libre.zfsStable
linuxPackages-libre.zfsUnstable
linuxPackages.zfs
linuxPackages.zfsStable
linuxPackages.zfsUnstable
linuxPackages_4_14.zfs
linuxPackages_4_14.zfsStable
linuxPackages_4_14.zfsUnstable
linuxPackages_4_19.zfs
linuxPackages_4_19.zfsStable
linuxPackages_4_19.zfsUnstable
linuxPackages_4_4.zfs

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ma71k34glakvdyji6adihkkmjq0pmr15-sysstat-12.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's 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 sysstat https://github.com/r-ryantm/nixpkgs/archive/00d80340bb229de8f104c7f7445e14d638745507.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ma71k34glakvdyji6adihkkmjq0pmr15-sysstat-12.3.2
ls -la /nix/store/ma71k34glakvdyji6adihkkmjq0pmr15-sysstat-12.3.2/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @edolstra for testing.

@GrahamcOfBorg eval

@GrahamcOfBorg eval

@GrahamcOfBorg build zfs zfstools


Add support for tracing swagger-tools

This uses a very express-like framework for serving up APIs: https://github.com/apigee-127/swagger-tools

We can investigate patching swagger-tools officially but will have to assess the maintenance burden longer term. Our hooks rely on patching underneath the module interface and can be broken on minor version releases.
In the mean time, we are happy to accept community contributions for new module hooks, help with review, and run provided tests but may not provide ongoing maintenance to support new versions.

Does #305 fix this issue for you?

I'll have a chance sometime later this week to switch back to cloud-trace-nodejs (currently using my forked GitHub repository so I can have this functionality in production).

@hach-que Any update on whether #305 fixes this?

Yeah that branch comes straight from my fork which I was and still am using (haven't had a chance to switch back yet).

Ok, I'm going to close this for now. If there are any issues when you switch back please let us know.


Tidy up mypy errors

General code refactoring and improvements to appease mypy within the weaviate/collection directory

Codecov Report

:exclamation: No coverage uploaded for pull request base (pydantic_experiment@8be77de). Click here to learn what that means.
Patch coverage: 82.05% of modified lines in pull request are covered.

Additional details and impacted files
@@                  Coverage Diff                   @@
##             pydantic_experiment     #431   +/-   ##
======================================================
  Coverage                       ?   93.96%
======================================================
  Files                          ?       76
  Lines                          ?    10382
  Branches                       ?        0
======================================================
  Hits                           ?     9755
  Misses                         ?      627
  Partials                       ?        0

Files Changed
Coverage Δ

weaviate/collection/collection_model.py
78.87% <71.42%> (ø)

weaviate/collection/grpc.py
85.71% <71.87%> (ø)

weaviate/collection/config.py
84.70% <83.33%> (ø)

weaviate/collection/classes.py
96.56% <91.66%> (ø)

weaviate/collection/collection.py
94.59% <100.00%> (ø)

weaviate/collection/data.py
72.26% <100.00%> (ø)

weaviate/schema/crud_schema.py
78.66% <100.00%> (ø)

weaviate/warnings.py
95.74% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mypy is not a fan of this function and it has no easy fix so we will need to refactor its business logic
@staticmethod
def remove_optional_type(python_type: type) -> type:
    is_list = get_origin(python_type) == list
    args = get_args(python_type)
    if len(args) == 0:
        return python_type

    return_type = [t for t in args if t is not None][0]

    if is_list:
        return List[return_type]
    else:
        return return_type


Add operand type info to summarizeLinalgOp::summarizeLinalgOp()

Appends a string of datatypes for each op operand during summarizeLinalgOp(). Note that the number of datatypes listed are based on the number of operands (input and output), not dimension. In the case that all the types match, only one type is printed (for brevity).
Some examples of before:
forward_dispatch_1_generic_1x128x768
forward_dispatch_14_matmul_128x768x768
forward_dispatch_8_batch_matmul_12x128x128x64

... and after:
forward_dispatch_1_generic_1x128x768_i32xi32xf32
forward_dispatch_14_matmul_128x768x768_f32
forward_dispatch_8_batch_matmul_12x128x128x64_f32x

(see the full dump for mobilebert after tile&distribute to workgroups here)

@ScottTodd this is a new dump with the type summarization in effect: https://gist.github.com/KoolJBlack/0fd1043c39a18806dfd655773a000b39


Syndicate assault cyborgs are fullbright somehow

Description
Title. They aren't affected by darkness anymore.
Reproduction
Step 1. Summon/spawn a Syndicate assault cyborg
Step 2. Go to a dark area with it
Step 3. Watch as it just doesn't get hidden
Screenshots

Additional context
Only appears to work on the assault borg. The borg had its panel open, though

Thats only the "syndicate assault cyborg [Battery, Module, ...." iirc. They do not appear in full bright when spawned with a radio, only when spawned with the menu ( and I think they lose it when they get taken over?)

you right, i was admeming when i saw this


remove fade

I rule and have completed some work on Case Manager that's ready for review!
removed the fade on hover function
This pull request makes the following changes:

deleted the fade section of the flash section of the stylesheet

(If there are changes to the views, please include a screenshot so we know what to look for!)
I tried to screenshot, but it doesn't last long enough! Did confirm that it works locally though.
It relates to the following issue #s:

Fixes #1913
Bumps #Y

CI failure is fake; merging.


[Master Tracker] Operator Support

This is the root level tracker for the % of operators for the Moreh project. The main tracker is internal https://docs.google.com/spreadsheets/d/18g0QjVsOApHfMtDbzJmlP7a4YX3ZmxP1RRyu2Z-R7LQ/edit#gid=1055366612 but we will use this to provide weekly snapshot on how we progress.
Set this as P1_critical as it contains issues that are MNIST + GPT2 blocking.

Weekly Update -

MNIST - 7/8 completed (missing Typecast)
GPT2 - 30/38 completed (5 missing op by Moreh; 3 missing op by TT)
Remaining in Phase 2 - 101/176

Weekly Update - Tracker https://docs.google.com/spreadsheets/d/18g0QjVsOApHfMtDbzJmlP7a4YX3ZmxP1RRyu2Z-R7LQ/edit#gid=1055366612

MNIST - 7/8 completed (missing Typecast)
GPT2 - 34/38 completed
Total Remaining up to phase 2 (Phase 1 and Phase 2 combined) - 156/217 completed, 14/217 not done, 47/217 deferred

note about "deferred" - this is the work originally scoped as phase 2 but due to some blockers, we group these issues together and will do some planning to overcome the blockers. The tentative plan is to execute it in May

To achieve feature complete on the op side for E2E single device training of MNIST/GPT2/T5, the only thing missing is #4858.


bug(noir_aztec): noir aztec does not fail if a return value is defined but not given

Brought to our attention by https://github.com/AztecProtocol/aztec-packages/pull/2069#discussion_r1322091561,

The function that the comment addresses looks to return 1. Was the code updated after the comment was made?

The function that the comment addresses looks to return 1. Was the code updated after the comment was made?

Yes, it was updated after

rip there are gone


Highlighting works, but Meta strings do not work

I was able to syntax-highlight the code displayed in MDX using rehype-pretty-code in Next13, but here is the site (https://rehype-pretty-code.netlify.app/ )
However, all of the Meta strings listed on this site do not work.
I have done a lot of research and could not figure out why, so I would appreciate it if you could let me know.
Below is the actual code and an image of Meta strings not working.

MDX file

import Layout from "@/components/layout";
import { postsFileNames, postsPath } from "@/utils/mdxUtils";
import path from "path";
import matter from "gray-matter";
import { MDXRemote } from "next-mdx-remote";
import { serialize } from "next-mdx-remote/serialize";
import mdxStyles from<EMAIL_ADDRESS>import rehypePrettyCode from "rehype-pretty-code";

export default function About({ source }) {
    return (
        <>

                        <MDXRemote {...source}></MDXRemote>

        </>
    );
}

export async function getStaticProps() {
    const content = fs.readFileSync(path.join(postsPath, "pages/about.mdx"));
    const options = {
        // Use one of Shiki's packaged themes
        theme: "dark-plus",
        keepBackground: true,
    };
    const mdxSource = await serialize(content, {
        mdxOptions: {
            remarkPlugins: [],
            rehypePlugins: [[rehypePrettyCode,options]],
        },
    });
    return { props: { source: mdxSource } };
}

dependencies
  "dependencies": {
    "@chakra-ui/react": "^2.6.1",
    "@emotion/react": "^11.11.0",
    "@emotion/styled": "^11.11.0",
    "@mdx-js/loader": "^2.3.0",
    "@next/mdx": "^13.4.3",
    "@types/node": "20.2.1",
    "@types/react": "18.2.6",
    "@types/react-dom": "18.2.4",
    "autoprefixer": "10.4.14",
    "eslint": "8.41.0",
    "eslint-config-next": "13.4.3",
    "framer-motion": "^10.12.12",
    "gray-matter": "^4.0.3",
    "next": "13.4.3",
    "next-mdx-remote": "^4.4.1",
    "postcss": "8.4.23",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "rehype-pretty-code": "^0.9.5",
    "shiki": "^0.14.2",
    "tailwindcss": "3.3.2",
    "typescript": "5.0.4"
  }

The meta strings require specifying how you want to manipulate the nodes in the options object — you haven't yet specified onVisitHighlightedWord to manipulate the node and allow any styling to appear.
onVisitHighlightedWord(node, id) {
  node.properties.className = ['word'];

  if (id) {
    // If the word spans across syntax boundaries (e.g. punctuation), remove
    // colors from the child nodes.
    if (node.properties['data-rehype-pretty-code-wrapper']) {
      node.children.forEach((childNode) => {
        childNode.properties.style = '';
      });
    }

    node.properties.style = '';
    node.properties['data-word-id'] = id;
  }
}

I had overlooked it. Thank you so much for your help!


Fails to load history (Netflix) previous than 1,5 year ago

Hi!
Everything seemed to be working very well while syncing my 4 years long netflix history, but when the srocbbler reached 1st of march, it crashed with the message "failed to load history". I don't know if it's linked to the date or number of contents (because I've watched many things since march 2021.
I tried to deactivate image loading in the settings, but it didn't change anything.

I tried on firefox and I get the exact same problem

There are several problems now but it started like that for me. Now it's just a coincdence if it loads at all. However, if it works, then always just until this date. On Firefox and Chrome.
I tried everything I can think of: Clear Cache, Clear Storage, Log out - log in again, deleting it on the browser, deleting the files and downloading them again. It's really a pity...

I have this same issue, however it is also preventing me from setting up automatic syncing.
Personally I do not need to have the history as far back, however as no sync ever finishes due to the error the option to enable automatic syncing is still awaiting a first sync date.
This is also on Chrome, with the 14-10 beta release installed.

It's very hard to determine the cause of this. Based on your description it seems that there is a title in your history that causes something to fail. I could be that the title contains strange characters, or is in a strange format. It could also be that the series or movie has been removed from Netflix and this causes some error in the lookup. Anyways it would be much easier to figure this out if you compare it to the netflix history on your activity-page on your profile. Spot the show or movie that causes the error.

I am also able to reproduce the error but it happens so fast I cant see the show\movies name.

My "trick": Recording the screen while scrolling down (the easiest way with windows key + G). Then you can click pause and look which one was the last entry before it crashes. In my case the error occured because of entries earlier to this one I had to look up on Netflix.

Ok so the problem seems to be linked with series which are not anymore on Netflix, because as I scrolled through my watching history, guess what, I was watching Prison break on 1st of March 2021, which isn't anymore on Netflix. I'm going to remove it from the history and try to scrobble again.

For others with the same or a similar problem: So, first there was a show in the offical netflix history of which the name/title suddenly dissapeared. Deleting this one didn't helped completley. I tested and deleted step by step some entries/entire shows which are currently gone and it seems to work. Thank you for that, @MrMamen.
Fortunately I synced them already with traktflix or saved the time stamps. Otherwise I would like to keep entries of gone shows, because sometimes they come back and Netflix would know too where I stopped, so I did it just for the years 2020-2022. Now it crashes "just" after that while scrolling. I noticed that at first the scrobbler sync history skipped the shows it could'nt recognize and I could continue scrolling until it crashed further back in time. I wonder if it could do this with every unrecognizable show/movie. I would prefer this to deleting irretrievably on Netflix.

What you can also do is downloading your Netflix history as a CSV, and import manually (it's pretty long but still a solution) the titles that are not anymore on Netflix, and therefore can't be recognized the scrobbler, while removing them from your online Netflix history so that the scrobbler can continue its work

We ideally want to support syncing of shows that are gone from Netflix and other services. It does however require some additional logic since a lot of episodic details are missing from the history page.

Probably resolves #235 too


Setup.py Bug in cookie cutter

According to the instructions in CONTRIBUTING.rst from the cookie-cutter template
There is an error in setting the local environment up -
python setup.py
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    with open("README.rst") as readme_file:
FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

The issue remains the same for
python setup.py develop
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    with open("README.rst") as readme_file:
FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

Implement the 'README.rst'

temporary fix done in #26
closing the issue


Fix for Issue #593 (Bug in AjaxCart template)

Removed two stray  tags which were causing improper rendering of DOM on AjaxCart update. Previously, any additional products placed in the cart after the first product would be rendered outside their intended parent .ajaxcart__inner. products are now rendered correctly within .ajaxcart__inner.
Refer to Issue #593 for more information.

Great catch on this. Thanks for the PR


Sensor values don't add up and regularly report "green usage" when I have no solar

Version of the custom_component
0.0.20
Configuration
Just logged in as usual.  I have a Zappi 2 charger with a Hub.
Describe the bug
The values displaying for the zappi usage today don't make a lot of sense.  In the screenshot attached you can see that I've apparently used zero kWh today of energy on the zappi but 14kWh of so called "green energy".  This despite me not having any means of generating green energy.  This used to happen a lot but seems to have started again today (I did install an update two days ago so it's possible it's started then?)
Additionally, it's reporting that my on going charging session has used 17kWh of energy, so either total for today of 0 or 14 don't fit at all.
I realised something was up when. my sankey chart showed over 19kWh of unknown usage today and realised the car had vanished but switching back to the green energy usage (as I say, that used to be a bug that disappeared a while back) didn't account for it enough.

Debug log

Add your logs here.

Could the sensor ring on your power cable to the house by the wrong way around? It's a clip that goes over the power line (usually near your meter) and it can be installed the wrong way.

This issue needs to be closed, there has been no update from the originator for nearly 2-years.
Please close it.


PLANNING - Disentangle AWS Account

Production, staging, and development instances of cloud.gov run in the same AWS account representing significant risk. Operations intended for development or staging environment could have unintended consequences on production.
Recommend starting with a research-based task to figure out approach.
Acceptance Criteria:

[ ] Review and document existing AWS account structure and rationale / history.
[ ] Identify challenges / opportunities of account consolidation, particularly things that could cause issues.
[ ] Estimate level of effort required to make changes.
[ ] Share with the team (either through documentation or a briefing) a recommended path forward.

This story is not to do the actual disentanglement but instead to come up with a plan for how to do the work. An outcome might be creating stories and/or an epic.

I started with Aidan and infrastructure the process for getting the additional AWS accounts we need for this, and a good thing as it's taking 6+ weeks to sort our.  In the end we'll have in each of AWSe/w and AWSGovCloud the following accounts:

jump
prod
stage
dev
sandbox

Schedule the planning meeting for after 11/3.

Had a meeting today. @bengerman13 wrote up the two possible approaches which will be discussed in the engineering huddle. Will assess if the team has capacity to start work on 11/30.


docs: updated docs with supported parsers

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (00f725f) to head (d4de58d).

Additional details and impacted files

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          117       117
=========================================
  Hits           117       117

Continue to review full report in Codecov by Sentry.

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


Wrong redirect

https://repo.msys2.org/mingw/clangarm64 redirects to non-https

Fixed via 36a6c1a44da040eaf714d873 and f8e41b60ffecd3efd81720


Added definitions for jQuery.qrcode. Closes #6292

#6292

jquery.qrcode/jquery.qrcode.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/jquery.qrcode
http://bower.io/search/?q=jquery.qrcode
others?

[X] has a test file? (jquery.qrcode/jquery.qrcode-tests.ts or others)
[ ] pass the Travis-CI test?

https://github.com/lrsjng/jquery-qrcode/blob/master/package.json#L2
please rename jquery.qrcode/jquery.qrcode.d.ts to jquery-qrcode/jquery-qrcode.d.ts

Hi, I'm not sure what I should do about the naming ...
I mean, yes, the project has a package.json file with the naming "jquery-qrcode", but it's not actually published to npm (under any name).
It is however published in bower under jquery.qrcode, and to add to the confusion there is another entry in bower named jquery-qrcode which is a totally different plugin.
Even more confusing is that this repo seems to have been renamed at one point from jquery.qrcode to jquery-qrcode. I guess the author renamed the project, then realised that the bower name was taken, and took it offline, only to be added back by someone else
So taking this into consideration I figured I'll add it with the name it is published in bower, since I guess that's where people are likely to get it from.
LOL, this is such a mess :))
If you think it's better to rename it, then I will :)

okay, i understand. it merged! thanks.

thanks :)


How can I use lua-language-server.exe outside of VSCode

Now I want to define a Lua Client, I want to make the client to communicate to the lua-language-server so I can parse lua code in my editor.
I looked at the  issue, but I don't quite understand how I can communicate with the server through standard input and output. And how can I send a request to the server and get a response from the server.
Can you give me some example or information?
Thank you very much

I'm not sure what your purpose is.
If you want to implement a complete language client, then you can refer to the LSP documentation: https://microsoft.github.io/language-server-protocol/.
If you only want features such as offline diagnosis, you can refer to my test code to run directly on the server, without implementing the client: https://github.com/sumneko/lua-language-server/blob/1c1b62b4343ecb2f360a9ce81524962bf2e80f55/test /diagnostics/init.lua#L52-L75

I want to implement a complete language client with Cpp

I launch lua-language-server by bin\Windows\lua-language-server.exe -E main.lua, How Can I communicate to it?

I think what you are encountering is a basic CPP programming problem. Since this question has nothing to do with this project, and I am not good at CPP, I cannot answer you. I suggest you find the answer through search engines or websites such as stackoverflow.
In Lua, I use a function provided by a third-party library to start the subprocess. After startup, the function will return a subprocess object, which stores the standard output and standard input handles of the subprocess. I can read and write them through these handles. CPP should have a similar standard library.

I will try it. Thank you

你好，怎么可以打开server的日志功能，记录下server的JSONRPC信息

jsonrpc.lua 里加log

你好，当我下载了github上最新的server代码，本地编译出lua-language-server.exe，替换到vscode插件里之后，发现vscode中lua插件失效了，无法识别lua文件，且不提示功能。
本地编译时，需要修改tasks.json 22行
"command": "chcp 65001 && ${workspaceFolder}/3rd/luamake/compile/msvc_x64.bat"

请更新一下子模块，应该已经没有 msvc_x64.bat 这个文件了

你好，我在jsonrpc.lua中添加了log操作

可是我在插件日志没看到日志

自己检查


Recurring Donation - Opportunity Naming not Updating Correctly with Next Donation Date Change

Issue
Updating the field npe03__Next_Payment_Date__c (Next Donation Date) on a Recurring Donation record does not properly update the related Opportunity names, as defined by the NPSP Settings, when it includes {!CloseDate}. While it does update the Opportunity Close Date field, it appears that the trigger updating the related Opportunity names is updating the names BeforeUpdate, and subsequently pulling the previous value, not the updated value, into the naming from the Close Date field.
Steps to Repeat

Ensure that Opportunity Naming convention is setup via NPSP Settings > Donations > Opportunity Names, and that it includes "Close Date"

Example: {!Contact.Name} {!Amount} {!RecordType.Name} {!CloseDate} {!Recurring_Donation_Installment_Name__c}

Create a Recurring Donation record with npe03__Next_Payment_Date__c (Next Donation Date) populated.
Related Opportunities should reflect, in their name, the same date as the Close Date field, as expected
On the same Recurring Donation record, update the npe03__Next_Payment_Date__c (Next Donation Date) field to a date in the future.
Related Opportunities' Close Dates will update to reflect the change of the value from Next Donation Date; however, Opportunity name will show the Close Date from prior to the change.
Update the Recurring Donation npe03__Next_Payment_Date__c (Next Donation Date) again to see the change reflect once more: Opportunity name will show the Close date prior to the change, and the Opportunity Close Date will show the correct value associated with the Recurring Donation Next Donation Date

**lurch: add

Tracking W-035656

As of latest 3.191 release around Jan. 31st, 2021, Auto Naming now fails for new opportunities whether created from scratch or cloned from an existing Opportunity.
Also, Form Assembly submitted data for creating Recurring Donations auto-names the 1st Installment incorrectly but names the additional installments as expected. This is Legacy and not Enhanced where I'm experiencing this.
Nonprofit Success Package in Production shows a last modified Jan. 27th
NPSP in Sandbox from Jan. 5th shows last modified Jan. 21st
In my Sandbox auto-naming is still working. With no other Salesforce work around Opportunity naming on my side, I suspect a recent update broke the auto-naming in Production.

Hi Deron, we don't provide support via GitHub issues.
Please could you post about this in the Power of Us Hub? Feel free to @message me.

W-7782875

Salesforce has determined that this issue will not be explored further.


Add Vagrant configuration for easy development

The current CI systems (Travis and AppVeyor) do awesome job, but relying on them for local development edit-build-test cycle is time consuming. Often, we don't need full build while working on particular feature/fix in a particular backend.
There is a need to remove as much friction as possible from local develpment workflow and help developers and contributors do their job easily and quickly.
(See PDAL as an example of project with numerous dependencies that provides Vagrant setup.)
We need Vagrant setup that enables us to easily provision VM with complete SOCI development environment including all required dependencies and supported DBs running. As Oracle and DB2 are huge behemots, we may need three VM configurations: Oracle, DB2, all the other DBs).
Initially, we can do it based on Linux.
Later, we can try with Windows to provide SQL Server environment.
There is lots of Vagrant files laying around on GitHub for provisioning Linux VM with Oracle, DB2 and others.
I have Zero experience with Vagrant myself, so it may take a while until I learn the beast.
So, Vagrant gurus wanted!

Base configuration has been added. Provisioning with Oracle and DB2 is next step.
Testers welcome!

For the records, DB2 has been added 137efc496e8d0831890d42a42e2c4597c4d24b76


chore: Golf Finset.exists_subsuperset_card_eq

Thanks Bhavik!

I'd prefer to block this on #14431, to motivate review there once I finish up in an hour or so


fixed formatting issue for certification page: Continuous Delivery & GitOps Certifications | Harness Developer Hub

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ yes] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ yes] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

LGTM


Fix powernetworkbattery typo

Not on any of our maps.

bors r+
testing if it works regardless of master merg.

bors cancel


Getting sidebar to use Filter

I added Filter on customText5 field to list.html so jobs only appear for the filtered value.  However, the sidebar still lists all locations and categories for all jobs, not just filtered. The counts represent the full amount of jobs.  If you click on a location, only jobs that meet filter criteria as expected.
What do I need to change in sidebar? or search.service?

I am a little confused by your question. Are you trying to add a new filter to the sidebar or are you trying to filter out published jobs from the career portal?
you can modify the query constructed here: https://github.com/bullhorn/career-portal/blob/master/src/app/services/search.service.js#L164

Thanks for reply and I apologize for confusion as I am new to Bullhorn.  Your suggestion is how I attacked this initially, but it rendered an Oh No! no jobs message.  I then saw another thread  (#58) that pointed me to list.html.  That worked to display jobs only for division (customText5 = "First-Recruiting").  However the sidebar shows all locations and counts of jobs for all divisions not just First Recruiting.  So, I want to change the query that builds that list of locations and counts.

For further background, I made this change to search.service initially, but it was returning Oh No!
let query = (isOpen${isSearch ? ':1' : '=true'});
query +=  AND (customText5 = 'First Recruiting');

So the issue might be that you are using "QuerySytax" when it is using the search API.
ie. try this instead
let query = `(isOpen${isSearch ? ':1' : '=true'})`;
query += `AND (customText5${isSearch ? ':"First Recruiting"' : "='First Recruiting'"})`;

or just assume its a search
let query = 'isOpen:1 AND customText5:"First Recruiting"';

OK so that corrected that, and now sidebar is correct but no jobs display. I used an untouched list.html and the modified search.service:

With the change to list.html that I had previously made and no change to searxh.service, I get

here is what I did there: (adding filter:{customText5: 'First Recruiting' to list.html)

Here is the console messages from gulp serve:dist >consoleloog.txt  I am sorry but I don't see the network logs or how to capture them. I
consolelog.txt

Just to be certain, I pulled a new, fresh copy and only added the change above to search.service with same results.  No jobs show up.

Any suggestions would be greatly appreciated.  Are you thinking it is something in my environment or in the code?

UPDATE: Problem was in the Filter statement.  I needed to use your first suggestion:
let query = (isOpen${isSearch ? ':1' : '=true'});
query += AND (customText5${isSearch ? ':"First Recruiting"' : "='First Recruiting'"});
I am closing this issue.  Thanks for your help.


call: parse Call-Info header for ;answer-after=0

Immediately answer on call if such parameter present.
This function related to Paging and Intercom
Supported by Asterisk/FreePBX and many hardware phones, like Cisco/Yealink/Polycom/Grandstream and etc..
Mainly used by action ORIGINATE in Asterisk.
Would you interested in this PR? I hope I did it in right way. No skills in C programming.

seamus writes:

Immediately answer on call if such parameter present.

What if my baresip doesn't want to obey such a parameter?

I can make it configurable, and disabled by default. If in general it is in demand.

many thanks for your PR this is a very nice contribution
This feature must be configurable on/off otherwise it is a big
security risk. People can just add this header and any call would be
answered automatically.
I am happy to help you with this code.
in general it would be nice if we can achieve the following:

add support for outgoing Call-Info
add support for incoming Call-Info
add a testcase for 2 calls with Call-Info

This feature must be configurable on/off

done.

in general it would be nice if we can achieve the following:

I doubt that I have enough experience for this, especially tests

can you please include here a sample INVITE message with the given header?
(use ngrep).

can you please include here a sample INVITE message with the given header?

#

General form is: Call-Info: <sip:REGISTRAR_IP>\;answer-after=0
But in our environment, we omit this part, and send only <>;answer-after=0
This work with all our phones.

I'm working on a wifi doorbell that I could be able to call from my phone when I need to monitor my front door on demand.  I envision calling the doorbell extension and the doorbell baresip client auto-answering allowing me to monitor the front door via audio/video.

I'm working on a wifi doorbell that I could be able to call from my phone when I need to monitor my front door on demand. I envision calling the doorbell extension and the doorbell baresip client auto-answering allowing me to monitor the front door via audio/video.

I have already in use, with the answer mode "auto".

we will resume the work after @seamus-45 is back from vacation.

are there any plans to revisit this potential feature? I see it wasn't merged into 0.6.5
The addition of an intercom answermode would be a great feature to allow a broader set of use cases for baresip.

I'll happy to see this feature, but do not have resources/knowledge to complete this.
By the way, baresip already have answer mode selection, through MQTT bus or config option.

thanks @seamus-45, can you explain a little more about accessing the feature?
i've tried using the 'o' command through the cli, and am already using the mqtt module but couldn't see how to change the answer mode, outside of adding the param in the account.cfg
any insight would be appreciated.
cheers!

@danpowpow
This quite easy, in the cli use: /answermode auto
MQTT command should looks like: mosquitto_pub -h <baresiphost> -t /baresip/command -m '{"command": "answermode", "params": "auto"}
if my memory serves me..

it's easy when you know how! it works, thankyou so much. I can now switch between intercom mode and regular call by sending this command in advance of dialling.
thanks again :-)


Release Tracking

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

#1844 15869d48 Thanks @camertron! - Remove extra space between flash icon and message

#1840 04b75c70 Thanks @camertron! - Fix issue causing NavList parents to appear selected

#1823 5eadffd3 Thanks @neall! - Add general reserved-class-checking linter

Dotcom PR (internal only): https://github.com/github/github/pull/261707


Feature/233 support sorting needs by date of most recent call

 Support sorting needs by date of most recent call


Track network implement progress

this is a track issue for the network implementation

[x] json rpc framework over websocket (#50)
[x] allow send messages to peers without feedback (#50)
[x] basic network utils and layer API (#50)
[x] replace actor implementation (#55)
[x] close connection if error (#53)
[x] record peer events (#74)
[x] heartbeat (#41, #57)
[x] send version (#52)
[x] hub/challenge (#60)
[x] subscribe (#61)
[x] concurrent joint request checking (#84)
[x] request_joints (#83)
[x] catchup (#92)
[x] hash_tree(#93)
[x] handle joint (#65)
[x] send_joints_since_mci (#96)
[x] checkCatchupLeftovers (#97)
[x] purgeJunkUnhandledJoints (#98)
[x] requestFreeJointsFromAllOutboundPeers (#99)
[x] refine catchup logic (#100)
[x] request lost joints (#103)
[x] findAndHandleJointsThatAreReady (#104)
[x] purge_joint_and_dependencies_and_notify_peers (#105)
[x] send_free_joint (#201)
[x] handle refresh message (#108)
handleSavedPrivatePayments (#155)
wss support (#49)
rerouteble request (#72)
implement actor communication framework (#51)

wallet has a lot other network related issue tracked in #238