Add support for service interface inheritance

Reality Collective - Service Framework Feature Request
Is your feature request related to a problem? Please describe
So this is sorts of an edge case issue and there is many ways to work around it. But maybe something easy enough to fix.
Image the following scenario:

A user is using the Reality Toolkit
They create a custom input service definition IMyInputService that is defined as public interface IMyInputService : IInputService
Then they create an implementation of that service and register it
Now all Reality Toolkit services that depend on IInputService will still fail to look it up because IMyInputService is not identified as a valid IInputService

Completed as of https://github.com/realitycollective/com.realitycollective.service-framework/pull/110


Shutdown error after updating permissions via web editor

Description
If I update permissions via the web editor then shut down my server at any point after that, the server freezes for approximately 10 seconds after the "[LuckPerms] Starting Shutdown Process..." message. After about 10 seconds it prints a stacktrace.
The change I made does seem to have been saved, if I start my server again the change was saved, but taking so long to shut down and throwing an error obviously isn't ideal.
The error is included in the logs and configs section below. Notice how the "Closing Storage..." message appears halfway through the stack trace, so clearly the error is on a separate thread to some other parts of the shutdown process.
Reproduction Steps
Start server
Run /lp editor
Add a permission to a group or make some kind of change
Click apply button to auto apply
Shut down server.
Expected Behaviour
Shut down quickly and with no errors, like it normally shuts down when I haven't used the editor
Server Details
paper 1.18.1
LuckPerms Version
v5.4.5
Logs and Configs
The error:
https://gist.github.com/repeater64/5f69f221e42838a5253aeaaf94418a51
Extra Details
Only happens when I used the web editor in that server session.

I also have exception during shutdown (not every time, probably after using web editor too).
If it's another issue I can create it.
https://paste.gg/p/anonymous/ca0da6ccbc2a42aa9ec3964b9f3224ec

Hello, I have the same problem with the latest devbuild.
Paper all versions, DevBuild: https://ci.lucko.me/job/LuckPerms/1417/

Out of pure curiosity I also tested this and can confirm.
On my test server I have Pufferfish 1.18.2 running with LuckPerms 5.4.10. See: https://pastes.dev/VJPvX2j4nP
I tried this twice, once with the editor window still open and once where the editor window was closed 3 seconds prior to initiating the shutdown process - both turned out to behave the same way.
Aside from this adding roughly 10 seconds to the shutdown, there is no 'damage' though - all data is there and LP works just fine otherwise.

Made some changes in the commit above - there's a good chance this may make things worse, but let me know :]

Made some changes in the commit above - there's a good chance this may make things worse, but let me know :]

Hello, this works for me with the change you made.
Thanks very much.

I can't confirm the statement above.
I tested this 4 times, the first time I thought this is it since there was nothing odd in the console. The following 3 tries this happened: https://pastes.dev/VdTw67n5Qr
What I noticed though is regardless of that popping up, shutdown is not slowed down as it was before anymore.

Awesome, thanks for the feedback!
Another build for you to try ^^ :)

This one did it.
Tested 5 times with different actions (add permissions, remove permissions, add group, remove group, add track, remove track, add context, remove context) and not once any issues :)


Image provider implementation for fast cached image package

@CHRISTOPANANJICKAL are you online can you just check this pr?

adding image provider implementation for fast cache image is merging

Sure. I'll merge it in the weekend. Thanks for the PR

@CHRISTOPANANJICKAL are you online can you just check this pr?

Hii @MerdanDev , Can we have a discussion on this PR?

@CHRISTOPANANJICKAL yes we can.

@CHRISTOPANANJICKAL yes we can.

When will you be available? If you are free can we have it now?

When will you be available? Can you schedule a call?

Oh by phone number I can't call, maybe by skype if you want. Another way is we can discus it by chat.
I personally prefer linkdeIn bcs most of messangers are censored here. My LinkedIn.

Sure

In this commit I have used dio for getting image bytes from network. Can you check it?

Any update?


Revise document with inconsistency

Currently there're many inconsistency code snippets in document, for example the example output is not consistent with example code https://pyo3.rs/v0.20.0/function/signature#using-pyo3signature--

Since you already checked that, maybe you propose a pull request to resolve the issue? Thanks!

I'll collect the issues and fix in one PR


Updated code to work with the newest angular version

Sorry but what's the meaning of "oi" in oi-options="datepickerOptions"?
I did the same thing than you but with ng-datepicker-options instead of ng-options.


Create a file watcher for the project file

On deletion, Lime should deactivate + unregister the completion provider.
On file changes, the display arguments should be updated (preferably not on each save / change though, especially if the user has auto-save enabled, that might flood the server with updates - maybe when the active document is changed to a hx file again).

Are there any updates in that area ? :)


Breaking breeder block does not close opened GUI

The title, basically! Not tested if other GUIs have the same issues.

Fixed in 1.0.30


[Bug Report] HTML Doc Generation gives warnings

[~/Gymnasium-Robotics]$ cd docs
[~/Gymnasium-Robotics/docs]$ make dirhtml _build
Running Sphinx v5.2.3
loading pickled environment... done
myst v0.18.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, words_per_minute=200, sub_delimiters=('{', '}'), linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area')
building [mo]: targets for 0 po files that are out of date
building [dirhtml]: targets for 0 source files that are out of date
updating environment: 0 added, 3 changed, 0 removed
reading sources... [100%] envs/hand_touch/index
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:15: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/fetch/list.html'.
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchReach'
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchSlide'
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchPickAndPlace'
/home/master-andreas/Gymnasium-Robotics/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchPush'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:15: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/hand/list.html'.
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandReach'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandBlock'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandEgg'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandPen'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand_touch/index.md:20: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/hand_touch/list.html'.
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandBlockTouchSensors'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandEggTouchSensors'
/home/master-andreas/Gymnasium-Robotics/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandPenTouchSensors'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/master-andreas/Gymnasium-Robotics/docs/404.md: WARNING: document isn't included in any toctree
/home/master-andreas/Gymnasium-Robotics/docs/README.md: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] index
generating indices... genindex done
writing additional pages... search done
copying images... [100%] _static/videos/fetch/FetchPickAndPlace.gif
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 18 warnings.

The HTML pages are in _build/dirhtml.
Running Sphinx v5.2.3

Sphinx error:
Builder name _build not registered or available through entry point
make: *** [Makefile:20: _build] Error 2

Just run make dirhtml

@mgoulao  same thing

Ok, can you try this: sphinx-build -b dirhtml -v . _build

$ sphinx-build -b dirhtml -v . _build
Running Sphinx v5.2.3
locale_dir /home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/locales/en/LC_MESSAGES does not exists
myst v0.18.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, words_per_minute=200, sub_delimiters=('{', '}'), linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area')
locale_dir /home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/locales/en/LC_MESSAGES does not exists
building [mo]: targets for 0 po files that are out of date
building [dirhtml]: targets for 10 source files that are out of date
updating environment: locale_dir /home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/locales/en/LC_MESSAGES does not exists
[new config] 10 added, 0 changed, 0 removed
reading sources... [ 10%] 404
reading sources... [ 20%] README
reading sources... [ 30%] content/installation
reading sources... [ 40%] content/multi-goal_api
reading sources... [ 50%] envs/MaMuJoCo/index
reading sources... [ 60%] envs/MaMuJoCo/ma_ant
reading sources... [ 70%] envs/fetch/index
reading sources... [ 80%] envs/hand/index
reading sources... [ 90%] envs/hand_touch/index
reading sources... [100%] index

