Adding USE_MKL2017 option to cmake build

MKL is detected and MXNET_USE_MKL2017 is now enabled in the cmake build. This attempts to follow to usage in the makefile directly.
This is disabled by default.

@alextnewman Please follow this PR https://github.com/dmlc/mxnet/pull/3953 and update after it's merged

Sure thing, @piiswrong -- we've had no luck with this functionality within our internal builds, so I'm happy to follow suit until things are cleared up.


Delete manifest lists after expiring snapshots.

I'm merging this. We've been running it in production for a while and it appears to work fine. Thanks for reviewing, @fbocse!


Add MANIFEST.in to include license file in source distribution

It would be helpful to include the license file in the source distribution

Good idea, cheers!


Generated Angular 2 project does not build

I tried a simple generated Angular 2 project multiple times but it does not build.
To stop some errors, I switched the project configuration to 'webpack'. I also updated Maven and NodeJS which allowed the build process to get to the end of the output log that you see below. Previously it failed on more errors. Now it stops at this point:
Output log:
cd C:\Users\Nureyev\Documents\Java\Project_June2017\Project; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131" "M2_HOME=C:\Users\Nureyev\Documents\Java\apache-maven-3.5.0" cmd /c """C:\Users\Nureyev\Documents\Java\apache-maven-3.5.0\bin\mvn.cmd" -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.2\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 -Pwebpack,webpack install""
Scanning for projects...

Building Project 1.0-SNAPSHOT
--- maven-dependency-plugin:2.6:copy (default) @ Project ---
--- frontend-maven-plugin:1.3:install-node-and-yarn (install node and yarn) @ Project ---
Node v6.9.2 is already installed.
Yarn 0.18.1 is already installed.
--- frontend-maven-plugin:1.3:yarn (yarn install) @ Project ---
Running 'yarn install' in C:\Users\Nureyev\Documents\Java\Project_June2017\Project
yarn install v0.18.1
info No lockfile found.
[1/4] Resolving packages...
warning<EMAIL_ADDRESS>Please use the new --> ngx-infinite-scroll <--- supports in Angular +4, AOT compilation and optimized code bundle
warning browser-sync > localtunnel > request ><EMAIL_ADDRESS>Use uuid module instead
[2/4] Fetching packages...
warning<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning Incorrect peer dependency "<EMAIL_ADDRESS>warning Incorrect peer dependency "<EMAIL_ADDRESS>warning Incorrect peer dependency "<EMAIL_ADDRESS>warning Incorrect peer dependency "<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved lockfile.
$ yarn run webpack:build

This may help also. It's the output log of "npm install":
Output log:
"C:\Program Files\nodejs\npm.cmd" "install"
npm WARN deprecated<EMAIL_ADDRESS>Please use the new --> ngx-infinite-scroll <--- supports in Angular +4, AOT compilation and optimized code bundle
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm ERR! Cannot read property 'write' of null
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\istanbul-instrumenter-loader):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\Users\Nureyev\Documents\Java\Project_June2017\Project\node_modules.staging\istanbul-instrumenter-loader-b60a1137\index.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\weinre):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open 'C:\Users\Nureyev\Documents\Java\Project_June2017\Project\node_modules.staging\weinre-02621ae7\web\client\AuditRules.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules@angular\tsc-wrapped):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\less):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open 'C:\Users\Nureyev\Documents\Java\Project_June2017\Project\node_modules.staging\less-1b3dcae6\test\less\errors\functions-8-element.less'
npm ERR! code EINTEGRITY
npm ERR! sha1-KcVzMUgFe7Th913zW3qcty5qWd0= integrity checksum failed when using sha1: wanted sha1-KcVzMUgFe7Th913zW3qcty5qWd0= but got sha1-f4gDJJKON+OoIbFQ895x+Ff1S8g=. (10511 bytes)
npm ERR!      C:\Users\Nureyev\AppData\Roaming\npm-cache_logs\2017-06-28T22_41_51_679Z-debug.log
Done.

Just select the maven "webpack" profile and build the project , you don't need to fire  the command manually : https://jeddict.github.io/page.html?mg=ANGULAR4

Sorry. I tried this on more than a dozen times but nothing seems to work. I reset the npm cache and installed angular-cli again but the project can not build. I may try again later. Thanks for your help.

I am not able to reproduce this issue. Please find the attached log of successful build.
NG2-BUILD.txt
Can google you following error, I am not much sure about it   :
npm ERR! code EINTEGRITY
npm ERR! sha1-KcVzMUgFe7Th913zW3qcty5qWd0= integrity checksum failed when using sha1: wanted sha1-KcVzMUgFe7Th913zW3qcty5qWd0= but got sha1-f4gDJJKON+OoIbFQ895x+Ff1S8g=. (10511 bytes)

npm ERR!  C:\Users\Nureyev\AppData\Roaming\npm-cache_logs\2017-06-28T22_41_51_679Z-debug.log

If I did this correctly, the troublesome module is 'esrecurse'
This is from the ...\node_modules\esrecurse\package-lock.json
  "version": "2.8.29",
  "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz",
  "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=",
  "dev": true,
  "optional": true,

This is from ...\node_modules\uglify-js\package.json
"_id"<EMAIL_ADDRESS>"_inBundle": false,
"_integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=",
"_location": "/uglify-js",
"_phantomChildren": {
To solve, the module must be reinstalled. I will attempt this a bit later.
Thank you for your help.

Issue closed as current release (v4.8.2) supports Angular 5


Failing to retrieve node-id

I had already a secure-validator-setup, was testing with the latest set-up how it would respond to updates. It get's stuck on polkadot-public task save log with peer id when running it with ansible-playbook main.yml -i /PATH/inventory.sample
It is either is re-trying and fails or gets stuck and doesn't give any log.
As a temporary fix you can free up the journalctl with journalctl --vacuum-time=2d and then restart your public-nodes so the node-id line appears when starting your node. The script doesn't get stuck then at this step.

This is already fixed by getting the public nodes' peerId from the system_networkState RPC call, thanks for reporting!


Add "Notes on autoscaler configuration" similar to AKS Hybrid Docs

Add a note similar to the AKS Hybrid documentation on cluster autoscaler describing what happens when the node count is less than the min-count value in the autoscaler configuration
https://learn.microsoft.com/en-us/azure/aks/hybrid/work-with-autoscaler-profiles#notes-on-autoscaler-configuration
"If the minimum count on the node pool has a value higher than the current number of nodes, the new min or max settings will be respected when there are enough unschedulable pods present that would require two new additional nodes and trigger an autoscaler event. After the scale event, the new count limits are respected."
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/cluster-autoscaler.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Perhaps guidance on how to increase the node count when autoscale is enabled, i.e. disable autoscale, manually scale, re-enable autoscale with new min-count.

@MGoedtel
Can you please check and add your comments on this doc update request as applicable.

@daveinci
I'm going to assign this to the document author so they can take a look at it accordingly.

#reassign:schaffererin

Hi @daveinci, thank you so much for your feedback! I've been working on doc updates to the doc in question and have incorporated your feedback. There's a PR that I've signed off on that has the changes if you're interested in checking them out before they're published live in the docs. I will now close this issue. Thank you again!
#please-close


[MC 1.11.2] Caught exception from Harvest (harvest) after updating to

After updating to Simple Harvest 1.2.2-14 on Minecraft 1.11.2, I get the following crash-report on both server and client:
I removed my harvest.json from the prior version as new configs were mentioned (new file is harvest_config.json). Restoring the old config (harvest.json) did not remedy the crash:
crash-2017-06-25_08.31.43-client.txt

Ah, I forgot to remove support for 1.11 in the latest build as I had to re-compile to support Forge's new registry system. Downgrade to 1.2.1-13 to fix this.
I'll unmark it on Curse.

Thanks, 1.2.1-13 works. :)


