Geolocation - Error getting location Only secure origins are allowed

Bug Report
Problem
What does actually happen?
this.geolocation.getCurrentPosition().then(response => {
console.log(response);
}).catch((error) => {
console.log('Error getting location', error.message);
alert(error);
});
I got the error:  this.geolocation.getCurrentPosition().then(response => {
console.log(response);
}).catch((error) => {
console.log('Error getting location', error.message);
alert(error);
});
And appears in alert Android: [object PositionErro]
Information

Command or Code

Environment, Platform, Device

Version information
Ionic:
ionic (Ionic CLI)  : 4.12.0 (C:\Users\Bonny\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework    : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms     : android 7.0.0, browser 5.0.4, ios 4.5.5
Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.4.0, (and 15 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\Users\Bonny\AppData\Local\Android\Sdk)
NodeJS            : v11.12.0 (C:\Program Files\nodejs\node.exe)
npm               : 6.4.1
OS                : Windows 10
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

try this https://github.com/apache/cordova-plugin-geolocation/issues/123#issuecomment-456342122

Hi @mntdragon,
thanks for your report. It seems like a duplicate of #123 though. Are you running the app with the Ionic DevApp by any chance?

Im having the same issue when I build an android app and run it on a real device:
ionic cordova build android --prod
Error also happens if I build a release apk and sign it in Android studio.
The app's origin is http://myapp (I changed it from the default http://localhost)
From the ionic docs https://ionicframework.com/docs/faq/cors it seems on android the origin is always http://
#123 did not help.
Is it possible to change the origin or what am I missing? Did anybody found a workaround?

I am having the same issue with Android and Ionic 4. It will ask for location permission and then just hang or it will give me Error getting location: {} with the NPM or Code: 1 Only secure origins are allowed. It does not seems to matter if i run it for debug or prod or ssl etc like mentioned by @MrFragStealer MrFragStealer

This isn't a bug with this plugin.
If you're using the ionic webview, I believe you require Scheme preference set to https


grpc not accepting connections after Failed accept4: Software caused connection abort"

What version of gRPC and what language are you using?
grpc 1.18 C++
What operating system (Linux, Windows,...) and version?
BSD 11
What runtime / compiler are you using (e.g. python version or version of gcc)
LLVM 3.7
What did you do?
SHORT lived connections.
What did you expect to see?
No connections hung in CLOSED state. grpc accepting new connections.
What did you see instead?
TCP connections hung in CLOSED state and no new connections accepted.
The grpc traces shows below mentioned message:
"tcp_server_posix.cc:211: Failed accept4: Software caused connection abort" .
netstat -an | grep 32767
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45858                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45856                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45854                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45852                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45850                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45848                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45846                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45842                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45840                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45838                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45836                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45834                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45832                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45830                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45828                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45826                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45824                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45822                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45820                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45818                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45816                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45814                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45812                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45810                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45808                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45806                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45804                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45800                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45798                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45796                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45794                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45792                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45790                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45788                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45786                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45784                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45782                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45780                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45778                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45776                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45772                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45770                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45768                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45766                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45764                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45762                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45758                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45756                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45754                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45752                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45750                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45748                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45746                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45744                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45742                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45740                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45738                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45736                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45734                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45730                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45728                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45726                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45724                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45722                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45720                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45718                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45716                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45714                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45712                          CLOSED
tcp4       0      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45710                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45708                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45706                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45704                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45702                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45700                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45698                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45694                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45692                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45690                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45688                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45684                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45682                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45678                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45676                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45674                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45672                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45670                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45668                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45666                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45664                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45662                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45660                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45658                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45656                          CLOSED
tcp4       0      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45654                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45652                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45650                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45648                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45646                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45644                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45642                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45640                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45638                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45636                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45634                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45632                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45630                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45628                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45626                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45624                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45622                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45620                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45618                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45616                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45614                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45610                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45608                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45606                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45604                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45600                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45598                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45594                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45592                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45590                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45588                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45586                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45584                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45580                          CLOSED
tcp4     517      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45578                          CLOSED
tcp4       0      0  <IP_ADDRESS>.32767                           <IP_ADDRESS>.45574                          CLOSED
tcp4       0      0  <IP_ADDRESS>.32767                             .                                                         LISTEN
Anything else we should know about your project / environment?
I am able to reproduce this issue by spawning new connections which connects to grpc server  and killing the the connections
immediately.
Initially I suspected https://github.com/grpc/grpc/issues/10002
But grpc 1.18 has the above fix.
Looks similar to
https://github.com/grpc/grpc/issues/20418
But I am never hitting "Too many open files"

gRPC 1.18 sounds too old so would you upgrade it to the latest?

I found http://nginx.org/en/docs/faq/accept_failed.html which might be relevant as to what's happening here


using Gooey with SCOOP leads to multiple windows

In case anyone in this project has ideas. I am trying to integrate https://github.com/soravux/scoop with Gooey for adding a GUI front-end for command line options (and processing) to a program that uses SCOOP for distributed computing. Since I only want one GUI window to pop up, I am running that inside the __name__ == __main__ guard and then use the object sharing API to share the arguments with the workers. See https://github.com/soravux/scoop/issues/93 for more details.

I've never used scoop, but this sounds kinda interesting. If it's invoking multiple processes behind the scenes, I can imagine it causing the behavior you're seeing.
Could you drop a small code sample demoing the problem?
If I had to take a wild (and surely wrong) guess (again, literally knowing nothing about scoop), the solution to this could possibly be adjusting Gooey's target so that whatever process forking happens is done against a file with no gooey reference or mechanism. Just a stab in the dark, though ^_^

The minimal code example from issue #569 will suffice. Run it like so:
pip install scoop
python3 -m scoop Testcase.py

Note that the number of windows you will see depends on how many workers SCOOP decides to launch. For a quad core CPU, that will be four.

Took a look at this. FWIW, it seems like Gooey and scoop work together fine as far as I can tell. The code sample you provide is your other issue seems to have problems regardless of whether Gooey is involved or not. I see the AttributeError: 'NoneType' object has no attribute 'socket' either way.
If I plug in the Scoop getting started example. (slightly modified to just to add Gooey, otherwise copy/pasted) e.g.
import random
from scoop import futures
from gooey import Gooey, GooeyParser

# Note the usage of target here
@Gooey(target=r'/path/to/your/python.exe -m scoop /path/to/your/script.py --ignore-gooey')
def main():
    parser = GooeyParser(description='Process some integers.')
    args = parser.parse_args()
    return [random.randint(-1000, 1000) for r in range(1000)]

if __name__ == '__main__':
    data = main()
    # Python's standard serial function
    dataSerial = list(map(abs, data))

    # SCOOP's parallel function
    dataParallel = list(futures.map(abs, data))

    assert dataSerial == dataParallel

The most important bit is the usage of target, which allows you to customize what/how Gooey invokes the subprocess. By default, Gooey just invokes the subprocess with Python directly. However, as you can see, we've customized it to invoke the target with scoop.
I ran it with the instructions you provided.
python -m scoop myfile.py

and all seems fine!

Thanks a lot, Chris! I have plenty to work with here.

Hmm, this isn't working for me. I have:
scoop_opt = ' -m scoop ' if scoop_loaded_p else ' '
target_cmdline = sys.executable + scoop_opt + os.path.realpath(__file__) + ' --ignore-gooey'

(target_cmdline is passed to the decorator, of course). The subprocess reports:
prog: error: unrecognized arguments: --ignore-gooey

Huh?

Give this flavor a shot:
import random
from scoop import futures
from gooey import Gooey, GooeyParser
import os
import sys

def main():
    parser = GooeyParser(description='Process some integers.')
    parser.add_argument('somepositional', help='some positional arg here')
    parser.add_argument('-a', help='some other arg')
    args = parser.parse_args()
    print(args)
    return [random.randint(-1000, 1000) for r in range(100)]

if __name__ == '__main__':
    launcher = Gooey(target=f'{sys.executable} -m scoop {os.path.realpath(__file__)}')
    decorated_main = launcher(main)
    data = decorated_main()
    # Python's standard serial function
    dataSerial = list(map(abs, data))

    # SCOOP's parallel function
    dataParallel = list(futures.map(abs, data))

    assert dataSerial == dataParallel

When I was playing around initially, I wasn't actually specifying any ArgParse arguments, which apparently prevented me from seeing the issue you're running into.
So what we're doing here is moving all of Gooey's logic inside of the __main__ guard by 'de-sugaring' the decorator and applying it by hand. We do this because Gooey currently does something pretty bad at module load time (mutates  sys.argv!). Ensuring that mutation is 'process safe' (used lightly) gets everything working again in a multiprocessing environment like scoop.

OK, so now I properly understand why I was seeing multiple Gooey windows. My process_options() function, previously just using argparse, was not inside a __main__ guard. Fixing that means I now only get one window, but the command line arguments aren't available to all instances  at program init time like they used to (before, each instance was just parsing sys.argv individually).
I think the right approach is to use SCOOP's shared object API to share the arguments with each worker, but that brings me back to this problem :-)


use cross-env & rimraf to support all platforms

If you use cross-env and rimraf here instead of NODE_ENV directly & rm -rf, this will work on all platforms (ex: Windows).

Awesome! Thank you :)