/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/content/installation.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/content/multi-goal_api.md:7: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/MaMuJoCo/index.md:7: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/MaMuJoCo/index.md:27: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/MaMuJoCo/list.html'.
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:15: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/fetch/list.html'.
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchReach'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchSlide'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchPickAndPlace'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/fetch/FetchPush'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:15: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/hand/list.html'.
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandReach'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandBlock'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandEgg'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:19: WARNING: toctree contains reference to nonexisting document 'envs/hand/HandPen'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand_touch/index.md:20: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/hand_touch/list.html'.
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandBlockTouchSensors'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandEggTouchSensors'
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand_touch/index.md:24: WARNING: toctree contains reference to nonexisting document 'envs/hand_touch/HandPenTouchSensors'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/404.md: WARNING: document isn't included in any toctree
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/README.md: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [ 10%] 404
writing output... [ 20%] README
writing output... [ 30%] content/installation
writing output... [ 40%] content/multi-goal_api
writing output... [ 50%] envs/MaMuJoCo/index
writing output... [ 60%] envs/MaMuJoCo/ma_ant
writing output... [ 70%] envs/fetch/index
writing output... [ 80%] envs/hand/index
writing output... [ 90%] envs/hand_touch/index
writing output... [100%] index

/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/README.md:4: WARNING: 'myst' reference target not found:
generating indices... genindex done
writing additional pages... search done
copying images... [100%] _static/videos/fetch/FetchPickAndPlace.gif

copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 23 warnings.

The HTML pages are in _build.

same issue

What is the issue? The InputError: [Errno 2] No such file or directory: 'envs/hand_touch/list.html' is normal if you haven't run the gen_envs_display.py and is not needed when writing the docs.

this does not remove all the warnings

[master-andreas@master-pc ~/ai/Gymnasium-Robotics-Kalli/docs]$ py scripts/gen_envs_display.py
[master-andreas@master-pc ~/ai/Gymnasium-Robotics-Kalli/docs]$ make dirhtml
Running Sphinx v5.2.3
making output directory... done
myst v0.18.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=[], disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, highlight_code_blocks=True, number_code_blocks=[], title_to_header=False, heading_anchors=None, heading_slug_func=None, footnote_transition=True, words_per_minute=200, sub_delimiters=('{', '}'), linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area')
building [mo]: targets for 0 po files that are out of date
building [dirhtml]: targets for 10 source files that are out of date
updating environment: [new config] 10 added, 0 changed, 0 removed
reading sources... [100%] index
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/content/installation.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/content/multi-goal_api.md:7: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/MaMuJoCo/index.md:7: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/MaMuJoCo/index.md:27: CRITICAL: Problems with "raw" directive path:
InputError: [Errno 2] No such file or directory: 'envs/MaMuJoCo/list.html'.
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/fetch/index.md:19: WARNING: toctree glob pattern './*' didn't match any documents
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:6: WARNING: Document headings start at H2, not H1 [myst.header]
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand/index.md:19: WARNING: toctree glob pattern './*' didn't match any documents
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/envs/hand_touch/index.md:24: WARNING: toctree glob pattern './*' didn't match any documents
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/404.md: WARNING: document isn't included in any toctree
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/README.md: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] index
/home/master-andreas/ai/Gymnasium-Robotics-Kalli/docs/README.md:4: WARNING: 'myst' reference target not found:
generating indices... genindex done
writing additional pages... search done
copying images... [100%] _static/videos/fetch/FetchPickAndPlace.gif
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 12 warnings.

The HTML pages are in _build/dirhtml.

Here is an image (which includes colors)

This matters because the doc building guide:
https://github.com/Farama-Foundation/Gymnasium/blob/main/docs/README.md#build-the-documentation
only says to run make dirhtml _build, and if someone gets warning, is likely to not contribute

@mgoulao @Kallinteris-Andreas  what's the status on this?


feat: create new Keptn umbrella Helm chart

we can fix the helm chart ref in the docs now so we fix the pipelines 🐈


bug: ios cursor missing in contenteditable div

Type: bug
Platform: ios 8 webview
I put this in my css file
div[contenteditable=true] {
  -webkit-user-select: auto !important;
  -khtml-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  -o-user-select: auto !important;
  user-select: auto !important;
}

and I have this in my ion-content:
<div id='input' contenteditable=true >
    test
</div>

it works fine in browser and android,but in ios no cursor is shown when click this div,I can edit it's content although.

Greetings @Nick-The-Uncharted!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

@Nick-The-Uncharted What was the solution?

[contenteditable] {
        -webkit-user-select: text;
        user-select: text;
}


Snigle line [question]

Win10 (1803):
1.33.1:
1.4.11:

VS Code:
{
    "dart.flutterSdkPath": "A:\\Programming\\SDK\\flutter",
    "terminal.integrated.rendererType": "dom",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "editor.acceptSuggestionOnEnter": "on",
    "editor.quickSuggestionsDelay": 50,
    "window.closeWhenEmpty": false,
    "files.encoding": "utf8",
    "editor.dragAndDrop": true,
    "files.insertFinalNewline": false,
    "editor.showFoldingControls": "mouseover",
    "editor.find.seedSearchStringFromSelection": true,
    "files.hotExit": "onExit",
    "editor.lineNumbers": "on",
    "editor.selectionHighlight": true,
    "window.openFilesInNewWindow": "on",
    "workbench.editor.enablePreview": true,
    "files.autoSave": "off",
    "editor.mouseWheelScrollSensitivity": 1,
    "window.title": "${activeEditorFull}${separator}${rootName}",
    "editor.tabCompletion": "on",
    "editor.tabSize": 4,
    "editor.wordSeparators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
    "editor.formatOnPaste": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.snippetSuggestions": "top",
    "workbench.colorTheme": "Visual Studio Dark",
    "editor.mouseWheelZoom": true,

}

.jsbeautifyrc
*default settings, I didn't change a single line
Action performed
Format and fold

Updated soon.

Expected results

Actual results

I googled a lot and dig true everything and I've been told that there are extensions, to tell the truth I do not know exactly if this extension does this but what I want is this; simply it breaks the tag to the other line I want them to be in a single line. I read that vscode doesn't have this option and it is pretty annyoing me.

The folding has nothing to do with this extension. VS Code folding always keeps the first and last line of the folded text in tact.


Expand to Bungeecord

This would be a massive refactor. Bungeecord is pretty much a completely different API but compatibility with Mikedeejay2Lib would be very beneficial. Essentially, current library classes would move to a bukkit package. Classes that don't utilize Bukkit could be moved to a common package. New bungeecord classes would be put in a bungee package.

This won't be happening, the scope of Mikedeejay2Lib is large enough.


Newly generated app through yo aspnetcore-spa does not update angular changes

Hi team,
First of all, thanks for all the hard work, this seems to be a great starter project to build on. I am an intermediate developer of .net core and learning angular 2. But unfortunately I ran into trouble right away.  I ran the project using:

dotnet watch run

But that gives me the error:

No executable found matching command "dotnet-watch"

Hence I ran using:

dotnet run

Which successfully ran the application on port localhost:5000. At this point I tried changing things in app/ folder navmenu.component.html by changing:

WebApplicationBasic

to:

Web Application Basic

This did tiger the rebuild as dotnet detected a change but the browser did not show the changes. I tried testing in another browser in case cache was in play but same results. I restarted the server, did

dotnet build

but of no help. How does live reload work for angular in this project? The versions of my tools are as under.
npm : 3.10.8
node : v6.9.1
dotnet: 1.0.1
yo: 1.8.5

It sounds like you're running in production mode. When you ran dotnet run, did it say Hosting environment: Development or Hosting environment: Production?
If you want updates without running webpack manually, you need to be in development mode. Since you're running from a command line, please see the instructions under Running via the Command Line on this page: https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/

Thanks Steve, your answer pointed me in the right direction. I was following the tutorial at
https://www.youtube.com/watch?v=L9x7TOR2i7g
It asks to set the enviourment to Development at 7:11 in the video using command:

set ASPNETCORE_ENVIRONMENT=Development

But that was not working and when server ran it was still in production mode. Then I looked at the link you provided and ran:

setx ASPNETCORE_ENVIRONMENT "Development"

Which showed a success message about value being save but then when i ran the project it was still in Production mode. So finally I added an environment variable in This PC properties. I added a property

ASPNETCORE_ENVIRONMENT

and its value to

Development

Now when I ran the server it started picking up the front end changes too.
Thanks for guiding me, much appreciated.
Regards,
Hassan


Launch as daemon

Modifying the command line to change -d for more classic demonize
and using -l for log level as often found in program,
i ended up detected a lot of dead code or almost useless code.
Moreover I replace all string copy that weren't checking for size
to reduce the number of warnings
Tested on openBSD and Ubuntu
--

The daemon option is not implemented mainly because there isn't a cross platform api that can do this:

The daemon api is not POSIX compliant
The BSD daemon() function should not be used
Windows support

libwebsockets has a lws_daemonize API which is not compiled in by default, If we really wan't to support daemon, I prefer this.

Hello,
Okay lets start  the matter, first i do not see the relation between your three bullet point, and the conclusion.

