dataset

Hello, has the Kuaishou dataset been released? How to obtain the dataset?

您好，快手数据集发布了吗？如何获取数据集？

你好，你训练出淘宝数据集了吗

We have released the pretrained model, as well as the link to the data files of the Taobao dataset.

We have released the pretrained model, as well as the link to the data files of the Taobao dataset.


Dependency-Check Action not Executed in Java Maven Project

My project is a Java Maven project with dependency-check/Dependency-Check_Action configured in GitHub Actions, but the scan is not actually being scanned.
      - name: Maven Install
        run: mvn -B install -DskipTests

      - name: Dependency Check
        uses: dependency-check/Dependency-Check_Action@main
        env:
          # actions/setup-java@ changes JAVA_HOME so it needs to be reset to match the depcheck image
          JAVA_HOME: /opt/jdk
        with:
          project: ${{ steps.meta.outputs.REPO_NAME }}
          path: '.'
          format: 'JSON'
          out: 'reports'
          args: >
            --enableRetired

I would recommend you use the maven plugin for a maven project. The issue is the "action" is just a wrapper around the CLI - which only scans artifacts on disk. It does not scan/understand pom.xml files. In order to use the cli/action you would need to run something like:
mvn package dependency:copy-dependencies

And then scan the target directory.

Thank you very much for your help. I also want to ask, if it's a Python or Node.js project, how should I use this action to perform the scan effectively?

for node - I'd recommend just using npm audit as it is effectively the same thing. But with ODC both python and node analysis works off of the project files. For Python the requirements.txt, pyproject.toml, poetry.lock, etc. For Node, the lock file is primarily used. The CLI/Action can easily be used for these.

Thank you so much for your prompt and detailed response.


Move plugins to the new organization

This PR removes the plugins from scope repository because now they are hosted in a new organization https://github.com/weaveworks-plugins
Update the documentation to be more generic and to point to the new repositories.
Dependencies:

[x] https://github.com/weaveworks-plugins/scope-iowait/pull/1
[x] https://github.com/weaveworks-plugins/scope-http-statistics/pull/1
[x] https://github.com/weaveworks-plugins/scope-http-statistics/pull/2

@alban

@alepuccetti Mind rebasing?

Done.
Also, I am making an other PR on weaveworks-plugins/scope-http-statistic today. This should be merged after that one too, because this PR lists in the HTTP statistics a new metrics (HTTP responses codes) which will be added to the plugin later today.

Relevant to https://github.com/weaveworks/scope/issues/1963

Minor comments. Otherwise LGTM.
Sorry it took so long to review @alepuccetti :S