Create a class Presentation Slidshow

Started presentation slide#1 Intro and slide#3 Concept

Presentation slides are all complete and ready to go!


LastFM change scrobble percentage

So I recently started using this instead of GPMDP and I'm really liking it. However, one problem with the Last.fm integration is that is seems like the app scrobbles the song when you start it instead of when you finish the song. It would be nice if you could choose what percentage of the song has to be complete before it will scrobble it.

So I recently started using this instead of GPMDP and I'm really liking it. However, one problem with the Last.fm integration is that is seems like the app scrobbles the song when you start it instead of when you finish the song. It would be nice if you could choose what percentage of the song has to be complete before it will scrobble it.

Try this one
https://ytmdesktop.app


The plug-in stops working if you enter the note from a Joplin link in Another Note

CalebJohn,
I've done a bit of testing on your great new Math plugin. It works as expected, except for one issue. I embedded a link to the note ("first note") with the fenced math code inside a second note. In "preview" mode, I clicked on the link in the second note to take me back to the first note. Back in the first note, I noticed that the plugin stopped working. All I saw inside the fenced code was what I originally typed, not the calculated results. Entering the note via a link from another note appears not to tell the plugin to start.
To get around this, I typed some random text inside the note with the fenced math code and then erased it character by character. When I erased the last character of random text, the math plugin worded again and the calculations were done correctly.
I hope I explained this clearly enough. I noticed on your roadmap, under "Maybe", that you are considering having the calculation results being displayed in "Preview" mode. I think that would be very useful.
Thanks again for working on this. I expect to use this plugin in many notes that need calculations, such as notes on investments.

Thanks for reporting this @hplphotos.
Indeed there was enough information to figure out the issue. But just to confirm, this only happened when the first note only contained a single line, correct? That's the issue I fixed, so if you can still reproduce this issue on v0.1.1 please re-open this issue and let me know!


DO NOT MERGE: failed attempt to adopt go modules at kube release 1.14

It looks like Kubernetes release-1.14 is not ready for clients to use
go modules.  See how stuff like "k8s.io/apiserver
v0.0.0-20190708180123-608cd7da68f7" appeared in go.mod.
Also,
https://github.com/kubernetes/client-go/blob/master/INSTALL.md#go-modules
says release 1.15 is the first for which using go modules is
recommended.
This is being saved just to show what goes wrong.

Not ready for prime time.


Add typical workflow to README

Currently, it is easy to overlook the section mentioning running tasks via the web UI. By adding a typical workflow, and some section headings, we make this clearer.

I've addressed the punctuation comments. I'm going to merge leaving the database section for now to get the improved docs in; we can always iterate and remove it later if we so choose.

I've addressed the punctuation comments. I'm going to merge leaving the database section for now to get the improved docs in; we can always iterate and remove it later if we so choose.


lsm=0 and LSM vars defined causes crash

when (some/any) of the vegtype_var, soiltype_var, soil_t_var are defined in the options file, but lsm=0 is selected, the model crashes on initialization in __domain_interface.domain_implementation_MOD_read_land_variables at objects/domain_obj.f90:1622.
Possible Solution
check if lsm /= 0 before allocating vars, this is currently not done.
Steps to Reproduce (for bugs)

set lsm=0
2.define  (some/any) of the vegtype_var, soiltype_var, soil_t_var

Your Environment

Version of the code used:  develop branch, but probably all.
Operating System and version: cori,
Compiler and version: gnu
Other relevant information:

It seems to primarily (only?) occur in the domain initialization.  The domain object does actually test that arrays have been allocated before assigning an initial condition from a file... but there were cases in which it did not test before assigning a backup default value (e.g. assigning soil_deep_temperature to soil_temperature).  It also looked like all of the external variables (snow height, etc) were not checked.  I've now added checks for allocation before those assignments too, and it seems to run when lsm=0.  I'll post a PR soon.


Clothing Alpha

Sort out clothing and accessories.

For now, basically commented out everything involving nation references.
Cultures still in the game, so eventually that needs to be sorted out.


:heavy_plus_sign: Added AzureDataLakeRemove task

Summary
Added AzureDataLakeRemove class to tasks.
Importance
Adds a wrapper for the rm() method of the source AzureDataLake class.
Checklist

This PR:

[ ] adds new tests (if appropriate)
[X] updates docstrings for any new functions or function arguments (if appropriate)
[X] updates CHANGELOG.md with a summary of the changes

@pzet pls also add a test in tests/integration/tasks/test_azure_data_lake.py


netlink: add del_{addr,route} calls

It is not required for netavark since we just delete links on teardown but the dhcp proxy might need to remove addresses and/or routes when it gets a new lease.
Unfortunately the del_route unit test doe snot seem to work since it requires "real" working routes which we cannot create in a custom netns.

@baude PTAL

LGTM, triggered the failed test; looks like CI gacked when running ...

/lgtm


Receive via Lightning flow

Allow users to on-board using bolt11 invoices
### Tasks
- [ ] https://github.com/get10101/10101/issues/2540
- [x] connect coordinator with LND to get a new invoice
- [x] connect coordinator with LND to check invoice status
- [ ] app->coordinator API: I want to fund with Lightning
- [ ] update rust-dlc to support single sided DLC channels
- [ ] update rust-dlc to support 0-conf

Afaik this was all done


Function of closing swipe up and down. zoom function in phones.

Great plugin, thanks! Please add function of closing swipe up and down. zoom function in phones.

Interesting idea. Closing via swipe seems feasible, zooming would be a little trickier without a third party lib...

Closing this in favor of https://github.com/rejas/imagelightbox/issues/36


perf(transformer/arrow-function): create super method binding names lazily

Key super getter/setter hash map with original property name &str, instead of generated binding name. This allows a couple of improvements:

Generate binding names for super getters/setters lazily, only when they're created, rather than every time you encounter a super.
Don't allocate strings into arena which are never used as part of AST. Use CompactString for building those strings instead.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#7314
#7313  👈 (View in Graphite)
#7312
#7311
#7310
#7234
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Nov 17, 12:03 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


[feature] Allow ignore_status_code to be a global option

Version and OS
Docker 0.45.21
Is your feature request related to a problem? Please describe.
A feature request to have Ignore Status Code be one of the following:
A global setting
A tag when importing a large number of URLS
Describe the solution you'd like
I am importing ~100 URLs that are not currently live. I would like to receive a notification when the site goes live.
No notification is sent unless the option 'ignore_status_code = true'
This means manually editing 100 connections
Describe the use-case and give concrete real-world examples
Import a URL that cannot be resolved and receive the following error: "Failed to establish a new connection: [Errno -2] Name or service not known"
Have the URL go live and add an image.
No notification is sent
Additional context
Add any other context or screenshots about the feature request here.

agreed! nice idea, it seems obvious :)

No notification is sent unless the option 'ignore_status_code = true'

OK

Import a URL that cannot be resolved and receive the following error: "Failed to establish a new connection: [Errno -2] Name or service not known"

the actual 'difference' is still ignored yet, it does NOT use the "Failed to establish a new connection: [Errno -2] Name or service not known" text as a difference...
    ignore_status_codes = BooleanField('Ignore status codes (process non-2xx status codes as normal)', default=False)
the ignore_status_codes is only to treat 404 etc like a 200 page...
so im confused about your request here

No notification is sent unless the option 'ignore_status_code = true'

OK

Import a URL that cannot be resolved and receive the following error: "Failed to establish a new connection: [Errno -2] Name or service not known"

the actual 'difference' is still ignored yet, it does NOT use the "Failed to establish a new connection: [Errno -2] Name or service not known" text as a difference...
 ignore_status_codes = BooleanField('Ignore status codes (process non-2xx status codes as normal)', default=False)
the ignore_status_codes is only to treat 404 etc like a 200 page...
so im confused about your request here

Ah I think it's because the site in question gets a DNS name several hours in advanced which returns a 404 error. Then when an image is added it doesn't send a notification. (It will when 'ignore_status_code' = true)

Ah I think it's because the site in question gets a DNS name several hours in advanced which returns a 404 error. Then when an image is added it doesn't send a notification. (It will when 'ignore_status_code' = true)

yeah either way, its a good request :)


Seed color as primary color

I want my seed color to be the primary color，how to do it？

Currently there isn't support for this, but with #143 you will be able to do something like:
val seed = Color.Red
val state = rememberDynamicMaterialThemeState(seed, isDark = false) { colorScheme ->
    colorScheme.copy(primary = seed)
}