the forkpty is not POSIX, it s in protocol.c
systemd is crap , one guy writing a startup process should not force people to implement or change decades of architecture just to facilitate his work ( if someone fork hte ppid becomes zero, the supervision system must use alternate way to monitor the program, the guy's just being lazy )
daemon will compile just as good as forpty on windows which does not have embedded tty but a ubuntu system ( implementing daemon )

On the similar side, one lib shall do one thing and do it well, hence libwebsocket shall not try to provide cross platform function like 'daemonize'.
Given the overall status ( useless lock and thread for exemple), i do not think the project should be that picky on a feature enhancement.
Please do not see https://www.freedesktop.org/software/systemd/man/daemon.html#SysV Daemons as a a common law , other system extis, like runit, or upstart.
I guessed you may encounter problem on a system than run https://www.uclibc.org/ but no : https://github.com/hwoarang/uClibc/blob/master-metag/libc/unistd/daemon.c#L104
Best.
PS: do you know there s even a tool to daemon anything , even less portable.
PPS: daemon compile fine here on windows10 but the ttyd does not behave and wrote xxx
/* 1: something requested a callback when it was OK to write */
            if (wsi->state == LWSS_WAITING_TO_SEND_CLOSE_NOTIFICATION)
                    lwsl_notice("xxx\n");

I wonder what kind of program you start in the forkpty on windows, i tried bash from cygwin

[2017/08/04 09:57:02:0005] NOTICE: WS closed from <IP_ADDRESS> (cws), clients: 0
[2017/08/04 09:57:06:1115] NOTICE: HTTP / - <IP_ADDRESS> (cws)
[2017/08/04 09:57:06:1563] NOTICE: WS   /ws - <IP_ADDRESS> (cws), clients: 1
[2017/08/04 09:57:06:1573] NOTICE: pre starting process, 1: C:/cygwin/bin/sh (null)
[2017/08/04 09:57:06:1727] NOTICE: started process, pid: 13488
[2017/08/04 09:57:06:2080] NOTICE: xxx
[2017/08/04 09:57:08:0005] NOTICE: wsi 0x600006bf0: TIMEDOUT WAITING on 6 (did hdr 1, ah 0x0, wl 0, pfd events 5)<PHONE_NUMBER> vs<PHONE_NUMBER>
[2017/08/04 09:57:08:0006] NOTICE: tty_client_destroy sending SIGHUP (1) to process 13488
[2017/08/04 09:57:08:0007] NOTICE: process exited with code 11, pid: 13488
[2017/08/04 09:57:08:0009] NOTICE: WS closed from <IP_ADDRESS> (cws), clients: 0
[2017/08/04 09:57:09:7643] NOTICE: received signal: SIGINT (2), exiting..

Great! Thanks for your explanation, let's do it!
Can you separate the changes other than daemon to another PR? I will test it later.

The current pull request shall contains only code cleaning part : dead code and string guarded function.

Can you accept this please ?

Overall you could accept the change and public a Release Candidate 1.3.4 and see is user complain or not.

Hi @dohnuts, sorry for the later response. I would recommend you to divide this PR to multiple ones, that will make it easy to review and merge, thanks for your contribution.

I will maintain my own fork.
I do not have time to follow any request.
On Wed, Sep 6, 2017 at 8:47 AM, Shuanglei Tao<EMAIL_ADDRESS>wrote:

Hi @dohnuts https://github.com/dohnuts, sorry for the later response. I
would recommend you to divide this PR to multiple ones, that will make it
easy to review and merge, thanks for your contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tsl0922/ttyd/pull/65#issuecomment-327472298, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHLL8vSQfRby3Jt5g-lesNWKl_1-rpR3ks5sfpROgaJpZM4OtAbN
.

--

Knowing is not enough; we must apply. Willing is not enough; we must do

OK, I'm closing this.


Add Svelte to create-tauri-app

Is your feature request related to a problem? Please describe.
There is no Svelte option in create-tauri-app.
Describe the solution you'd like
Add a Svelte recipe to create-tauri-app to install the official template.
Describe alternatives you've considered
Although it is relatively straight-forward to get Tauri and Svelte working together manually, it is tedious.
Additional context
N/A

I'm willing to work on a PR for this if greenlit.

I'm willing to work on a PR for this if greenlit.

That would be awesome


Added ZamzamKit

Project URL
https://github.com/ZamzamInc/ZamzamKit
Category
Utility
Description
A Swift framework for rapid development using a collection of small utility extensions for Standard Library, Foundation and UIKit classes and protocols.
Why it should be included to awesome-ios (mandatory)
Reduces verbose and ceremonial tasks into concise, Swifty API's. Scaled and battle-tested in production apps with documentation and tests.
Checklist

[ ] Has 50 Github stargazers or more (< 10 away)
[X] Only one project/change is in this pull request
[X] Isn't an archived project
[X] Has more than one contributor
[X] Has unit tests, integration tests or UI tests
[X] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later (time for iOS 10+?)
[X] Supports Swift 4 or later
[X] Has a commit from less than 2 years ago
[X] Has a clear README in English

          1 Warning

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

206
403
https://www.udemy.com/arkit-beginner-to-professional/?couponCode=CREATORS

930
301
https://github.com/schibsted/layout redirects tohttps://github.com/nicklockwood/layout

  Generated by :no_entry_sign: Danger


chore(gradle): upgrade announcements portlet to version 2.3.2

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

Includes cross platform fixes, particularly improving the experience on Windows.
https://github.com/Jasig/AnnouncementsPortlet/releases/tag/Announcements-2.3.2
/cc @cbeach47

@ChristianMurphy - might be good to also include the latest uPortal (5.0.2) release as the configured version.

Yep, 5.0.2 has been included on master as part of https://github.com/Jasig/uPortal-start/pull/82


FMOD_STUDIO_EVENT_CALLBACK_SOUND_PLAYED returns an empty dict.

I've recently found this addon and it's really great, but I could not for the life of me figure out how to use callbacks.
This code:

func col(_dict: Dictionary, type: int):
	print(_dict, type)

func play_event() -> void:
	if event_instance:
		event_instance.start()
		event_instance.set_callback(col, FmodServer.FMOD_STUDIO_EVENT_CALLBACK_SOUND_PLAYED)

prints out {  }8192
and if I turn the col function to have FmodSound as a argument:
func col(_sound: FmodSound, _dict: Dictionary, type: int):
	print(_sound, _dict, type)

the function just does not get called
How do I get the sound returned by the callback?

We only have partial support callback events:
Currently the ones implemented are

FMOD_STUDIO_EVENT_CALLBACK_CREATE_PROGRAMMER_SOUND
FMOD_STUDIO_EVENT_CALLBACK_DESTROY_PROGRAMMER_SOUND
FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_MARKER
FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_BEAT

Each event need to be manually implemented by us, so you can tell us what is your use case so we can add it to the next release.

We only have partial support callback events: Currently the ones implemented are
* FMOD_STUDIO_EVENT_CALLBACK_CREATE_PROGRAMMER_SOUND

* FMOD_STUDIO_EVENT_CALLBACK_DESTROY_PROGRAMMER_SOUND

* FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_MARKER

* FMOD_STUDIO_EVENT_CALLBACK_TIMELINE_BEAT

Each event type needs to be manually implemented, so you can tell us what is your use case so we can add it to the next release.

I need this event callback to integrate with code on sound play and this seems to be the way to do it

Hello, any updates on this?

We are currently working in a new update, mostly fixing the long list of bugs that were found in the past few months.
We also try to add a few new features people are asking for, including yours.
It's just take times, our availability is limited.
So it's coming, but we don't have an ETA for it yet.

We are currently working in a new update, mostly fixing the long list of bugs that were found in the past few months. We also try to add a few new features people are asking for, including yours. It's just take times, our availability is limited. So it's coming, but we don't have an ETA for it yet.

That's great to hear. I understand everything takes time. Thanks for your work!


Fix Webpack bundling for TypeScript projects

Fixes case where project is .ts based.

TS support seems to have been removed, closing.


bug: stuck on Analyzing when opened inside oil.nvim

machine : linux mint, i3wm,
terminal : kitty,
config : https://github.com/mufeedcm/dotfiles/tree/main/linux/nvim/.config/nvim
When i open a folder inside nvim , like "nvim ." it will open my oil.nvim,
since it is my default file explorer,
but if i run :Orphans there, it shows this error

(btw, i am not using LazyVim, i am just using noise.nvim,)

Hi @mufeedcm, thanks for the detailed report.
I'm trying to reproduce.

The root cause might be that I forgot to handle the nil case in this function:
https://github.com/ZWindL/orphans.nvim/blob/main/lua/orphans/plugins.lua#L80
working on it...

Hi @mufeedcm, please try branch fix/6-bug-stuck-on-analyzing-when-opened-inside-oilnvim to see if it solves the issue when you're convenient.

Hi, so not OP but I was experiencing a very similar problem (only a few line number differences being off by about 1-2 in the error) and I am on LazyVim as well.
I tried that branch and I could get it working after doing the command twice. I would however get the same error when run the first time.
My error is
Error executing callback:
...cal/share/nvim/lazy/orphans.nvim/lua/orphans/plugins.lua:84: attempt to index a nil value
stack traceback:
        ...cal/share/nvim/lazy/orphans.nvim/lua/orphans/plugins.lua:84: in function 'callback'
        .../.local/share/nvim/lazy/orphans.nvim/lua/orphans/git.lua:25: in function 'on_exit'
        /usr/share/nvim/runtime/lua/vim/_system.lua:309: in function </usr/share/nvim/runtime/lua/vim/_system.lua:279>

I have also tested it when going back to the main version and I get the same error again the first time but can still run the command twice to pull up the UI.
Error on main just in case Im missing something:
Error executing callback:
...cal/share/nvim/lazy/orphans.nvim/lua/orphans/plugins.lua:84: attempt to index a nil value
stack traceback:
        ...cal/share/nvim/lazy/orphans.nvim/lua/orphans/plugins.lua:84: in function 'callback'
        .../.local/share/nvim/lazy/orphans.nvim/lua/orphans/git.lua:19: in function 'on_exit'
        /usr/share/nvim/runtime/lua/vim/_system.lua:309: in function </usr/share/nvim/runtime/lua/vim/_system.lua:279>

I don't know if it's necessarily the exact same error as OP but it seems v much in the same wheelhouse
All my tests were done in netrw just running nvim . and then doing trying orphans and then doing updates
Also in both cases Im still left with the Analyzing bar on my screen stuck at 97%, and both cases after running the first :Orphans command it goes to 20%

Thank you @TheNeekOfficial for the detailed test, I'll try another way to reproduce.

Hi @mufeedcm & @TheNeekOfficial , I just pushed a new commit where the nil plugin info supposed to be ignored correctly, it should avoid the UI stuck now, please help test (the same branch). Thank you fellows.

still the issue persists ,

ahhh, my head is burning.
Happy 2025 friend.
Let me see where to add logs.

maybe i should provide a video or something,
but i don't have anything setup for screen recording right now,

No worries, it's time to create a working log system, it could take some time, I'll do it tomorrow.
Didn't expect writing a plugin would face that much of challenges.


ex_data lock free'd too early?

The comment at https://github.com/openssl/openssl/blob/master/crypto/ex_data.c#L40 seems wrong, especially given #10572.  It appears that when the module is unloaded crypto_cleanup_all_ex_data_int frees the context's global exdata lock.  And on program exit, the openssl cleanup cleans up the global context exdata lock.
If I comment out the NULL at https://github.com/openssl/openssl/blob/master/crypto/ex_data.c#L49 then fipsinstall crashes.  I have not debugged this.  Any pointers, @slontis?

Marking as inactive, to be closed at the end of 3.4 dev, barring further input

five years, nobody duplicate this, so closing.


Support unbuffered request for uwsgi

Enables uwsgi to use the same style of request_buffering option as fastcgi and proxy upstreams. A chunk of this code was derived from the proxy module. I've tested this with go-uwsgi and an html page that uploads a large file.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Leon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Leon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


plt.imshow() vs xarray_dataset.plot.imshow() not rendering correctly | Potential Bug

What is your issue?
I have 2d data which I want to visualise. The visuals look completely different if I use plt.imshow() vs xarray_dataset.plot.imshow()
There are mainly two issues

First, the array is flipped. (I think this is manageable but inconsistent)
Secondly, the plots don't look correct. This can be best illustrated by the figures themselves.

For example this is the xarray code I am using.
day_data.plot.imshow(cmap= "Blues", vmin =1, vmax = 100)
plt.show()

And this is the image that I get.

Secondly, when I use the matplotlib to plot the values.
plt.imshow(day_data.values, vmin = 1, vmax = 100, cmap = 'Blues')
plt.show()

I get this plot.

Since it is a discharge data I would expect to see the second plot. Can someone tell me what is the issue here?
P.S.
This is how day_data looks like.
xarray.DataArray'dis06'y: 950x: 1000
array([[nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       ...,
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan],
       [nan, nan, nan, ..., nan, nan, nan]], dtype=float32)
Coordinates:
time
()
datetime64[ns]
2019-10-24T06:00:00
step
()
timedelta64[ns]
06:00:00
surface
()
float64
0.0
latitude
(y, x)
float64
...
longitude
(y, x)
float64
...
valid_time
()
datetime64[ns]
2019-10-24T12:00:00
Attributes:
GRIB_paramId :
240023
GRIB_dataType :
sfo
GRIB_numberOfPoints :
950000
GRIB_typeOfLevel :
surface
GRIB_stepUnits :
1
GRIB_stepType :
avg
GRIB_gridType :
lambert_azimuthal_equal_area
GRIB_NV :
0
GRIB_cfName :
unknown
GRIB_cfVarName :
dis06
GRIB_gridDefinitionDescription :
Lambert azimuthal equal area projection
GRIB_missingValue :
9999
GRIB_name :
Mean discharge in the last 6 hours
GRIB_shortName :
dis06
GRIB_units :
m**3 s**-1
long_name :
Mean discharge in the last 6 hours
units :
m**3 s**-1
standard_name :
unknown

I think that the reverted y-axis is intentional.
Imshow is intended to display images which have the origin at the top while xarray tries to keep the origin at the bottom for all plots.

Reverting the axis is understandable, but there is a lot of difference in the way the figures are rendered. The major issue is seeing the dots instead of the continuous lines.

The two relevant kwargs to set to reproduce the matplotlib plotting are:
yincrease=False and interpolation=None
I don't know why the default of xarray is interpolation="nearest"...

@melioristic could you reproduce the matplotlib results by setting interpolation?


ValueError: Not a valid python path: 'C:/Program Files/Python351/python.exe'

Here is the output of pipenv --support | clip:
The path which is causing the error may have existed on my Windows 10 PC, but thefolder C:/Program Files/Python351 no longer exists on my PC. I do not understand where pipenv finds a reference to this non-existing folder and I do not know how to solve this problem.
I have been successfully using the following command to create a virtual env for several new django projects:
pipenv install django>=3.0
but now running this command gives this valueerror.
I will very much appreciate a solution to my problem.
G:\Documenten\python_projects\django_for_beginners_projects\newspaper_pycharmproject

λ pipenv --support | clip
Traceback (most recent call last):
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
    result_version = get_python_version(path)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
    c = subprocess.Popen(version_cmd, **subprocess_kwargs)
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Scripts\pipenv.exe\__main__.py", line 7, in <module>
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1236, in invoke
    return Command.invoke(self, ctx)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\cli\command.py", line 139, in cli
    get_pipenv_diagnostics()
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\help.py", line 33, in get_pipenv_diagnostics
    python_paths = finder.find_all_python_versions()
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 312, in find_all_python_versions
    python_version_dict = getattr(self.system_path, "python_version_dict", {})
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 120, in system_path
    self._system_path = self.create_system_path()
  File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 82, in create_system_path
    return pyfinder_path.SystemPath.create(
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 682, in create
    instance = instance._run_setup()
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 233, in _run_setup
    new_instance = new_instance._setup_windows()
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 411, in _setup_windows
    windows_finder = WindowsFinder.create()
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 146, in create
    return cls()
  File "<attrs generated init pythonfinder.models.windows.WindowsFinder>", line 13, in __init__
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 113, in get_versions
    versions[py_version.version_tuple[:5]] = base_dir
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 365, in __getattribute__
    result = super(PythonVersion, self).__getattribute__(key)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 430, in version_tuple
    self.patch,
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in __getattribute__
    instance_dict = self.parse_executable(executable)
  File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
    raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Program Files/Python351/python.exe'

You are likely to have some stale entries of previously installed pythons in the registry.

I'm having the same problem. old installation of python 2.7 (probably wasn't uninstalled properly)
but it's not in the Environment variables! (path) on my windows
what can I do?
`C:\Users\Idan\pypy>pipenv install wtfpython
Traceback (most recent call last):
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
result_version = get_python_version(path)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
c = subprocess.Popen(version_cmd, **subprocess_kwargs)
File "c:\users\idan\appdata\local\programs\python\python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\idan\appdata\local\programs\python\python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\idan\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\idan\appdata\local\programs\python\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Scripts\pipenv.exe_main.py", line 7, in
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\cli\command.py", line 232, in install
retcode = do_install(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 1921, in do_install
ensure_project(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 576, in ensure_project
ensure_virtualenv(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 498, in ensure_virtualenv
python = ensure_python(three=three, python=python)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 388, in ensure_python
path_to_python = find_a_system_python(python)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 354, in find_a_system_python
python_entry = find_python(finder, line)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\utils.py", line 2196, in find_python
result = finder.find_python_version(line)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 276, in find_python_version
if os.name == "nt" and self.windows_finder is not None:
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 129, in windows_finder
self._windows_finder = WindowsFinder()
File "", line 13, in init
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 113, in get_versions
versions[py_version.version_tuple[:5]] = base_dir
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 365, in getattribute
result = super(PythonVersion, self).getattribute(key)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 430, in version_tuple
self.patch,
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in getattribute
instance_dict = self.parse_executable(executable)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Heights/PortableApps/PortablePython<IP_ADDRESS>/App/Scripts/python.exe'
C:\Users\Idan\pypy>pipenv install wtfpython
Traceback (most recent call last):
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
result_version = get_python_version(path)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
c = subprocess.Popen(version_cmd, **subprocess_kwargs)
File "c:\users\idan\appdata\local\programs\python\python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\idan\appdata\local\programs\python\python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\idan\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\idan\appdata\local\programs\python\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Scripts\pipenv.exe_main.py", line 7, in
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Idan\AppData\Local\Programs\Python\Python38\Lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\cli\command.py", line 232, in install
retcode = do_install(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 1921, in do_install
ensure_project(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 576, in ensure_project
ensure_virtualenv(
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 498, in ensure_virtualenv
python = ensure_python(three=three, python=python)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 388, in ensure_python
path_to_python = find_a_system_python(python)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\core.py", line 354, in find_a_system_python
python_entry = find_python(finder, line)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\utils.py", line 2196, in find_python
result = finder.find_python_version(line)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 276, in find_python_version
if os.name == "nt" and self.windows_finder is not None:
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 129, in windows_finder
self._windows_finder = WindowsFinder()
File "", line 13, in init
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 113, in get_versions
versions[py_version.version_tuple[:5]] = base_dir
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 365, in getattribute
result = super(PythonVersion, self).getattribute(key)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 430, in version_tuple
self.patch,
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in getattribute
instance_dict = self.parse_executable(executable)
File "c:\users\idan\appdata\local\programs\python\python38\lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Heights/PortableApps/PortablePython<IP_ADDRESS>/App/Scripts/python.exe'`

Yes, Idan, I have already been searching for Python351 in regedit, but unfortunately not a single search result was found, searching through the complete registry. So I do not understand at all where the mention of Python351 is coming from. There was a directory from a previous python installation, but I removed that directory and still the reference to Python351 comes up in the errormessage. Anyone having an idea on how to solve this?

I have the same issue. I've scanned my registry for loose entries but haven't found any. It appears that the pythonfinder is just looking through locations/versions. If I place Python27 there, it simply looks for Python26. If I place Python26, then it looks and fails to find Python25.
PS D:\Downloads\resq-takehome-starter\backend> pipenv install django-cors-headers
Traceback (most recent call last):
  File "C:\Users\myself\AppData\Roaming\Python\Python38\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
    result_version = get_python_version(path)
  File "C:\Users\myself\AppData\Roaming\Python\Python38\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
    c = subprocess.Popen(version_cmd, **subprocess_kwargs)
  File "c:\program files\python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "c:\program files\python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:
...
  File "C:\Users\myself\AppData\Roaming\Python\Python38\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in __getattribute__
    instance_dict = self.parse_executable(executable)
  File "C:\Users\myself\AppData\Roaming\Python\Python38\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
    raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Python27/Scripts/python.exe'

Having the same issue, no registry keys found that point to 'C:/Python27/Scripts/python.exe'

I was having a similar issue with pipenv and getting the same error messages. Searching regedit did pull up some random entries to an uninstalled version of Python which I deleted. I stopped getting the error messages when I went back and installed the version of Python that was being mentioned (in martin's case that would be 3.5.1) in the same location that pipenv was trying to find the directory. Then, I uninstalled it using the installation exe and it cleared up my issues with pipenv. I hope that helps!

Here is the output of pipenv --support | clip:
The path which is causing the error may have existed on my Windows 10 PC, but thefolder C:/Program Files/Python351 no longer exists on my PC. I do not understand where pipenv finds a reference to this non-existing folder and I do not know how to solve this problem.
I have been successfully using the following command to create a virtual env for several new django projects:
pipenv install django>=3.0
but now running this command gives this valueerror.
I will very much appreciate a solution to my problem.
G:\Documenten\python_projects\django_for_beginners_projects\newspaper_pycharmproject
λ pipenv --support | clip
Traceback (most recent call last):
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
result_version = get_python_version(path)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
c = subprocess.Popen(version_cmd, **subprocess_kwargs)
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Scripts\pipenv.exe__main.py", line 7, in
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\cli\command.py", line 139, in cli
get_pipenv_diagnostics()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\help.py", line 33, in get_pipenv_diagnostics
python_paths = finder.find_all_python_versions()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 312, in find_all_python_versions
python_version_dict = getattr(self.system_path, "python_version_dict", {})
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 120, in system_path
self._system_path = self.create_system_path()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 82, in create_system_path
return pyfinder_path.SystemPath.create(
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 682, in create
instance = instance._run_setup()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 233, in _run_setup
new_instance = new_instance._setup_windows()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 411, in _setup_windows
windows_finder = WindowsFinder.create()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 146, in create
return cls()
File "", line 13, in init
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 113, in get_versions
versions[py_version.version_tuple[:5]] = base_dir
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 365, in getattribute
result = super(PythonVersion, self).getattribute(key)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 430, in version_tuple
self.patch,
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in getattribute
instance_dict = self.parse_executable(executable)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Program Files/Python351/python.exe'

As a guy said below just go to regedit. Search all folders for python. If you have two -like i had- check the paths. Probably the older one causes you this problem. In my case i had the 3.5 with path linked to Anaconda. I deleted it and now pipenv works fine for me.

Here is the output of pipenv --support | clip:
The path which is causing the error may have existed on my Windows 10 PC, but thefolder C:/Program Files/Python351 no longer exists on my PC. I do not understand where pipenv finds a reference to this non-existing folder and I do not know how to solve this problem.
I have been successfully using the following command to create a virtual env for several new django projects:
pipenv install django>=3.0
but now running this command gives this valueerror.
I will very much appreciate a solution to my problem.
G:\Documenten\python_projects\django_for_beginners_projects\newspaper_pycharmproject
λ pipenv --support | clip
Traceback (most recent call last):
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 618, in parse_executable
result_version = get_python_version(path)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\utils.py", line 105, in get_python_version
c = subprocess.Popen(version_cmd, **subprocess_kwargs)
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Scripts\pipenv.exe__main.py", line 7, in
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\cli\command.py", line 139, in cli
get_pipenv_diagnostics()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\help.py", line 33, in get_pipenv_diagnostics
python_paths = finder.find_all_python_versions()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 312, in find_all_python_versions
python_version_dict = getattr(self.system_path, "python_version_dict", {})
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 120, in system_path
self._system_path = self.create_system_path()
File "c:\users\martin\appdata\local\programs\python\python38-32\lib\site-packages\pipenv\vendor\pythonfinder\pythonfinder.py", line 82, in create_system_path
return pyfinder_path.SystemPath.create(
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 682, in create
instance = instance._run_setup()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 233, in _run_setup
new_instance = new_instance._setup_windows()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\path.py", line 411, in _setup_windows
windows_finder = WindowsFinder.create()
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 146, in create
return cls()
File "", line 13, in init
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\windows.py", line 113, in get_versions
versions[py_version.version_tuple[:5]] = base_dir
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 365, in getattribute
result = super(PythonVersion, self).getattribute(key)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 430, in version_tuple
self.patch,
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 375, in getattribute
instance_dict = self.parse_executable(executable)
File "C:\Users\Martin\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\pipenv\vendor\pythonfinder\models\python.py", line 620, in parse_executable
raise ValueError("Not a valid python path: %r" % path)
ValueError: Not a valid python path: 'C:/Program Files/Python351/python.exe'

As a guy said below just go to regedit. Search all folders for python. If you have two -like i had- check the paths. Probably the older one causes you this problem. In my case i had the 3.5 with path linked to Anaconda. I deleted it and now pipenv works fine for me.

Hi, I am getting the same problem with path linked to Anaconda. How did you find the path and delete it? Thanks

Someone suggested to use an older version in another thread.
pip install pipenv==2018.10.13
It fixed the issue for me, before I was also stuck on the Anaconda path

I'm not using Anaconda but facing the same problem. I think we need to clear the pipenv cache and install it again. Can somebody help me in clearing cache.

Anyone facing a similar error needs to uninstall old python versions
C:\Windows\regedit.exe
HKLM\SOFTWARE\Python\PythonCore
HKCU\SOFTWARE\Python\PythonCore\

Had the same issue today and following @snooppr instructions solved the issue

Anyone facing a similar error needs to uninstall old python versions
C:\Windows\regedit.exe
HKLM\SOFTWARE\Python\PythonCore
HKCU\SOFTWARE\Python\PythonCore\

Worked for me as well, I deleted all the folders of the python versions I was not using, and then it worked! Thanks 👍

I too had the Python 2.7 issue, this was a real installed instance (so not something I wanted to be removing)
I made pipenv happy copying the python executable from the parent folder and putting it in the child folder.
While we do have several workarounds in this thread, fault tolerance would be a very welcome feature to address the realities of deployment.  One can't point a paying customer at this thread when they have issues with getting my application to run, so explicit bundling of packages becomes the real workaround, and I think everyone just had a bit of bile appear in the back of their throat.  Sorry

Had the same problem because I uninstalled conda and installed python normally (Windows 10). To solve the problem:

Went to regeit.exe (Win+R -> regeit.exe)
Paste this in the PATH: HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore
Delete all folders that are not the current installation o python

Hope it helps someone!

You can set path manually, use
$ set PYTHONPATH = <location of the python exe>
in CMD
You can also go to the 'Edit environment variables for your account' and add an entry as mentioned above.
It worked for me!!
Hope its useful

I tried everything above and got it resolved but lost track of what worked. Thanks guys.

Everyone who got stucked at the Anaconda Path: win+r -> regedit -> Computer\HKEY_CURRENT_USER\SOFTWARE\Python
Then just delete the whole Anaconda Folder.
This worked for me
...and also delete all old Python versions as mentiond above

This bug is still present in pipenv-2022.8.30... Maybe it's something to do with the ignore_unsupported flag in pythonfinder? I tried setting the environment variable PYTHONFINDER_IGNORE_UNSUPPORTED to true, but that didn't work either.

@Ghost4Man please open a new issue report with more details.   We did solve some finder issues but there may be more.


TypeError: import_coc26.SnippetString is not a constructor

Hello there ! Today, I installed coc-tsserver extension and the installation successfullied but there was an error when I ran Neovim.
This is the error:
TypeError: import_coc26.SnippetString is not a constructor (at line 11725)
I went to the lib/index.js file and corrected this by changing the import_coc26.SnippetString to SnippetString only. I open this issue just to warn you about this error :)

Upgrade your coc.nvim to latest release please.


[Enhancement] Replace CLDR with formatjs-extract-cldr-data

Fixes #61
/cc @caridy and @ericf

CLA is valid!

LGTM

@jasonmit it's not a good ideal to use sub modules within a package directly, so we should avoid doing that. There's no need to normalize the locales or throw if we don't have data for them since formats-extract-cdlr-data will do that for you under the hood already.

This internal operation is run on every call to extract data and it will automatically normalize and expand locales up to their root: https://github.com/yahoo/formatjs-extract-cldr-data/blob/master/lib/expand-locales.js
You can look at how the Grunt package buildles up of the extracted data into files.

I am going to have to make much larger changes to accommodate this new result object since I am no longer building one ES6 module per locale, I need to create an ES6 module per each part of the result set to prevent duplication.


rename ndarray-or-symbol to NDArray-or-Symbol

attempt to fix #5281 and  #5577

please update

will be fixed by #5693, closed this pr


Ensure metrics are only registered once

If the same metrics are attempted to be registered
more than once, panic may occur.
Signed-off-by: Martin Kennelly<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 8 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 74.785%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/metrics.go
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
4950

Relevant Lines:
6619

💛  - Coveralls


Question: distribute release vs distribute stores/groups publish

Hi there,
I'm confused. What's the difference between the command
appcenter distribute release --store "Alpha" ...
and
appcenter distribute stores publish --store "Alpha" ....
Same for
appcenter distribute release --group "..." ...
and
appcenter distribute groups publish --group "..." ....
Thank you very much.

Hi @SebastianRumohr ,
Thank you for reaching out to us!
The commands are identical and do the same job. The only difference is in their specification. You can use either of them.
You can see here that distribute stores publish calls distribute release without any additional logic.
I'm closing this issue but feel free to reopen if you have additional questions.

Thank you for the fast response 😊


The parsing process is too slow

:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use ES6 Proxies when available

As per discussion with @briancavalier in IRC

in a world with ES6 Proxies, Rawr could simply be a Proxy that intercepts all method calls and translates them into rpc calls (it could even do that before the SMD arrives)
var rawr = Rawr.create(socket);
var promiseForResult = rawr.doStuff();

Look into http://atomizejs.github.io/ for proxy transpiling
Ref https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

done


Using older version of Gmaps4rails with v3.23 Gmaps API?

I'm stuck on an old Rails 3.2.22 legacy app with gmaps4rails 2.0.0.pre (yes I know it's older).  Since the API being used in this version is broken, is there any way that I can keep this gem in place and somehow use the v3.23 API?  All of my maps stopped working when they deprecated v2 API a while back.
I can upgrade to the latest version I guess but I have everything setup how I like it and would like to see if I can somehow get around having to upgrade and rewrite.

You could monkey patch this to replace with the proper links.
I wont push a new version on rubygems for this, sorry


iOS: Video stream does not resume when app is brought back into the foreground

Describe the bug
When a video call is in progress, the video stream for a participant on iOS will freeze for other participants if the app is backgrounded. When the iOS user brings the app back into the foreground, the video stream does not resume and remains frozen for the all other participants. The local monitor stream for the user on iOS will continue to work as expected and audio is not interrupted at any time. There are also no track/participant/room events indicating that anything is interrupted nor are there any relevant log entries at the debug level.
To Reproduce
Steps to reproduce the behavior:

Connect to a room in the Example app
Wait for another user to connect
Put the app into the background on a device running iOS
Bring the app back into the foreground
The other participants will still see frozen video from the iOS user

Expected behavior
For the video stream to show as unavailable when the app is backgrounded (if it is not possible to remain streaming on iOS) and to resume streaming when the app is placed back into the foreground.
Screenshots
N/A
Device Info:

Device: iPhone 6s Plus, iPhone 14 Pro
OS: iOS 15.7.4, iOS 16.4.1

Dependencies Info (please reference your package-lock.json or yarn.lock file):

@livekit/react-native: 1.0.0
livekit-client: 1.8.0
react-native-webrtc: 111.0.0

This issue is NOT present with the following older dependencies:

@livekit/react-native: github:livekit/client-sdk-react-native#5ccd65b01e4ea591e10dac6cd2334d2ff6b60e34
livekit-client: 1.6.0
react-native-webrtc: 106.0.0

Hmm, looks like something on the react-native-webrtc side when upgrading to m111, will investigate further.

Unfortunately, seems like it might be a while before we can get this working properly. For now, I think you should be able to handle this manually listening to the AppState and disabling the camera when it goes into the background.

@davidliu Any update on this? Looks like that workaround is not working as expected in testing with @livekit/react-native 1.0.1 and react-native-webrtc 111.0.1. After toggling the camera back on, the video goes to black instead of resuming for both iOS and Android participants.

Hmm, how are you handling this? This is what I have and seems to work for me:
const appState = React.useRef(AppState.currentState);
const [appStateVisible, setAppStateVisible] = useState(appState.current);

useEffect(() => {
  const subscription = AppState.addEventListener('change', nextAppState => {
    if (
      appState.current.match(/inactive|background/) &&
      nextAppState === 'active'
    ) {
      console.log('App has come to the foreground!');
    }

    appState.current = nextAppState;
    setAppStateVisible(appState.current);
    console.log('AppState', appState.current);
  });

  return () => {
    subscription.remove();
  };
}, []);

useEffect(() => {
  if(room && isConnected){
    if(appStateVisible === 'active') {
      room.localParticipant.setCameraEnabled(true)
    } else {
      room.localParticipant.setCameraEnabled(false)
    }
  }
}, [room, isConnected, appStateVisible]);

@davidliu Thanks for the suggestion. I've done some more testing and found that this is not directly related to employing that workaround. Previously, when video did not resume after an iOS participant brought the app back into the foreground, toggling video off/on would resume the video stream so that is what I was planning on automating. Now, this action results in black screen for the other participants instead of the video coming back.
This is occurring on the RN example app as well as our own so I'm suspecting that there was a backend change that affected this.
I've tested on the following library versions and all behave the same:

@livekit/react-native: 1.0.0 & 1.0.1
react-native-webrtc: 111.0.0 & 111.0.1

I am on the LiveKit Community Slack if you'd like to continue the conversation there.

We'll be releasing a forked version of react-native-webrtc soon that shouldn't have the original bug, so that'll remove the need for a workaround.

Hey @jbrowning, try the latest 1.1.2 release. Note that there are few new setup steps involved that can be found in our README here:
https://github.com/livekit/client-sdk-react-native#installation


New minor release?

Hi,
Would it be possible to tag and push out a new release of qasync? https://github.com/CabbageDevelopment/qasync/commit/3efd0c2f61d33b9d38830e53dffb3caaec64aba1 in particular is quite a large quality-of-life improvement.
Thanks!
(Apologies for raising this as an issue; not sure what the best way of contacting you would have been.)

Tagged and published https://github.com/CabbageDevelopment/qasync/releases/tag/v0.24.2

Thanks!


blue rectangle thing remains after row deleted

simply play, wait a second, pause, and delete row the blue highlight thing is paused on

Known issue and should be fixed next update

fast 💀


Cache should not be racy

So in #42, one issue that comes up multiple times is cache misses.
Basically, Registrymanager::get_package is racy:

look up package in cache, if it's there, return it
if not, fetch the package
insert package into cache

This works but has the property of a "race condition." (but not a data race!!!) If we spin up two threads, and both are looking for the same package, and thread 1 goes "1, don't have it, go to step 2 and fetch" and then thread 2 starts and does the same, we've fetched the package twice. This manifests as a cache miss.
The alternative is to cause 1 to block in some fashion. We want it to hold some sort of lock, so that if someone else wants something we're working on, we ask them to wait until it's ready. But there's not just one way to do this!
The first way, and the way that's most obvious, is that you put a mutex around the whole thing. That way, if someone is downloading a new package, you wait until they're done. The issue there is that you'd end up blocking everyone when a package is being downloaded, which kind of defeats the purpose of downloading them in paralell, haha.
So my next thought is that we need to do is change the data modelling from "package exists or not" to "package doesn't exist, package is being downloaded, package is complete in the cache." This more properly represents what's going on in the real world. But it's not actually the best way forward. Why? Well, what happens when we have a cache hit? We want to simply return the package.  If we know that some other task is already downloading the package, what we actually want is to return. We have no more work to do! Sure it's not ready yet, but the other task will make sure it is.
So, I think that's the task to fix this issue. I don't think it should be a super complex diff, but I'm not going to try and write a patch right this second.

@boshen had asked this over there:

For cache misses, I want to learn the proper approach as well. Do we put the data structure in a single thread and communicate it with message passing, or do we use some mutexes and condvars as describe in this blog post https://medium.com/@polyglot_factotum/rust-concurrency-patterns-condvars-and-locks-e278f18db74f?

I think both can work, it just depends. Well rather, I would never use a condvar unless you're absolutely sure you need a condvar ;)
The basic question is "Mutex or message passing?" and in my opinion, mutexes tend to just be easier more often. Really just depends, if you want to do an actor-style "this task owns this data and responds to messages about it" that works fine too.

We want to simply return the package. If we know that some other task is already downloading the package, what we actually want is to return. We have no more work to do! Sure it's not ready yet, but the other task will make sure it is.

Speaking with @anonrig in private messages, this won't actually work, because the caller can assume that after this returns true, the package is downloaded, and so that could cause issues if that work began before the task that's currently downloading it is finished doing so. So this won't work.
So really what we're looking for is a sort of synchronization point, where for example things block on "everything is downloaded" rather than a bunch of individual "this is downloaded" responses. I feel like that's slightly poorly worded but I hope it makes sense.

Thinking about this some more, another reason why this is an issue is that we try and fetch duplicate packages. If this could be cheaply de-duplicated before kicking off all of the various tasks to download things, that would be even easier.

What about semaphores over individual packages?
Maybe I'm being too simplistic, but each package might be in three states cached, downloading, pending; and each thread coordinates about what step follows.
Or has been already discarded? 😅

Maybe I'm being too simplistic, but each package might be in three states cached, downloading, pending; and each thread coordinates about what step follows.

I think this might be the best approach.


provide option to install/pack specific version of nodejs

Currently we can give only the major version name like node8. So, instead of downloading the latest or specified version, it installs 8.11.3 which i think comes from https://github.com/zeit/pkg-fetch/releases.
pkg-fetch doesn't has latest binary and lastly it was updated in 2017. After that, there were bunch of security fixes in these versions.
Why don't we switch to public nodejs download source?

I've been curious about this as well. Many issues posted reference the need/want to DL a specific version of Node. What's the reasoning for Node builds called via pkg-fetch?

Certain dependencies require Node 8.13+ for example but pkg-fetch pulls 8.11, It would be nice to get to chose a specific version.


Upcoming match-v4 deprecation

All match-v4 endpoints will be deprecated on August 23, 2021 in compliance with Riot's 60-day deprecation timer and the upcoming release of the match-v5 endpoints. galeforce.lol.match will need to be rewritten in a manner that limits breaking changes and associated documentation within the project's README and docblocks will need to be updated accordingly.

Resolved after #11 was merged into the develop branch.


Error running example from readme

I get this error when I run the js example in the readme:
▶ node index.js
node:internal/modules/cjs/loader:1282
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error<EMAIL_ADDRESS>invalid ELF header
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1282:18)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:108:18)
    at Object.<anonymous> (/home/mike/code/chidori-example/node_modules/@1kbirds/chidori/package_node/index.js:23:5)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12) {
  code: 'ERR_DLOPEN_FAILED'
}