@alepuccetti, I just realized that before merging this we should also fix the links under site (see https://www.weave.works/documentation/scope-latest-plugins/ , for instance https://github.com/weaveworks/scope/tree/master/examples/plugins/http-requests will be broken ) and redeploy the documentation.

Also, if you don't mind, please rebase again since there are some JS tests breaking (which I believe are fixed in master)

Also, if you don't mind, please rebase again since there are some JS tests breaking (which I believe are fixed in master)

My branch is up to date. I will trigger a rebuild

I will merge this and republish the docs to avoid broken links.

Done: https://www.weave.works/documentation/scope-latest-plugins/


[dv] Silence some warnings in imported DV code

Well, it's not actually vendored in: we just copy-pasted the code! These changes are cosmetic and fix warnings in some code that appears to be unmaintained upstream[1]. I don't really see any reason not to do it: what do you think?
[1] I just looked and you can still download the same files in .rar archives; date 2008.

See #11841 for a better solution.


Update Makefile to use install

As discussed in #16 this replaces cp with install. Both are stdutils, but install will handle a whole bunch of edgecases, like creating nested folders, ensuring the right permissions on the file, and so on.

Thanks shakna-israel for the contribution!


Codabench down?

Trying to open www.codabench.org as of right now returns errors on both safari and Chrome, on different connections and machines. Is this a planned outage?

Hi @sgsellan there is some maintenance going on. It will be available soon.

Thank you for responding so quickly!

Codabench is back. Sorry for inconvenience.


Misspelling error

In the pandas_extension.py, the word 'uniquecount' is misspelled into 'uniqecount'. And it is used in prompts. Maybe it will harm the final performance?

Great catch, fix incoming.
https://github.com/approximatelabs/sketch/pull/14


OLM web console display incorrect resource title for the Operator Details

Type of question
OLM web console display plural word have some problem
Question
What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
I defined a displayName: OperandRegistry in my csv yaml file for the customresourcedefinitions, and then I create this operator from web console, under the Operator Details page, the title name show OperandRegistrys
What did you expect to see?
I want to see the title show OperandRegistries
how do we handle these special case of singular and plural?
What did you see instead? Under which circumstances?
I see the title show OperandRegistrys

Environment

operator-lifecycle-manager version:
I don't know how to get the version, just list image version of the olm pod.

oc -n openshift-operator-lifecycle-manager get po olm-operator-6d454db9dd-dh5bj -oyaml | grep "image:"
    image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:dbde7140eb5c05e05252e2bc2891f47761aecf465803d08831c6b20c84bebbb8
    image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:dbde7140eb5c05e05252e2bc2891f47761aecf465803d08831c6b20c84bebbb8

Kubernetes version information:

# oc version
Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0+b4261e0", GitCommit:"b4261e07ed", GitTreeState:"clean", BuildDate:"2019-10-06T23:21:44Z", GoVersion:"go1.13.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.2", GitCommit:"4320e48", GitTreeState:"clean", BuildDate:"2020-01-21T19:50:59Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
OCP 4.3.0
Release Image
quay.io/openshift-release-dev/ocp-release@sha256:3a516480dfd68e0f87f702b4d7bdd6f6a0acfdac5cd2e9767b838ceede34d70d
Additional context
Add any other context about the question here.

I'd be surprised if this hasn't been fixed in the OCP console by now, but I'd imagine this falls under them to make that manipulation when serving the package contents. In any case, upstream has been decoupled from housing OCP builds so closing this out.


Refactor BaseSdlManager to ensure parity

This PR is ready for review.
Summary

Moved logic into base manager class
Moved member vars into base manager
Included notification queue logic into android SDL Manager

CLA

[x] I have signed the CLA

Codecov Report

Merging #1013 into feature/sdl_java_base will decrease coverage by <.01%.
The diff coverage is 0%.

@@                     Coverage Diff                     @@
##             feature/sdl_java_base    #1013      +/-   ##
===========================================================
- Coverage                    45.09%   45.08%   -0.01%
  Complexity                    3612     3612
===========================================================
  Files                          433      433
  Lines                        20140    20142       +2
  Branches                      2157     2157
===========================================================
  Hits                          9082     9082
- Misses                       10617    10619       +2
  Partials                       441      441

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/smartdevicelink/proxy/SdlProxyBase.java
6.5% <0%> (-0.01%)
16 <0> (ø)

Continue to review full report at Codecov.

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


Merge changes made for hass back into ToonHA

As this version of ToonHA has finally been added into the main hass repo it's time to merge the changes requested by the hass team back into ToonHA. I've modified the changes so it fits into ToonHA as a custom component. (looks like i can't push to new branches so this is a PR instead of a MR)
@costastf could you elaborate what you meant with removing the fibaro part?

#119 class FibaroSensor(Entity):  should probably be SmartPlug and
#223 class FibaroSmokeDetector(Entity): should probably be SmokeDetector
Any compatible device can be handled not only fibaro ones.

Lovely, thanks!


Add tagged-int-type into CoRIM

This issue tracks the addition of introducing tagged-int-type into the comid code base.
One specific type of class identifier is tagged integer.

This issue is fixed by https://github.com/veraison/corim/commit/64e8c5f1fb17ca7fc3f2a160a317e3745fd228c4


fix: Fix typo in template schema

Summary | Résumé
Very simple PR here that fixes a typo in the form schema.
The maxLegth key is actually supposed to be maxLength, with an n.
Pull Request Checklist
Please complete the following items in the checklist before you request a review:

[x] Have you completely tested the functionality of change introduced in this PR? Is the PR solving the problem it's meant to solve within the scope of the related issue?
[x] The PR does not introduce any new issues such as failed tests, console warnings or new bugs.
[x] If this PR adds a package have you ensured its licensed correctly and does not add additional security issues?
[x] Is the code clean, readable and maintainable? Is it easy to understand and comprehend.
[x] Does your code have adequate comprehensible comments? Do new functions have docstrings?
[x] Have you modified the change log and updated any relevant documentation?
[x] Is there adequate test coverage? Both unit tests and end-to-end tests where applicable?
[x] If your PR is touching any UI is it accessible? Have you tested it with a screen reader? Have you tested it with automated testing tools such as axe?

closing this since #1078 went in (which also includes these changes)


Page Management - PageRun / PageRunModal etc. on "Internal"

I tried to use the functions "PageRun" / "PageRunModal" from Codeunit 700 "Page Management" in .al, but the functions are set to FunctionVisibility "Internal". Will this be changed or is there any reason to not have this functions available for . al extensions?

This will be re-enabled in June Update.

Thanks @StanislawStempin - another one: What about the Error Log Functions in Table Error Message (Table 700)?

We will look into it. I will log it as a new issue to track resolution separately.


Author instructions and ruff configuration

This PR adds

Instructions to authors how to upload their code and use the ruff formatter/linter
ruff config in pyproject.toml
an initial .gitignore file
an inital requirements.txt file

For more details see the author instructions file: AUTHOR_INSTRUCTIONS.md.

LGTM


Design Profile page

@rashidjaved8080
furqan
Please create a page where user can update his profile. This page should be elegant, unique, responsive.
Check documentation for clear view and to get which fields you need to put on form.
Due Date:
10 June 2016
Note:
after due date you both have to give us aftar party.

please create update page like this.
https://www.dropbox.com/s/nnqfm6b08z54ia7/userprofile page.jpg?dl=0


Extract the sectional header into a separate custom element.

This a very rough PR to test the general approach.

The problem I'm trying to solve here is that sectional header (I don't know what to call it exactly) where the title text is being displayed is not necessary for the setup page. e.g. add user section has just a large add user icon on the left-side.  Please see the UI mock or the attached screenshot.

The simplest and the cleanest way I can see to address this is to extract the header portion into a separate custom element, instead of adding more conditional templating inside paperDisplayTemplate.  This way, it's easy for someone to just apply the header element if they need it.

What do you think of this general approach?  I am open to any other ways to solve this.  (Please don't mind the UI styling which still needs to be tightened.)

I tested the new landing page with this change, and it works fine.

This looks basically good to me, but it seems like you're still using paper-display-template with the new header everywhere. Did you mean to not use the template anymore on the setup page in this PR (or is that going to be separate) or am I missing something here? Otherwise, :+1: from me.

Correct, I am still using the paper-display-template, as it serves to position all the components the page.  So, it is good as is.
To clarify, what I was not sure is: should we continue to add to the conditional templating by using another variable to control whether to display the header text, vs a custom element as a wrapper and save a variable.
This PR was to test the latter approach with the wrapper element, which seems nicer by breaking things down a bit.  Further thought?

That makes sense, and this approach is fine. I was missing the part in setup where you haven't applied the header (I didn't expand the diff, so it looked like the header was still applied everywhere). Sounds good to me though!

Cool, let's see how this works, and we can rework it when we get a better sense of how to structure the UI and/or polymer.


Update anariConfig.cmake.in on next_release branch

Adding back setting ANARI_FOUND. This is used in VisIt to determine if find_package succeeded which results in creating other CMake cache variables that are needed to support ANARI integration.

Is it easy for VisIt to change to using anari_FOUND instead? CMake automatically uses the (case sensitive) ${PACKAGE_NAME}_FOUND naming convention, so ANARI_FOUND is redundant to that. It was originally removed in favor of the built-in CMake variable instead.

Is it easy for VisIt to change to using anari_FOUND instead?
Yeap...nothing has been merged and no PR has been submitted. I was assuming ${PACKAGE_NAME} was Anari or ANARI but now I see it's all lowercase. Just threw me off using all lowercase for ${PACKAGE_NAME}.


Exit receive loop faster when connection closed

The issue is, under high load, the client would have a large queue of items in the Channel and it would take a long time to drain the items on close. There is no need to drain (that I know of), we can just exit and let GC clean it up

AFAIR it was related to Input.Completion not being completed until you drain so double check this because all hinges on this.

Oh dang, that's unfortunate, will have to use a cancellation token instead
Thanks @moozzyk !

@BrennanConroy a test should have failed here.

This is difficult to write a test for, we'd need to inject our own transport and have a custom channel implementation for it. I'll look at writing one when I correctly fix it

Does it work?

I'm not sure, we can talk about it at work

Working on removing the event queue completely.


Reverted to ViewDidLoad, used ViewDidLayoutSubviews for Frame update

@macca400 : Merging the same fix. I left out one sample.


Fixed: Tx panics should not stop miner (#520)

Motivation
The is pull request solves the issue raised here: https://github.com/OLSF/libra/issues/520
Test Plan
A test has been written at https://github.com/VenkatTeja/libra/blob/256ee6ca7aaa0590607790f7f4bfe5f54051d036/ol/miner/tests/integration-submit-tx.rs
The test tries to block the client port using iptables and after sometime checks if miner was able to mine more blocks than before blocking port. Then the port is unblocked and the tests waits for miner to submit the backlog. The test checks again after sometime to check if client is in sync with miner.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


https://app-authenticator.herokuapp.com/dart/auth/${recipientMail}?CompanyName=${this.sessionName} not returning proper response

The above API provided is not returning the proper responce

Hi @ParthPandey2236  , it is because you are using a test server. Kindly setup a production server for better performance and reliability..
This will help you further. Please bread the docs ✌🏼
https://github.com/saran-surya/email_auth/issues/14#issuecomment-907034471


typo -6 user / use

https://github.com/masonr/yet-another-bench-script/blob/a18e1bcd60f5ab9e3640c650726d8949b7bb5bfe/yabs.sh#L129
user should be use

Resolved in 0f2e32c


Could not detect abi for version 20.1.0 and runtime electron

Got this error while rebuilding
Error: Could not detect abi for version 20.1.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron

Failed at:
C:\Program Files\nodejs\node.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
An unhandled error occurred inside electron-rebuild
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run electron-rebuild && npm run link-modules

Same issue

I run npm install<EMAIL_ADDRESS>to force node-abi version to latest , and then build succeed

same problem

same problem
I found the solution, uninstall and again install electron-rebuild
in my project, it works!

Adding the following to package.json fixed my issue.
"overrides": {     "electron-rebuild": {       "node-abi": "3.24.0"     }   },

Installing the Lib saved my day :)

⨯ Could not detect abi for version 25.0.1 and runtime electron.
⨯ Could not detect abi for version 25.1.0 and runtime electron.

@Krivega Same problem for me

same here

Setting the resolution override in package.json fixed this issue for me with electron 26.1.0 and electron-forge 6.4.1:
"resolutions": {
    "node-abi": "^3.47.0"
  },

I resolved this issue by adding "overrides" in package.json,
make sure there is not older node-abi are defined in package-lock.json.
Finally, added following overrides to resolve all Error: Could not detect abi for version 26.4.0 and runtime electron
"overrides": {
"prebuild-install": {
"node-abi": "3.51.0"
},
"prebuild": {
"node-abi": "3.51.0"
},
"robotjs": {
"node-abi": "3.51.0"
}
},

update node-abi work for me
yarn upgrade node-abi
or
npm update node-abi

i thinks needs document what version of node-abi is compatible with what version of node


Update how softWrap option behaves

Issue or RFC Endorsed by Atom's Maintainers
#11303
Description of the Change
Updated how soft wrapping works on atom. Now there are 5 options:

disabled: Editor wont soft wrap

window: Editor will wrap at window's width

preferredLineLength: Editor will wrap at the option  preferred line length
value

minWindowOrPll: Editor will wrap at the minimum value of window's width
and preferred line length option value

maxWindowOrPll: Editor will wrap at the maximum value of window's width
and preferred line length option value

This was changed due to the fact that atom would not respect the now removed option "Soft wrap ap preferred line length" when the window was smaller than the preferred line length.
Alternate Designs
I considered just changing the code that forced atom to wrap lines at the minimum value of preferred line length and window size, but there was already an issue that had a better suggestion than my idea as it was pointed out to me.
Possible Drawbacks
Maybe backward compatibility with current atom configuration as the type from softWrap changed from Boolean to String.
Verification Process
I opened atom in dev mode.
Set soft wrap to 'disabled' and checked the result.
Set soft wrap to 'window' and checked the result.
Set soft wrap to 'preferredLineLength', set preferred line length to 1 and checked the result.
Set soft wrap to 'preferredLineLength', set preferred line length to 100 and checked the result.
Set soft wrap to 'minWindowOrPll', set preferred line length to 1 and checked the result.
Set soft wrap to 'minWindowOrPll', set preferred line length to 100 and checked the result.
Set soft wrap to 'maxWindowOrPll', set preferred line length to 1 and checked the result.
Set soft wrap to 'maxWindowOrPll', set preferred line length to 100 and checked the result.
Release Notes

Updated softWrap option to allow more control on how atom wraps the code

@rsese Is there anything I can do to help the review process?

Hey @0tho :wave: If anything more is needed from your end, the person that ends up reviewing will comment here so nothing for now.  Your pull request is on the team's list to review as soon as they can, but we can't promise a timeframe for review.

Not sure what the error on appveyor means and how I can fix it. Any help would be appreciated

Network error. I restarted the build.

Hey! 👋
We have recently started using prettier and this has caused major style changes on the Atom JS codebase (you can check the related PR).
This is good news: now the Atom code is more consistent and it's much easier to re-format the code to follow the codestyle (now you only need to run script/lint --fix).
This change caused conflicts on your PR that we have automatically solved, hope you don't mind 😄
With ❤, the Atom team.

Is there anything else that could be done to merge this PR? Or if this is not something that won't ever be merged for some reason, let's just close it.
It has been 2 years since I opened this PR.

Is there anything else that could be done to merge this PR? Or if this is not something that won't ever be merged for some reason, let's just close it.
It has been 2 years since I opened this PR.

Please, someone, merge this PR !!

Please, someone, merge this PR !!

There are conflicting files

There weren't for years

Welp, there are now

Hey @marcel0ll, I know this PR has been open for a long time now (2yrs). Apologies that we didn't get to it on time. Thank you for all the hard work you have done on the PR. However, I don't think this would be merged.
The current options that we have preferredLineLength and window width wrap are sufficient for soft wrapping. Adding 2 more options to me looks like overkill, it also adds complexity to the wrapping behaviour.
Thank you again for your contribution.

Hey @sadick254, no problem. I am honestly glad that this had some closure. Thank you for taking the time to make the previous review and now for closing the PR.


Add implicit conversion for GZippedBase64String to String

Include unit test for both GZippedBase64String and Base64String to String injections

Thanks!


add bower.json to gitignore

LGTM

i'll have to figure out why is the travis failing

ok, i figured it out
we didn't actually move dot files when installing the theme - that's why jscs was failing travis
i fixed installation and added other dotfiles to ignore

thats weird, why does that suddenly fail? Previous builds didn't :/
LGTM

@FinalAngel they actually were failing :)