DynamicMaterialTheme(
    state = state,
    animate = true,
    content = {
        // ...
    }
)


Bug: Undo fails when selection includes a readonly column

First off - jExcel is amazing, I can't imagine the amount of work that must have went into it.
I've noticed that when I try to delete a selection that includes a readonly cell then undo the delete action the cells after the readonly column don't get restored and an error Cannot read property 'col' of undefined is shown. Here is a short video that demonstrates this behaviour:
https://www.screencast.com/t/3FjJ4Zv6

Thanks, it will be fixed soon.


Logitech G815

Please add support for the following device:
Device Name: Logitech G815
Device Website: https://www.logitechg.com/en-gb/products/gaming-keyboards/g815-low-profile-rgb-mechanical-gaming-keyboard.html
The G815 is very similar to the G910 layout-wise with some minor differences, for example media keys and the extra row of G-keys on the 910. I would do it myself if I had the knowledge, but after having a look it seems reasonably simple, I'm just having some building issues.

I've figured it out now, closing. Expect a pr in the next week or so.


Sign all my packages

Looks good but as brought up on Slack there's a problem when cabal can't resolve dependencies for a package, example:
ERROR: cabal: Could not resolve dependencies:
next goal: sourcemap (user goal)
rejecting: sourcemap-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
(global constraint requires ==<IP_ADDRESS>)
trying: sourcemap-<IP_ADDRESS>
next goal: base (dependency of sourcemap-<IP_ADDRESS>)
rejecting: base-<IP_ADDRESS>/installed-bfd... (conflict: sourcemap => base==4.5.*)
rejecting: base-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> (global constraint requires installed
instance)
Dependency tree exhaustively searched.

Proposal: we just ignore these and report them at the end of the signing process?

I fixed this problem with '--no-dependencies' for cabal fetch. We don't need to fetch dependencies.


Midi player on Safari

The 'Midi player' example has problems on Safari (iOS and OS X): the notes and the music are not synchronized and the 'time' are not constant.

Right. We mainly use Chrome but I will try to check why it is not synchronized on Safari.

Hi, are there any news about the problem with Safari?
Many thanks.

Hi,
nope not yet. We need to change completely the way we generate midi. It is not our priority for the moment to be safari compatible.
I close this issue because we moved the repo here https://github.com/SonyCSL-Paris/LeadsheetJS
We will post on https://github.com/SonyCSL-Paris/LeadsheetJS/issues/9 if there is any update on this.


filter: postgres statistics network filter

Description:
The filter implements decoding postgres wire protocol and parses messages exchanged between postgres server and client. Based on the decoded messages the filter generates statistics (counters) indicating how many messages of a specific type were exchanged.
Risk Level:
Low: The filter is implemented as extension and the code is not executed unless inserted into filter chain.
Testing:
Added unit and integration tests.
Docs Changes:
Yes - added architecture overview chapter and configuration specific sections
Release Notes:
Yes
Partially fixes: #9107

@cpakulski can you merge master to resolve conflicts?

@cpakulski can you merge master to resolve conflicts?

I'm resolving it

Please merge master to pick up https://github.com/envoyproxy/envoy/pull/10672. We no longer accept changes to v2 (without explicit exception), so any API modifications should happen in v3. If this PR is adding a new proto, please follow the updated instructions in https://github.com/envoyproxy/envoy/blob/master/api/STYLE.md#adding-an-extension-configuration-to-the-api.

@lizan, @htuch  Would you mind checking the api changes and approving them or requesting changes? Thank you.  The rest of CI tests are passing (macOS usually times out).

@cpakulski @lizan @htuck just pushed a minor doc fix and kick CI passing all tests

/lgtm api

@lizan now all CI tests are ok.

Typo: sesions


Hide Use Footlight section  for now.

As per the suggestion of Sherrie, I do not want to mention Footlight here in Artsdata for now.


[terra-menu] Dynamic resizing of sub-menu

fixes : #952

Dynamic resizing can be seen in this test example.
Let me know your thoughts @jmsv6d @StephenEsser

Is this acceptable behavior? @neilpfeiffer

@lokesh-0813 Are there no wdio screenshots that need to be updated with this change? If not, then I'd recommend adding one.

@lokesh-0813 Are there no wdio screenshots that need to be updated with this change? If not, then I'd recommend adding one.

Updated here 9515f20110ed39ea657e076965e3ed0e74cfd39c and here a87334b66361e2c03b09cbaff34af6611959f615

@lokesh-0813  I am noticing different behavior of bound menus when the sub-menu is clicked. It seems the sub-menu is not longer bound. Here is a gif of the behavior seen in the deployment vs the existing behaviors found on https://engineering.cerner.com/terra-framework/tests/terra-menu/menu/menu/bounded-menu.

@lokesh-0813 I am noticing different behavior of bound menus when the sub-menu is clicked. It seems the sub-menu is not longer bound. Here is a gif of the behavior seen in the deployment vs the existing behaviors found on https://engineering.cerner.com/terra-framework/tests/terra-menu/menu/menu/bounded-menu.

It's expected, since sub-menu has lesser menu-items compared to main-menu menu-items. Now sub-menu determines its height based on the number of menu-items it possess.
I have tweaked the Bounded Menu example(removed main-menu items and added more sub-menu items) to give you an idea of what's going on ->
Existing behaviour(master Branch)

Deployment behaviour

@emilyrohrbough It's expected, since sub-menu has lesser menu-items compared to main-menu menu-items. Now sub-menu determines its height based on the number of menu-items it possess.

I thought a bounded menu's height was determined by i's parent container, not its contents. Is that not the case?

Closing until we identify the appropriate solution on the parent issue: #952


Problem deploying hopsworks on baremetal using karamel

I'm using karamel to deploy hopsworks on a single baremetal node and am seeing an issue at the spark::install phase. Anyone have an idea on what the issue is? See below for gists containing the config, the karamel status screen and the error log.
Thanks,
Stefan
karamel configuration based on karamel-0.2/examples/testing/hopsworks-single-node.yml:
https://gist.github.com/sfarestam/b743abf2b692b4d6babd
karamel status screen:
https://gist.github.com/sfarestam/e2ed78fe8b98b231ddd6
spark Error
https://gist.github.com/sfarestam/57aeffcefc1fa4a54155

Closing due to massive rewrites.


NIFI-4718 IdentifyMimeType - raise priority for flowfile v3 to avoid internal files from being identified

Summary
NIFI-4718
This allows IdentityMimeType processor to grant flowfile v3 to have mime precedence over internal file contents
Priority was raised to "70" to handle .wmv files (see NIFI-11166 for similar issue.  wmv files have priority of "60" [1], so this needed to be higher)
Unit tests were expanded to cover new mime type (xhtml) mentioned in jira ticket.
Looked to cover wmv as well, but when looking for free samples, most hosting websites had limits on their terms of use which causes complications.
The best I could find were the four top wmv files here: https://www.appsloveworld.com/sample-wmv-video-file-free-download
These are wmv trailer adaptations of the Durian Open Movie Project
© copyright Blender Foundation | durian.blender.org
This is under the Creative Commons Attribution 3.0 license [2]
so we are allowed to have it to our machines.
Still unclear about wrapping it into a github commit for apache nifi, though, but it can be tested as follows:
Set up flow:
GetFile -> MergeContent -> IdentifyMimeType -> funnel
where GetFile is getting a .wmv video file.
MergeContent should have
Merge Format as "FlowFile Stream, v3"
Verify output flowfile has mime.type of
application/flowfile-v3
as opposed to
video/x-ms-wmv
[1]https://github.com/apache/tika/blob/2.7.0/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml#L7889
[2] https://durian.blender.org/sharing/
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[ ] JDK 11
[ ] JDK 17

Licensing