[Issue] Scope not updated (no errors/warnings)

I was adding some urls after defining a the scopes and some were rejected due to the domain name not being in scope.
Then I realized the scope was not updated because it contains upper case letters.
> bbrf inscope add bugcrowdcontentAPI.site.cloud
[DEBUG] getting program scope
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): XX:6984
DEBUG:urllib3.connectionpool:XX:6984 "GET /bbrf/Softdocs HTTP/1.1" 200 176

> bbrf scope in
[DEBUG] getting program scope
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): XX:6984
DEBUG:urllib3.connectionpool:https://XX:6984 "GET /bbrf/Softdocs HTTP/1.1" 200 176

Then using api instead of API
> bbrf inscope add bugcrowdcontentapi.site.cloud
[DEBUG] getting program scope
truncated ...
[DEBUG] updating program scope
truncated ...

> bbrf scope in
[DEBUG] getting program scope
truncated ...
bugcrowdcontentapi.site.cloud

I guess case sensitivity in domain names should be ignored or warned.

Tested using version 1.1.4


When a test times out, don't show obsolete snapshots

Do you want to request a feature or report a bug?
maybe a bug
What is the current behavior?
If you have a test with snapshots that times out, it offers to delete the snapshots it didn't get around to testing.
  ● try it all
    Timeout - Async callback was not invoked within the 40000ms timeout specified by jest.setTimeout.

      at node_modules/jest-jasmine2/build/queue_runner.js:68:21      at Timeout.callback [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)

 › 2 obsolete snapshots found.
  - try it all: 2 fs folders 1
  - try it all: 3 delete on fs 1
Snapshot Summary
 › 2 obsolete snapshots found, press `u` to remove them.

What is the expected behavior?
if the test times out, don't mention any obsolete snapshots for that file
Please provide your exact Jest configuration
fully default
Run npx envinfo --preset jest in your project directory and paste the
results here
  System:
    OS: macOS High Sierra 10.13.3
    CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
  Binaries:
    Node: 8.9.4
    Yarn: 1.5.1
    npm: 5.7.1
  npmPackages:
    jest:
      wanted: ^22.4.2
      installed: 22.4.2

Should probably be more clever here: https://github.com/facebook/jest/blob/5bd6ee166a5a85749e2c8b790610f2b0af6df838/packages/jest-cli/src/reporters/default_reporter.js#L199-L210

I would be glad to pick this up.
Can you provide some code or an example? :)

actually, even a failure will do this. So make a test with a snapshot, and
then add a failing expect in front of it. Then jest will offer to delete
the snapshot.
On Sat, Apr 7, 2018, 12:17 PM Narendra N Shetty<EMAIL_ADDRESS>wrote:

Hi! I would like to pick this up but was unable to reproduce it. Can you
please provide with an example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/jest/issues/5875#issuecomment-379459023, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADWlu836ZtMY67mb85BuB-C1ERPcfaaks5tmJJSgaJpZM4S7czo
.

Is this still an issue - I'm unable to recreate on a fresh create-react-app setup. This all seems to be working as expected:
Test times out with snapshot check
No "snapshot obsolete" output
// src/App.test.js
test('renders learn react link', (done) => {
  const { getByText } = render(<App />);
  const linkElement = getByText(/learn react/i);
  expect(linkElement).toMatchSnapshot();
});

Test times out without snapshot check
No "snapshot obsolete" output
// src/App.test.js
test('renders learn react link', (done) => {
  const { getByText } = render(<App />);
  const linkElement = getByText(/learn react/i);
});

Add a failing expect in front of the snapshot check
No "snapshot obsolete" output
// src/App.test.js
test('renders learn react link', () => {
  const { getByText } = render(<App />);
  const linkElement = getByText(/learn react/i);
  expect(false).toBe(true);
  expect(linkElement).toMatchSnapshot();
});

Test times out with snapshot check
Snapshot obsolete" output -  › 1 snapshot obsolete.
// src/App.test.js
test('renders learn react link', (done) => {
  const { getByText } = render(<App />);
  const linkElement = getByText(/learn react/i);
});

Hi! I'm one of the program coordinators of a nonprofit program called CodeDay Init, and we partner with colleges to help CS students make their first open-source contribution.
We'll claim this issue for now and a group of students will be on it soon with mentorship! If this issue is no longer relevant, please let me know.