Random assertion failed

Hi,
I seem to get a lot of assertion failed on different functions on connect and subscribe.

can you provide more information?


manimlib -> manimce

List of Changes
Related to #148
Motivation
I had to upgrade the choco package for the Pango. So, this can be changed now as it was stopping before.
Explanation for Changes
manimlib -> manimce
Acknowledgement

[x] I have read the Contributing Guidelines

Question: If pypa/pypi-support #450 ever gets approved by the admins there, are we to change this to manim or keep it as it is?

Question: If pypa/pypi-support #450 ever gets approved by the admins there, are we to change this to manim or keep it as it is?

I would really like to see the module name manim and the package name manimlib / manimce coincide at some point.


fast_stable_diffusion_AUTOMATIC1111 on google collab getting this  error while starting (Start Stable-Diffusion) cell

`Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1146, in _get_module
return importlib.import_module("." + module_name, self.name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 83, in
from accelerate import version as accelerate_version
File "/usr/local/lib/python3.10/dist-packages/accelerate/init.py", line 7, in
from .accelerator import Accelerator
File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 33, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "/usr/local/lib/python3.10/dist-packages/accelerate/tracking.py", line 34, in
import wandb
File "/usr/local/lib/python3.10/dist-packages/wandb/init.py", line 26, in
from wandb import sdk as wandb_sdk
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/init.py", line 5, in
from . import wandb_helper as helper  # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/wandb_helper.py", line 6, in
from .lib import config_util
File "/usr/local/lib/python3.10/dist-packages/wandb/sdk/lib/config_util.py", line 9, in
from wandb.util import load_yaml
File "/usr/local/lib/python3.10/dist-packages/wandb/util.py", line 53, in
import sentry_sdk  # type: ignore
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/init.py", line 1, in
from sentry_sdk.hub import Hub, init
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/hub.py", line 9, in
from sentry_sdk.client import Client
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/client.py", line 25, in
from sentry_sdk.profiler import setup_profiler
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/profiler/init.py", line 1, in
from sentry_sdk.profiler.continuous_profiler import start_profiler, stop_profiler
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/profiler/continuous_profiler.py", line 12, in
from sentry_sdk.profiler.utils import (
File "/usr/local/lib/python3.10/dist-packages/sentry_sdk/profiler/utils.py", line 4, in
from sentry_sdk._compat import PY311
ImportError: cannot import name 'PY311' from 'sentry_sdk._compat' (/usr/local/lib/python3.10/dist-packages/sentry_sdk/_compat.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 17, in imports
import pytorch_lightning  # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py", line 34, in
from pytorch_lightning.callbacks import Callback  # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.callback import Callback
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/utilities/types.py", line 28, in
from torchmetrics import Metric
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/init.py", line 14, in
from torchmetrics import functional  # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/init.py", line 77, in
from torchmetrics.functional.text.bleu import bleu_score
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/init.py", line 30, in
from torchmetrics.functional.text.bert import bert_score  # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/bert.py", line 24, in
from torchmetrics.functional.text.helper_embedding_metric import (
File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/helper_embedding_metric.py", line 26, in
from transformers import AutoModelForMaskedLM, AutoTokenizer, PreTrainedModel, PreTrainedTokenizerBase
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1136, in getattr
module = self._get_module(self._class_to_module[name])
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1148, in _get_module
raise RuntimeError(
RuntimeError: Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
cannot import name 'PY311' from 'sentry_sdk._compat' (/usr/local/lib/python3.10/dist-packages/sentry_sdk/_compat.py)`

Same problem ＞﹏＜

samee

as @dvostro  said on issues #2933
this code helped :
!pip install --upgrade sentry-sdk
!pip install --upgrade transformers
!pip install --upgrade wandb
hope author can fixed 'em

Thanks for the code but one question. In which cell did you insert those lines?

as @dvostro said on issues #2933
this code helped :
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb
hope author can fixed 'em

Thanks for the code but one question. In which cell did you insert those lines?

as @dvostro said on issues #2933
this code helped :
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb
hope author can fixed 'em

Requirements bro

I copied and pasted this code, both before the start of stable diffusion, and within requirements and it didn't work.
Has anyone else succeeded?

Hi, it works for me, i put the lines in requirement:

this error appeared:
ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2024-10-19 01:22:12,801 - ControlNet - INFO - ControlNet v1.1.455
01:22:32 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA
Loading weights [31e35c80fc] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/sd_xl_base_1.0.safetensors
Creating model from config: /content/gdrive/MyDrive/sd/stablediffusion/generative-models/configs/inference/sd_xl_base.yaml
creating model quickly: OSError
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/None/resolve/main/config.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 403, in cached_file
resolved_file = hf_hub_download(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 969, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1484, in _raise_on_head_call_error
raise head_call_error
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 301, in _request_wrapper
hf_raise_for_status(response)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 454, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67130a8f-4d63981f66483f4c09d87cd9;c9ceee25-45be-44b8-9a9d-dac62c5c723d)
Repository Not Found for url: https://huggingface.co/None/resolve/main/config.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 149, in load_model
shared.sd_model  # noqa: B018
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 693, in get_sd_model
load_model()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 820, in load_model
sd_model = instantiate_from_config(sd_config.model, state_dict)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 775, in instantiate_from_config
return constructor(**params)
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/models/diffusion.py", line 61, in init
self.conditioner = instantiate_from_config(
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/encoders/modules.py", line 88, in init
embedder = instantiate_from_config(embconfig)
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/encoders/modules.py", line 361, in init
self.transformer = CLIPTextModel.from_pretrained(version)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_disable_initialization.py", line 68, in CLIPTextModel_from_pretrained
res = self.CLIPTextModel_from_pretrained(None, *model_args, config=pretrained_model_name_or_path, state_dict={}, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 3301, in from_pretrained
resolved_config_file = cached_file(
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 426, in cached_file
raise EnvironmentError(
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>
Failed to create model quickly; will retry using slow method.

Hi, it works for me, i put the lines in requirement:

this error appeared:
ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2024-10-19 01:22:12,801 - ControlNet - INFO - ControlNet v1.1.455
01:22:32 - ReActor - STATUS - Running v0.7.1-a1 on Device: CUDA
Loading weights [31e35c80fc] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/sd_xl_base_1.0.safetensors
Creating model from config: /content/gdrive/MyDrive/sd/stablediffusion/generative-models/configs/inference/sd_xl_base.yaml
creating model quickly: OSError
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/None/resolve/main/config.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 403, in cached_file
resolved_file = hf_hub_download(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 862, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 969, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1484, in _raise_on_head_call_error
raise head_call_error
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1376, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1296, in get_hf_file_metadata
r = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 277, in _request_wrapper
response = _request_wrapper(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 301, in _request_wrapper
hf_raise_for_status(response)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 454, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67130a8f-4d63981f66483f4c09d87cd9;c9ceee25-45be-44b8-9a9d-dac62c5c723d)
Repository Not Found for url: https://huggingface.co/None/resolve/main/config.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 149, in load_model
shared.sd_model  # noqa: B018
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 693, in get_sd_model
load_model()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 820, in load_model
sd_model = instantiate_from_config(sd_config.model, state_dict)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 775, in instantiate_from_config
return constructor(**params)
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/models/diffusion.py", line 61, in init
self.conditioner = instantiate_from_config(
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/encoders/modules.py", line 88, in init
embedder = instantiate_from_config(embconfig)
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/encoders/modules.py", line 361, in init
self.transformer = CLIPTextModel.from_pretrained(version)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_disable_initialization.py", line 68, in CLIPTextModel_from_pretrained
res = self.CLIPTextModel_from_pretrained(None, *model_args, config=pretrained_model_name_or_path, state_dict={}, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 3301, in from_pretrained
resolved_config_file = cached_file(
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py", line 426, in cached_file
raise EnvironmentError(
OSError: None is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>
Failed to create model quickly; will retry using slow method.

it worked, it was a damn space in the code

worked. thank you. have a good day.

Even if you copy the entire code as it is, there is no error immediately.

Thanks for the code but one question. In which cell did you insert those lines?

as @dvostro said on issues #2933
this code helped :
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb
hope author can fixed 'em

Requirements bro like this:
#@markdown # Requirements
print('�[1;32mInstalling requirements...')
with capture.capture_output() as cap: %cd /content/ !wget -q -i https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/Dependencies/A1111.txt !dpkg -i *.deb if not os.path.exists('/content/gdrive/'+mainpth+'/sd/stablediffusion'): !tar -C /content/gdrive/$mainpth --zstd -xf sd_mrep.tar.zst !tar -C / --zstd -xf gcolabdeps.tar.zst !rm *.deb | rm .zst | rm .txt if not os.path.exists('gdrive/'+mainpth+'/sd/libtcmalloc/libtcmalloc_minimal.so.4'): %env CXXFLAGS=-std=c++14 !wget -q https://github.com/gperftools/gperftools/releases/download/gperftools-2.5/gperftools-2.5.tar.gz && tar zxf gperftools-2.5.tar.gz && mv gperftools-2.5 gperftools !wget -q https://github.com/TheLastBen/fast-stable-diffusion/raw/main/AUTOMATIC1111_files/Patch %cd /content/gperftools !patch -p1 < /content/Patch !./configure --enable-minimal --enable-libunwind --enable-frame-pointers --enable-dynamic-sized-delete-support --enable-sized-delete --enable-emergency-malloc; make -j4 !mkdir -p /content/gdrive/$mainpth/sd/libtcmalloc && cp .libs/libtcmalloc.so /content/gdrive/$mainpth/sd/libtcmalloc %env LD_PRELOAD=/content/gdrive/$mainpth/sd/libtcmalloc/libtcmalloc_minimal.so.4 %cd /content !rm *.tar.gz Patch && rm -r /content/gperftools else: %env LD_PRELOAD=/content/gdrive/$mainpth/sd/libtcmalloc/libtcmalloc_minimal.so.4
!pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu121 !pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb
!pip install controlnet_aux -qq --no-deps os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' os.environ['PYTHONWARNINGS'] = 'ignore' !sed -i 's@text = _formatwarnmsg(msg)@text =""@g' /usr/lib/python3.10/warnings.py
clear_output() inf('\u2714 Done','success', '50px')
#@markdown ---

I pasted the code as it is, but I get an error.
Do I just put the whole thing in?

I copied and pasted this code, both before the start of stable diffusion, and within requirements and it didn't work.
Has anyone else succeeded?

Why doesn't the producer fix this problem quickly?

It hasn't even been a day my dude. This guy probably has a job.

This problem will be fixed, right?

Oh yeah. Longest I've ever seen a well used repo like this one go without being fixed is a few days. In truth, I'm a little surprised it hasn't been fixed already. Still, I wouldn't complain. This guy doesn't even ask for donations despite being the best SD notebook out there, used by thousands daily I'm sure.
That said, you might be bumping against the same problem I was - the fix posted at the start of this thread works. You just need to but it lower in the notebook. I created a new cell directly above the "Start Stable-Diffusion" cell and placed the three-line solution in it. Worked like a charm.

Thank you for your response. I'll wait and see. It's the weekend, but I'm just sad I couldn't work on it.
What is it like that you made it?
I tried entering the above solution, but there was an error and it didn't work.

Thank you for your response. I'll wait and see. It's the weekend, but I'm just sad I couldn't work on it. What is it like that you made it? I tried entering the above solution, but there was an error and it didn't work.

if you still get error, i recommend you to delete all stable difusion folders on your gdrive, do start over and runn the all cell one by one, and before you starting the "Start Stable-Diffusion" cell, just click new cell, and copy paste tis code
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb
and after  finished, run the  "Start Stable-Diffusion" cell and it's gonna works well.

That fix works perfectly after you delete the extra space. Thanks for sharing.
!pip install --upgrade sentry-sdk
!pip install --upgrade transformers
!pip install --upgrade wandb

That fix works perfectly after you delete the extra space. Thanks for sharing.
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip install --upgrade wandb

which space are you referring to?

In the original post, there was a space before the first command and I
think this caused problems for folks.  when you paste it in to the
requirements as I have it here, it works perfectly
Matthew D. Lieberman, Ph.D. (twitter http://twitter.com/social_brains)
Director, UCLA Social Cognitive Neuroscience Laboratory
http://www.uclascnlab.com
Co-Founder, Resonance Inc. https://www.resonance.info
Editor-in-Chief, Social Cognitive and Affective Neuroscience
https://academic.oup.com/scan
Zoom - https://ucla.zoom.us/my/lieberman
"Being skeptical means demanding evidence, not ignoring it"  -Bobby Azarian
"I would rather have questions that can't be answered than answers that
can't be questioned" -Richard Feynman
"When I went to school, they asked me what I wanted to be when I grew up. I
wrote down ‘happy.’ They told me I didn’t understand the assignment, and I
told them they didn’t understand life."  -John Lennon
On Sat, Oct 19, 2024 at 9:26 AM SoumiaSiYoucef @.***>
wrote:

That fix works perfectly after you delete the extra space. Thanks for
sharing.
!pip install --upgrade sentry-sdk !pip install --upgrade transformers !pip
install --upgrade wandb
which space are you referring to?
—
Reply to this email directly, view it on GitHub
https://github.com/TheLastBen/fast-stable-diffusion/issues/2934#issuecomment-2424049576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZG3OPM4DMFS25AZ3GI352DZ4KB3PAVCNFSM6AAAAABQGPTEY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUGA2DSNJXGY
.
You are receiving this because you commented.Message ID:
@.***>

thank you, but i keep getting new errors:
ImportError: cannot import name 'cached_download' from 'huggingface_hub'
ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils' (/usr/local/lib/python3.10/dist-packages/diffusers/utils/init.py)
whenever one is fixed i get a new one

" The following values were not passed to accelerate launch and had defaults used instead:
--num_processes was set to a value of 1
--num_machines was set to a value of 1
--mixed_precision was set to a value of 'no'
--dynamo_backend was set to a value of 'no'
To avoid this warning pass in values for each of the problematic parameters or run accelerate config.
"  other error : /

Thank you very much.
Looking at this screen and doing it as it is, it works well!

fixed, no need to install any package

Thank you very much!!!!


GB Dashboard Text Changes

Updating tabs with required text changes

By email @wendyrogers asked for as a preview of the changes I have made so that I can just check that they are correct, since the HTML has been edited directly.
Summary tab:

Details tab:

Methodology tab:

@wendyrogers is this PR still relevant? Do you want us to merge it?

Thanks for flagging @samuele-mattiuzzo and yes these changes are still valid. They should also only be deployed in conjunction with the changes for https://github.com/devinit/grand-bargain-monitoring/pull/79
However, I think the reason they never got deployed (and we gave up on them at the time even though all the work was done!) was because we needed to see them in situ before they were deployed (as quite significant changes to the layout etc) but we don't have a test site for the GB dashboard? This is even more valid now as so much time has past? Is there therefore any chance of creating a test site now so that we can finally check out that everything is as it should be and finally put them 'live'?


Add Landing Page at Server Root or /slivka

I suggest adding a simple landing page at the server root (or /slivka or another suitable location) to make it easy to confirm that the server is up and running.
Just a basic HTML landing page or a minimal Flask view that displays a "Hello World" or "Welcome to slivka-bio" message.

The lack of a page at the server root is intentional and allows you to create your own page there. Otherwise, there would be a routing conflict.
In order to add your own page at the root, create a python file named e.g. myroutes.py inside the project directory containing a flask blueprint.
# myroutes.py
import flask
blueprint = flask.Blueprint('welcome', __name__, url_prefix='/')

@blueprint.route('/')
def index():
  return "Welcome to slivka!"

Then, append the following to the end of the wsgi.py file
import myroutes
application.register_blueprint(myroutes.blueprint)


Stuck at rake app:setup

I am new to gate-sso and ruby, i have tried to install all possible library but still got stuck at running rake app:setup

do you want Dev or Prod setup?

Also gate moved to https://github.com/gate-sso/gate-wireguard


Control+D should terminate papyrus; maybe Control+C shouldn't

Python's REPL interprets Control+C as a way to stop a run-away REPL command. It immediately breaks with the exception KeyboardInterrupt (which Python programs can indeed handle, but that's another story).
If done at the REPL, Python just prints "KeyboardInterrupt" and the REPL remains open.
You don't have to copy Python exactly, but most REPL's do quit on Control+D (EOF), as this allows scripts to use them, and also, since it's a frequent standard, users expect it.
Can Papyrus follow suit?

This is also common in shells - Ctrl+D for exit. Current behavior of Papyrus is confusing.


Disallowed literal: key EntityManagerException

Hi,
Came across this exception when using this GQL query. I don't know if it's a bug or I am missing something.
Thank you!
******** CODE ***********
EntityQueryRequest query =
em.createEntityQueryRequest("SELECT * FROM SomeUnit WHERE key HAS ANCESTOR key(organization,'somename')");
QueryResponse units = em.executeEntityQueryRequest(SomeUnit.class, query);
******** Exception ***********
com.jmethods.catatumbo.EntityManagerException: Disallowed literal: key.
at com.google.datastore.v1beta3.client.RemoteRpc.makeException(RemoteRpc.java:126)
at com.google.datastore.v1beta3.client.RemoteRpc.makeException(RemoteRpc.java:169)
at com.google.datastore.v1beta3.client.RemoteRpc.call(RemoteRpc.java:89)
at com.google.datastore.v1beta3.client.Datastore.runQuery(Datastore.java:108)
at com.google.cloud.datastore.spi.DefaultDatastoreRpc.runQuery(DefaultDatastoreRpc.java:155)
at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:93)
at com.google.cloud.datastore.DatastoreImpl$1.call(DatastoreImpl.java:89)
at com.google.cloud.RetryHelper.doRetry(RetryHelper.java:179)
at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:244)
at com.google.cloud.datastore.DatastoreImpl.runQuery(DatastoreImpl.java:88)
at com.google.cloud.datastore.QueryResultsImpl.sendRequest(QueryResultsImpl.java:73)
at com.google.cloud.datastore.QueryResultsImpl.(QueryResultsImpl.java:57)
at com.google.cloud.datastore.DatastoreImpl.run(DatastoreImpl.java:82)
at com.google.cloud.datastore.DatastoreImpl.run(DatastoreImpl.java:73)
at com.jmethods.catatumbo.impl.BaseDatastoreAccess.executeEntityQueryRequest(BaseDatastoreAccess.java:378)
at com.test.DatastoreTransactionTest.testUpdate(DatastoreTransactionTest.java:101)

It seems allow literal should be true to be able to execute that query and we can't access this value through the framework..
***** CODE *****
GqlQuery gquery2 = Query.gqlQueryBuilder("SELECT * FROM SomeUnit WHERE key HAS ANCESTOR key(organization,'somename')")
.allowLiteral(true).build();
QueryResults results2 = datastore.run(gquery2);

@bugyboo - I will go ahead and add a method to the QueryRequest to allow/disallow literals. In the meantime though, you should be able to use positional/named bindings. Assuming you have the Key (com.jmethods.catatumbo.DatastoreKey) of the Ancestor you are trying to search on - something like the below code should work:
	@Test
	public void testExecuteEntityQuery_Ancestor() {

		ParentEntity pe = new ParentEntity();
		pe.setField1("Test for Ancestor Query");
		pe = em.insert(pe);

		for (int i = 0; i < 5; i++) {
			ChildEntity ce = new ChildEntity();
			ce.setField1("My ancestor is " + pe.getId());
			ce.setParentKey(pe.getKey());
			em.insert(ce);
		}

		sleep(5000);
		// NOTE that here we are using a positional binding for the ancestor
		// key.
		final String query = "SELECT * FROM ChildEntity WHERE __key__ HAS ANCESTOR @1";
		EntityQueryRequest request = em.createEntityQueryRequest(query);
		// Bind the key of the Ancestor
		request.addPositionalBinding(pe.getKey());
		QueryResponse<ChildEntity> response = em.executeEntityQueryRequest(ChildEntity.class, request);
		List<ChildEntity> results = response.getResults();
		for (ChildEntity result : results) {
			System.out.println(result.getId() + "--->" + result.getField1());
		}
	}

Thank you!!
I was looking for that exactly.. Positional binding did the job.

I'm having this issue and all I have is the Kind and the ID. I don't actually have a key instance and it doesn't seem like I can build one. I also cannot lookup the entity because it's been deleted and I'm trying to query for orphaned records. So my question is basically:
How do I query with the Key literal because I only have the ID -or- how do I manually build a key instance with the Kind and ID?

Hi @workmanw -
If you have the Kind and ID - you would use one of the load methods provided in the EntityManager. For example -
em.load(MyEntity.class, 1000L);
The Kind is determined from the Entity annotation on the MyEntity and a Key is built internally and looked up.
You may also use GQL for this using the synthetic literal (or function), KEY.
However, in order for this to work, you first need to allow literals in your query. This can be done with setAllowLiterals(true) on one of the QueryRequest (e.g. EntityQueryRequest or KeyQueryRequest) implementations. Without this call, you would get the Disallowed Literal exception from the Datastore.
Hope this helps. Let me know if you need further assistance.

Hey @sai-pullabhotla Thanks so much for the quick response. The biggest problem with em.load(MyEntity.class, 1000L) is that that entity has been deleted from the database already. So we cannot load it. In this case, I'm trying to clean up orphaned records in a task.
I noticed that in the native Google SDK you can create a DataStore Key, then I think I could pass that into the DefaultDatastoreKey implementation in Catatumbo. Does that seem like something that would work to build a key instance for querying?

Yes, you can use it as a workaround. I will add an enhancement request to make it a little easier in a future version.

You may also use the KEY literal as below to avoid using the underlying Datastore API:
EntityQueryRequest request = "SELECT * FROM Photo WHERE album=KEY(Album, " + id + ") ORDER BY createdOn DESC";
request.setAllowLiterals(true);
QueryResponse<PhotoModel> response = em.executeEntityQueryRequest(PhotoModel.class, request);

Final query should look like
SELECT * FROM Photo WHERE album=KEY(Album, 1000) ORDER BY createdOn DESC

Note that you cannot use parameter bindings (e.g. @1 or @AlbumId) within the KEY literal/function.


[WIP]: use controlPlane and compute in install-config.yaml

The machines field in install-config.yaml will be replaced with controlPlane and compute fields. This PR brings in the latest openshift/installer version, which includes those changes.

/hold
Requires https://github.com/openshift/installer/pull/1157

There are other changes that we may want to do to the Hive API that are not covered by this PR.

Change the name of the network type to reflect the updated name of OpenShiftSDN used by the cluster-network-operator.
Remove IAMRoleName from AWSMachinePoolPlatform.

/close
Obsolete by #228.


netbox2aquilon crashes if a device does not have a role set

e.g.
Traceback (most recent call last):
  File "/var/quattor/bin/netbox2aquilon", line 379, in <module>
    _netbox_copy(OPTS)
  File "/var/quattor/bin/netbox2aquilon", line 291, in _netbox_copy
    personality = f'{device.role.slug}-{device.tenant.slug}'
AttributeError: 'NoneType' object has no attribute 'slug'

This should probably just fall back to the inventory personality.

Interesting, in netbox physical devices must have a role, but virtual devices don't


Client side template for mongodb doesn't work with the client side app

/cc @craicoverflow, @machi1990
Automatically generated comment to notify maintainers

Wow that is a lot of labels :D


Changes For SNAP-3256:

What changes were proposed in this pull request?

Fixes for UI component misalignment
Sink table border is removed
Cleanup and reformatting
Adding Unit in Processing Time chart header

How was this patch tested?

Manually tested on Linux, Windows

Please review http://spark.apache.org/contributing.html before opening a pull request.

Review is not needed as these are just cosmetic changes.

Merging


how to find config_list

hello, I am learning your sdk code now , but it is confused that the config_list has no definded. I hope can contact with you ,thank you !

my e-mail is<EMAIL_ADDRESS>

config_list is defined in accel_data.c, and declared as an extern val in accel_data.h


Pull in upstream changes from cisagov/skeleton-ansible-role

🗣 Description
This pull request pulls in the upstream changes from cisagov/skeleton-ansible-role and makes the build pass.
💭 Motivation and Context
@hillaryj created #8, but the existing codebase was so old that it was still using TravisCI.  It makes sense to bring this repository into the modern era before making any real changes.
🧪 Testing
All pre-commit hooks and molecule tests pass.
🚥 Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I'm basing this on the fact that the previous test user code in this repo didn't need that GeoIP license key: https://github.com/cisagov/ansible-role-cyhy-commander/blob/develop/terraform/main.tf#L9
I'm not clear on how that would change here, but maybe it did?

'm basing this on the fact that the previous test user code in this repo didn't need that GeoIP license key: https://github.com/cisagov/ansible-role-cyhy-commander/blob/develop/terraform/main.tf#L9

You're right.  It does not seem necessary, so I removed it.


NewAxis failing tests in org.nd4j.linalg.api.indexing.IndexingTestsC

testAllWithNewAxisAndInterval
testAllWithNewAxisInMiddle
testAllWithNewAxis
fail.
The intent is to drop a dimension and add back however the resulting arrays all end up with one extra dimension

https://github.com/deeplearning4j/nd4j/pull/2168


Poll: are you using WinAppDriver to automate Win32, WinForms, or WPF applications?

The WinAppDriver Team would love to hear stories of how it's going using WinAppDriver to test specific types of apps!
To help, if you are testing one of these types of applications (Win32, WinForms, or WPF) could you tell us about your app and share any feedback on using WinAppDriver?
The following comment would be a good example:

"I am using WinAppDriver to automate my team's calendar program, which is a classic Win32 application".

If you wish to not share any information about your specific app, you can react to the following post specifying the platform. You can also send a direct email to<EMAIL_ADDRESS>if you prefer to speak offline.
Thank you!

Classic Win32 Apps

WinForms apps

I am using WinAppDriver to automate MS word running on a remote machine

We are exploring it for automated testing of  a WinForms app and integration tests xamarin mobile <-> WinForms app.

I find it handy when trying to automate some of the old legacy Silverlight web applications. However, using XPath predominantly slows down execution a lot as compared to other frameworks like Selenium and Appium.

Thanks for the replies!  We'll keep this post open and check in regularly.
@vishnu45 interesting you bring up xpath.  We're looking into the perf.

I am using WinAppDriver to automate WPF app

We are at the end of a proof-of-concept phase of integrating the use of Appium and WinAppDriver into an existing testing framework.
Our current set of tests, written in Python, automates and validates our Linux back-end processes.  Our test runner executes these tests in a Linux environment.  Our goal is to get end-to-end system integration test suites running, which leverage the existing back-end tests, to now additionally verify specific GUI test scenarios using the Appium Python Client Library to automate our WPF front-end application via WinAppDriver.
To better illustrate; the grey boxes represent the Linux environment while the yellow boxes represent the Windows 10 environment.

It has been no small task to get our proof-of-concept test working to automate a simple login workflow.  And it works!  And it's very very cool to see it all working seamlessly across platforms.  Our next steps are to get this concept running, and scaled, our on nightly CI test servers.

Fascinating, thanks for the detailed info @brett-burkhart.

I am evaluating WinAppDriver for end-to-end testing of our Win32 application. The only problem is the speed of the driver when dealing with an application with a large number of elements - locating the element using XPath expression is slow (#333).

We evaluated for WinForm app, but bcz of performance issues it was rejected.

I am using WinAppDriver to test a custom WPF app, and a couple Office products in preparation for integrating it into our integrated test environment. At that point (assuming we can get buyoff on using Windows 10) we will be using it along side Selenium to automate business process flows that touch some WinForms apps, some WPF apps, and webpages.

Intento utilizar WinAppDriver en C# para automatizar un ERP . El problema es la creación de controles personalizados que tiene el ERP .El inspect de windows 10 no reconoce los controles del ERP.
Que estrategia me sugieren ?
Como crear un Framework ?
Se puede Usar Page Object Model?
Cual es la estructura de un Proyecto de WinAppDriver en visual studio?
En el ERP tengo modulos Compras, Venta ,Contabilidad ,etc , como organizarlo en el codigo c#?
No uso Coded UI porque no reconoce los controles personalizados del ERP y la ejecución no responde siempre con certeza .
Espero  me puedan orientar

Hooray

We were using Coded UI to automate our Desktop based application which had mix of WPF and Win32 controls. We are now migrating our tests to WinAppDriver.
We are trying out ways to make minimum code changes and easily migrate to Coded UI, but I don't think we are able to achieve that.

I'm currently trying to put a basic layer of UI testing on a legacy WinForms application.
fwiw


Fix IP Address Order

[x] read the CONTRIBUTING guidelines
[x] raised a GitHub issue or discussed it on the projects chat beforehand
[x] added unit tests
[ ] added integration tests
[ ] updated documentation if needed
[ ] updated CHANGELOG.md

Fixes #1344
Apologies for the previous pull request containing errors. I have now made the necessary revisions.

Thanks for the PR! Can you add a couple of unit tests?

I have errors of format.

Error: return with no blank line before (nlreturn)

In the if branch, I only have one line code. Should add a blank line before?

Error: parameter name 'i' is too short for the scope of its usage (varnamelen)

The parameter i is the index1. Should I change it?

Unit tests added.

Is there anything that I need to do?

This needs to be rebased, the code is currently frozen as we are restructuring it, if it's rebased, we can let this one in.

Completed based on the latest code re-modification


Issue with solo.sendkeys(Solo.DOWN) method

From<EMAIL_ADDRESS>on October 10, 2013 22:21:06
Hi Renas,
I'm testing an hybrid android App while using solo.sendKeys(Solo.DOWN) method to scroll the page i encountered the following problem,
I have a Web page which consists of a Search Textbox with its appropriate Search Button, there are some sections on the page which are not visible on the current device display for which i need to scroll and hence when i call solo.sendKeys(Solo.DOWN) method to scroll down the page, the scroller cursor focuses on the Search textbox and the cursor remains in the Search textBox itself not allowing me to scroll down.
What i understand is, when i use solo.sendKeys(Solo.DOWN) to scroll down it starts scrolling from beginning of the page and not the from current position where it is called.
Can you please provide your inputs and some update on this.
Thanks,
Zaid Momin
Original issue: http://code.google.com/p/robotium/issues/detail?id=533

From<EMAIL_ADDRESS>on October 13, 2013 22:54:22
You should use scrollDown() to scroll the page. The command solo.sendKeys(Solo.DOWN) will only send the key down command.
Status: Invalid
Owner<EMAIL_ADDRESS>


HAWQ-273. Need re-fetch snapshot at planning stage

Because data locality and hdfs metadata cache will fetch pg_aoseg meta data when planning, we need to re-fetch the latest snapshot.

For PBE query, snapshot is set int PortalRunUtility(), so other changes also cause issues.

Because data locality and hdfs metadata cache will fetch pg_aoseg meta data when planning, we need to re-fetch the latest snapshot.

That's right, but all plannable statements have already got the snapshot. Did we missing something?

It is the issue of order of locking and getting snapshot. After unlocking, snapshot become outdated and should renew.

In fact when executing one normal statement(SELECT/INSERT/UPDATE/DELETE), the snapshot will be fetched several times, at previous version, we fetched one snapshot before transform query, and re-fetched one at the beginning of query execution.
Your last comments above is exactly the root cause of this defect. ~_~

looks there are still other places that call pg_plan_queries, why don't we re-fetch the snapshot?

Yes, only 2 functions:

_SPI_prepare_plan():  you can find that before calling pg_plan_queries(), it already fetch a new snapshot. And between them, it just some simple code, which is impossible to lock. So we don't need to re-fetch one.
exec_parse_message(): From the comment in the code, it just called for syntax check.
/**
* Even though we do not store the plan, we want to perform planning
* to know if SQL syntax is supported.
*/

cool. good fix.


Upgrade grpc-core to 1.4.0

This pr upgrade grpc to 1.4.0 and enable static-link by default.

LGTM

enable static-link by default

How to disable static link?

Enable feature link-sys.


Hide dock icon and add a menubar one?

Hi!
Would it be possible to hide the dock icon and add an option to show a menubar one. It would come pretty handy, since I always use Goofy on the background and just show it when needed, so I don't find a real purpose for the icon "wasting" space on the dock.
Thank you for such a useful app!

duplicate of #67
I hadn't any time to implement this yet. But I know this is a common feature request.


revert: agent: sandbox_pause should get arguments from proc

When agent runs as init, it is not able to read /proc/self/cmdline because
of /proc has not been mounted when the C constructor is called.
This reverts commit cfbd8c921dea1c30532119127127e40428d5853f.
fixes #620
Signed-off-by: Julio Montes<EMAIL_ADDRESS>

/test

/test

Lets wait for @bergwolf 's input before this is merged.

Looks ready to merge


Prefixing

This adds support for applying a prefix to every ropm module.

This is not yet complete...just wanted to get the code posted so folks could start reviewing it.
@chrisdp @georgejecook could you take a look at my logic for the prefixer to make sure I'm properly detecting function declarations, function calls, component declarations, and the various forms of component usages? Note I'm not planning on supporting node.update() in the initial release...that'll take a little more work to safely detect those.
https://github.com/rokucommunity/ropm/pull/8/files#diff-21165ee6b7410e92603f67c11fa9e21c


Problem loading grammar

Hi!
First of all, thanks for the project!
After today's update i got the following error when I try to run black on ST 4126, Ubuntu 20.04
  File "/opt/sublime_text/Lib/python38/sublime_plugin.py", line 1518, in run_
    return self.run(edit)
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/commands.py", line 50, in run
  File "/home/***/.config/sublime-text/Packages/python-black/python_black/utils.py", line 200, in black_format
  File "/home/***/.config/sublime-text/Packages/python-black/python_black/utils.py", line 177, in format_by_import_black_package
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/black.py", line 16, in <module>
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/black/__init__.py", line 7, in <module>
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/black/nodes.py", line 36, in <module>
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pygram.py", line 180, in initialize
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pgen2/driver.py", line 309, in load_packaged_grammar
  File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pgen2/grammar.py", line 129, in loads
TypeError: a bytes-like object is required, not 'NoneType'

Sorry, I will fix this bug as soon as possible.
If you know how to fix this bug, you are welcome to submit a pr.
From My iPhone

在 2022年2月4日，17:26，AzierAriel @.***> 写道：

Hi!
First of all, thanks for the project!
After today's update i got the following error when I try to run black on ST 4126, Ubuntu 20.04
File "/opt/sublime_text/Lib/python38/sublime_plugin.py", line 1518, in run_
return self.run(edit)
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/commands.py", line 50, in run
File "/home//.config/sublime-text/Packages/python-black/python_black/utils.py", line 200, in black_format
File "/home//.config/sublime-text/Packages/python-black/python_black/utils.py", line 177, in format_by_import_black_package
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/black.py", line 16, in
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/black/init.py", line 7, in
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/black/nodes.py", line 36, in
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pygram.py", line 180, in initialize
File "/home//.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pgen2/driver.py", line 309, in load_packaged_grammar
File "/home/***/.config/sublime-text/Installed Packages/python-black.sublime-package/python_black/lib/blib2to3/pgen2/grammar.py", line 129, in loads
TypeError: a bytes-like object is required, not 'NoneType'
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.


Add smoother level select transition

First pull request, the old transition code has been kind of bugging me, I'm not gonna lie.
I found that the screen doesn't change color when switching levels. I'll check now if I messed something up.

Ok, I foudn out why the screen wasn't changing color, fixed


Intentionally return only empty values?

Is there a way to intentionally return only the empty values in a column?
I'm using list.js to sort/filter a table with english translations on the left, and a target language translation on the right. It would be really helpful if I could make a checkbox that filters out all the work you've already done and only presents the rows that don't have a target translation yet. I was thinking I could attach an event to the checkbox to do this with something like:
listObj.search('',['targettranslation']);

But alas. It does not work. It treats the empty string as if it should return all results.
Is there a way to intentionally filter for empty values?

Sounds like something that could be solved with filters -> http://www.listjs.com/docs/list-api#filter

Yep. Looks like it. Thanks!


suppresion false positive report from tsan

What problem does this PR solve?
Issue Number: close #5088
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/merge


Tests fail with Pygments 2.1

Looks like Pygments 2.1 broke the codehilite tests: https://bugs.debian.org/813028.
I tried restarting the latest build on Travis so that the error is reproduced there, but got a different failure…

Interesting. I have not been following Pygments and wondered when some change of theirs would break things. It appears from the Debian bug report that Pygments changed the names of the HTML classes assigned to the various parts. An easy fix for that it to have our tests simply verify that we get highlighted code without actually do a character for character comparison of the output.
The Travis error appears to be unrelated. Some sort of failure when installing the dependencies.  I'm getting that pip has "no such option: --download-cache". However, our Travis config defers to tox and tox calls pip, so maybe this is a tox bug. Not sure what to make of that.

I reported the travis/tox/pip error to tox. See that report if you are curious about it. Now lets focus on the Pygments failure here.

So I fixed the travis/tox/pip issue (see eda5d198) and I'm not seeing this Pygments error. Although it appears that pip version 8 is not Python3.2 compatible (see release notes) so we have an error there. Sigh.

Addressed the py32 issue in 5562b054b. Still, not seeing any Pygments related failures.

Ah, that's because there is no Pygments in test-requirements.txt and thus the codehilite tests are skipped (how about adding it there)?
However I am confident that there were changes in Pygments 2.1 which affected HTML output. For example Sphinx devs changed their tests because of this: sphinx-doc/sphinx@5574aba60ed76f2b.
Re Python 3.2, I don't think we should care about it anymore (but we should definitely add 3.5 if Travis supports it).

Thanks @mitya57 for passing that report on. It appears to be fixed now.

but we should definitely add 3.5 if Travis supports it

I agree. However, Travis support is only "sort of". See here for an explanation. I figure I'll add that with the next major release. Hopefully by then Travis support for 3.5 will be complete.

Thanks for fixing it so quickly! Works for me now too.


Marvin pip installation

Don't forget: before upload the wheel file, is needed:

Change the version in VERSION file
Update the engine template setup to install marvin-python-toolbox==0.0.4
Create the version 0.0.4 for engine executor
Create a new wheel file for 0.0.4 version

To test pip installation:

Generate the .whl file:

$ git pull --all
$ git checkout nvl_pip_instalation
$ python setup.py bdist_whell --universal

For docker tests, install SO dependencies:

$ sudo apt-get install libsasl2-dev python-pip graphviz default-jre python3-dev

Obs: python3-dev is required only for python 3 tests

For docker tests, copy the wheel file to container:

$ sudo docker cp dist/marvin_python_toolbox-0.0.3-py2.py3-none-any.whl <container_name>:marvin_python_toolbox-0.0.3-py2.py3-none-any.whl

Install the toolbox with or without virtualenv:

$ pip install marvin_python_toolbox-0.0.3-py2.py3-none-any.whl

Create a new engine:

$ marvin engine-generate

Replace the marvin toolbox inside the engine:

$ pip uninstall marvin-python-toolbox
$ pip install marvin_python_toolbox-0.0.3-py2.py3-none-any.whl

Test the engine:

$ marvin notebook
$ marvin engine-httpserver

@rafaelnovello I got this error trying to run in an python2 environment
(pypi-env) taka:marvin taka$ marvin --help

Traceback (most recent call last):
  File "/Users/taka/.virtualenvs/pypi-env/bin/marvin", line 23, in <module>
    from marvin_python_toolbox.config import find_inidir, parse_ini
  File "/Users/taka/.virtualenvs/pypi-env/lib/python2.7/site-packages/marvin_python_toolbox/__init__.py", line 20, in <module>
    from .manage import *
  File "/Users/taka/.virtualenvs/pypi-env/lib/python2.7/site-packages/marvin_python_toolbox/manage.py", line 18, in <module>
    from .management import *
  File "/Users/taka/.virtualenvs/pypi-env/lib/python2.7/site-packages/marvin_python_toolbox/management/__init__.py", line 30, in <module>
    from .engine import cli as cli_engine
  File "/Users/taka/.virtualenvs/pypi-env/lib/python2.7/site-packages/marvin_python_toolbox/management/engine.py", line 34, in <module>
    from marvin_python_toolbox.common.data import MarvinData
  File "/Users/taka/.virtualenvs/pypi-env/lib/python2.7/site-packages/marvin_python_toolbox/common/data.py", line 23, in <module>
    import requests
ImportError: No module named requests

@takabayashi  In my python2 environment it worked, i thinks its because "requests" is not a built in module, it requires installation "sudo pip install requests". We should put requests in dependecy list.

Codecov Report

Merging #96 into master will increase coverage by 0.75%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #96      +/-   ##
=========================================
+ Coverage   70.64%   71.4%   +0.75%
=========================================
  Files          24      24
  Lines        2160    2217      +57
  Branches      236     246      +10
=========================================
+ Hits         1526    1583      +57
- Misses        613     615       +2
+ Partials       21      19       -2

Impacted Files
Coverage Δ

marvin_python_toolbox/management/engine.py
55.55% <0%> (-0.14%)
:arrow_down:

...n_python_toolbox/engine_base/engine_base_action.py
91.95% <0%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


⚠ Bofrost.be has degraded performance

In 9154df5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1395 ms

Resolved: Bofrost.be performance has improved in b5fed23 after 9 minutes.


Serilog properties -> Sentry Tags (Sentry.Serilog)

Hi @olsh,
Real nice package, the below feature for setting Tags from Serilog properties works really well.
new LoggerConfiguration()
.WriteTo.Sentry("dsn", tags: "DemoId,UserId")
.Enrich.WithProperty("DemoId", demoId)
...
// UserId and DemoId will be logged as tags
_log.Error("Something went wrong {UserId}", userId);
However, this package seem to have been depreciated. So I'm now looking to upgrade to Sentry.Serilog, but it seems like there isn't an equivalent feature? or am I missing something?

Hi @Vincent-Balungay-EcoOnline
I don't know if there is such a feature.
I think, that the new SDK repo is the right place to post your question.


Doc Build Warnings Should Cause Failures

https://travis-ci.com/rmorshea/idom/jobs/258370959
WARNING: Cannot resolve forward reference in type annotations of "idom.core.element.element": name 'VdomDict' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.core.element.AbstractElement.mount": name 'AbstractLayout' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.core.element.Element": name 'VdomDict' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.core.element.Element.mount": name 'AbstractLayout' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.server.base.AbstractRenderServer": name 'Element' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.server.sanic.SanicRenderServer": name 'Element' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.server.sanic.PerClientState": name 'Element' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.server.sanic.SharedClientState": name 'Element' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.widgets.common.EvalElement.mount": name 'AbstractLayout' is not defined
WARNING: Cannot resolve forward reference in type annotations of "idom.widgets.inputs.Input.mount": name 'AbstractLayout' is not defined
WARNING: Cannot treat a function defined as a local function: "idom.widgets.html.html"  (use @functools.wraps)
WARNING: Cannot resolve forward reference in type annotations of "idom.widgets.html.html": name 'EventHandlerFunction' is not defined

I have a sphinx extension that I've been using at work that I would like to open source to help fix these issues.

Completed in #409


TypeScript declarations tests

We should have some tests for the TypeScript declarations.
Rewriting our tests in TypeScript would keep them always up to date.
Related to: https://github.com/NativeScript/ios-runtime/issues/52

Moved to https://github.com/NativeScript/ios-runtime/issues/282


Wrong Type Hintings

vscode-zig version:
Zig Language v0.5.9
Issues:
I want a pointer with type *usize, so I allocated some memory with ArenaAllocator,. It should give me a buffer with type []usize, but the hinted result is []u8:

This is probably caused by https://github.com/zigtools/zls/issues/1841

This is probably caused by zigtools/zls#1841

Wow you really nailed it!!!
My first allocated memory has a type of  u8:
const buffer = try arena.alloc(u8, stat.size);
And the type deduction is u8
When I changed this line to const buffer = try arena.alloc(usize, stat.size);, all the left deductions are changed to usize!
I'm actually not familiar with vscode-zig and I just disabled zls in vscode a few days ago. It seems that this plugin depends on zls.


NIFI-2150: Cleanse more values from templates that are not necessary.…

… Additionally, updated javadocs in ProcessorConfigDTO to provide further explanation of the getAutoTerminatedRelationships() method, since this was confusing

Reviewing...

Just glancing through an old template and looks like we should also be scrubbing the following...

Process Group
-- activeRemotePortCount, disabledCount, inactiveRemotePortCount, inputPortCount, invalidCount, outputPortCount, runningCount, stoppedCount
Remote Process Group
-- activeRemoteInputPortCount, activeRemoteOutputPortCount, inactiveRemoteInputPortCount, inactiveRemoteOutputPortCount, name
Root Group Port
-- transmitting, validationErrors

@mcgilman good call! I also found a few more things for these components that we don't need. I have pushed a new commit so that you can look at it and make sure that the changes all make sense to you, as well.

@markap14 Looks great! I made one additional change to populate snippet results off of the actual components instead of just the snippet contents (since the contents are now pruned).
https://github.com/mcgilman/nifi/commit/1b8d231cedbf192fd1027a5a3913fd04b525cc0f

@mcgilman good call. Looks good to me!


The table is beyond the maximum width

I use Ghost 1.0 RC, and casper version is 2.0.0
When I use the Markdown syntax in the post to write a table, if the contents of the table is too long, it will not wrap. Causing the table to overflow the page, like the following

I noticed that the table's white-space is nowrap. When I disable it, the table style is back to normal

After looking at #322 I'm pretty sure you're running on Ghost 0.11/LTS -- Casper 2.0 is not compatible with LTS. If you want to use new Casper you'll need to be running on Ghost 1.0 -- compatibility is specified in package.json
Feel free to re-open if I'm wrong

I'm sure I'm running on Ghost 1.0
I am using the ghost-cli tool to install and refer to this document https://docs.ghost.org/docs/installing-ghost-via-the-cli
[root@instance-1 blog]# ghost version
Ghost-CLI version: 1.0.0-rc.3
Ghost Version (at ~/blog): 1.0.0-rc.1

I'm running into the same issue with Ghost 1.1.0/Casper 2.0.1. The problem seems to be related to white-space: nowrap; in .post-full-content table.


[moc] Adding ChmodRecursivelyAdmin only function

Added ChmodRecursivelyAdmin function for windows, linux, and darwin.
For Windows it will set the directory to be BUILTIN\Adminstrators access only and grant it (OI)(CI)(F)
For Linux and Darwin, it will recursively grant all the subdirectories and folders to have 0700 file permission.

/azp run

/azp run


[epic] Strapi API

Fixed with
https://github.com/reliefsupports/reliefsupports/pull/1
https://github.com/reliefsupports/reliefsupports/pull/2
https://github.com/reliefsupports/reliefsupports/pull/3


[FEATURE] Support filter queries for approximate k-NN that is based on Faiss

Is your feature request related to a problem? Please describe.
We do not have support to effectively filter docs and then apply k-NN specifically on the filtered docs. This will help guarantee to obtain k Nearest Neighbors on the filtered set. Please note, we're requesting only for Faiss based approximate k-NN search.
Describe the solution you'd like
Ideally we'd like to do k-NN approximate search on a sub-set of docs that match filtering criteria and have a guarantee of top K docs in result. We want to be able to define the filter(s) in knn query and use existing OpenSearch queries as filters (boolean, term etc.).
Describe alternatives you've considered
Pre-filtering is supported with scoring script but in form of exact brute-force k-NN search. Post-filtering can be done as approximate search with post-processing, but problem is that top k results are not guaranteed.
Additional context
We'd like to have parity with k-NN powered by Lucene, https://github.com/opensearch-project/k-NN/issues/376

Should this issue live in the k-nn repo?

Should this issue live in the k-nn repo?

agree, let me close this one


Refactor find_wildcard_matches() to allow for proper testing

Some tests weren't running correctly (add_probes_character_class)
and some were system-dependent (e.g. add_probes_uprobe_wildcard).

Wait for #508 to be merged before merging this. Should also add USDT wildcard tests.

This is waiting on find_usdt_wildcard_matches() being removed

I had to do some nasty hacks in here to make all the related code testable

Yep, tests are failing because of that. That's what I meant to say in my comments above but wasn't very clear

Noticed I'd missed the case where there is no namespace for a USDT probe. I've added a test to make sure that has a wildcard inserted too now. i.e. usdt:/bin/sh::mytracepoint is equivalent to usdt:/bin/sh:*:mytracepoint
@dalehamel Could you check the new test cases I've added (bpftrace.add_probes_usdt_wildcard and bpftrace.add_probes_usdt_empty_namespace) to make sure that's how you expect USDT wildcarding to work?
And would someone also be able to run the USDT runtime tests to ensure I've not broken them?

Will do @ajor, also have a fix for the broken alpine builds locally. Will get to this in the next few days, I have a few house projects I need to wrap up.


Forms don't submit on Safari 9.1

I think this has something to do with the use of Async/Await.
The components in question are views/story.js and views/ServiceRequest.js

I would take this task.

The form in story.js now works in Safari 9.1, but ServiceRequest.js is giving the follow error
TypeError: n.uploadInput.files[Symbol.iterator] is not a function. (In 'n.uploadInput.files[Symbol.iterator]()', 'n.uploadInput.files[Symbol.iterator]' is undefined)
There must be something being used to handle file uploads that is not supported by Safari 9.1, but I have not been able to find it yet.

This error occurs on IE 11 as well. Getting "Symbol undefined" error.

I got same error might include babel polyfill script tag or polyfill Io for older compatibility

For now I have added a note for users that the form will not work on older browsers. It would still be nice to get this working at some point, but I can't spend any more time on it right now.


Operator negation in AQL - part 2: negation without existence assumption

This enhancement extends #186 , negation with existence assumption, and should probably be implemented after that issue is closed.
Often, we want a negative search to confirm that some element does not interact with our data in some way. This element doesn't have to exist: we just want to make sure it is not there (i.e. nothing, the empty set is fine as fulfilling the place of #n). This probably requires a "where not exists..." clause in the SQL generation.
It will be necessary to mark potentially non-existent elements in AQL. This will be done by suffixing a ? to the search expression. Here are some examples: suppose we want to find all NPs not dominated by a PP. It is not the case that a PP needs to be found and then checked for dominance of the NP. We simply want to go over everyone who dominates the NP (if at all) and make sure that none of them are PPs. We therefore explicitly state that we are not really searching for the PP. Note that the PP cannot be bound to the positive nodes in the query (those without ?) - otherwise its existence is implied and the solution in  #186 applies. Here is the query:
cat="NP" & cat="PP"? & #2 !> #1

This finds all NPs, then checks whether a cat="PP" exists which dominates them. If so, they are removed from the result set.
In the context of this issue, only simple annotation searches are valid as operands of the negated operator. It is not possible to connect two optional elements with a negated or non-negated operators. More complex structures would be introduced by #199 .

@amir-zeldes I'm almost finished implementing this  in PR #200, but I changed the syntax from a suffix ? to a postfix ? (optional nodes were marked with ?tok and is now marked with tok?. Is there a specific reason why we decided on prefix-? previously?.
The motivation to change this is:

to allow an AQL parser to differentiate the context in case we will use the ? operator e.g. for optional terms (regex-style)
to be more comparable to the regular expression operator. It is always confusing when special characters from regex behave differently in AQL (like .) and having the ? at the front would be more confusing in my opinion.

Wow, this is amazing!!
The notation seems OK to me - the only disadvantage is the graphical dissimilarity of the case with key=val vs. just key, since "?" is sometimes adjacent to the key name and sometimes not:
key?
key="val"?
But I agree with your reasoning. Also note that #199 still has an example of the prefix notation.
Fantastic work implementing this, I really want to switch to ANNIS4 now!


How can text be added to the steps?

In the project page the steps have text (Eeny, Miny, Moe) but there's nothing on the examples on how to do it.

See this closed issue:
#18
which references the code here:
https://github.com/adi518/vue-stepper-component/blob/master/docs/src/containers/Docs.vue#L32