[x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[x] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[x] Documentation formatting appears as expected in rendered files

Thank you very much @emiliosetiadarma, for looking at this!

Thank you very much @exceptionfactory!


Add Anytype EVM network to networks.json

Changes proposed in this pull request:

Add support for Anytype EVM network

Thank you very much! You are building an awesome product!

@ChaituVR Hello. Could you please check my PR? Can't set you as a reviewer...

@ChaituVR I've fixed everything. Please try again. Thank you.


url constructed from occurrenceID should be included in csv download

eg: "10030" -> "http://portal.idigbio.org/search?rq={"occurrenceid":"10030"}"
If we don't want any more columns than absolutely necessary, this could be in place of, rather than in addition to, the current occurrenceID column.

Sounds like a useful addition, I'll keep you posted on changes in this issue.

Occurrence download now includes url to occurrence provided by data source (when available).
example:
taxonName	taxonPath	lat	lng	eventStartDate	occurrenceId	firstAddedDate	source	occurrenceUrl
Sigara signata	Animalia|Arthropoda|Insecta|Hemiptera|Corixidae|Sigara|signata|Sigara signata	42.2389	-71.3703	1916-10-07T00:00:00.000Z	001099ba-1ab2-4998-82bf-63e428b1f7e8	2015-06-02T00:00:00.000Z	idigbio	http://portal.idigbio.org/search?rq=%7B%22occurrenceid%22:%22001099ba-1ab2-4998-82bf-63e428b1f7e8%22%7D
Xylocopa (Schoenherria) splendidula	Animalia|Arthropoda|Insecta|Hymenoptera|Apidae|Xylocopa|splendidula|Xylocopa (Schoenherria) splendidula	42.8706	-71.9522	1960-06-10T00:00:00.000Z	0843e6e6-5ef6-4fe9-bceb-3a6656fe7ff5	2015-06-02T00:00:00.000Z	idigbio	http://portal.idigbio.org/search?rq=%7B%22occurrenceid%22:%220843e6e6-5ef6-4fe9-bceb-3a6656fe7ff5%22%7D


Wrong output type inside repo with zero dependencies

After a command inside repo with zero dependencies you get a text "nothing to do" despite the type into the command such as "license-report --output=json" or any other. The type should be predictable and based onto type in command

As far as I understand license-report doesn't return a json file if there are no dependencies. You are right, that's not really consistent :-)
Can you give me the example repo you used for this test e.g. on stackblitz?

As far as I understand license-report doesn't return a json file if there are no dependencies. You are right, that's not really consistent :-)
Can you give me the example repo you used for this test e.g. on stackblitz?

I think that I didn't explain it clear enough. Sorry, my bad. The full and correct example in directory without any dependencies will be:
license-report --output=json > output.json
For writing it to a file.
And in this case you have a file with the following string "nothing to do". But it will be not in JSON format.

I think that I didn't explain it clear enough. Sorry, my bad. The full and correct example in directory without any dependencies will be:
license-report --output=json > output.json
For writing it to a file.
And in this case you have a file with the following string "nothing to do". But it will be not in JSON format.

OK; I see.
So today license-report emits "nothing to do" if there are no packages - irrespective of the desired output format. But changing this behavior would be a breaking change (even if it would improve the consistency of the output).
Can you tell us what use case you have in mind (as projects without any dependency seem quite a rare case to me - but probably I am only not creative enough ;-)?

OK; I see.
So today license-report emits "nothing to do" if there are no packages - irrespective of the desired output format. But changing this behavior would be a breaking change (even if it would improve the consistency of the output).
Can you tell us what use case you have in mind (as projects without any dependency seem quite a rare case to me - but probably I am only not creative enough ;-)?

Maybe if it's a breaking change it doesn't worth it at all because this case can be easily caught by a simply code guard :-)
My case is a number of repos with CI/CD pipeline that collects licenses from all project's repos and then aggregates it into one big license file. There was an error with file format because an aggregate function expected a JSON file

I agree with your arguments.
@kessler What do you think about changing this behavior? Technically its only deleting one line - I've tried it out.

I think it's a bad decision I made back then when it was just a quick fix project. I wouldn't even dignify it with the word design, it was more of an afterthought apparently :-)
The tool should indicate there's nothing to do, but it should do so in a proper manner according to the user's expectations.
So yea, we should definitely change this... and I'm not afraid of breaking changes where they are due. We bump the major, communicate this in the readme and we should be ok. Besides anyone who uses nothing to do right now probably has some sort of a conditional to test it anyways.
Only question now is whether it should be a completely empty file or something else or both? because we currently have 4 output formats. For _json _it's easy to do: {  results: [] } or whatever but for csv it's just nothingness, possibly with the headers and then we have html of course and text table.
I'm thinking each format should have it's own nothing to do no results response, but maybe it should be an empty file for everyone, WDYT?

I have tried out what happens. when we simply omit the line that emits the 'nothing to do'; what we get is:

output=json => [] (an empty array) - that is IMHO consistent with the array of objects that we get if there are dependencies.
output=html => an empty table (even no header - should have header?)
output=csv => a file with only one linefeed as content (should be completely empty?) or with headers
output=table => a file with only the headers (looks OK for me)