(I realize above post is almost 2 years old, but for some reason GH bubbled this up in my notifications)
@alistairjcbrown interesting! I'll close this, then. If it's still an issue, please open a new one with a reproduction
(or even better, a PR 😀 Existent tests are here: https://github.com/facebook/jest/blob/55caeb74cd8f91817f624feb8d54752e28f16767/e2e/tests/snapshot.test.ts#L220)


[DISCUSSION ONLY][DO NOT MERGE] pull upstream binaries related to k8s

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

I think this is useful.
I threw together something similar for containerd and runc last week. It was less straightforward because we need to e.g. create the systemd units, default config files, etc. that the RPM does for us today. Not a huge deal, but more opportunity for subtle differences to be introduced with the two installation methods.


[documentation] Add setup guide

close #30

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[HDDS-1332] Attempt to fix flaky test testStartStopDatanodeStateMachine

What changes were proposed in this pull request?
testStartStopDatanodeStateMachine is flaky, causing occasional pre-commit build failures.  HDDS-1332 added some logging to find out more about the cause.
I think the problem is not test-specific, and is caused by the following: SCMConnectionManager#scmMachines is a plain HashMap, guarded by a ReadWriteLock in most places where it's used, except getValues().  The method also returns the values collection without any write protection (though currently none of the callers modify it).
This is an attempt to fix the cause by acquiring the read lock and creating a read-only copy.
https://issues.apache.org/jira/browse/HDDS-1332
How was this patch tested?

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
998
trunk passed

+1
compile
39
trunk passed

+1
checkstyle
18
trunk passed

+1
mvnsite
30
trunk passed

+1
shadedclient
676
branch has no errors when building and testing our client artifacts.

+1
findbugs
51
trunk passed

+1
javadoc
26
trunk passed

_ Patch Compile Tests _

+1
mvninstall
39
the patch passed

+1
compile
28
the patch passed

+1
javac
28
the patch passed

+1
checkstyle
13
the patch passed

+1
mvnsite
32
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
723
patch has no errors when building and testing our client artifacts.

+1
findbugs
54
the patch passed

+1
javadoc
21
the patch passed

_ Other Tests _

-1
unit
50
container-service in the patch failed.

+1
asflicense
25
The patch does not generate ASF License warnings.

2915

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/697

JIRA Issue
HDDS-1332

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  findbugs  checkstyle

uname
Linux b4c485abc744 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 215ffc7

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

findbugs
v3.1.0-RC1

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/testReport/

Max. process+thread count
415 (vs. ulimit of 5500)

modules
C: hadoop-hdds/container-service U: hadoop-hdds/container-service

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-697/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@arp7 @nandakumar131 please review

Thanks for finding and fixing this @adoroszlai. Do you want to file a separate Jira for this? The patch lgtm.

@arp7 thanks for the review.  I can file a separate Jira if you prefer, but I'm OK with committing it under the same Jira.

Please file a separate Jira if you can. I want you to get credited for the fix. 🙂

https://issues.apache.org/jira/browse/HDDS-1398


fix: promote and quarantine support a file more than 5 GB

Fix: Promote and Quarantine Supports a file more than 5GB
Change Summary
replace s3 copy_object() and copy()
PR Checklist

[x] I've read and followed the Contributing Guide.
Documents/Readmes

[ ] Updated accordingly
[x] Not required

Other Notes

Fix issue #50
Error without this fix:
[ERROR] ClientError: An error occurred (InvalidRequest) when calling the CopyObject operation: The specified copy source is larger than the maximum allowable size for a copy source:<PHONE_NUMBER> Traceback (most recent call last):   File "/var/task/fst_trendmicro_post_handler.py", line 134, in lambda_handler     copy_object(   File "/var/task/fst_trendmicro_post_handler.py", line 78, in copy_object     s3.copy_object(**params)   File "/var/runtime/botocore/client.py", line 357, in _api_call     return self._make_api_call(operation_name, kwargs)   File "/var/runtime/botocore/client.py", line 676, in _make_api_call     raise error_class(parsed_response, operation_name)

Hi @carpusherw, the commits are squashed.


Error message for dependency management conflict doesn't mention versions or capabilities but mentions incorrect repo location instead

Issue type
Polishing
Problem description
Bad Error Message:
In the documentation for substitution rules in Dependency Management, a dependency resolution failure yields the following error:
Execution failed for task ':consumer:resolve'.
> Could not resolve all files for configuration ':consumer:runtimeClasspath'.
   > Could not find quasar-core-0.8.0-jdk8.jar (co.paralleluniverse:quasar-core:0.8.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/co/paralleluniverse/quasar-core/0.8.0/quasar-core-0.8.0-jdk8.jar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

This is not particularly helpful.
The error message should at least mention capabilities or the conflicting version numbers. Instead, it mentions that the issue is due to a missing repo which is not the case at all.
To Reproduce:
You can use the snippet code below as the reproducer scenario (simply remove the substitution rule):

platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-classifierSubstitutionRule/*

Context (optional)
@tresat: https://github.com/gradle/gradle/pull/30548#discussion_r1765156991

Maybe instead of:

Could not find quasar-core-0.8.0-jdk8.jar (co.paralleluniverse:quasar-core:0.8.0).

Say something like:

Could not find artifact for co.paralleluniverse:quasar-core:0.8.0 with classifier jdk8 (quasar-core-0.8.0-jdk8.jar)


Multiline support

It would be awesome if this supported jumping over multiple lines :) I think it would work fine with multiple cursors too—just have each cursor, in order, do a multiline jump. textmate's incremental find with multiple cursors does this and it's super useful.
Thank you for your consideration! 😃

I don't use atom anymore but I believe there are multiple incremental search plugins. This plugin is really just for jumps on one line like vim's f and t.
Maybe I'm misunderstanding your request though?

I misstated my request then :). There's a plugin in emacs I used to use that has this plugin's exact functionality except it will jump over multiple lines. It's still hotkey->character and then it jumps to the first one it finds, just like f/t and this plugin, it simply will go down/up lines as needed until it finds the character.

Ah, what's it called? I use evil in emacs now so I don't need it but it'd be nice to know if I ever switched to regular emacs.
As for adding this to here, I'd be happy to accept a pull request that added it (along with a configuration option to enable/disable it), but I probably won't be adding it myself as I'm no longer using Atom, sorry!

I think it was https://github.com/lewang/jump-char. Makes total sense, I'll work on a PR sometime :)


history.getCurrentLocation is not a function

I think docs are outdated. Package,json points to 2.1.2 whereas the latest release is 3.0.0. Anyway
const location = history.getCurrentLocation()

does not work

I just ran into this as well. You really need it when you start listening for changes to the location because you need the initial location.

I also was just following the README docs and checking out the api and ran into this. You can set up a listener and get the initial location though.
E.g. history.listen(location => do something with location object);
As far as i can tell, this will always return the initial location? If you find/know of a case when it doesn't, let me know so I don't have some unknown errors.

I've already worked around this in another way by now. I sure did not get an initial event until the location changed

It's different between 2.x and 3.x. You get the initial location in 2.x with listen, but don't have getCurrentLocation; the opposite in 3.x.

Does npm package still point to 2.0 ?


SoundFile onended triggered when SoundFile pause method is called.

ISSUE
If the SoundFile has an onended function registered, it will trigger the function when the SoundFile pause method is called even if the SoundFile has not reached his end.
AFFECTED
library: p5.soundjs 0.3.11
browsers: Firefox, Chrome, Safari, Android Firefox, Android Chrome.
POC
Here you can find a simple sketch on the p5 web editor that demonstrate the issue I'm experiencing.
https://editor.p5js.org/6160/sketches/1bN8O4gl0
WORKAROUND
I've managed to resolve this issue on my sketch by adding a flag and checking manually if the SoundFile has been paused.
I was expecting the onended function to be triggered only at the end of the SoundFile, am i missing something?
EDIT: i've corrected the lib version

@6160 great find 👍,
A/q
https://p5js.org/reference/#/p5.SoundFile/onended
It seems as onended() hooks  will only be fired if buffer Length is empty...
@therewasaguy  i donot think that  pausing a sound clears the buffer,
So ya its ambiguity if it happens that way!
I think should be fixed, like seeting a flag to check if it is paused and then not to fire the onended hook!!

I'm having the same issue.
I've just tried different versions of p5.sound. The same issue happens on the latest version of the lib (0.3.12) and all the way back to p5.sound 0.3.7. I stopped checking previous versions after that.


change prop name from JpegQuality to captureQuality

This is based on https://github.com/IntelliQru/react-native-camera work.
All what I did is to change the change prop name from JpegQuality to captureQuality in order to align the Android PR https://github.com/lwansbrough/react-native-camera/pull/203 to https://github.com/lwansbrough/react-native-camera/pull/207 . I will just need somebody with the Android env installed to test these changes out

Guys, you got this all wrong. JPEG quality has nothing to do with snapshot resolution. On iOS, in PR https://github.com/lwansbrough/react-native-camera/pull/207/files you are setting the snapshot resolution by changing the sessionPreset value. On Android you are changing the JPEG compression quality which has nothing to do with snapshot resolution.
For more info take a look at https://github.com/lwansbrough/react-native-camera/pull/211

@rpopovici thanks for clarifying. Afaict there is no way to directly set jpeg quality on iOS, is that correct? If this is the case perhaps we should take the android PR as is  in #203. Thoughts?

@rt2zz you should be able to set the JPEG quality for the snapshot, but I don't know exactly how. UIImageJPEGRepresentation(image, compressionQuality) allows you to set the compression quality but don't know if we can use this in this context

Currently we use, AVCaptureStillImageOutput jpegStillImageNSDataRepresentation which lacks a quality param. Also it seems to me captureQuality is sufficient.


Remove duplicated links to extensions/categories

Description
Now that we have automated linking between categories/extensions we need to remove the duplicated hard-coded existing links

Hi @phlax,  I would like to take it. Could you please point any example? Thanks!

I would like to take it.

hi @mk46 - cool!
there are a couple of parts to this and there are quite a few places that need updating i think
also, there are a couple of different situations we need to think about.
it might make sense to address this incrementally
a good example to get started is here:
https://storage.googleapis.com/envoy-pr/48325a4/docs/api-v3/config/accesslog/v3/accesslog.proto.html#config-accesslog-v3-accesslog
which is a bit more complex as its a legacy extension and has both name and typed_config
i guess what we need to do is remove the list from under name and replace with some text saying see below for list of names
in the the typed_config section we probably want to do something similar
this text is coming from here:
https://github.com/envoyproxy/envoy/blob/main/api/envoy/config/accesslog/v3/accesslog.proto#L43

@mk46 did you make any progress ?
i need to address this bug quite quickly so perhaps i should get started on it ?
(apologies for hassling)

Would mind taking a look at linked PR

@mk46 did you make any progress ?
i need to address this bug quite quickly so perhaps i should get started on it ?
(apologies for hassling)

Please take a look on linked PR. Thanks!


TypeError exception thrown with --wms-monitor pointing to Panoptes server

Panoptes version: 0.2.0
Snakemake version: 7.31.0
> panoptes --port 5000 &
 * Serving Flask app 'panoptes.app'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (<IP_ADDRESS>)
 * Running on http://<IP_ADDRESS>:5000
 * Running on http://<IP_ADDRESS>:5000
Press CTRL+C to quit
> snakemake --wms-monitor http://<IP_ADDRESS>:5000
Using profile workflow/profiles/default for setting default command line arguments.
<IP_ADDRESS> - - [03/Aug/2023 06:55:48] "GET /api/service-info HTTP/1.1" 200 -
Traceback (most recent call last):
  File "/global/common/software/m2676/sims/.conda/envs/snakemake/bin/snakemake", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/global/common/software/m2676/sims/.conda/envs/snakemake/lib/python3.11/site-packages/snakemake/__init__.py", line 3092, in main
    wms_logger = logging.WMSLogger(
                 ^^^^^^^^^^^^^^^^^^
  File "/global/common/software/m2676/sims/.conda/envs/snakemake/lib/python3.11/site-packages/snakemake/logging.py", line 139, in __init__
    self.create_workflow()
  File "/global/common/software/m2676/sims/.conda/envs/snakemake/lib/python3.11/site-packages/snakemake/logging.py", line 178, in create_workflow
    "snakefile": os.path.join(workdir, self.metadata.get("snakefile")),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen posixpath>", line 90, in join
  File "<frozen genericpath>", line 152, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

I wonder if this PR has to do with it: https://github.com/snakemake/snakemake/pull/2347
@bilgehannevruz Any idea if there is some change needed on the server side?

@gipert  Can you please provide a path to the Snakefile via --snakefile?
snakemake --wms-monitor http://<IP_ADDRESS>:5000 --snakefile Snakefile for example

So what happened in this case is that the snakefile of the metadata dictionary in this line: https://github.com/snakemake/snakemake/blob/main/snakemake/logging.py#L179  contained a None value. So the os.path.join would not work. If you specify a snakefile via the --snakefile argument I think that it will work. @gipert Please let me know if this fixes the issue for you.

It fixes it, yes. Still a bug though?

Hm not sure. Did the default behaviour of snakemake change? Where should be the default Snakefile be stored?

workflow/Snakefile is also supported as default location.

Hello, sorry for my late response.
This one https://github.com/snakemake/snakemake/pull/2347 has no relation with raised typeerror.
I also have encountered this error and indeed providing --snakefile from command-line solved the issue.
If you don't provide --wms-monitor, you don't get the error. I didn't fully trace how it occurs


New version

Hi,
Could you please release a new version: <IP_ADDRESS>
Brg
Robin

Yes, working on it.  There are several changes in this version, which complicate the integration.

Docker image updated with the latest version.


Refactor db2 quote

This is the solution to the issue #860

Thanks Ruslan, sorry it tooks so long. Was hoping I will look in detail trying to understand the issue.
Giving up at this point simply due lack of my time to do so, trusting your solution by the gut :) ... thx!

Thank you, Kares!
We have been running this code in prod for few months now on Rails 4.2. No issues so far


Calling the syntax methods with a block yields the return object.

Calling the syntax methods with a block yields the return object. Closes #210

I like where this is headed, but a couple comments. Firstly, could we also add this behavior to .attributes_for? I'd like to remain consistent among all the default methods. Secondly, please remove the additional method on Object; a better place for the logic would be in .run.
It's looking awesome so far!

attributes_for returns a hash. I can't think of a use case where you would need direct access to the hash. Can you?

I use attributes_for most often in controller specs or cucumber, when testing JSON API endpoints. The alternative here is calling merge, but I'd like to maintain a consistent interface to Factory Girl's methods that interact directly (build, build_stubbed, create) or indirectly (attributes_for) with an ORM.

Done. I agree with the consistent API.

Looks awesome. I'll merge this in at the latest by Friday.

This has been merged into master: https://github.com/thoughtbot/factory_girl/commit/f32651d9b20173778792691bd4e04a4d0c7bc598


ON CONFLICT specify Action

I'm trying to specify an action when handling on conflict that doesn't merge-duplicates. For example, I have the following:

id (pk)
name
color
letter

123
Flora
Red
A

456
Fauna
Green
B

789
Merryweather
Blue
C

I have a post request as follows:

{"id": "123", "name": "Tinkerbell", "color": "silver", "letter": "T"}
if id "123" doesn't exist, then create the entry
if id "123" does exist, then just update the "letter" (nothing else)
So the result would be:

id (pk)
name
color
letter

123
Flora
Red
T

456
Fauna
Green
B

789
Merryweather
Blue
C

I tried looking through the documentation, but could only find an example for merge-duplicates, which would overwrite the other fields.
Is there a way to specify the action?
THANKS!

For now you would have to use a function for this.
To be able to do this directly we could extend the on_conflict syntax like:
POST /characters?on_conflict.action=update&on_conflict.columns=letter


@conda-forge-admin,please add bot automerge

@conda-forge-admin,please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/aws-crt-cpp-feedstock#3.


VSCode API Management Extension - "Extract Service/API" vs Extractor

Could someone please comment on the "Extract Service" and "Extract API" features of the API Management VSCode extension https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-apimanagement vs "Extractor" tool? Are the features in any way comparable?
Would you see VSExtension "Extract" features complementary to the Kit's "Extractor" tool or as an alternative?

VSCode simplify uses the resource kit.

Thanks.
I believe that current version in the VSCode does extract the API Management service itself, am I right?
According to this case (https://github.com/Azure/azure-api-management-devops-resource-kit/issues/458) this is not possible in the Kit (at least not anymore). I am assuming that VSCode is then using older version (when it was supported) or they have some fork of the Kit with this feature still available?
Can you please clarify?


Unirep V1.1

This is a tracking issue proposing a new version of the Unirep protocol.
Attesters
Each attester is a semaphore group. A user does not sign up globally with Unirep, they sign up with each attester.
Attesters have their own epochs, and each epoch has a stateTree and an epochTree.
Attesters may set their own epochLength.
State tree
The state tree is an incremental merkle tree with leaves H(idNullifier, attesterId, epoch, posRep, negRep), where idNullifier is a user secret. These entries are used to prove the amount of starting rep in the current epoch.
Reputation
Reputation should consist of only posRep and negRep. graffiti and signUp are removed.
The removal of graffiti is a result of removing the hashchains from the epoch tree. We can't determine the order in which attestations were received between epoch keys, and thus which graffiti is the latest one.
Most uses of graffiti can be built outside of the Unirep protocol. e.g. a user claims a username using an epoch key. When the user wants to use the username they prove ownership of the old epoch key.
Epoch tree
The epoch tree is a sparse merkle tree. Each leaf index is an epoch key and each leaf is the balance received in the current epoch, stored as H(posRep, negRep). An attestation updates the summed value in the leaf.
e.g. if my epoch key is 10294 and I have posRep: 10 and negRep: 1 my leaf is H(10, 1). If I receive an attestation with negRep: 2 my new leaf is H(10, 3).
Only the root of this tree is stored onchain. This tree is replaced every epoch.
Epoch key
Epoch keys are calculated as H(idNullifier, attesterId, epoch, nonce). Epoch keys are unique between attesters during the same epoch.
e.g. A member of attester A and attester B will have different epoch keys for attester A epoch 1 and attester B epoch 1.
Attestations
When an attestation is made a ZK proof must be included that outputs the new epoch tree root and leaf. This attestation should sum the previous balance of the leaf and the new attestation.
User state transition
User state transitions happen per-attester. Because epoch tree leaves are no longer hashchains the logic is much more simple. Each epoch key needs a merkle inclusion proof, then the balance is added to a final sum. The new state tree leaf is calculated using this sum.
The time complexity of a state transition in Unirep scales with the number of attestations. In UnirepV1 it is O(N), in UnirepV1.1 it is O(1).
Spending rep
In UnirepV1 we can only spend reputation using nullifiers. This means if I want to spend 1000 rep I have to generate 1000 nullifiers in ZK and put each onchain.
UnirepV1 also has lag when rep is given. If I receive 10 rep in epoch 1 I cannot prove I have this rep until epoch 2.
UnirepV1.1 solves both of these problems by making the user state transition smaller. In a single ZK proof we can prove the start balance (the state tree leaf) and the balance of each epoch key (which contains the latest attestations).
Let's examine the flow of two spend operations. Assume a user Alice has a start balance of posRep: 50, negRep: 0 and has not spent anything in this epoch.

Alice spends 10 rep from epoch key 444
The attester takes this proof and creates an attestation of negRep: 10 to epoch key 444
Alice wants to spend another 10 rep

Alice proves the start balance from state tree of posRep: 50, negRep: 0
Alice proves her epoch key balances, all are 0, except for epoch key 444 which has negRep: 10
Alice sums all values and proves she has posRep: 50, negRep: 10

A spend operation internally runs a state transition to calculate the latest balance. The structural change to the epoch tree makes this operation light enough to be possible.

Something I discovered while working on the epoch transition circuit. We can use a single value for the epoch key nullifier which can be H([...epochKeys]). This will reduce the calldata cost of a user state transition.
@vivianjeng Is there any reason we couldn't have a single epochKeyNullifier instead of one per epoch key?

@vivianjeng Is there any reason we couldn't have a single epochKeyNullifier instead of one per epoch key?

I think now we can use a single epochKeyNullifier (or called USTNullifier) to prevent user from double UST.
Since we don't prevent user from using the same epoch key(and it assumes never collide if we don't mod tree depth)

and it assumes never collide if we don't mod tree depth

Ah it will be modded by the tree depth. But i'm testing with a depth of 128 and the proofs are less than 15 seconds for UST. So we can assume no collision.


SSH.NET is for a beta version - we should change to a non-beta version

Have to wait until they update themselves.

Done already


Compliance with Apple's Privacy Manifests

The purpose of this issue is to determine the policy for responding to Apple's Privacy Manifests.
Plugins that meet any of the following criteria should add PrivacyInfo.xcprivacy.

Collecting Data*
Listed in third-party SDKs that need to be supported
Using an API that specifies the required reason

Currently, gal does not fall into either of these categories. Therefore, there are two options.
A. Do nothing.
B. Add an empty PrivacyInfo.xcprivacy
It seems better for the developer to take option B so that it is clear whether or not gal is already compatible with Privacy Manifests, but there is no need to rush and it can be done after sufficient research.

I will close this issue for now. If we encounter any problems, reopen it.


DuckDuckGo Code Corrected

Kindly Checkout The Code And If This Works Well Then Kindly Merge The Pull Request @hiteshkumar8642 Thanks For The Project I Really Loved This Project

Please attach working screenshots for your changes

@codewithnick Sure bro am providing the screenshots in a while. But If You Liked my Work Please Merge It Brother😇😇

Ya @codewithnick brother it's Running Fine I Have Checked Twice. Please Merge It. I My Meeting I will Provide You Screenshots if it not runs on your pc So kindly test it please
Thank You For This Oppertunity😇

@codewithnick bro am not able to attach the screenshot i think some issues are their in your end?

hi @Ratikant-rout  the page parameter does not work like you have added in your code

please check this,
even after adding page param in the payload i am still getting results of page 1
try to take up any other issue if you do not understand this

@codewithnick Let Me Try Once More If This Works Then Well And Good If Not Then I Will Switch To Next Issues

Sure

You can open new issues too, for example add new searchengine

@codewithnick check out the Final commit that might work for your code SHA CODE:- ea4fc14335162677d839fc7b22c5f393f4e0c598

@codewithnick CheckOut The Final Check Pass Only. SIH CODE:- 099b57879976ef9577e1ab5f58d9113855b5ddd2

Looking Forward Am Also Trying To Add A Search Engine @codewithnick Thanks For The opportunity.😇

@codewithnick Thanks For The Appreciation If Possible Kindly Correct The code and merge It. I Am Thinking To Move Towards Making A New Search Engine.


Table statistics missed from HTML runnig pgcluu with -b, -e options

Hello,
I installed pgcluu version 3.1, run in deamon mode for 2 days (then killed).
Generating HTML reports witch pgcluu with no time options, all statistics are generated.
When I use time window pgcluu options -b, -e
# pgcluu -b 2020-02-11\ 18:00:00 -e "2020-02-11 19:00:00" \
   -o /var/lib/pgcluu/report/20200211_1800-1900/ /tmp/stat_pg_refdb/
The table statistics in Databases--Database Info are zero and the option Databases--Table Statiscs is greyed off.
Do I something wrong?
In the report directory are missing files:
cluster-settings.html
cluster-nondefault-settings.html
database-queries-<dbname>.html
<dbname>-index-size.html
<dbname>-table-size.html
Regards,
Jiri Rohlicek

Hi, thanks for the report.
Obviously time options are broken and worst it can not works correctly with different timezone on PG and system/sar. I think that trying to fix that will be a waste of time and I really think I will remove these options in next release. Best is to use the incremental mode in hourly rotation with pgcluu_collectd.
 -R, --rotate-hourly      force hourly rotation of data files.

or the CGI mode where you can choose exactly the time period you want to view.
With hourly rotation here will be a sub directory per hour of collected stats, for example in your case /tmp/stat_pg_refdb/2020/02/11/18 then pgcluu  will build individual reports per hours using pgcluu -o /var/lib/pgcluu/report/20200211_1800-1900/ /tmp/stat_pg_refdb/

Hi, thanks for the response. I will do as you suggested.

Hi,
I started daemon pgcluu_collectd with --rotate-hourly, it runs well, creates and fills subdirectories per hour.
But now I am not able to create HTML output, pgcluu complains
# pgcluu -o /var/lib/pgcluu/report/vtb/ /mnt/bsc/pgcluu/vtbdb/
LOG: Setting retention from configuration file to 10
WARNING: No sar data file found. Consider using -S or --disable-sar command
line option or use -i / -I option to set the path to the data file.
Continuing normally without reporting sar statistics.
FATAL: can't read file /mnt/bsc/pgcluu/vtbdb/2020/02/13/15/end-pg_stat_all_indexes.csv: No such file or directory
There are no end_*,csv files in the whole /mnt/bsc/pgcluu/vtbdb/ directory structure.
Maybe they will appear at the end of the day and pgcluu wil run then?
Regards,
Jiri Rohlicek

Please download and install latest development code and restart pgcluu_collectd this problem have been fixed.

OK

Unistalled
yum erase pgcluu
Downloaded last version here
https://github.com/darold/pgcluu/archive/v3.1.tar.gz
installed and run pgcluu_collectd. But still the same.

Sorry I should give you the link, latest development code at https://github.com/darold/pgcluu/archive/master.zip

OK, thanks.

Still the same. pgcluu fails with error as pgcluu_collectd  creates no end-*csv files in the stat directory.
Strange is that the same problem is on other server, where I installed pgcluu v3.1 yesterday.
First I started it without --rotate-hourly, it created end-*csv files in the stat directory and pgcluu generated HTML reports.
Then I ran pgcluu_collectd with --rotate-hourly and from this on even pgcluu_collectd without --rotate-hourly does not create end-*csv files and pgcluu creates no reports from new stat directory.
I will try fresh install pgcluu on some other server and test without --rotate-hourly.

Manual install make install copy pgcluu_collectd and pgcluu in /usr/local/bin you might want to override the possible previous installation in /usr/bin/. If this is the case just move the script in /usr/bin

Hum, after more thougth does the /mnt/bsc/pgcluu/vtbdb/ directory contains old data? If this is the case they might not be compatible. If there is no file named like bellow pgcluu will throw an error:
end-pg_statio_user_indexes.csv
end-pg_statio_user_sequences.csv
end-pg_statio_user_tables.csv
end-pg_stat_user_functions.csv
end-pg_stat_user_indexes.csv
end-pg_stat_user_tables.csv
end-pg_stat_xact_user_functions.csv
end-pg_stat_xact_user_tables.csv

Fresh install on Fedora release  30 NB pgcluu-3.1-2.f30.noarch, run as no daemon, works fine, creates end-pg*.csv files, pgcluu does not complain creating reports.
Something was wrong with my previous installation.

Good news.


Moving run configurations to top level directory

Addresses #44
Files under the runConfiguration directory will need to be copied over to .idea/runConfiguration
after the project is opened in Android Studio.
Codelab instructions update in progress.

It's not fixed yet so merging...


renderscript deprecated

https://developer.android.com/guide/topics/renderscript/migrate

Hi.
you can use stackblur in c.


Vulkan ReplayManager segfaulting on a single triangle draw capture

Description
I'm building a hobby vulkan renderer that somehow segfaults RenderDoc in ReplayManager threads. Unfortunately I cannot get CLion to properly load the debug symbols (missing experience on my part) to provide anymore detail myself.
I've attached a capture below where I tried to rip out as much as possible but it still segfaults. This capture does a single 3 vertices draw call to swapchain image and presents it, with no descriptors, uniforms, vertex attachments, buffers (I provide the vertices in the shader for now), other images than swapchain ones and has it's very basic shaders ported to glsl. Also shows no Validation Errors with standard validation. I unfortunately can't rip out the draw call itself due to a bug in vulkano, the framework I am using.

Steps to reproduce

load the capture renderdoc_crash.zip
segfault <0.5s after loading bar disappears

My Repo in case it helps, but I'm using rust:
https://gitlab.com/spacegamedev/space-rust/-/tree/debug_renderdoc?ref_type=heads
branch debug_renderdoc

Environment

RenderDoc version: 1.29, 1.27, de8981134ca372ce19d3e12f542a9f30c407f428 (latest master)
Operating System: Ubuntu 23.04, AMD Radeon Graphics (RADV REMBRANDT)
Graphics API: Vulkan

I can confirm it works just fine on Windows, tested on:

AMD 680M iGPU
Capture: amd.zip
NVIDIA GeForce RTX 3070 Ti Laptop GPU
Capture: nvidia.zip

I can only reproduce this by loading on lavapipe from my distro, it crashes somewhere inside lavapipe's code. Contrary to your environment listing you are creating your vulkan device from lavapipe rather than the radv physical devices.
If I build lavapipe from latest mesa it works fine. Can you try using radv or else using a more up to date lavapipe? This seems like a driver bug from what I can tell.

you are creating your vulkan device from lavapipe rather than the radv physical devices
Well that wasn't supposed to happen...

It seems like I preferred CPU implementations over iGPUs over dGPUs, but it should have been in reverse of course. Thanks for the help :sweat_smile:


test function so broken

Type: Bug
Just see the log:
2023-07-17 15:12:17.555 [info] Discover tests for workspace name: FIN-social - uri: /Users/kaichuan/Repos/FIN-social
2023-07-17 15:12:17.558 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear tests
2023-07-17 15:12:17.559 [info] cwd: .
2023-07-17 15:12:17.826 [error] Error discovering pytest tests:
n [Error]:
EnvironmentLocationNotFound: Not a conda environment: /Users/kaichuan/mambaforge/envs/fin/envs/fin
at ChildProcess.<anonymous> (/Users/kaichuan/.vscode/extensions/ms-python.python-2023.12.0/out/client/extension.js:2:241817)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1121:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

2023-07-17 15:12:27.936 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py -c "import pytest"
2023-07-17 15:12:28.101 [info] Send text to terminal: conda install --name fin pytest -y
2023-07-17 15:12:28.102 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py -c "import pytest"
2023-07-17 15:19:24.627 [info] > conda info --json
2023-07-17 15:19:46.486 [info] Discover tests for workspace name: FIN-social - uri: /Users/kaichuan/Repos/FIN-social
2023-07-17 15:19:46.489 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/printEnvVariables.py
2023-07-17 15:19:46.489 [info] shell: bash
2023-07-17 15:19:47.113 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear tests
2023-07-17 15:19:47.113 [info] cwd: .
2023-07-17 15:19:47.366 [error] Error discovering pytest tests:
n [Error]:
EnvironmentLocationNotFound: Not a conda environment: /Users/kaichuan/mambaforge/envs/fin/envs/fin
at ChildProcess.<anonymous> (/Users/kaichuan/.vscode/extensions/ms-python.python-2023.12.0/out/client/extension.js:2:241817)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1121:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

2023-07-17 15:19:50.185 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/printEnvVariables.py
2023-07-17 15:19:50.185 [info] shell: bash
2023-07-17 15:19:50.675 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py -c "import pytest"
2023-07-17 15:19:50.820 [info] > conda run -n fin --no-capture-output python ~/.vscode/extensions/ms-python.python-2023.12.0/pythonFiles/get_output_via_markers.py -c "import pytest"
2023-07-17 15:19:50.933 [info] > conda info --json
2023-07-17 15:19:51.304 [info] Send text to terminal: conda activate fin
2023-07-17 15:19:51.810 [info] Send text to terminal: conda install --name fin pytest -y
Here are two pieces of log that I especially want to complain about:
EnvironmentLocationNotFound: Not a conda environment: /Users/kaichuan/mambaforge/envs/fin/envs/fin
2023-07-17 15:19:51.810 [info] Send text to terminal: conda install --name fin pytest -y
Here are some of my comments:

Why can't it locate the Python environment that I have, like all other extensions or functions of VSCode does?
How is the "conda install --name fin pytest -y" a good solution to the "EnvironmentLocationNotFound" error?
Please don't put "-y" after any "conda install" that you decide to initiate. You don't know what you can mess up.

VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:58.115Z)
OS version: Darwin arm64 22.5.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 3, 3

Memory (System)
8.00GB (0.07GB free)

Process Argv
--crash-reporter-id e7641681-a248-4b39-b8fd-a92e2c3e5516

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

copilot
Git
1.96.255

vscode-language-pack-zh-hans
MS-
1.80.2023071209

python
ms-
2023.12.0

vscode-pylance
ms-
2023.7.20

jupyter
ms-
2023.6.1101941928

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30789497
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
bgfeh915:30780428
pythonnosmt12:30779714
pythonidxpt:30784022
pythonnocebcf:30776496
h7j2d465:30786200
dsvsc013:30789517

Hello! We are in the process of releasing a new rewrite for testing which could possibly help your issue but will also become the default soon. I see from your logs that your machine is not in the experiment yet but you can enable it by going to your user settings and adding"python.experiments.optInto": ["pythonTestAdapter"].  If you could send the logs when you have that setting turned on I can get it fixed for testing moving forward instead of the testing infrastructure we are phasing out. Thanks


"packages" strategy and config inheritance

Version 0.24.1
The documentation clearly states "Configuration specified in the root level project will not be copied to child projects."
My question is: why ? Why the input options like "excludePrivate" cannot be inherited from the root config and I have to create two separate root config files (like the demo repository). It is very confusing to have to split the common config between two files.
Thank you for your consideration/explanation.

I found I can have a single root config as long as I reset entryPointStrategy to resolve in each package, so that could work.
{
  "$schema": "https://typedoc.org/schema.json",
  "extends": ["../../typedoc.json"],
  "entryPoints": [
    "src/index.ts"
  ],
  "entryPointStrategy": "resolve",
  "name": "plugin: Autorotate",
  "readme": "./.typedoc/README.md"
}

I experimented with inheriting options, but unfortunately doing so meant that you could no longer run TypeDoc yourself, individually, in each package, and then merge them together with --entryPointStrategy merge, which made user-level debugging of configurations harder. It also made figuring out what options were set in each package more confusing.
I suspect most monorepos will use a setup similar to what you have

Okay I didn't understand what was the purpose of the merge strategy.
Thank your for your answer.


[Lint] Change to linter deny list and fix formerly excluded linters

From my point of view, this PR is currently on stale, besides the good intent (and our general desire to proceed with this topic). I added it to the project and would suggest to continue it as part of our current maintenance / bug fixing efforts.


Project start error

Description
After a successful build I get the following error in CMD :
`C:\Users\user1\Downloads\jellyseerr-main\jellyseerr-main>yarn start
yarn run v1.22.21
$ NODE_ENV=production node dist/index.js
2024-01-01T05:02:10.857Z [info]: Starting Overseerr version 1.7.0
warn  - You have enabled experimental features (scrollRestoration, largePageDataBytes) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
2024-01-01T05:02:12.713Z [info][Notifications]: Registered notification agents
2024-01-01T05:02:12.714Z [error]: EntityMetadataNotFoundError: No metadata for "User" was found.
at DataSource.getMetadata (C:\Users\user1\Downloads\jellyseerr-main\jellyseerr-main\node_modules\typeorm\data-source\DataSource.js:295:19)
at get metadata [as metadata] (C:\Users\user1\Downloads\jellyseerr-main\jellyseerr-main\node_modules\typeorm\repository\Repository.js:15:40)
at Repository.count (C:\Users\user1\Downloads\jellyseerr-main\jellyseerr-main\node_modules\typeorm\repository\Repository.js:160:40)
at C:\Users\user1\Downloads\jellyseerr-main\jellyseerr-main\dist\index.js:112:45
Note: This command was run via npm module 'win-node-env'
error Command failed with exit code 1.`
I am using the following versions of nodejs: v18.19.0
Version
main@latest
Steps to Reproduce
To reproduce, run a fresh install on windows 10 x64 Professional and follow along, you will likely also receive the error. It seems to be getting tied up with the User type thinking its the name or something equivalent. I don't know much about Node so this could be way off. I was attempting to install a fresh clean setup of the main branch. if I should have been testing the dev branch let me know. I will likely switch to that now and see if it builds.
Screenshots
No response
Logs
No response
Platform
desktop
Device
Dell T3600
Operating System
Windows 10 Pro
Browser
Edge
Additional Context
No response
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

Alright I tried the Dev branch with the same result, after looking on StackOverflow it is something to do with the definition of User or lack there of. I'm sure you Node wizards can figure it out much faster then I can. Please let me know what I need to do haha, and happy new year.
https://stackoverflow.com/questions/51562162/no-metadata-for-user-was-found-using-typeorm

Please read the release notes. It explains how to fix this.

Do you mind linking that in your response? I have looked around but only see instructions for Docker and Arch Linux. Thanks for the reply either way.

That's because you're looking at the readme. Not the release notes. https://github.com/Fallenbagel/jellyseerr/releases/tag/v1.7.0


[Version] Increment 1.x to 1.3

Signed-off-by: Marc Handalian<EMAIL_ADDRESS>Description
Preparing version bump of 1.x version to 1.3.  This can be merged once 1.2 branch is cut from 1.x.
Issues Resolved
#1317
Check List

[x] New functionality includes testing.

[ x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

start gradle check

When we do this we have to remember to change the branch in the build manifest, see opensearch-project/opensearch-build#876

ACK - I should have cut these at the same time.


⭐ 28 - Fitness Goal Tracker (Hacktoberfest Demo)

🤩 Thank you for participating in the CopilotKit Hacktoberfest event.
Follow This Link to Get Started!🎉
NOTE: CopilotKit will allow multi-assign issues
Please show your support and give a ⭐ to the CopilotKit repository.
Demo:
Fitness Goal Tracker
Description of app functionality:
Create a tool that helps users set and track their fitness goals with daily or weekly progress reports
Technology Requirements
Using CopilotKit

Required: Your project must utilize CopilotKit as a core component.
Installation: Include CopilotKit by following the installation guide at CopilotKit Quickstart.
Documentation: Familiarize yourself with CopilotKit's features through the Official Documentation.

Styling with Shadcn-UI

Required: All UI components in your project should be styled using Shadcn-UI.
Installation: Install Shadcn-UI documentation

Interested!

@Avinashs7, please follow the link at the top to get started.

@NathanTarbert can multiple people work on this or is it assignee based?

Hello! Could you assign this to me?

@hridaya423, yes, we are allowing multiple assignees

can i also participate please ?

@quest-bot embark


Add fetch polyfill

unfetch

Maybe we don't need this

Closing. Let the user decide what's good for him.


EKS - Anywhere - Unable to create local cluster using docker provider

Hi Team,
I tried to create a local cluster in my Ubuntu VM by following the guidelines mentioned in this doc.

Upon initiating cluster creation, it successfully creates local bootstrap cluster but fails as it moves to the next step of creating workload cluster as shown below by reporting the below error:

"Error: failed to create cluster: error waiting for workload cluster control panel to be ready: error executing wait: error:timed out waiting for the condition on clusters/dev-cluster"

For debugging:
i) I ran the kubectl command; and I observed pods & nodes being created as shown below.
a) That adds to question of why do these pods/nodes get created, when entire cluster creation is a failure in the first place.
b) Do these nodes/pods get created after local bootstrap cluster is successfully created? Any explanation/doc of what these nodes/pods would really be helpful in understanding further.

Pods -

Node -

ii) Main Observation -  I also checked the /var/log/syslog, to see if any further issues are captured and I do notice the rate limiting error as shown below-

a) Looks like certain docker images are being pulled as anonymous user during cluster creation, resulting in exceeding the rate limit(ie 100 calls/6hours). Is there a way to find out the necessary docker images that eks anywhere is trying to pull?
Note:  - I tried using docker login to see, if eks pulls docker images using my account, but still it issues calls as anonymous user.
b) Moreover, rate limiting occurs when frequent api calls are issued to - "POST /v1.41.images/create" (as highlighted in red in the screen shot). Any inputs on what does this api call does behind?

Pre-info

Here is the default cluster-config file -

Note: The only change I did in the default config yaml is in removing the "ExternalEtcdconfiguration" attribute to test it locally, which otherwise resulted in error here.

Here is the Ubuntu VM configuration:

6 CPU cores, 16 GB Memory, 30 GB storage

Any guidance is immensely appreciated here.
Thank you.

hey there @salimzhulkhrni, sorry this issue was stale for so long....were you able to get a cluster up and running with the latest version of EKS-A?

This issue seems to be stale, please reopen if the issue still exists.
I'm a bit surprised at the docker rate limiting since we should be pulling everything from ECR and our pull limits for our containers are configured higher than normal. I'd be curious to know what was going on there.


Can't login to demo site?

If you would like to view a Streama-Demo, please visit the demo-website.
http://<IP_ADDRESS>:8080/login/auth#/
username<EMAIL_ADDRESS>password<EMAIL_ADDRESS>Sorry, we were not able to find a user with that username and password.

Hi! I just tried, and I can login fine! Can you make sure not to have any spaces before or after? I will also take a look and see if there is a space somewhere in the website, so that this does not happen anymore.

Please reopen if this does not solve the issue

Can reproduce on Chrome Android with OP's URL&credentials

actually right this very moment I cannot login either. I am restarting the tomcat on the demo server to see if that resolves it. Last night i got some weird emails too, as though it had rebooted or something. Will check it out.

Ok on Firefox 39.0.3.

There seems to be an extra   char in the user name login string.
Probably was a copy and paste error from the site.


Missing {interaction:} parser in JsonParser method

what do u mean by json parser method? U can do "options": {"interaction": true}

There are methods already existing that allow this.
Also, that's not how it works in aoi.js.


Polymorphic Bug in 4.0.0beta2?

With 4.0.0.beta2, I have the following error that works fine on version 3.0.7. I have seen a previous issue/fix that might have addressed this but I thought the pull request was merged into 4.0.0.beta2
class Query < ActiveRecord::Base
  has_paper_trail
  belongs_to :queryable, polymorphic: true
end

class Universe < ActiveRecord::Base
  has_many :queries, as: :queryable, dependent: :destroy
end

Updating queryable results in a NameError: uninitialized constant Query::Queryable error
q = Query.last
q.queryable = Universe.last
q.save

SQL (13.2ms)  UPDATE "versions" SET "transaction_id" = $1 WHERE "versions"."id" = $2  [["transaction_id", 3548], ["id", 3548]]
   (15.4ms)  ROLLBACK
  PaperTrail::Version Load (14.5ms)  SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = $1 AND "versions"."item_type" = $2  ORDER BY "versions"."created_at" ASC, "versions"."id" ASC  [["item_id", 4], ["item_type", "Query"]]
NameError: uninitialized constant Query::Queryable
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/inheritance.rb:158:in `compute_type'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/reflection.rb:271:in `compute_class'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/reflection.rb:267:in `klass'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:376:in `block in save_associations'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:375:in `each'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:375:in `save_associations'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:322:in `record_update'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:427:in `block in make_lambda'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:225:in `call'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:225:in `block in halting_and_conditional'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in `call'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_update_callbacks'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/callbacks.rb:310:in `_update_record'
... 25 levels...
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:220:in `transaction'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:286:in `block in save'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:285:in `save'
  from (irb):11
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/console.rb:110:in `start'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/console.rb:9:in `start'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:68:in `console'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
  from bin/rails:4:in `require'
  from bin/rails:4:in `<main>'

You need to bundle from source for now. I'm hoping to push out 4.0.0.rc1 in a couple days.
Sent from my iPhone

On Apr 24, 2015, at 8:47 AM, Alan McCann<EMAIL_ADDRESS>wrote:
With 4.0.0.beta2, I have the following error that works fine on version 3.0.7. I have seen a previous issue/fix that might have addressed this but I thought the pull request was merged into 4.0.0.beta2
class Query < ActiveRecord::Base
has_paper_trail
belongs_to :queryable, polymorphic: true
end
class Universe < ActiveRecord::Base
has_many :queries, as: :queryable, dependent: :destroy
end
Updating queryable results in a NameError: uninitialized constant Query::Queryable error
q = Query.last
q.queryable = Universe.last
q.save
SQL (13.2ms)  UPDATE "versions" SET "transaction_id" = $1 WHERE "versions"."id" = $2  [["transaction_id", 3548], ["id", 3548]]
(15.4ms)  ROLLBACK
PaperTrail::Version Load (14.5ms)  SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = $1 AND "versions"."item_type" = $2  ORDER BY "versions"."created_at" ASC, "versions"."id" ASC  [["item_id", 4], ["item_type", "Query"]]
NameError: uninitialized constant Query::Queryable
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/inheritance.rb:158:in compute_type'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/reflection.rb:271:in compute_class'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/reflection.rb:267:in klass'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:376:in block in save_associations'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:375:in each'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:375:in save_associations'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/paper_trail-4.0.0.beta2/lib/paper_trail/has_paper_trail.rb:322:in record_update'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:427:in block in make_lambda'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:225:in call'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:225:in block in halting_and_conditional'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in call'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in block in halting_and_conditional'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in call'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in _run_callbacks'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in _run_update_callbacks'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/callbacks.rb:310:in _update_record'
... 25 levels...
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:188:in within_new_transaction'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:220:in transaction'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:344:in with_transaction_returning_status'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:286:in block in save'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:301:in rollback_active_record_state!'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:285:in save'
from (irb):11
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/console.rb:110:in start'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/console.rb:9:in start'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:68:in console'   from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in run_command!'
from /Users/alanmccann/railsapps/papertailtest/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in <top (required)>'   from bin/rails:4:in require'
from bin/rails:4:in `'
—
Reply to this email directly or view it on GitHub.

Perfect. Thanks for the quick response.


Flashing Geekbes YM-WS-1 Plug

I successfully flashed Tasmota onto a Geekbes plug.  Model is:  YM-WS-1.  I bought it in the US.
In the Tasmota Configuration I used the Generic module and set:
GPIO 14:  Relay1 (21)
I'm having trouble getting the device button to work to turn outlet on/off.
Flash size is 1024kB

Hi, thank you for this, but on mine the settings made the led flash when off and the led off when the switch was on.
So I changed the D7 GPIO13 led1i to led2(53) and now the led is off when off and on when on.
Hope it can help someone else.

The above templates did not work for me. But I debugged it and found the right the template:

Sorry to necro such an old thread, but I had three of these Geekbes YM-WS-1 laying around that I picked up from Newegg.com in 2017 and was trying to free them from Smart Things for Home Assistant, but I wasn't able to get this to work. I was using a Raspberrry Pi Zero W with the latest Raspbian. my mobile phone connected to the vtrust AP, but it said "An ESP82XX based device connected according to your wifi log" but that timed out waiting for the device to reconnect. I have the logs saved if anyone is around and still interested, maybe Tuya pushed a firmware update that broke this


Blog: redirect a post to ghostery.com

Closed in favor of https://github.com/whotracksme/whotracks.me/pull/352