Happy to dig around if you prompt me with any details or hunches about this but initially it looks a bit intimidating.

Having the same issue.

I'm currently working on resolving issues with the current release process and this should be resolved soon. That will include also moving the examples to depending on the most recent release instead of a local build and containerizing those so that they're easy to run (and act as validation of any future releases).
chidori.node is the native module produced by the rust build (and copied over via cargo-cp-artifact referred to in chidori/package.json
Will be resolved soon!

Closing due to Chidori having changed substantially


[master] Bump KIE 7.56.0.Final

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

This PR requires https://github.com/kiegroup/kogito-runtimes/pull/1347
I asked @mariofusco to update that PR to use final

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

closing this one, we'll @mariofusco 's


DataProvider has no way to determine if Measurement state is invalid for Requisition

If a Measurement is put into the CANCELLED or FAILED state by another actor, the CMMS public API provides no way for the DataProvider to determine from the Requisition resource that it can no longer be fulfilled. The DataProvider will get a FAILED_PRECONDITION error when attempting to fulfill, but the Requisition state will remain UNFULFILLED.
This is an API design flaw. The fix probably involves adding a new Requisition state to the public API.

It turns out this isn't entirely true, as Requisition has a denormalized measurement_state field. It's still better to have this be encapsulated in Requisition state rather than having to check both fields. This way the caller doesn't have to inspect the error to determine whether it's due to Requisition state or Measurement state.