So I think json and table are OK;
the empty line for csv is consistent to the output in case of dependencies, as even then a LF is the last character;
the question is, if the html output should have a header; as html is mostly for showing the result to a user, I would prefer an empty table with  header (consistent to the table output (even if the implementation is more work).

Yea, html + csd need headers then we're good I think


Improve: The case that there already exists a user whose username matches ID of the newly created LDAP user

Environment
Host

item
version

crowi-plus
2.2.1-RC (feat/ldap-auth branch)

How to reproduce? (再現手順)

Create a local user (User.username is user1)
There is uid=user1 user in LDAP and login with user1

However, it is assumed that the password of the local user1 does not match the password of the LDAP user1

What happens? (症状)

Login with LDAP is success but DuplicatedUsernameException is occured

What is the expected result? (期待される動作)

The user can specify another username

refs https://github.com/weseek/crowi-plus/issues/137#issuecomment-332288333

Do you really want this issue to be resolved?

This issue is pending to implement. Please add :+1: if you wish to be resolved.
(I wish this is not notable.)
この issue は一旦ペンディング。解決を望む人は :+1: を付けてください。
(増えないことを祈ります)

https://github.com/weseek/growi/pull/350 (v3.0.6 release) fixes this.
Now /admin/security page have an option below.

[ ] Automatically bind external accounts newly logged in to local accounts when username match


The input does not contain any JSON tokens

Describe the bug
The input does not contain any JSON tokens
Version:
1.6.1
Tool:
A1111
To Reproduce
Used tool for a while but lately delete the db a started a rescan. that went well but after some time just got this error out of the blue
first this

than that

NVMD, i deleted the tool and DiffusionToolkit in app data, eg clean installed the tool, and it does fix the error


web: warnings count as alerts

Addresses parts of #1713
Alerts now show up in the UI like this:

the formatting on that error seems all wrong? shouldn't there be newlines?


sendMessage return value bool/object?

Hi i'm curious of the behavior of sendMessage function in wapi.js
Sometimes it returns a msg object, properly serialized and all. Other times it returns a bool. This makes it pretty hard to correctly verify what i have previously sent or not, if i do not have the IDs
Anyone know why?

Reading the function, it has a limitation of 30 trials before it hangup the message, if it give a Object means it's OK, boolean menas that it tries 30 times


Historical queries

@zramsay commented on Wed Aug 16 2017
@ebuchman commented on Tue Feb 21 2017
go-merkle uses garbage collection to throw away nodes that arent referenced by the second latest roothash. we need to extend this to keep around more old nodes, up to X (think in range X=10k-100k  ... ie. a day or a few days of blocks).
The interface for apps will typically be through merkleeyes query, which allows a height to be specified to query against: https://github.com/tendermint/merkleeyes/blob/develop/app/app.go#L176

@ethanfrey commented on Tue Feb 21 2017
Hey Bucky, I agree with the need to query older heights, especially to make proofs from them. Please take a look at my thoughts in https://github.com/tendermint/tendermint/blob/develop/docs/architecture/merkle-frey.md#go-interface
Rather than holding all state for the last 10k and managing garbage collection, how about allowing the app to maintain a pool of states it wishes to query (eg. the last 10, every 10 for last 100, every 100 for last 1000, every 1000 for last 10k).  There is no real need to maintain every height for the so long, but having a few long-term checkpoints may be nice.
More to the point however, I think that hardcoding any numbers in go-merkle is somewhat problematic. Why not let the client decide which blocks it wishes to hold?
Also, what about using snapshots, which are native to leveldb and provide the functionality we want, without us having to manage the cleanup, especially recovering when leveldb shuts down.
Can you read that doc above and comment on it.  I think I am missing some points there, but there is a lot of thoughts on handling many different times.

Related issue: https://github.com/tendermint/merkleeyes/issues/21

https://github.com/tendermint/iavl/pull/1


mitmweb can't be closed by Ctrl+C on Windows anymore

Steps to reproduce the problem:
I even compared this behavior with 3.0.4.
4.0.1:

Run mitmweb
Press Ctrl+C in console
Nothing happens.
if you close web browser, you will get a warning:

lib\asyncio\base_events.py:492: RuntimeWarning: coroutine 'Master._shutdown' was never awaited
self._ready.clear()

So, you have to kill python.exe manually.

3.0.4:

Run mitmweb
Press Ctrl+C in console
mitmweb will be closed regardless of a browser.

Any other comments? What have you tried so far?
4.0.1 works fine on Linux. It may be connected with asyncio.
And just a guess: https://gist.github.com/lambdalisue/05d5654bd1ec04992ad316d50924137c (Ctrl+C hotfix patch of asyncio on Windows)
System information

Mitmproxy: 4.0.1
Python:    3.6.2 (3.6.5 - the same issue)
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Windows-7-6.1.7601-SP1

Thanks - most likely that's it. Do you want to send a quick PR?

This also happens with mitmdump and the problem was introduced in this commit: https://github.com/mitmproxy/mitmproxy/commit/44016a0de519469792769f7b78c37e7de9bfde24
44016a0de519469792769f7b78c37e7de9bfde24 is the first bad commit
commit 44016a0de519469792769f7b78c37e7de9bfde24
Author: Aldo Cortesi<EMAIL_ADDRESS>Date:   Sat Apr 7 11:46:34 2018 +1200

    asyncio: shift script reloading out of the tick event

    The tick event is a nasty compromise, left over from when we didn't have an
    event loop. This is the first patch in a series that explores moving our
    built-in addons to managing coroutines on the eventloop directly for periodic
    tasks.

I tried having a go at fixing this but unfortunately I don't know enough about asyncio.

Thanks!

Works in 4.0.3. Thanks!


core: do blocking read on serial port

We should be able to read in a blocking way on the serial port since it
happens on a separate thread.
Fixes #176.

@julianoes  is O_NONBLOCK is the culprit ?

Coverage remained the same at 17.476% when pulling a5ba5e4bb1dd8042effac4aef8201c771397ace4 on fix-serial-cpu into 61bd8109ecfcbd460a4faaf25bd023b7939e490d on develop.

Coverage remained the same at 17.476% when pulling d0bf814d05520d8cf9ff0e81ce13ebae247edf44 on fix-serial-cpu into 61bd8109ecfcbd460a4faaf25bd023b7939e490d on develop.

Tested with a Pixhawk, will merge now because it's a bug.


matt add event integration tests

add events test template
add imports for events
use 120 line length
regenerate types
regenerate jsons
fix w3 init
add tests, fix templates

Codecov Report
Attention: 36 lines in your changes are missing coverage. Please review.

Comparison is base (c92640c) 74.49% compared to head (fc70a53) 74.58%.

Files
Patch %
Lines

pypechain/test/events/types/EventsContract.py
72.72%
36 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
+ Coverage   74.49%   74.58%   +0.09%
==========================================
  Files          22       25       +3
  Lines         941     1086     +145
==========================================
+ Hits          701      810     +109
- Misses        240      276      +36

Flag
Coverage Δ

unittests
74.58% <76.47%> (+0.09%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Plugin Pycharm compatible with vLLM ?

Hi !
I'm looking to use a an open source LLM as code assistant on my PyCharm IDE.
I use vLLM to create an API for the model, but do you know a Jetbrain Plugin compatible with vLLM ?
I would like a plugin which act like Copilot for example.
I'm open to every sugestions.
Thanks !

You could try Refact Assistant or Tabby ML for this (server + plugin). I doubt that coding autocomplete LLMs are a focus here (but it's interesting what comes out of this topic).

vLLM provides an OpenAI compatible server. So if you find a plugin that can talk to OpenAI, then it can talk to vLLM.


FATAL: sorry, too many clients already (SQLSTATE=53300)

So,I have using zep to maintain user message and session,it's installed on cloud provider instance (docker instance).
I have been using Zep typescript SDK and call zep client using zep url and apiKey. I am calling zep client from aws lambda function. I am not sure it's bug or not,but connections should be closed by client SDK ?
SDK Version :  "@getzep/zep-js": "^0.8.0"
traces :
 INFO Zep Error APIError: Got an unexpected status code: 500 at /var/task/node_modules/@getzep/zep-js/dist/utils.js:64:31 at Generator.next (<anonymous>) at fulfilled (/var/task/node_modules/@getzep/zep-js/dist/utils.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 500, responseData: 'FATAL: sorry, too many clients already (SQLSTATE=53300)\n' }
I have check python SDK, it has operation of closing the connection after init ,but not in  typescript SDK.(link)

The client connection doesn't need to close in order for the API server to manage DB connections. How is your database hosted? Are you using a managed Postgres instance or the Zep Postgres container?
The latter is not tuned for production use. You may want to take a look at this help article: https://docs.getzep.com/deployment/production/
Additionally, search the web for Postgres tuning advice.

Thank you for the reply. Yes, I have been using the "Zep Postgres container" for the database. I did have a misconception there and thought the close method is missing in the TypeScript SDK, and my APIs are making too many connections. :D


⚠ ClamAV has degraded performance

In 49827ee, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 116 ms

Resolved: ClamAV performance has improved in d3b4b5f after 534 days, 16 hours, 17 minutes.


[RAC] DatePicker onChange prop is not documented

🙋 Documentation Request
I noticed this because the type of the onChange prop changed to include null but on the documentation page it's not mentioned when null will be passed to the callback, or anything else about it really
🧢 Your Company/Team
No response

It's null when the date is cleared (e.g. backspace). This has always been the case but the types were wrong before.


Improve document

Hello! This document is great! There's no problem for hands-on temporarily because it is hard to recapture all of the screenshots. But I recommend that you check the following updates on the official document if you use your document for other purposes like a book that is difficult to change.

From Node-RED v1.0, stock icons are in SVG formant, not PNG format
https://nodered.org/docs/creating-nodes/appearance#stock-icons

script type is currently "text/html" instead of "text/x-red"
https://nodered.org/docs/creating-nodes/node-html#edit-dialog

There is no change in the last line. I think that it is just a new line character.

@kazuhitoyokoi Thanks for your correcting! It's great support for me:)


[Question] Decoding of Object Instances during WRITE Request

Question
Hello,
I've got a problem understanding the process of decoding and writing to specific resources during a Object Instance WRITE Request from server towards client.
I'm trying to explain the problem using an example:
Let's assume, during Registration the Object Instance /3/0 was reported to the server but the client internally only support 3/0/1 and 3/0/2 (let's leave aside mandatory resources).
What happens...
1.) ... in case the server sends a WRITE request for /3/0 to the client which contains the resources 3/0/1 3/0/2 and 3/0/3 in the payload; does the client just ignore the value for /3/0/3 and report CREATED 2.04?
2.) ... in case the server sends a WRITE request for /3/0 to the client but only the resource 3/0/1 is encoded in the payload, does the client just set the value for /3/0/1 (report CREATED 2.04) and ignores that one resource is missing?
Thank you,
Andy

(Note that I didn't check if Leshan client behaves like this but it SHOULD)
About 1)
The question is how to behave if server try to write unsupported optional resource ?
<EMAIL_ADDRESS>Write Operation says :

Any optional resources included in the "Write" operation that are not supported by the LwM2M Client MUST be silently ignored.

So, I think yes,  "the client just ignore the value for /3/0/3 and report CREATED 2.04"
About 2)
I guess you are talking about Partial Update Write (and not Replace Write) ?
<EMAIL_ADDRESS>Write Operation says :

Partial Update: updates Resources provided in the new value and leaves other existing Resources unchanged. When the Resource is a Multiple-Instance Resource, the existing array of Resource Instances is updated meaning some Instances may be created or overwritten to the condition the LwM2M Client authorizes such operations. Deleting via Partial Update is not possible.

So, I think that " client just set the value for /3/0/1 (report CREATED 2.04) and ignores that one resource is missing".

let's leave aside mandatory resources

Answer would probably not be the same for mandatory resources.

Thank you very much for your answer. You're right I also have to keep Mandatory and Partial Update in mind.
So if not all Mandatory Resources of Instance /3/0/ are updated during Partial Update, I assume that is still OK? But if I do not update all Mandatory Resource during Replace Update it will be rejected, right?

So if not all Mandatory Resources of Instance /3/0/ are updated during Partial Update, I assume that is still OK? But if I do not update all Mandatory Resource during Replace Update it will be rejected, right?

Yep, at least this is my understanding.

Because Replace is basically a Create call carrying a payload.

I would say Replace is a kind of Delete then Create.

Alright, that clarifies a lot.
Any optional resources included in the "Write" operation that are not supported by the LwM2M Client MUST be silently ignored.
That leaves me with the following question:
When I try to do a Replace on a resource that is not supported by the client (form the example above: /3/0/3), then it will also be silently ignored an not deleted/created, right? At least, that would be the expected behaviour when checking out the CREATE Operation:
The Object Instance created in the LwM2M Client by the LwM2M Server MUST be an Object type supported by the
LwM2M Client and announced to the LwM2M Server using the “Register” and “Update” operations of the LwM2M Client
Registration Interface.

You mean send a Write Replace Request on /3/0 with a payload containing /3/0/3 resource ?

Yes, sorry for being inaccurate. I was talking about this case.
But the other case is interesting, too :)

You mean send a Write Replace Request on /3/0 with a payload containing /3/0/3 resource.

The whole  3/0 instance is replaced.
That means that we remove the previous one and we replace it by a new one with resources given in the payload.
If  a resource is not supported,  client will just ignore that resource.
If no resource is supported in the payload you will create a kind of empty instance...

Yes that makes sense. So if the Replace Write does not contain the Mandatory Resources of that Object Instance, it will be rejected then. So the Client requires some check whether these are present or not, I guess.

Yep.

Of course, it's no secret. I'm/We're working on a LwM2M client fully in C++. The focus of the implementation lies in its easy integration with existing applications which is something, imo, many current implementations struggle with (LwM2M dictates the implementation of network and application layers). The idea is to fully detach application layer integration from the LwM2M client and treat LwM2M as what it is: a high-level network stack.
The client will be publicly available.

Thx for detailed explanation :pray:

The idea is to fully detach application layer integration from the LwM2M client and treat LwM2M as what it is: a high-level network stack.

What do you consider as application layer ? e.g. Object implementations seems not really pure network layer, or ?
I mean it's not clear to me exactly what it will looks like :thinking:
When you said :

The client will be publicly available on github.

Does it means it will be released under FOSS license ?

I think the objects are a "design flaw" in LwM2M because they make your general application design less flexible. So I strip the objects of their influnce in the application, so they solely have the function to manage data exchange.
The application API will look something like this:
lwM2MClient.SetResourceValue(ServerObject::Id, 0, ServerObject::BindingId, 0, LwM2MCpp::BindingU); // this is how you change the value -> triggers notify if observe is activated
lwM2MClient.SetResourceCallback(ServerObject::Id, 0, ServerObject::BindingId, 0, this, &LwM2MExample::ChangeBinding); // application will be notified if server changes binding
lwM2MClient.SetExecuteCallback(DeviceObject::Id, 0, 4, this, &LwM2MExample::Reboot); // application subscribes to reboot requested by server

You see the application layer itself basically subscribes to LwM2M object which are used as proxies for network data exchange. This is mainly done by a callback design (e.g. in contrast to the observer pattern leshan uses). This way, we avoid application dependencies within the LwM2M client implementation. To keep the API clean it requires lots of meta programming in the background, though.
Hope this makes sense.

Does it means it will be released under FOSS license ?

Yes that's the plan.

You see the application layer itself basically subscribes to LwM2M object which are used as proxies for network data exchange. This is mainly done by a callback design (e.g. in contrast to the observer pattern leshan uses). This way, we avoid application dependencies within the LwM2M client implementation. To keep the API clean it requires lots of meta programming in the background, though.

I'm not sure I see the nuance. (Note that I didn't know Cpp so much so I maybe missed something)
But I also see LwM2mInstanceEnabler or  LwM2mObjectEnabler from Leshan as a kind of way to bind LWM2M with your application code.
I mean you can directly code the application logic in this object but you can also just call you application API in the object and so this is just a kind of adapter.
I try to understand because if there is some idea to better organize Leshan code, I would like to have it in mind. (not sure I will change the code but at least I know how we could do better) :slightly_smiling_face:

Yes that's the plan.

:+1: Great news !

But I also see LwM2mInstanceEnabler or LwM2mObjectEnabler from Leshan as a kind of way to bind LWM2M with your application code.

You're right that works well, too. I intend to give the user of LwM2M stack less flexibility (not even a real adapter) which is probably not the goal of the Leshan implementation as it aims at maximal flexibility and integration. I'm far from a Java expert, though, the latest experience was the one I had with a Leshan microservice implementation. Sometimes I wish Leshan was implemented in C# with all its latest async features :)
However, our C++ client is still wip, so I'm happy to keep the discussion running. More questions will pop up for sure!

Sometimes I wish Leshan was implemented in C# with all its latest async features :)

Often when you implement an open source library, you are stuck to old version to allow maximum reusability.  (Currently leshan use java8 as minimal version :grimacing:.
Without thinking of this too much, if I should create Leshan now, I would give a try to Rust. :thinking:
Let me know if we should close this issue ?

One more thing about Bootstrap-Write:
The spec says:

Once a "Bootstrap-Write" operation initiated on the "Bootstrap" interface by the LwM2M Server, the LwM2M Client MUST write the value included in the payload regardless of an existence of the targeting Object Instance(s) or Resource(s) and access rights.

What exactly does the part "regardless of an existance of the targeting Object Instance mean? Does it mean, it will be created in case doesn't exist yet?

Thank you! I have another little issue with bootstrapping: When using the default configuration I firstly get the Security Object Instance /1 sent down to the client. So far so good. But why does it send next the LwM2M server config on Server Object Instance /0? Shouldn't it be also on /1 to match the Security Object Instance?

I'm not sure I get the point but maybe you missed some points :
1. Server object (object Id:1) only contains LWM2M server, not bootstrap server

This LwM2M Objects provides the data related to a LwM2M Server. A Bootstrap-Server has no such an Object Instance associated to it.

(source : http://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#13-2-0-E2-LwM2M-Object-LwM2M-Server)
2. The way to link a Server Instance and a Security instance is not by comparing the instance id but by comparing  short server id from  resource /0/?/10 and resource /1/?/0.

This way it tries to overwrite my Boostrap Server config which is located in Instance /0

So this should not be an issue on object Server(1) but for completeness, you could face some kind of bootstrap config overwritting on object Security(0).
There is some explanation about it Bootstrap server UI demo :

Note that Security /0 Object Instance storing LWM2M Bootstrap server data can not be deleted using Delete Request.
Adding Security instance without knowing the Instance ID of Bootstrap Server could lead to some unexpected behavior (see OMA#522, OMA#523).
By default, this wizard use the convention that LWM2M Bootstrap Server Security instance ID is 0.
If your client don't use this convention, you can use autoIdForSecurityObject=true and so Leshan will start the Bootstrap session with a Discover request to know which Security instance ID is used for the Bootstrap Server."

HTH

Ok, thanks for the clarification, I completely missed that obious detal.

There is some explanation about it Bootstrap server UI demo

Thanks for pointing that out, I followed the discussion. In theory, should a client support multiple bootstrapping configurations to fetch LwM2M Server configs from different bootstrapping servers?

Nope, a client can only have 1 bootstrap server at a time.

The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account.

source : http://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#6-1-2-0-612-Bootstrap-Information

Another thing I overlooked! Thank you again. I think we can close this thread, otherwise it'll become very offtopic (regarding the original question). If ok, I'll open a new issue when running into further trouble.


⚠ ClamAV has degraded performance

In aa869e2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 427 ms

Resolved: ClamAV performance has improved in 1d9b3f1.


Block justatemp.com

seems to be down already, sorry for late answer. i see the project in github, so i have added the domain to static list


Force PNG fallback for specific pages

See: https://github.com/box/viewer.js/issues/147#issuecomment-66936772 for more info.

@lakenen With the latest library (didn't try earlier versions), I am getting 404 for all pages after page 1 when using the PNG fallback... any ideas?

Yes! You will need to specify the non_svg flag for conversions, otherwise only page one will have a PNG generated (used for thumbnails). https://developers.box.com/view/#non-svg


Better way to calculate (and test) list of routes added using Router()

At the moment we are using Router() to add routes to one of our controllers
  routes: ()=>
    using new Router(), ->
      @.get '/help/index.html'       , (req, res)-> new Help_Controller(req, res).show_Index_Page()
      @.get '/help/article/:page*'   , (req, res)-> new Help_Controller(req, res).show_Help_Page()
      @.get '/help/:page*'           , (req, res)-> new Help_Controller(req, res).show_Help_Page()
      @.get '/Image/:name'           , (req, res)-> new Help_Controller(req, res).show_Image()
      @.get '/json/docs/library'     , (req, res)-> new Help_Controller(req, res).json_Docs_Library()
      @.get '/json/docs/:page'       , (req, res)-> new Help_Controller(req, res).json_Docs_Page()

(yes I know we shouldn't be using new Help_Controller(req, res) on all methods, but that is a bit of legacy that we need to clean)
My question is related to the way I'm using in the test to calculate the list of urls that are mapped (which is part of our efforts to map the attack surface of our application)
  it 'routes', ()->
    app  = new express()
    app.use new Help_Controller().routes()
    paths = []
    for item in app._router.stack
      if item.handle.stack
        for subitem in item.handle.stack
          if subitem.route
            paths.push subitem.route.path

    paths.assert_Is [ '/help/index.html',
                      '/help/article/:page*',
                      '/help/:page*',
                      '/Image/:name',
                      '/json/docs/library',
                      '/json/docs/:page' ]

Is there a better way (or an existing helper method) to calculate the list of paths?

here is a simpler version (from another controller) where the test happens directly on the Router() object
  it 'routes', ->
    using new Browser_Controller(), ->
      paths = for item in @.routes().stack
        if item.route
          item.route.path
      paths.assert_Is [ '/browser',
                        '/',
                        '/browser-detect',
                        '/article/*',
                        '/search',
                        '/passwordReset/*' ]

So currently there is no way to achieve what you are looking for with Express router. Before doing anything, we would need to understand what you are trying to achieve. Looking at your example, all you're going to achieve is trying the routes twice: once in code and again in an array in a test. This, to me, does nothing for security of your application, unless you have no routes with an asterisk (like "/*") and never ever call app.use. If you do either of those, then it's no loner possible to enumerate all URLs your Express app will respond to.

Hi @dougwilson the key reasons to do this, is to 'lock' the attack surface in one place.
Once that is done, there are two key concepts at play:

the dev gets immediate feedback when it changes the attack surface (which means that it will have to be a conscious choice)
the security team (starting with the Security Champions allocated to the team) can now know when it needs to trigger a security review. The idea being that it doesn't scale for them to review all code, only the code that has security implications (for example changing urls, i.e. changing the attack surface)


[Security] Workflow test.yml is using vulnerable action codecov/codecov-action

The workflow test.yml is referencing action codecov/codecov-action using references v1.3.1. However this reference is missing the commit c6a36d2dbbf6a734e6ef75af344acdf122fcd9f9 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

https://github.com/provenance-io/provenance/blob/35541ddee9f832b4061192f792df687f7b7b66c2/.github/workflows/test.yml#L149
We are currently using CodeCov 2.1 in our test.yml. Where are you seeing 1.3.1 referenced?

Sorry about the issue report. This was generated automatically by a tool a while ago. Thanks for letting me know.


[announce] Deprecate explicit webhooks in favor of generic webhooks

The following explicit webhooks should be deprecated in favor of the generic Webhooks to reduce code duplication

Discord. Uses content as body property.
GoogleChat. Uses text as body property.
Gitter.  Uses message as body property.
Mattermost. Uses text as body property.
Teams. Uses no body property.

Released in v1.4.0 -> https://github.com/jreleaser/jreleaser/releases/tag/v1.4.0


Body scroll on empty promotion code add

Description:
When you click on the icon to send the "promotion code" in the offcanvas cart, but the promotion code is empty, then the body will scroll to the end.
Environment:
Shopware <IP_ADDRESS> but it also occurs in a <IP_ADDRESS> shop
And also tested it locally in a blank shop with shopware default theme
Steps to reproduce:

Go to any shop
put an item into the cart
open the offcanvas cart
click on the checkmark icon to add the promotion code but leave the input field blank

Expected result:

display of an error message like it would do when you add an invalid code

Actual result:

the body scrolls to the bottom and the only error message you get is from the browser that the input field is empty

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37755.
[created from NEXT-37755, comment 487708]


Icon for menu item is not correct

Describe the bug
I've chosen the Newsletter icon, but it shows Paragraph icon for the menu item.

Steps to reproduce

Choose 'newspager-o, section' icon in the list for the menu item.
Another icon is shown, not the icon that was selected

Craft CMS version
5
Plugin version
5
Multi-site?
No response
Additional context
No response

Can you let me know the exact Craft version you're on? That new Entries icon doesn't show for me, and any updates I do to the Craft Icon are working for me. I'm on Craft 5.1.8.

I've also had this. It happens when you update from Craft 4 to 5. It goes away if you revert the nav to defaults.


Autoloader Help

Hey, perhaps I am missing something but when I try to initiate these classes and then use your example code I just get a 'class not found' error. Any advice would be appreciated!

Can you provide your code and the exact error reported by php? Also did you require the composers autoload.php file?

I figured it out... sorry for bothering you! Do you have any recommendations for converting RGB to CMYK? It seems that no matter what library I use I cannot get output to screen match in Photoshop. Thanks for your speedy response!

From which RGB values are you converting to CMYK? What do you get with this library and what do you expect e.g. have in photoshop?

I just checked the RGB > CMYK conversion with the library and photoshop. Well you have absolutely right its not the same color. But all the online converters and formula I implemented seems to produce the slightly different green. As far as I know this is somewhat limited to green'ish colors. There are some color profile that help to get a more accurate conversion but this library does not use any of those.


Add option to set specific questions as required

Currently the type and subject are the only questions that require any input. I'd like to configure scope as a required field and maybe conditionally require footer when scope === 'feat'.

Hi Ken,
Just fyi, it is not only type and subject that allow input. Scope allows input if you select custom. Please refer to screen shots on main project page.
Conditionally require a field depending on another field sounds like a good feature.
regards
Leonardo


[#10529] determine the behavior of individual batch jobs in the properties 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.minwoo.jung 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.


FEBA Symbols Too Faint to Easily see on Map

Forward Edge of Battle Area (FEBA) Symbols:
GUCPMMDF--(APP6B)  & GUGPDLF-- (2525C)
Here is how this now draws at 10.2 (was slightly brighter in prior versions)

have line thicknesses that are too small and make viewing on the map difficult (particularly unknown/yellow, hostile/red) . Please increase the point size/thickness of these lines.

@csmoore - is this for runtime or, desktop, or both?

There shouldn't be a major difference between Runtime or Pro renderering, but it is possible, here is Pro screenshot - so looks like an issue in both.  But this is a general/global issue with all of these smaller-lined/yellow symbols

Just an additional note - this symbol changed a bit at 2525Delta - it was made clearer that the Coordination Point was not part of the line symbol - so that should be fixed also for all affiliations:

2525C issue - changing milestone to deferred (Note: in 2525D the symbol was clarified to show that it does not include those Coordination Point Circle-X's - so this symbol was actually incorrect anyway)

Closing. This is no longer an issue.


Code in this repository is proprietary.

The repository has no mention of a license, hence, technically, can not be used / modified / re-distributed by other people.
I assume that wasn't an original intention of the authors.

I've added apache v2.


Shell returns "Closed Code: 1006" with a 403 status code for new cluster

What kind of request is this (question/bug/enhancement/feature request):
Bug?
Steps to reproduce (least amount of steps as possible):
Added new cluster to rancher - 4th one
Result:
Trying to access the embedded web shell gives a grey screen with Closed Code: 1006 and Firefox dev tools shows a 403 Forbidden return code.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):

Rancher | v2.2.5
User Interface | v2.2.89

Installation option (single install/HA):
Single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
PKS 1.4.1 cluster

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:26:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:19:22Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

Problem was due to DenyEscalatingExec and DenyExecOnPrivileged admission plugins being enabled.
Closing this issue


Description in resources should go underneath JsonDoc

The body parameter in resources should have the description underneath the JsonDoc

Closing as won't fix, made the type of the response clickable to the model page instead.


mingw C api release does not contain an import library for the shared library

The 0.29.0 release does not contain an import library for the shared library.
It should contain a file named lib/libwasmtime.dll.a.
The contents of wasmtime-v0.29.0-x86_64-mingw-c-api.zip are:
wasmtime-v0.29.0-x86_64-mingw-c-api
├── include
│   ├── doc-wasm.h
│   ├── wasi.h
│   ├── wasm.h
│   ├── wasmtime
│   │   ├── config.h
│   │   ├── error.h
│   │   ├── extern.h
│   │   ├── func.h
│   │   ├── global.h
│   │   ├── instance.h
│   │   ├── linker.h
│   │   ├── memory.h
│   │   ├── module.h
│   │   ├── store.h
│   │   ├── table.h
│   │   ├── trap.h
│   │   └── val.h
│   └── wasmtime.h
├── lib
│   ├── libwasmtime.a
│   └── wasmtime.dll
├── LICENSE
└── README.md

3 directories, 21 files

Rustc doesn't create import libraries afaik. You will need to make them yourself. According to stackoverflow you can use the following commands:
echo LIBRARY WASMTIME > wasmtime.def
echo EXPORTS >> wasmtime.def
for /f "skip=19 tokens=4" %A in ('dumpbin /exports wasmtime.dll') do echo %A >> wasmtime.def
lib /def:wasmtime.def /out:wasmtime.lib

Thanks for the report! This was forgotten by accident, and I've submitted https://github.com/bytecodealliance/wasmtime/pull/3170 to fix this.

Closed by #3170


[Issue]: why only access UI through localhost?

Describe the issue
i use pip to install autogen studio, i can use localhost to access the UI,
but i can't use the ipv4 to access UI , i want to know the issue ,how to solve it?
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

Hi @hotsmile,
Can you provide more details on what you mean by "can't use the ipv4 to access UI" and your broader use case?
AutoGenstudio uses a fastapi underneath. Perhaps articles like this might help?
@shhdgit, any thoughts or insights into this issue?

@hotsmile try using the --host and --port flags
I think you wanted to view the autogenstudio ui from other devices connected to the same network?
Try: autogenstudio --host <host device's ip address> --port <whatever port you want to host it on>
Then you can go to the url on any device connected to the same network and view the UI.

Thanks for the note @mokshablr.
@hotsmile , let us know if that works.

Thank you @mokshablr, took me hours to trouble shoot this until I find your post, I think this should be noted on https://github.com/microsoft/autogen/tree/main/samples/apps/autogen-studio

A note on using the host parameter has been added to the readme. Thanks.


[Bug]

What version of vite are you using?
4.1.1
System info and storybook versions
System:
OS: macOS 11.7.2
CPU: (4) x64 Intel(R) Core(TM) i7-4578U CPU @ 3.00GHz
Binaries:
Node: 16.16.0 - /usr/local/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 9.1.3 - /usr/local/bin/npm
Browsers:
Chrome: 109.0.5414.119
Firefox: 109.0.1
Safari: 16.3
npmPackages:
@storybook/addon-essentials: ^7.0.0-beta.43 => 7.0.0-beta.43
@storybook/addon-interactions: 7.0.0-beta.43 => 7.0.0-beta.43
@storybook/addon-links: ^7.0.0-beta.43 => 7.0.0-beta.43
@storybook/blocks: ^7.0.0-beta.43 => 7.0.0-beta.43
@storybook/testing-library: ^0.0.13 => 0.0.13
@storybook/vue3: ^7.0.0-beta.43 => 7.0.0-beta.43
@storybook/vue3-vite: ^7.0.0-beta.43 => 7.0.0-beta.43
Describe the Bug
After updating from beta-30 to beta-43 by yarn upgrade-interactive storybook@latest and then replacing all beta-30s to beta-43 in package.json and running yarn install,
Storybook ran into a problem when i ran yarn storybook , it showed error loading dynamically imported module on screen and an error about node_modules/.cache/.vite-storybook/deps_temp couldn't be renamed to deps because folder didn't exist on the console. After creating the folder problem got solved but i thought this might be something you would like to know about.
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Thanks, but unfortunately this is a bug in Vite itself.  You can subscribe to https://github.com/vitejs/vite/issues/9986 for any updates.


Build Logs URL not clickable for srpm builds

What happened? What is the problem?
Clicking on the Build Logs URL link has no effect.
What did you expect to happen?
Get to the build log.
Example URL(s)
https://dashboard.packit.dev/results/copr-builds/1021135
Steps to reproduce
1. Visit: https://dashboard.packit.dev/results/copr-builds/1021135
2. Click on the `Build Logs URL` link
3. Nothing happens

What is the impacted category (job)?
Copr builds
Workaround

[X] There is an existing workaround that can be used until this issue is fixed.

Participation

[ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

@psss hi, thanks for the issue! Yes, we have noticed this and described the problem in #2195, it happens when the SRPM itself fails and ideally we should not show the Copr builds at all. If you are not against, I would therefore close this as a duplicate of #2195.

Yeap, sure, thanks for the pointer.


Surface errors for broken traces.

This adds a banner for when a trace is missing some spans.
At the top of the window:

Next to spans:

you are doing a lot of good work. particularly code that was server-side now being in the browser gives you a lot of flexibility to bring forth insight like this. I'd nudge to start doing unit tests earlier than later as it was a huge mess in the existing UI to go back and add them. Doesn't get easier in other words. Regardless, keep up the good work

Unit tests have been on the roadmap for a while. I'll try to get some in fairly soon after wrapping up a few small items for firehose support. Thanks for bringing this up!


Blockquotes are not styled and do not nest anymore.

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
In Bootsstrap 3, blockquotes could be nested, and appear to be nested:
e.g.
<blockquote>Some quote hereA response here`
Styling was on the actual element.
In Bootstrap 5, the styling has moved to a class, which I understand, but also any styling around this appears to have gone (indentation, border colour etc).
Furthermore, It is not clear form your documentation how to nest block quotes with bootstrap 5 with out overriding with some custom css e.g.
.blockquote {   border-left: var(--bs-blockquote-border-width) solid var(--bs-body-color);     font-style: italic;   margin-left: 0;   margin-right: 0;   overflow: hidden;   padding-left: var(--bs-blockquote-padding);   padding-right: var(--bs-blockquote-padding); }
Reduced test cases

Update documentation and show how to indent/nest blockquotes
Bring back some elementary styling

What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Safari
What version of Bootstrap are you using?
5.3.2

Interestingly blockquotes indentation is being used here. CSS is like so:
.markdown-body blockquote {     padding: 0 1em;     /* color: var(--fgColor-muted, var(--color-fg-muted)); */     border-left: .25em solid var(--borderColor-default, var(--color-border-default)); }
So it looks to me as if this has been added ontop of any base theme aka Bootstrap

testing quote widget

testing quote widget

reply to testing quote widget

Thanks for opening an issue @2dareis2do
Could you please update your description to use Quoting code so that we can see the code etc. instead of the code being interpreted by GitHub Markdown? And gather all your ideas into this same description.

Thanks for quick response Example here of what I would expect:
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-text
example here of how it is
https://getbootstrap.com/docs/5.3/content/typography/#blockquotes

Thinking about this, I am not clear why you have decided to use figure tag for blockquote tags? There is no mention of figure tags here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote

I think I'm experiencing the same problem. Here's my first shot at using codepen to show what I mean:
https://codepen.io/davidcsterratt/pen/WNmrGbX


'isNode' will now be false in nw.js environment

so 'isBrowser' will be true and 'propertyDescriptorPatch' will be executed correctly
closes #522

sorry, my earlier suggestion is not corrent,  in nw.js or electron, isNode and isBrowser should both be true, so the node related api and browser method can both be patched.


Shape card/builder crash when switching to hollow shapes

I shift r-clicked the builder clicked 2 points around 100 blocks from each other,
and tried to swap to the sphere shape, but crashed.
Confirmed in latest release
Weird it did not give me a crash report,
but it gave me a log thing in the main folder.
Crash log thing.txt

seems to have fixed itself.

Thats a seg fault... thats bad but nothing useful found sorry. let us know if this happens again


ValueError: invalid private key

Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\main_window.py", line 462, in new_wallet
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\__init__.py", line 206, in start_new_window
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\installwizard.py", line 278, in run_and_get_wallet
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 61, in run
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 87, in new
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\installwizard.py", line 91, in func_wrapper
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 97, in on_wallet_type
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 61, in run
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 136, in import_addresses_or_keys
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\installwizard.py", line 91, in func_wrapper
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\base_wizard.py", line 144, in on_import
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\wallet.py", line 1633, in from_text
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\wallet.py", line 1680, in import_private_key
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\keystore.py", line 174, in import_privkey
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\address.py", line 162, in from_WIF_privkey
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\address.py", line 156, in privkey_from_WIF_privkey

ValueError: invalid private key

Reporter
This issue was reported by 1 user(s):

Electrum Version
Operating System
Wallet Type
Locale

3.1.6
Windows-2012ServerR2-6.3.9600
imported_privkey
en_US

Additional Information

4694944dd2281c3a55058188fcd02c4d73ee86089043283d8d79350cf70bee46T7xU2Ngenf7D4yocz2SAc

If the private key used is in additional information (I sure hope there are no funds in there if so), what type of private key is it? It doesn't pass bitcoin.deserialize_privkey so I'm not sure how the user could have gotten so far in the wizard

It HAD 3000 BCH in it! OMFG I'M RICH!!
:P JK.
That's not a private key.  Not sure what it is.

Hey as for a warning about versioning -- just a simple message with a link to the site? or?
Luckily in my iOS world I don't have this problem as much as iOS pushes out updates to users and nags them to update...

For desktop, I would put something like "If you are not running the latest version of Electron Cash, you may wish to upgrade as this bug may already be fixed."   And linkify Electron Cash.   Something like that.
We should have optional version checking anyway.  The only reason we don't have any version checking is because people complained that it identified them in some way, IIRC from the slack channel.  Opt in version checking removes that complaint.  If we had opt-in version checking, I'd consider putting the option to enable it in the exception window.

I can't even get this private key to be imported on a new wallet, with "Import Bitcoin Cash addresses or private keys."  The next button never enables.

Yeah I think it's because it's not a private key, ha ha. It's.. just a base58 encoded .. something.  But not a key.
If you base 58 decode it, it has the wrong length to be anything.
I agree with you about the messaging to upgrade. Maybe someday we can do an internal "update checker" -- they aren't hard to code up.  Just have to do it I guess...

@rt121212121 yeah, that's what I was getting at in my first message. The button enables when bitcoin.deserialize_privkey passes, which it doesn't for this key. I have no idea how somebody snuck it in


Import rules from ember-best-practices

see https://github.com/chadhietala/ember-best-practices

I would totally love to import some of those rules here. I'll try to speak with @chadhietala about this.
Actually the final goal of this project is to integrate all of those great rules in one place. Thanks for pointing this repository @Turbo87!

I created separate issues for importing missing rules from ember-best-practices, see #51, #52, #53
Thus I'm closing this ticket and we'll continue discussion there.
The rest of the rules has already been implemented, but has different names:
no-lifecycle-events -> no-on-calls-in-components
require-dependent-keys -> no-unused-dependent-properties (in progress - it's not that simple)
no-side-effect-cp -> no-side-effects
no-observers -> no-observers