text:
can't install @datadog/mobile-react-native

Describe what happened
When I try to install the Datadog Real User Monitoring (RUM) on my react-native project, with the command: npm install @datadog/mobile-react-native . I get the following error:
77 error code 1
78 error path myprojectFolder\node_modules\@datadog\mobile-react-native
79 error command failed
80 error command C:\WINDOWS\system32\cmd.exe /d /s /c scripts/replace-react-require.js

this error occurs only when I try to install the datadog libraries, other libraries work fine.
I´m Using react-native 0.68.0, gradle version: 6.7.1 and gradle plugin version: 4.2.0
Steps to reproduce the issue:
try to install the library with the command: npm install @datadog/mobile-react-native
Describe what you expected:
I expect to be able to install  the Datadog RUM in my project
Additional context

Version of the SDK: "@datadog/mobile-react-native@latest"
package.json:
...
"dependencies": {
"@ant-design/icons": "^4.2.1",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "^5.9.4",
"@react-native-community/slider": "^3.0.3",
"@react-native-community/toolbar-android": "^0.2.1",
"@react-native-mapbox-gl/maps": "^8.4.0",
"@react-native-picker/picker": "^1.12.0",
"@react-navigation/bottom-tabs": "^5.7.2",
"@react-navigation/drawer": "^5.8.4",
"@react-navigation/material-bottom-tabs": "^5.2.14",
"@react-navigation/native": "^5.8.9",
"@react-navigation/stack": "^5.14.9",
"@reduxjs/toolkit": "^1.8.4",
"@sentry/react-native": "^3.4.1",
"@supersami/rn-foreground-service": "^1.1.1",
"@turf/circle": "^6.3.0",
"@turf/helpers": "^6.3.0",
"@turf/turf": "^6.3.0",
"adb": "^0.2.0",
"axios": "^0.21.1",
"color-convert": "^2.0.1",
"jdk": "^0.0.0",
"link": "^1.4.0",
"moment": "^2.29.1",
"npm-check-updates": "^12.5.11",
"react": "17.0.2",
"react-devtools": "^4.24.7",
"react-moment": "^1.1.1",
"react-native": "0.68.0",
"react-native-action-button": "^2.8.5",
"react-native-android-location-enabler": "^1.2.2",
"react-native-cli": "^2.0.1",
"react-native-color-picker": "^0.6.0",
"react-native-compass-heading": "^1.3.0",
"react-native-date-ranges": "^2.5.0",
"react-native-datepicker": "^1.7.2",
"react-native-document-picker": "^4.2.0",
"react-native-dropdown-picker": "^4.0.9",
"react-native-elements": "^2.3.2",
"react-native-exception-handler": "^2.10.9",
"react-native-exit-app": "^1.1.0",
"react-native-flatlist-slider": "^1.0.5",
"react-native-fs": "^2.16.6",
"react-native-geolocation-service": "^5.2.0",
"react-native-gesture-handler": "^1.8.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-location": "^2.5.0",
"react-native-mail": "^6.1.1",
"react-native-masked-text": "^1.13.0",
"react-native-material-menu": "^1.2.0",
"react-native-modal": "^11.5.6",
"react-native-offline": "^5.7.0",
"react-native-option-select": "^1.0.4",
"react-native-paper": "^4.7.2",
"react-native-picker-select": "^7.0.0",
"react-native-popup-menu": "^0.15.10",
"react-native-pull-to-refresh": "^2.1.3",
"react-native-raw-bottom-sheet": "^2.2.0",
"react-native-reanimated": "^1.13.4",
"react-native-responsive-screen": "^1.4.1",
"react-native-restart": "0.0.17",
"react-native-safe-area-context": "^3.0.6",
"react-native-screens": "^2.15.0",
"react-native-select-input-ios": "^2.0.5",
"react-native-sensors": "^7.3.5",
"react-native-share": "^7.3.2",
"react-native-slider-color-picker": "^2.2.0",
"react-native-sliding-up-down-panels": "^1.0.0",
"react-native-smtp-mailer": "^1.2.5",
"react-native-svg": "^12.1.1",
"react-native-svg-uri": "^1.2.3",
"react-native-swipe-up-down": "^1.0.7",
"react-native-vector-icons": "^6.7.0",
"react-native-wheel-color-picker": "^1.0.2",
"react-navigation": "^4.4.3",
"react-navigation-hooks": "^1.1.0",
"react-navigation-material-bottom-tabs": "^2.3.0",
"react-redux": "^7.2.0",
"reactotron": "^0.9.0",
"reactotron-react-native": "^5.0.0",
"reactotron-redux": "^3.1.3",
"realm": "^6.1.8",
"reanimated-bottom-sheet": "^1.0.0-alpha.22",
"redux": "^4.0.5",
"redux-offline-queue": "^1.0.8",
"redux-saga": "^1.1.3",
"rn-fetch-blob": "^0.12.0",
"rn-sliding-up-panel": "^2.4.5",
"seamless-immutable": "^7.1.4",
"stacktrace-parser": "^0.1.10",
"symbol-observable": "^4.0.0",
"tinycolor2": "^1.4.1",
"tokml": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-flow": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.5",
"@testing-library/react-native": "^11.0.0",
"axios-mock-adapter": "^1.21.2",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "17.0.2"
},
"jest": {
"preset": "react-native"
},
"rnpm": {
"assets": [
"./assets/fonts/"
]
}

Thank you so much, the  version 1.1.3  worked fine for me !
I also had  tried the 1.0.0-rc5 version but it didn't work, it returns the same error.

I'm still having this issue on my Mac

Hi @elmcapp,
The issue was automatically closed when the PR was merged, it will be released in the very next version :)

authors: elmcapp louiszawadzki lukssds

repo: DataDog/dd-sdk-reactnative


text:
Add coming soon banner

What does this PR do?
Add coming soon banner for Dash

Incorporated some small feedback from @tbavelier
#15364

source: gharchive/pull-request

repo: DataDog/integrations-core

license_type: permissive

license_source: github-api


text:
Fix .NET CLR Test Results

What does this PR do?
The PR fixes test results for .NET Core.
Additionally it removes leading periods from trace captures for consistency.
Motivation
The .NET CLR integration's test results and traces are placed in a directory called ".NET CLR". Since it starts with a period, it's a hidden directory. The upload-artifact and EnricoMi/publish-unit-test-result-action actions will then ignore the contents.
We can make upload-artifact process hidden files with a flag, but there is no such option for EnricoMi/publish-unit-test-result-action. Instead, in the test and trace results directory, we're replacing any leading period with the "Dot" string.
EnricoMi/publish-unit-test-result-action is an action that displays test statistics in a panel in GitHub.
Additional Notes
Removing the dots in front of "trace-captures" is not part of the fix, it's just for consistency with "test-results" (see the first comment in this PR).
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Changelog entries must be created for modifications to shipped code
[ ] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
[ ] If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Full test results for all integrations are here: https://github.com/DataDog/integrations-core/actions/runs/11367560863

@iliakur Thanks for the review!


text:
🛑 Bar is down

In cb3e155, Bar (https://bar.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bar is back up in 1f31e83 after 9 minutes.

source: gharchive/issue

repo: DataEnsta/upptime

license: MIT


text:
🛑 Gitlab is down

In eb9a55a, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in 0269736 after 10 minutes.


text:
🛑 Gitlab is down

In 1f5bcc7, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in fa3b433 after 25 minutes.


text:
Update demo_videos.md

@Gurudas12 Please verify the new links for the videos.

@Gurudas12 Please check the latest commit.

This is completed in a different PR and pushed to docs.datatorrent.com

repo: DataTorrent/docs

license_source: bigquery


text:
Open Source Dataherald with custom model

Hello, thank you for open sourcing this amazing project.
I would like to explore the framework in local using the opensource version. I would like to fine-tune an HuggingFace model on the golden queries and then exploit the dataherald framework to connect with the data source and use the endpoints.
Is this possible with the open source version using a docker app?
Thank you for your help!

Hi @santurini -- yes this is possible. We recently added this support and will publish some documentation on it in the next 3-4 days.

Looking forward to it!
Will there also be instructions on how to fine-tune the models in order to be compliant?
Thank you for this great work!!

Thank you very much!

repo: Dataherald/dataherald


text:
How do we handle temporal changes

When the spatial data for a feature changes over time, how are relationships with other features affected? Or activities?
How can changes be defined to allow easy traceability?

One simple robust trick I used in a project years ago was to have a date column and a current use flag column in the ESRI geodatabase and shapefile. The whole history was there via filter

In the ICAR specs we used a Meta Data sub object, which had validFrom and validTo date-time fields. If validTo was not set, then the object could also be considered "current".
Systems that used data from this interface could then check the validity dates to decide what to display, or whether an activity date falls within the validity period.

Further to this, see issue #10 which brings together common meta data.

Resolved by MetaDataType - validFrom and validTo.

authors: MikePetersNZ cookeac phillipsp73

repo: Datalinker-Org/Geospatial


text:
Building Plone runs out of memory

see https://discourse.nixos.org/t/mach-nix-create-python-environments-quick-and-easy/6858/73?u=davhau

Hi @DavHau, I should have opened an issue in the first place ;-)
So I've run the following command with the 2.4.1 version:
mach-nix  env -p 3.8 -r requirements-buildout.txt plone-env

and where requirements-buildout.txt contains the following data:
AccessControl==4.2
Acquisition==4.6
AuthEncoding==4.1
BTrees==4.7.2
Chameleon==3.8.1
DateTime==4.3
DocumentTemplate==3.3
ExtensionClass==4.4
Markdown==3.2.2
Missing==4.1
MultiMapping==4.1
Paste==3.4.1
PasteDeploy==2.1.0
Persistence==3.0
Pillow==6.2.2
Plone==5.2.2
Products.BTreeFolder2==4.2
Products.CMFCore==2.4.8
Products.CMFDiffTool==3.3.1
Products.CMFDynamicViewFTI==6.0.3
Products.CMFEditions==3.3.4
Products.CMFFormController==4.1.2
Products.CMFPlacefulWorkflow==2.0.2
Products.CMFPlone==5.2.2
Products.CMFQuickInstallerTool==4.0.3
Products.CMFUid==3.0.2
Products.DCWorkflow==2.4.1
Products.DateRecurringIndex==3.0.1
Products.ExtendedPathIndex==4.0.0
Products.ExternalMethod==4.4
Products.GenericSetup==2.0.2
Products.MailHost==4.9
Products.MimetypesRegistry==2.1.7
Products.PlonePAS==6.0.6
Products.PluggableAuthService==2.4
Products.PluginRegistry==1.8
Products.PortalTransforms==3.1.8
Products.PythonScripts==4.12
Products.Sessions==4.6
Products.SiteErrorLog==5.4
Products.StandardCacheManagers==4.0.3
Products.TemporaryFolder==5.3
Products.ZCatalog==5.1
Products.ZopeVersionControl==2.0.0
Products.isurlinportal==1.1.0
Products.statusmessages==5.0.5
PyJWT==1.7.1
Record==3.5
RestrictedPython==5.0
Unidecode==0.4.1
WSGIProxy2==0.4.6
WebOb==1.8.6
WebTest==2.0.35
ZConfig==3.5.0
ZEO==5.2.2
ZODB==5.6.0
ZODB3==3.11.0
Zope==4.5.1
Zope2==4.0
attrs==19.3.0
beautifulsoup4==4.9.1
borg.localrole==3.1.8
calmjs.parse==1.2.4
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
collective.monkeypatcher==1.2.1
cssselect==1.1.0
decorator==4.4.2
diazo==1.4.0
docutils==0.16
feedparser==5.2.1
five.customerize==2.0.1
five.intid==1.2.6
five.localsitemanager==3.2.2
future==0.18.2
icalendar==4.0.6
idna==2.10
jsonschema==3.2.0
lxml[cssselect]==4.5.1
mockup==3.2.2
persistent==4.6.4
piexif==1.1.3
plone.alterego==1.1.5
plone.api==1.10.2
plone.app.caching==2.0.6
plone.app.content==3.8.6
plone.app.contentlisting==2.0.2
plone.app.contentmenu==2.3.2
plone.app.contentrules==4.1.4
plone.app.contenttypes==2.1.10
plone.app.customerize==1.3.11
plone.app.dexterity[relations]==2.6.5
plone.app.discussion==3.4.2
plone.app.event==3.2.7
plone.app.i18n==3.0.6
plone.app.intid==1.1.4
plone.app.iterate==3.3.14
plone.app.layout==3.4.4
plone.app.linkintegrity==3.3.13
plone.app.locales==5.1.24
plone.app.lockingbehavior==1.0.7
plone.app.multilingual==5.6.1
plone.app.portlets==4.4.5
plone.app.querystring==1.4.14
plone.app.redirector==2.2.1
plone.app.registry==1.7.6
plone.app.relationfield==2.0.2
plone.app.textfield==1.3.4
plone.app.theming==4.1.4
plone.app.upgrade==2.0.34
plone.app.users==2.6.5
plone.app.uuid==2.0.2
plone.app.versioningbehavior==1.4.1
plone.app.viewletmanager==3.1.1
plone.app.vocabularies==4.2.0
plone.app.widgets==3.0.4
plone.app.workflow==4.0.2
plone.app.z3cform==3.2.1
plone.autoform==1.9.0
plone.batching==1.1.6
plone.behavior==1.3.2
plone.browserlayer==2.2.3
plone.cachepurging==2.0.2
plone.caching==1.2.2
plone.contentrules==2.0.10
plone.dexterity==2.9.7
plone.event==1.4.1
plone.folder==3.0.3
plone.formwidget.namedfile==2.1.0
plone.formwidget.recurrence[z3cform]==2.1.4
plone.i18n==4.0.6
plone.indexer==1.0.7
plone.intelligenttext==3.1.0
plone.keyring==3.1.2
plone.locking==2.2.4
plone.memoize==2.1.0
plone.namedfile[blobs,scales]==5.4.0
plone.outputfilters==4.0.1
plone.portlet.collection==3.3.3
plone.portlet.static==3.1.4
plone.portlets==2.3.2
plone.protect==4.1.5
plone.recipe.zope2instance==6.7.5
plone.registry==1.1.6
plone.resource==2.1.2
plone.resourceeditor==3.0.2
plone.rest==1.6.1
plone.restapi==6.13.7
plone.rfc822==2.0.2
plone.scale[storage]==3.1.1
plone.schema==1.2.1
plone.schemaeditor==3.0.1
plone.session==3.7.5
plone.staticresources==1.3.2
plone.stringinterp==1.3.2
plone.subrequest==1.9.2
plone.supermodel==1.6.2
plone.synchronize==1.0.4
plone.theme==3.0.7
plone.transformchain==2.0.2
plone.uuid==1.0.6
plone.z3cform==1.1.3
plonetheme.barceloneta==2.1.9
ply==3.11
pyScss==1.3.7
pycparser==2.20
pyrsistent==0.15.7
python-dateutil==2.8.1
python-gettext==4.0
pytz==2020.1
repoze.xmliter==0.6
requests==2.24.0
roman==3.2
simplejson==3.17.0
six==1.15.0
soupsieve==1.9.6
tempstorage==5.1
transaction==3.0.0
urllib3==1.25.9
waitress==1.4.4
z3c.autoinclude==0.4.0
z3c.caching[zcml]==2.2
z3c.form==3.7.0
z3c.formwidget.query==0.17
z3c.objpath==1.2
z3c.pt==3.3.0
z3c.relationfield==0.9.0
z3c.zcmlhook==1.0b1
zExceptions==4.1
zc.lockfile==2.0
zc.recipe.egg==2.0.7
zc.relation==1.1.post2
zdaemon==4.3
zodbpickle==2.0.0
zope.annotation==4.7.0
zope.app.locales==4.1
zope.browser==2.3
zope.browsermenu==4.4
zope.browserpage==4.4.0
zope.browserresource==4.4
zope.cachedescriptors==4.3.1
zope.component[zcml]==4.6.2
zope.componentvocabulary==2.2.0
zope.configuration==4.4.0
zope.container==4.4.0
zope.contentprovider==4.2.1
zope.contenttype==4.5.0
zope.copy==4.2
zope.deferredimport==4.3.1
zope.deprecation==4.4.0
zope.dottedname==4.3
zope.event==4.4
zope.exceptions==4.3
zope.filerepresentation==5.0.0
zope.globalrequest==1.5
zope.hookable==5.0.1
zope.i18n[zcml]==4.7.0
zope.i18nmessageid==5.0.1
zope.interface==5.0.2
zope.intid==4.3.0
zope.keyreference==4.2.0
zope.lifecycleevent==4.3
zope.location==4.2
zope.pagetemplate==4.5.0
zope.processlifetime==2.3.0
zope.proxy==4.3.5
zope.ptresource==4.2.0
zope.publisher==5.2.1
zope.ramcache==2.3
zope.schema==6.0.0
zope.security==5.1.1
zope.sendmail==5.1
zope.sequencesort==4.1.2
zope.site==4.3.0
zope.size==4.3
zope.structuredtext==4.3
zope.tal==4.4
zope.tales==5.1
zope.testbrowser==5.5.1
zope.testing==4.7
zope.traversing==4.4.1
zope.viewlet==4.2.1

setuptools

trying with 3.0.0 exits almost immediately with the following:
The Package 'python-gettext' is not available from any of the selected providers {'nixpkgs', 'sdist', 'wheel'}
 for the selected python version
If the package's initial release date predates the release date of mach-nix, either upgrade mach-nix itself or manually specify 'pypi_deps_db_commit' and
'pypi_deps_db_sha256 for a newer commit of https://github.com/DavHau/pypi-deps-db/commits/master
If it still doesn't work, there was probably a problem while crawling pypi.
Please open an issue at: https://github.com/DavHau/mach-nix/issues/new

builder for '/nix/store/5b4in4sih79vcrabxa1c0vz5y9c5mr9y-mach_nix_file.drv' failed with exit code 1
error: build of '/nix/store/5b4in4sih79vcrabxa1c0vz5y9c5mr9y-mach_nix_file.drv' failed

But about the error message, I don't understand what manually specify 'pypi_deps_db_commit' and 'pypi_deps_db_sha256 for a newer commit means... where should I specify it?

Hey I debugged it a little today and it seems like the problem is with my cycle detection algo.
It might be to inefficient or caught in an endless loop. Will try to fix it asap

I thought it as well, but I haven't debugged it. The strange thing is the memory consumption tho... there should be something that leaks or that fills data into a global object at every cycle.

The problem should be fixed on master. Could you try again and let me know?

The main problem is that for printing the dependencies on the cmdline, I transform a DAG into a tree. Many nodes or sub-trees would have to be printed many times due to this conversion. If the DAG is too complex, then the tree representation becomes infinitely large.
I now made an optimization, so that the printed dependency tree will be shortened with a ... whenever the particular sub tree has been printed already

The master now completes the task quickly, thanks! Unfortunately activating the built environment exits with an error:
[nix-shell:~/plone-nix/plone-env]$ nix-shell --show-trace
error: while evaluating the attribute 'nativeBuildInputs' of the derivation 'interactive-python3-3.7.9-environment' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:54:9:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.7.9-env' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:15:13:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'unique' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:643:12, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:649:17:
while evaluating anonymous function at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:152:16, called from undefined position:
while evaluating the attribute 'out.outPath' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/customisation.nix:156:13:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.7-zope.tales-5.1' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:110:5:
while evaluating 'chooseDevOutputs' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/attrsets.nix:475:22, called from undefined position:
while evaluating 'optionals' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/lists.nix:270:5, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:122:10:
while evaluating 'hasSuffix' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/lib/strings.nix:212:5, called from /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:122:25:
while evaluating the attribute 'src.name' at /nix/store/m9zxaa8ma0wl125id40fldp8gqv1vn24-nixpkgs/pkgs/build-support/fetchurl/default.nix:122:3:
\u characters in JSON strings are currently not supported

Another issue seems that it has created  a py3.7 environment even if  -p 3.8 had been specified

That \u characters in JSON strings are currently not supported error can be prevented by using nixFlakes.
nix-shell -p nixFLakes
I'll check why the python versions don't match.
In the meantime you can use a nix expression instead of the cmdline tool. Setting the python version there should definately work.

I could not verify that -p doesn't work.
Could you provide me with some more detail? Which command did you execute?

Hi,
Il 21 ottobre 2020 09:46:34 CEST, DavHau notifications@github.com ha scritto:

I could not verify that -p doesn't work.
Could you provide me with some more detail? Which command did you
execute?

You can find it in one of initial comments on this issue
--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

The json problem is fixed via https://github.com/DavHau/mach-nix/commit/967b21f331ebd9cb410211c581ce2b9e54b4522e
The version mismatch problem is fixed via https://github.com/DavHau/mach-nix/commit/ddddcaa7741b1db360733701b1fda8bfc7f9dd18

thanks

repo: DavHau/mach-nix


text:
Scala 2.13 support

It would be nice if this also worked on the latest milestone of Scala 2.13 (currently 2.13.0-M4). To make it work in my project I had to add:
scalacOptions in Compile := {
  val invalidOptions = CrossVersion.partialVersion(scalaVersion.value) match {
    case Some((2, 13)) => Set("-Yno-adapted-args", "-Ypartial-unification")
    case _ => Set.empty[String]
  }
  scalacOptions.value.filterNot(invalidOptions)
}

Ah, thanks for the reminder - I will try to have a look at this sometime over the next few days

See also: https://slideslive.com/38907975/migrating-to-scala-213

That's a great resource, thanks @pathikrit!

@gmethvin 0.1.4 is on Binary now:

Updating sbt-partial-unification should ensure that the relevant option is removed on 2.13
The only one of the options this plugin applies that is deprecated is -Yno-adapted-args
I didn't see any new options in the Compiler Options documentation that seemed like they could be applied universally

authors: DavidGregory084 gmethvin pathikrit


text:
Update ntp.conf.epp to fix issue when upgrading from NTP 4.2.0

There is a small difference between the old erb template used in NTP 4.2.0 and the new epp templates. This caused a change in the ntp config file checksum upon upgrade from NTP 4.2.0 and resulted in the service being restarted.

Integrated manually. Thanks!

repo: DavidS/puppetlabs-ntp


text:
Fix installation readme

The current readme clones the repository and then specifies to unzip the master.zip file. This is inconsistent - please fix it.
See https://github.com/openjournals/joss-reviews/issues/1049

I've replaced the previous two commands with the following one:
git clone https://github.com/DavideNardone/MTSS-Multivariate-Time-Series-Sofwtare.git <target>
and therefore updated the README file.

authors: DavideNardone krischer


text:
[2.5.1] Pdo.write: keep track of lastValue in the dataObject instead of the Pdo

Based on the code in Pdo._parsePDO() it looks the intention was to keep track of lastValue per dataObject in pdo.dataObjects, but lines 153-156 store lastValue in the Pdo itself:
            if(pdo.lastValue != newValue) {
                pdo.lastValue = newValue;
                dataUpdated = true;
            }

I think these lines should be replaced by
            if(dataObject.lastValue != newValue) {
                dataObject.lastValue = newValue;
                dataUpdated = true;
            }

I don't use Pdo._onMessage() because we don't have Rx PDO's in our application, but it looks like that function has the same problem.

Sorry for the delay, should be fixed in 2.5.2

Thanks, both issues are fixed!

authors: bdcdekimo wilkinsw

repo: DaxBot/node-canopen


text:
Backup Wallet locked or unlocked does not change

Hello dear community
I have the following problem and I need to be sure that my funds are save before I update to the latest version 2.3.0
I have encrypted my wallet and want to make a backup of it, before updating.
I remember that in older versions prior my current version 2.1.17, I needed to first use "walletpassphrase" in order to decrypt and only then use the Menu "Wallet->Backup Wallet". If I used the Wallet backup function without prior decryption, nothing happened.
However, in the current version 2.1.17 I use, it does not change anymore, if I have the wallet locked or unlocked. The export of the "Wallet->Backup Wallet" gives my the very same encrypted *.dat File.
Should there not be a difference, when I decrypt the wallet before?
Am I save with my encrypted wallet.dat file or do I need anything else appart from the seed to be able to restore everything in case of a problem during the update?
It confuses me that before, the export was different and in plain text, do you know what I mean?
I send DFI's to Cake daily and always need to decrypt it before (makes sense to me).

DeFi App Version: 2.1.17
Operating System (OS): Win10

Thank you so much for giving me the security that the encrypted wallet.dat (and the passphrase) is what I need to be able to restore everything in case of a problem.

Hi @wyssen, both will give same backup. I believe your wallet is already "encrypted". Using passphrase command doesn't remove the encryption, but only unlocks your wallet for a certain time. So technically, both should have same wallet.dat. But of course, keep your old backups as usual.
By the way, the new app release is out - https://github.com/DeFiCh/app/releases/tag/v2.3.0 You can now do wallet encryption on the app and not on the CLI.

Hi @thedoublejay
Thank you for your response. I was just confused because in the previous versions, the backup was not possible when wallet was locked. I needed to unlock, then backup. And then, the backup file was an unencrypted txt file.
With the version 2.1.7, I don't need to unlock prior backing up and the backup file is an encrypted dat, not an unencrypted txt anymore. For me, this is perfect, because I prefer having an encrypted file instead of the plain text obvisouly.
As long as I am able to restore in the case of an emergency. Was just confused about this different behaviour in previous versions and want to make sure that this is correct now.

Hi @wyssen, yes it was an iterative process for us for the overhaul of wallet encryption. We started with removing the "txt" backup and moving to a proper .dat backup where you can use to restore. Now with new version, you can do encryption in the app including locking and unlocking your wallet. Please have a look. You might need to re-index from 0% because it's using the new hard fork v1.5.0.
I hope I helped you solve your issue. Please close the issue if it's ok with you. Thanks!

authors: thedoublejay wyssen

repo: DeFiCh/app


text:
Linux: Snapshot not extracting in the right place

What happened:
The app downloaded the snapshot in ~/snapshot, a little weird and unclean, also not necessarily the same partition as the defichain folder but that worked. Then the app extracted the 7z file to ~, so it created ~/blocks, ~/chainstate and ~/enhancedcs. The app then said it was going to use it, and instead just restarted the network sync.
What you expected to happen:
1- The app should extract the files in the correct folder.
2- If 1- fails, the app should be somehow aware of it and say that something went wrong not just silently ignore the error. At least it's able to continue the download, or stop if it's already full, and not restart it from scratch which is already that. With a clear message, the user can easily fix the issue by moving the folders to the correct place (as I did).
How to reproduce it (as minimally and precisely as possible):
Use the sync from snapshot functionality on a Linux box.
What are your environment parameters?

DeFi Wallet Version: 2.3.3
Operating System (OS): Arch Linux

Anything else we need to know?:
By a quick look at the code, this is what I'm thinking:

const snapshotPath = path.join(getBaseFolder(), '../', SNAPSHOT_FOLDER);

So it depends on what getBaseFolder is, if it returns ~/.defi as I guess it would indeed download to ~/.defi/snapshot.. ie ~/snapshot.
Let's take a look:
getBaseFolder returns MAINNET_BASE_FOLDER, which on Linux is BASE_FILE_PATH, which is getCustomDebugLogFilePath(CONFIG_FILE_PATH), that in turn is either the empty string or config.datadir but I don't know where to find the ini functions. I do not have any datadir in my conf file, the only dir is walletdir, maybe that's the problem?
Then:

try {
log.info('Starting extraction...');
const blocksPath = path.join(getBaseFolder(), '..');
const child = spawn(UNZIP_FILE_PATH, [
x,
${fileSizes.downloadPath},
-o${blocksPath},
-aoa,
]);

explains why I see the blocks folder in ~/, but when it syncs that's not where it puts the blocks folder it goes to ~/.defi/ (I didn't check it in the code, but in my FS during network sync).
I'm glad to dig more if needed, but I'm guessing something here would be obvious to people with knowledge of this app or even just electron. Maybe @thedoublejay .
Thanks!

Hi @John-Gee , thanks for your feedback, please give us time to get back to you on the issue. In the mean time, you can add on your sharings to Running the app as a webapp (e.g. from a Raspberry Pi), another user is also Linux; connecting you guys.

Yeah no worries, as I wrote I was able to easy workaround that problem myself so there is no rush on my end, just trying to get it better for people that don't have the skills/time to fix things. Thank you!

Thanks for raising this @John-Gee. We'll take a look on this for Linux.

Cool thank you! I'll be happy to help with this if I can.

Hi @John-Gee, I have a fix for this issue. Should be included on the next app release. Thanks!

Awesome, thank you @thedoublejay !

Hi @John-Gee! If you have time, can you double verify if the fix is working on your end? We have a pre-release build here. Let us know if it's ok on your end. Thank you! - https://github.com/DeFiCh/app/releases/tag/v2.4.0-rc.3

Oh hey again @thedoublejay .
Hmmm, is the rc safe enough to load? I guess I can do that on an empty wallet anyway. Alright i'll bet back to you, likely not before a few hours, as it takes a while to download.

So I did download the snapshot from aria2c though as I was not patient enough to see that slow download... and used it with my standard wallet, hoping I wouldn't to have [censored].
Yup it worked fine this time, thank you!
I'll also paste my comment from TG:

When I downloaded the latest snaphot from 2.4.0rc it was ~30Gb. When it extracted it took ~45Gb. After letting the wallet do I'm not sure what, I see my .defi folder at 2.5Gb. Is that expected?

Congratulations on fixing this issue and the engineering work to reduce download size and synchronization time. My only suggestion would be to download the snapshot file to ~/.defi/snapshot instead of ~/snapshot to decrease pollution of the home directory. Well done!

authors: John-Gee diegorodriguezv izzycsy thedoublejay


text:
Make adapter ready for Admin v3

For Admin3 some changes are needed: see http://forum.iobroker.net/viewtopic.php?f=24&t=10268

I will take a look in the next days and start to implement the changes.


text:
Filter "Toggles" from headers data structure.

"Toggles" consists of a bunch of useless metrics of unchanging checksums. This should be filtered out of headers to prevent it from showing up in the JSON view.

Presumably, this behavior will be implemented by the gm-fabric-jvm component responsible for presenting a Prometheus scrape target.

repo: DecipherNow/gm-fabric-dashboard

license: mit


text:
Examine trans-fit processing

I see that the content trans-fit for unit-anchors (a3) isn't being processed.
Check this is representative of the content.  It certainly has unusual body content (missing id).
See how extensive this pattern is, and decide if we:

fix content
introduce special handling (possibly including _fit or _SF in the page title).

This issue is fixed.

repo: DeepBlueCLtd/LegacyMan


text:
Update README.md

Found a few spelling errors.. :)

Thanks for you contribution!

You got it. Really cool project!!

authors: KiddoZhu jspisak

repo: DeepGraphLearning/torchdrug


text:
add windows ci (fixes #2)

Adding Windows CI to see if it even requires anything special. ~Starting from the original vaaaanquish main branch to make it easier to add as a pull request there too, but that means that the (push) CI will fail, and only the (pull request) CI has any meaning.~ Never mind, cherry picked to a newer starting point to avoid trouble with the submodules.

Well, that was easier than expected. I guess that goes to show how much stuff the Windows image has preinstalled

Well, that was easier than expected. I guess that goes to show how much stuff the Windows image has preinstalled

It would be nice to know what the exact setup on the Windows image is. For me, neither building with MSVC + VS Generator nor with Clang + Ninja works.

It would be nice to know what the exact setup on the Windows image is. For me, neither building with MSVC + VS Generator nor with Clang + Ninja works.

The setup scripts used to create the image are open source: https://github.com/actions/runner-images/tree/main/images/win
Though in principle it should be enough to have CMake, MSVC, llvm (installed via Choco or the normal installer) and a correctly set LIBCLANG_PATH, and then rust run cargo build.
Oh, and recently I had some trouble with Clang 16 (and Clang 13) in another package, so maybe stay with Clang 15 for now until that dust has settled a bit

It would be nice to know what the exact setup on the Windows image is. For me, neither building with MSVC + VS Generator nor with Clang + Ninja works.

The setup scripts used to create the image are open source: https://github.com/actions/runner-images/tree/main/images/win
Though in principle it should be enough to have CMake, MSVC, llvm (installed via Choco or the normal installer) and a correctly set LIBCLANG_PATH, and then rust run cargo build.
Oh, and recently I had some trouble with Clang 16 (and Clang 13) in another package, so maybe stay with Clang 15 for now until that dust has settled a bit

That could be the issue, I installed Clang 16.

authors: leofidus matthiasvedder

repo: DeepSignSecurity/lightgbm-rs


text:
Status Sync Not Updating in Dojo

Hi,
I was able to push the finding into jira but when I close the issue in jira, the status is not updated in DefectDojo. It shows "Active"
status in dojo. When i comment it in jira, it was visible in dojo as well. But the status is not updated.
Have given the to-do and done ID's in dojo as well, not sure why the status is not reflecting in the dojo.
Can anyone help me on this

Please provide info on your setup and logs as requested in the support request template: https://github.com/DefectDojo/django-DefectDojo/blob/master/.github/ISSUE_TEMPLATE/support_request.md

authors: valentijnscholten zappaar

repo: DefectDojo/django-DefectDojo


text:
Remove MySQL incompatibility from benchmarks

Same fix as #7959 but in a different place
Fixes #8078

Why unit tests is not caught that?
Maybe need to fix? I think that can add it

authors: Maffooch shipko


text:
about training time

Hello, I want to know how long it took you to train FClip-HR? It took me more than seven days. Is there any way to reduce the training time?

Hi,
If you are not pursuing the state of the art performance, just set the training epoch to 35 and make the learning rate decay at 25 and 30 respectively, that will be enough for you to obtain acceptabel results.

Hello, I have modified the base.yaml and fclip_HR.yaml file：
lr: 4.0e-3
max_epoch: 35
lr_decay_epoch: [25,30]
weight_decay: 8.0e-4
However, the results were not so good:
f1 measure is: 0.33950091807137656
AP-H is: 0.19708869533106066
I noticed in the paper that you used a single NVIDIA GTX 2080Ti GPU to train for 300 epochs. How long did this process take?

Hi, If you are not pursuing the state of the art performance, just set the training epoch to 35 and make the learning rate decay at 25 and 30 respectively, that will be enough for you to obtain acceptabel results.

if train HG1_D2 model.  How many epochs need to be trained?

repo: Delay-Xili/F-Clip


text:
🛑 VoIP is down

In c26cf19, VoIP (voip.delta-core.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VoIP is back up in 699ee30.

repo: Delta-Core/status


text:
add points to footprints as triangles

Kind of request
Adding new functionality
Enhancement Description
Right now the point data that have no footprint connection are not included in the footprint file. We could add them with a similar shape of a triangle with a predefined size.
Task list
Change post-processing method to add the triangles in the geopackage file
Use case
No response
Additional Context
No response

low-hanging fruit and high added value.

Check the trade-off just doing it or transferring knowledge to software developers

authors: kathrynroscoe panosatha

repo: Deltares-research/FloodAdapt


text:
#736 refactor structured merging and idf.open_subdomains

Implements the ideas outlined in #736
Set to Draft, because tests still fail for merging structured multimodel cbc output (probably because cannot deal with Datasets?)

Could you start the title of the PR with "Issue #736"

authors: JoerivanEngelen Manangka

repo: Deltares/imod-python


text:
Test issue

This is a test issue.


text:
SharedCircularPropertiesTests.cs:55: 60m/DEV...

The puzzle 180-b1140a42 from #180 has to be resolved:
https://github.com/DenisZhukovski/ObjectToTest/blob/0588a92b7b144449622c0ee73907f0795c7620d3/tests/ObjectToTest.UnitTests/SharedCircularPropertiesTests.cs#L55-L55
The puzzle was created by Denis Zhukovski on 23-Feb-23.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 180-b1140a42 has disappeared from the source code, that's why I closed this issue.

repo: DenisZhukovski/ObjectToTest


text:
Essentials <PlayerTag.mute_reason> tag

The <PlayerTag.ban_reason> tag already exists, but there is currently no equivalent to fetch the Mute reason for a user.

Depenizen issues go on the Depenizen issues page.

repo: DenizenScript/Denizen


text:
penalty for very sharp turns

i previously mentionen that there's a problem with osrm suggesting "almost u-turn" in situations where a normal way splits into two oneways (often just before/after intersections). osrm enters from one of the oneways, does a very sharp turn, and returns back the other oneway.
the problem is not caused by incorrect tagging. requiring turn restrictions doesn't make much sense; it's assumed that you're not allowed to make such "almost u-turns" right outside the intersection. there are a lot of these places, and none of them has turn restrictions.
an idea for dealing with this problem could be to have a configurable penalty for very sharp corners (fx between 140 and 180 degrees). i think this would work since the sharpness of the turn is what makes it so akward/undesirable.
it might be easy to implement if you already do penalty for u-turns and left/right turns.

In principal this only needs a good, ie. working, model for turn restrictions. Once this is available it can be plugged easily.

with a model you mean sensible parameter values? can't these values be set in the speedprofile? i would love to try this out.

ii can ask the univeritiy of copenhagen if they want to develop a model based on their research in how people choose bicycle routes and what preferences they have. would that be interesting?

authors: DennisOSRM emiltin

repo: DennisOSRM/Project-OSRM


text:
Docker: release image versioneer can't detect version

I noticed this when running it in the ghcr images - that the version string printed on startup doesn't work. Tested against ghcr.io/deroetzi/solaredge2mqtt:v1.0.3
Reading into it, the version string is handled by versioneer, which can only get state from the .git directory or from the release package.
I had a look at the container build scripts but it's over my head.  One idea I had was to extract the version string from GitHub in build-project.yml and define VERSIONEER_OVERRIDE environment variable, but I'd need to learn a lot about GitHub build actions to play with it.
On startup it's this line:
2024-03-24 15:55:40.729 | INFO     | solaredge2mqtt.service:main_loop:90 - Version: 0+unknown

Is fixed

Success - confirmed:
2024-03-25 21:54:52.177 | INFO     | solaredge2mqtt.service:main_loop:90 - Version: 1.0.5

authors: DerOetzi trickv


text:
WakaTime plugin cannot send message to backend (Firefox)

Reported by Ellipse on Discord. The wakatime plugin is using chrome.runtime.sendMessage instead of the cross-browser postMessageUp solution. Either convert to postMessageUp or move the logic to the background script.

Fixed in #448

authors: FenyLabs jared-hughes

repo: DesModder/DesModder


text:
Add files via upload

new output format is function-based,
loops with try, catch;
removed include error;
this is my first pull request even though I have 33 repos. Feel free to just let me know what I need to do differently if incorrect like fork or what have you, and Ill find the instructions for that task on my own.
Do not feel the need to lay out each step missed, just broad strokes.
edit-potential errors Im thinking of post-build, could be adding additional tasks on top of the first DO function, I may need to test further. Moreover, I need to add to the GUI a COPY and Erase button. Will work out over the next couple days. Im sure sending unfinished code is poor manners, apologies.
More descriptive functions would be good.

Hey!
Don't worry about this being your first pull request, we all gotta start sometime :)
I recommend reading this for tips about pull requests: https://gist.github.com/mikepea/863f63d6e37281e329f8
I will not be accepting this pull request in this form, and the main reason is that it's way too big and contains multiple changes that each merit their own discussion in separate pull requests. I recommend you split the changes up into multiple small changes: for example making FindFirstBy and case insensitive options default. That pull request should also include your thoughts about why you think this change is necessary, and why alternative options aren't suitable.
For example, I will argue that making FindFirstBy instead of WaitElementExist the default will make the generated code less reliable: this is for example if automating a webpage, the user highlights a button and inserts the "Click()" method with the macro creator, and then highlights an Edit that appeared after the click, FindFirstBy will fail because the Edit will not be immediately visible. WaitElementExist on the other hand will be more reliable, and if the element already exists then there won't be a speed difference either between WaitElementExist and FindFirstBy. So why do you want to make FindFirstBy the default?
The case-insensitive change also doesn't make much sense to me, because the macro creator automatically inserts the exact name of the element (with the correct case), so why do you want to make it less reliable?
SetTitleMatchMode, 2 by default probably makes sense.
My original implementation for the macro creator is a bit funky. I think a better option would be
UI(winTitle:="") {
    WinActivate, %winTitle%
    WinWaitActive, %winTitle%
    return UIA.ElementFromHandle(winTitle)
}

which would look like el := UI("Find ahk_exe notepad++.exe"). Instead of the name "UI", have you considered something more descriptive such as "WinActivateAndGetElement(winTitle)"?
I noticed some places changed such as
return UIA_Hr(DllCall(this.__Vt(3), "ptr",this.__Value, "ptr",e.__Value, "ptr*",out))&&out? UIA_Element(out): to return UIA_Hr(DllCall(this.__Vt(3), "ptr",this.__Value, "ptr",e.__Value, "ptr*",out))? UIA_Element(out):
Was that an intended change, or did you have an older UIAViewer version? Because the &&out is rather important, otherwise an element with a null-pointer will be returned and debugging the resulting code will get nasty.
There were other changes you made as well, but this is already getting too long... I recommend pointing out what exactly you changed, explain why you changed it, etc.
Best of luck!

Hey! Don't worry about this being your first pull request, we all gotta start sometime :) I recommend reading this for tips about pull requests: https://gist.github.com/mikepea/863f63d6e37281e329f8

Hey there, you def sold me on the slow/fast 2/3 title match mode, thats a hold over from our conversation i'll move that back. Ill break into smaller requests and go individually.
I was using an older version, question:
When submitting pull requests in smaller bites, am I only submitting the small code portion, or taking the entire original and  update in bits and upload the whole file with small changes? Thanks!!

authors: Descolada samfisherirl

repo: Descolada/UIAutomation


text:
Using pytest.ini in a location other than where the tests are created results in the tests not being executed

I am developing my custom test runner, and it functions correctly. However, I encounter an issue after installing pytest_robotframework where the tests do not run following the test collections. I suspect there might be a conflict between the pytest_robotframework plugin and my pytest.ini file.

this is my pytest.ini :
[pytest]
python_files = test_*.py *_test.py tca_*.py
python_classes = Test* tca_*

log_cli = True
log_cli_level = Debug
log_cli_format = [%(asctime)s.%(msecs)03d] [%(levelname)-3s] [%(name)s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S

log_file_level = Debug
log_file_format = [%(asctime)s.%(msecs)03d] [%(levelname)-3s] [%(name)s] %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S

junit_family = xunit1
junit_duration_report = call

addopts = -p pytest_robotframework

Is there any recommendation?

will be fixed in the next version :)

@DetachHead Will version 2.5.2 support the fix? I've installed it, but the issue remains the same.

the fix worked for me and definitely in 2.5.2. could you please provide some more information about your setup:

what's the command you're using to run pytest?
where exactly is your pytest.ini file located in relation to your tests?

exit_code = pytest.main(args, plugins)
This is the pytest args :
['C:\new_xtr_ws\xtr\src\xtr\core\runner\pytest_plugins', 'C:\new_xtr_ws\demo-testing-projects\pytest_project\package1\test\test_tca1_1.py', 'C:\new_xtr_ws\demo-testing-projects\pytest_project\package1\test\test_tca1_2.py', '--junitxml=result\last_execution\Global\xtr-results.xml', '-p', 'no:cacheprovider', '-v', '-s', '--alluredir=result\last_execution\Global\allure-reports', '--timeout=300']
pytest.ini location : C:\new_xtr_ws\xtr\src\xtr\core\runner\pytest_plugins
tests path :
C:\new_xtr_ws\demo-testing-projects\pytest_project\package1\test\test_tca1_1.py
C:\new_xtr_ws\demo-testing-projects\pytest_project\package1\test\test_tca1_2.py

sorry but i still can't reproduce it. do you have any other plugins installed? could you maybe upload a git repo with a minimal reproduction of the issue?

Sorry, I don't have a git repository for my project.
Here are the plugins: allure-pytest-2.13.2, cov-3.0.0, pytest_robotframework-2.5.2, typeguard-4.1.5

And also, I defined a plugin with a pytest hook, but I tried running the project without my plugin, and I still have the same issue.

does it still happen if you disable all those plugins? does it work if you put the tests in the same location as your pytest.ini?

Disabling pytest_robotframework allows pytest to collect all items and execute them accordingly.
Disabling all other plugins except pytest-robotframework can lead to this error !

for pytest-robotframework
version 2.5.1 :
If the 'test' folder is placed in the same location as my pytest.ini file, pytest works perfectly. (However, I aim to define tests in a different location)

version 2.5.2 :
If placing the 'test' folder and pytest.ini in the same location still doesn't resolve the issue of tests not running.

version 3.0.0 :
If running my custom test runner is contributing to an exception in file xdist_utils under folder pytest_robotframework_internal
in this function is_xdist_master :

As a solution to address this exception :
def is_xdist_master(session: Session):     try :         return session.config.option.numprocesses is not None     except :         return  False
Even after resolving the exception, the issue with tests not running persists.

ok so i finally reproduced it. the problem is that you have both your tests and your pytest config file in a separate location to the working directory where pytest is being run. fixed in version 3.0.1

authors: DetachHead MoElleuch

repo: DetachHead/pytest-robotframework


text:
v5 breaks re-usable workflows

Hello there,
I upgraded to v5 today and it seems that there is something broken.
See a failing log here: https://github.com/loophp/flake-lock-update-workflow/runs/4416569613

Fixed in V6. Sorry for the noise.

repo: DeterminateSystems/update-flake-lock


text:
🛑 Privatebin is down

In 6f15a88, Privatebin (https://paste.deuchnord.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Privatebin is back up in a39c36b after 28 minutes.

repo: Deuchnord/uptime


text:
Replace custom purgecss with Tailwind's

This pr removes our custom purgecss grunt task to replace it with Tailwind's own purge option.
This avoids a lot of accidents where our custom css rules get removed accidentally. Now only the Tailwind classes will be purged. Unused rules in our custom css should be a problem since we now write a very minimal amount of it.
(Tailwind only uses purgecss when NODE_ENV is set to 'production', so I had to install grunt-env)

I think even our custom css should be subject to the purge.

authors: f-elix fhamon

repo: DeuxHuitHuit/craft-template


text:
Release for Angular 13 support

Hi, I've noticed that in #79 the problem with the changed Schema was fixed. However, this fix was merged, it was never released.
Can we organize a new release?

Hello @Bjeaurn,
Thanks for reminding us of this. We will do it.

angular-testcafe@3.0.0 is published now, thank you for your patience.

authors: AndreyBelym Bjeaurn felis2803

repo: DevExpress/angular-testcafe


text:
Need to update list of available devices for emulation in google chome

Fix require in https://github.com/AndreyBelym/chrome-emulated-devices-list
Corresponding with the question on our forum.

I was able to re-install testcafe and see this working.

Hi @viking2917, I've updated the chrome-emulated-devices-list package, so it might be necessary to remove package-lock.json and reinstall node_modules or completely re-install TestCafe.

yes I re-installed all of Testcafe and saw it working.

authors: AndreyBelym helen-dikareva viking2917

repo: DevExpress/testcafe


text:
Random behaviour - count table records after submit

What is your Test Scenario?
Our application have the classic page where a list of items is displayed and where the user can set filters, then submit the page returning to the same page but with less items due to the filter.
A simple test case consists in counting the rows present after the filter is applied.
After the await t.click(sumitButton) a function to get the table row count is called.
What is the Current behavior?
Sometimes the right count is got other the row count is the number of rows before the button click
This rise one question: how testcafe is able to understand that after the click the page content has changed or is the old one?
What is your web application and your TestCafe test code?
I can provide (via private email) credentials to access the test environment.
Your Environment details:

testcafe version:    1.11.0
node.js version:     v14.15.5
command-line arguments:   testcafe 'chrome --start-fullscreen' --skip-js-errors -s takeOnFails=true --test-meta WKFSTATUS=ready,6.3=yes
browser name and version: Version 90.0.4430.212 (Official Build) (64-bit)
platform and version:          Windows 10

how testcafe is able to understand that after the click the page content has changed or is the old one?

TestCafe does not look for any changes on the client. If you want to check the table row count before and after the click, you need to call your function twice or execute the Selector(...).count property twice as in the following example:

            1	2

            3	4

    <button onclick="clickHandler()">click me</button>

import { Selector } from 'testcafe';

fixture `f`
    .page `../pages/index.html`;

const trs = Selector('table').find('tr');

test('Click in iframe', async t => {
    console.log(await trs.count);
    await t.click('button');
    console.log(await trs.count);
});

As far as I understand, your code is similar to my code, but it does not work for some reason. I suggest you share your project with us for further research.

I can provide (via private email) credentials to access the test environment.

Please send the credentials to support@devexpress.com.

Thanks for your answer,
I'm going to provide more details with a mail to support.
Then when things will be clear I will post conclusions here

Hi
I know I've not still providing the details, but I would like (if possible) a clarification.
I've found this in the documentation:
When a selector is executed, TestCafe waits for the target node to appear in the DOM until the selector timeout expires.
Returning to your code example:
test('Click in iframe', async t => {
console.log(await trs.count);  **// STEP 1 **
await t.click('button'); **// STEP 2 **
console.log(await trs.count);  **// STEP 3 **
});
On STEP 1 testcafe will find target node in the DOM
Q1 - After the STEP 2, what is the mechanisim used by testcafe, that  will make it consider that the target node is not  present in the anymore in the DOM ?
Q2 It's possible that after page reload I see an element in the screen, but test cafe considers that the element does not exist?
Q3 it's possible this situation
if (await elem.visible) {
   await t.expect(elem.exists).ok();   **// and that this expect will fail?**
}

I'm asking these questions because I'm experimenting weird behaviour, that make my test scripts flaky
best regards

Hi

Q1 - After the STEP 2, what is the mechanisim used by testcafe, that will make it consider that the target node is not present in the anymore in the DOM ?

TestCafe does not cache results of the Selector execution. So, when you execute your Selector for the second time, TestCafe tries to find the target element again. Therefore, if the element is missing for some reason, TestCafe shows the error message.

Q2 It's possible that after page reload I see an element in the screen, but test cafe considers that the element does not exist?

In some cases, TestCafe can consider the element as not visible (el.visible returns false) even if you see the element on your screen. However, TestCafe should consider it as existing (el.exists returns true) anyway.

Q3 it's possible this situation

if (await elem.visible) {
   await t.expect(elem.exists).ok();   **// and that this expect will fail?**
}

In general, this should not happen. It can only happen if the element is deleted on the client side after the elem.visible check is complete.

I'm sending you all credentials and links to support email, explaining a situation where exists fails in random way

I've verified that this issue happens randomly when the table is inside an iframe.
Hope this additional info can help.
please let me know

Thank you for the provided credentials. However, I did not find any test. Please prepare a single test to demonstrate the issue.

Hi @fmancardi
We still don't have a completed example. Without it, we can't say something definite. Feel free to reopen the issue if you can create a full example that we can run locally without any additional setup.

authors: AlexKamaev fmancardi miherlosev


text:
feat: "accomodation 크롤링 개선"

검색과 크롤링 기능을 분할하였습니다.
이미지도 가져올 수 있게 만들었습니다.
하이퍼링크도 가져올 수 있게 만들었습니다.
다양한 종류의 에러를 대처할 수 있게 만들었습니다.

요청받은대로 example_J도 삭제되었습니다

repo: Devcourse-Hello-Korea/Hello-Korea


text:
Is this project active?

Hi all.
I want to help, but I want to know if this project is active. Is this project active?

Hi, Code Hangen
This site is one of my test projects.
Test project, I mean I built it to test my skills, It's not a really a Live product.
Many thanks,
DEVDESIIGNN.

For context,
However, I'd love to connect with you if you don't mind?

authors: Devdesiign codehangen

repo: Devdesiign/BuildCo


text:
Better CI/CD

3 days in a raw merges breaks the code base
can we have something just to check that zenbot can be just started Ok ?

plz check the issue with latest pull
https://github.com/DeviaVir/zenbot/commit/607a72cdf7347f0f45c8924b88e410114378c203#r27555936
@DeviaVir @krystophv

repo: DeviaVir/zenbot


text:
🛑 Semantic Search Dev is down

In 957ac80, Semantic Search Dev (https://semantic-dev.devkraft.in/api/v1/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Semantic Search Dev is back up in 13678e9 after 55 minutes.

repo: DevkraftTechnologies/upptime


text:
Chore: Add PHP 8 Support

Hello @Dewbud ,
Thank you for this package. I'm trying to use it in a PHP 8.3 application, but I'm encountering issues. It appears the latest release doesn't support PHP 8.3. Additionally, I believe the changes in the composer.lock file could resolve the problems experienced in the GitHub workflow, Kindly help with reviewing this PR

I'm running into the same issue. @Dewbud, please review

authors: VictorAlagwu mromarreyes

repo: Dewbud/CardConnect


text:
Profile Cards to Display the Team Members

Description
Create a section on the page where we can display our Team Members and Team Leaders with their social media handles in a representable manner and their Images and other contact details

[ ] Responsive
[ ] Create your own dummy dataset to store all the team members' details
[ ] Animation On Hover
[ ] Don't Copy as it is from the Example
[ ] Follow the Code Of Conduct

Screenshots
Here are some of the examples of the Profile Cards
Example 1

Example 2

Additional information
After the assignment of the task try to complete it within 5 - 7 days. Otherwise, it might be assigned to someone else
Follow the contribution guidelines and Code Of Conduct.
Create a responsive Adminpanel component using react which can be used in Websites.

Hey, Abirpal can you assign this task to me

Best Of Luck! 😊

Hi @Abirpal202049 , it has been long since this issue was last updated. Would love to volunteer to implement the mentioned feature if the issue is available for grab.

repo: Dezenix/frontend-reactjs


text:
#53 Script to send an automated Email

Added a python file that automates sending emails  by reading data from an external csv file

Please update external Readme.md

Sure I'll do that now!

Please resolve the merge conflicts

authors: DhanushNehru rohannsrivastav

repo: DhanushNehru/Python-Scripts


text:
update url to download photos from the explicit / adult blogs

Unfortunately, now that Tumblr is enforcing (on some blogs) an explicit / nsfw category, the  position of the tumblr subdomain has changed from http://{subdomain}.tumblr.com  to https://www.tumblr.com/dashboard/blog/{subdomain}.
Your elegant script can no longer find or d/l the images returning the following message:
Downloading Subdomain:  {subdomain}
All images were downloaded.

I don't know python well enough to modify the script. Hopefully this isn't a heavy lift and you can tackle it. If not, let me know. I guess then I'll start reading some docs 😅

Hello @horatiorosa! Thank you for your reporting, I'm having the idea of working on a version two of this script since a while ago, maybe this is a good chance for it. Do you need it to be a python script? I was thinking about in develop it in GoLang and distribute the executable version along with the source, would it work for you?

authors: DiSiqueira horatiorosa

repo: DiSiqueira/TumblrDownloader


text:
Documentation needed for running amqp tests as provider

I'm trying to run amqp tests as a provider but didn't find anything useful in the docs related to that.

What about this?
https://github.com/DiUS/pact-jvm/tree/master/provider/junit#example-of-message-test

What about this?
https://github.com/DiUS/pact-jvm/tree/master/provider/junit#example-of-message-test

@anto-ac  Thanks for the quick reply :)
I'm not very sure if the above link helped me.
Let me explain the scenario:
There is a service which is consuming messages provided by my service which is in Clojure. The other service has written the consumer tests and  now I want to run the PACT tests as the producer.
Hope this helps?

What I linked shows an example of a provider test for messages. I’m confused 😊

And this is for the consumer side
https://github.com/DiUS/pact-jvm/tree/master/consumer/junit#consumer-test-for-a-message-consumer

What I linked shows an example of a provider test for messages. I’m confused 😊

@anto-ac The example you shared is for junit can you share an example for Clojure?

@cksharma11 Does this help? https://github.com/DiUS/pact-jvm/issues/1099

repo: DiUS/pact-jvm


text:
[pact-jvm-consumer-groovy] MissingMethodException when running a pact test

Since version 3.6.2, Groovy consumer Pact tests are failing with:
Assertion failed:

assert result == PactVerificationResult.Ok.INSTANCE  // This means it is all good
       |      |                            |
       |      false                        au.com.dius.pact.consumer.PactVerificationResult$Ok@14ffc5c7
       Error(error=groovy.lang.MissingMethodException: No signature of method: com.github.artamonovkirill.AliceServiceConsumerPactTest$_A_service_consumer_side_of_a_pact_goes_a_little_something_like_this_closure2.doCall() is applicable for argument types: (au.com.dius.pact.consumer.MockHttpServer, au.com.dius.pact.consumer.PactTestExecutionContext) values: [au.com.dius.pact.consumer.MockHttpServer@6c084e2c, PactTestExecutionContext(pactFolder=target/pacts)]
       Possible solutions: doCall(), doCall(java.lang.Object), findAll(), findAll(), mockServerState=ExpectedButNotReceived(expectedRequests=[	method: get
       	path: /mallory
       	query: [:]
       	headers: [:]
       	matchers: MatchingRules(rules={})
       	generators: Generators(categories={})
       	body: MISSING]))

Check an example here (a slightly modified version of test from pact-jvm-consumer-groovy README)

It works if I add service and context to runTest closure: runTest { server, context ->.
Is it possible to make runTest backwards compatible with 3.6.1 and before?

Done

This fix has been released with version 3.6.4

authors: artamonovkirill uglyog


text:
Http Integration Tests: Create tests to support HTTP(5)

This issue involves creating the below test cases for HTTP as well:
Source: integration_tests/commands/async/

flushdb_test.go
get_test.go
getdel_test.go
getex_test.go
getset_test.go

Steps:

Create the corresponding tests for these commands in integration_tests/commands/http.
Use set_test.go as a reference, and how to alter the input and output to match JSON structures from RESP.
Run the tests and fix issues with command parsing in HTTP.

If you need to do anything custom to support HTTP, let @pratikpandey21 @lucifercr07 know.

@pratikpandey21 can I take this up?

I don't have the permissions to assign you, but please go ahead and start @karandixit10

@pratikpandey21 for FLUSHDB command will the body be empty:
{Command: "FLUSHDB", Body: map[string]interface{}{}},

Yes, for commands that don't need arguments, it will be empty.

@pratikpandey21
Is SADD command  inconsistent it's returning 1 first and that to a float64 It's passing test when

And it's passing test for this when expecting float64(2) as response.

Not sure why this is happening?

Isn't that how redis will behave?
First SADD: If the value is not yet in the set, Redis will add the value to the set and return 1, indicating that one element was successfully added.

Second SADD with the same value: Redis sets are collections of unique values, so the second SADD with the same value will not add a duplicate to the set. Instead, Redis will return 0, indicating that no new element was added since the value was already present.

If you have confusion regarding behavior of any command, please validate behavior in redis.
Float is because of JSON parsing, you could reference existing tests for the same

Isn't that how redis will behave?
First SADD: If the value is not yet in the set, Redis will add the value to the set and return 1, indicating that one element was successfully added.

Second SADD with the same value: Redis sets are collections of unique values, so the second SADD with the same value will not add a duplicate to the set. Instead, Redis will return 0, indicating that no new element was added since the value was already present.

If you have confusion regarding behavior of any command, please validate behavior in redis.
Float is because of JSON parsing, you could reference existing tests for the same

Thanks for clarifying this, I'll refer to the redis behavior also.

And why adding member and member 1, returns 2 is because the HTTP parser doesn't know how to handle "member".
Please check how the parsing is working for HTTP requests in rediscmdadapter file. You will need to add member as a priority key and that should make it work

repo: DiceDB/dice


text:
Audit and make documentation for command EXISTS consistent

The documentation of the command [EXISTS](https://dicedb.io/commands/exists/) present in the docs could have become stale. We need your help to ensure that the documentation is complete, correct, and consistent.  Completing this issue will give you much-needed exposure to how the command is implemented and the different parameters it accepts. Hence, this is a great way to build a good understanding of the project and its functionality. While still making a significant contribution. Here's what you need to do:

Go through the documentation of the command and run all the examples, making sure they all work as expected
If the same command is present in Redis, then the expected output of the DiceDB command is the same as the Redis output
If the command is not in Redis, then as per your judgment, raise an issue with this template or fix the documentation and raise a pull request.
The documentation should contain the following sections in the following order

short and concise introduction paragraph about the command covering what it does
Syntax
Parameters: List all the parameters the command accepts, and ignore the section if there are no parameters
Return values: List all possible return values and under what condition
Behaviour: Describe the behavior of the command, what it does, how it does it, some internal specifics if any
Errors: List all possible errors the command can throw and under what condition
Examples: List all possible examples of the command and the expected output. Assume CLI implementation

Note: The title of the sections should be the exact strings mentioned above, like "Examples", "Return values", etc.
Note: The description of the command in Frontmatter of the command.md file is the first paragraph (introduction) of the command.
Go through the DiceDB/dice repository and explore the command implementation

to understand all possible return values
to understand all possible error values and conditions
to understand different parameters the command accepts

Please use the documentation of the SET command as the reference point and structure the
documentation of this command in a very similar way, including the following points

if you see any "Conclusion" section, remove it
the headers (h1, h2, h3) should be appropriately used
the CLI prompt should be 127.0.0.1:7379> and not anything else
Use markdown tables for parameters and return values (ref SET command documentation)
wrap any command or paramter in backticks (`) to highlight them
the section header should be capitalize as used in the SET command documentation

If you find any inconsistencies, please fix the documentation and raise the PR.
The core idea of this exercise is to ensure that the documentation is consistent, correct, and complete.
Make sure you comment on the other issues you created (if any) as a comment on this issue and also any PR (if any) that you created.
Thank you for picking this up and contributing to the DiceDB. It means a ton.

Hi @arpitbbhayani, could you please assign it to me?

@raghavajag assigned, thanks for contributing.

Hello @raghavajag,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

@arpitbbhayani  Can i take this up?

@pree04 assigned, thanks for contributing.

@lucifercr07  wont be able to do this week and next week .due to travelling .You can assign to someone else,

@lucifercr07 Should i take this up?
Have previously audited Docs and can take this one too.


text:
draft:Add clan size config parameter

I'm trying to add a clan size config parameter

its working on my server, maybe we can add more configs to game setting

repo: Didstopia/vrising-server


text:
Charging Connection Status set to 'unspecified' when charging

Describe the bug
Charging Connection Status is set incorrectly to 'unspecified' when the vehicle (XC40 Recharge) is charging.
You will see the parameter volvo_<VIN>_charging_connection_status cycle through: disconnected -> unspecified -> disconnected
To Reproduce:
Steps to reproduce the behavior:

Connect car using cable
Start charging
Disconnect after charging

Expected behavior:
Expected status 'connected'
Screenshots:
None.
Version info:
Volvo2mqtt version: 1.8.23
HAOS version: 2024.1.3
Logs:
None.

This is the current API behavior. I can't do anything for you.

authors: Dielee ezande


text:
[Bug] Application frame too small under Windows (+ fix) [sf#20]

Reported by jdubery on 2003-03-10 20:17 UTC
hi all,
I think this comes under the heading of 'bug', though it's
a bit indeterminate.
On starting wxGlade the Properties frame is a little too
small on all my Windows machines - resulting in annoying
scrollbars obscuring things. I've put up with it for a while,
but this evening it annoyed me one time too many ...
there's a very simple change I've made in my copies of
main.py that (on Windows at least) makes wxGlade look
good on startup ...
self.frame2.SetSize((250, 350))
jdubery changed to:
    self.frame2.SetSize((260, 365))

It would be nice if it could all auto-size, but I think those
additional few pixels will do as a quick fix for now.
thanks
John

Commented by agriggio on 2003-03-10 23:46 UTC
Logged In: YES
user_id=375945
Thanks for raising the issue.
I thought I was the only one to be annoyed by this, and
since I never use windows, I was too lazy to fix it. Now it
should be better on CVS (hopefully)

repo: DietmarSchwertberger/wxGlade


text:
🛑 ZL4GQ Repeater is down

In a02e151, ZL4GQ Repeater (zl4gq.dvnz.nz) was down:

HTTP code: 502
Response time: 15509 ms

Resolved: ZL4GQ Repeater is back up in f72e40d after 15 minutes.

repo: DigitalVoiceNZ/upptime


text:
🛑 WhatsApp Bot Hosting is down

In 3a8386c, WhatsApp Bot Hosting (https://hisoka.net/api) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WhatsApp Bot Hosting is back up in 0e89a96 after 1 hour, 29 minutes.

repo: DikaArdnt/upptimeku


text:
🛑 BlockTracker get_whale_list is down

In 2db8eb4, BlockTracker get_whale_list ($BT_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BlockTracker get_whale_list is back up in 042730e.


text:
🛑 BlockTracker get_profile_by_id is down

In f1145f5, BlockTracker get_profile_by_id ($BT_PROFILE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BlockTracker get_profile_by_id is back up in 9c2657e.


text:
🛑 API - Debank Gas Price Dict is down

In 4e4a91e, API - Debank Gas Price Dict ($DEBANK_GAS_PRICE_DICT_API_URL) was down:

HTTP code: 429
Response time: 326 ms

Resolved: API - Debank Gas Price Dict is back up in 4178464.

repo: DimensionDev/status


text:
🛑 API - Debank Gas Price Dict is down

In 6a292a0, API - Debank Gas Price Dict ($DEBANK_GAS_PRICE_DICT_API_URL) was down:

HTTP code: 429
Response time: 298 ms

Resolved: API - Debank Gas Price Dict is back up in 1691ab8.


text:
⚠ RPC server - Harmony has degraded performance

In 8f3ab41, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony performance has improved in bb2c358.


text:
🛑 API - Alchemy EVM NFT is down

In 3063da9, API - Alchemy EVM NFT ($ALCHEMY_EVM_NFT_API_URL) was down:

HTTP code: 429
Response time: 39 ms

Resolved: API - Alchemy EVM NFT is back up in abfb6c2.


text:
🛑 API - CoinGecko Trending is down

In 4305d09, API - CoinGecko Trending ($COINGECKO_TRENDING_API_URL) was down:

HTTP code: 429
Response time: 308 ms

Resolved: API - CoinGecko Trending is back up in 8342360.


text:
Update index.html with urls

Add urls

approved

repo: DimitriosPOC/intro-html


text:
Is there a possibility to query a local Overpass db?

Hi,
is there a possibility to query a local .osm copy of data? Can I make the Overpass API to switch to local db?
Thanks!

You can use the url parameter of the Overpass class.
api = overpy.Overpass(url='http://my-local-overpass.localhost/api/interpreter')

Seems like the question has been answered. Issue closed.

authors: Erhanjinn phibos

repo: DinoTools/python-overpy


text:
dioxus-ssr 0.3.0, the latest published to crates.io does not escape text nodes

Problem

Using dioxus-ssr with text nodes containing < and > results in unintentional html injection. This is very bad behavior. Since text nodes are escaped by all other dioxus renderers and described as such in the documentation, this can lead to many users of dioxus-ssr unknowingly implementing XSS vulnerabilities.
This has already been fixed in https://github.com/DioxusLabs/dioxus/commit/c9f9b8b0fa71a8fabc6a216a8a7771a1f686d936 it just has not been pushed to crates.io
Steps To Reproduce
Steps to reproduce the behavior:

use dioxus-ssr 0.3.0 (the latest published version)

assert_eq!(
  dioxus_ssr::render_lazy(rsx! {
    "
this should not be interpreted as HTML
"
  }),
  "
this should not be interpreted as HTML
"
)

Expected behavior
assert_eq!(
  dioxus_ssr::render_lazy(rsx! {
    "
this should not be interpreted as HTML
"
  }),
  "<h1>this should not be interpreted as HTML</h1>"
)

Environment:

Dioxus version: 0.3.2
Dioxus-ssr version: 0.3.0 (latest)
Rust version: rustc 1.70.0-beta.1 (1b7dd2252 2023-04-19)
OS info: Fedora release 37 (Thirty Seven)
App platform: dioxus-ssr

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[x] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

Solution
Publish a minor version bump of dioxus-ssr, and yank the current 0.3.0 version.

Comparing the current and 0.3 release, there have been no breaking changes in the SSR crate, so we should be able to bump the minor version

Dioxus 0.4 has been released along with the newest version of the ssr renderer

authors: Demonthos DusterTheFirst

repo: DioxusLabs/dioxus


text:
Handle message in a later listener order, allowing other plugins to modify the message

This PR makes DiscordSRV Staff chat forwards staff chat messages in a later Listener Order, allowing changes made to the chat message by other event listeners from other plugins to take effect.

Looks good to me. Thanks for contributing!

authors: LOOHP RezzedUp

repo: DiscordSRV/Staff-Chat


text:
Background refreshes after an extended period of time of being minimized

Describe the bug
After a long period of time, opening discord to the front causes the background image to refetch itself. At first I thought it was just how Electron was handling things but I tried another theme with a background and can't seem to reproduce the issue.
To Reproduce
Have frosted glass enabled, minimize discord for a long time, say an hour(not always an hour, sometimes happens in a lot shorter of a time), and maximize discord. Background should refresh.
Screenshots
Goes from this

to this

then back to the image
Infomation (please complete the following information):
Discord channel: Stable
OS: Windows
Mod: BetterDiscord
Discord language: English
Additional context
I thought it might have been the image I was using since I changed it from the default one and its a larger file, but it seems to do it with the default one too.
This theme doesn't appear to do the issue, maybe it is just where the image is being displayed, I see Frosted Glass is on #app-mount, but ClearVision isn't

Might be fixed in recent updates?

closed due to inactivity.

authors: Gibbu Hi-ImKyle

repo: DiscordStyles/FrostedGlass


text:
Delayed command sync is not cancelled on termination

Summary
Delayed command sync is not cancelled on termination
Reproduction Steps
When shutting down the bot, the delayed_command_sync task fails to be cancelled as it's in a pending state. Note that this occurs when no slash commands are registered.
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending name='disnake: delayed_command_sync' coro=<InteractionBotBase._delayed_command_sync() done, defined at disnake/ext/commands/interaction_bot_base.py:795> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x10af24160>()]>>

Minimal Reproducible Code
No response
Expected Results
There should not be unhandled errors when shutting down.
Actual Results
There are internal errors on shutdown.
Intents
N/A
System Information
https://github.com/EQUENOS/disnake/commit/74403d440ee786bd9b5361e340a9c5439b932b53
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
No response

Thank you for reporting this, it's now fixed

You sure?
Can continue to reproduce with this environment.

Python v3.8.11-final
disnake v2.2.1-beta

disnake pkg_resources: v2.2.1

aiohttp v3.7.4.post0

Installation was with pip install "disnake[discord]"

I have also reproduced this issue on py 3.10
And with the current master branch (which installs as 2.2.0, even though 2.2.1 is what is on pypi)
And without the shims as well. I believe there is some problem with subclassing the bot and implementing custom methods, so I will removing and modifying those.

I have also reproduced this issue on py 3.10
And with the current master branch (which installs as 2.2.0, even though 2.2.1 is what is on pypi)
And without the shims as well. I believe there is some problem with subclassing the bot and implementing custom methods, so I will removing and modifying those.

This issue should not happen unless you overwrite the close method. Could you share more details?

I have also reproduced this issue on py 3.10
And with the current master branch (which installs as 2.2.0, even though 2.2.1 is what is on pypi)
And without the shims as well. I believe there is some problem with subclassing the bot and implementing custom methods, so I will removing and modifying those.

This issue should not happen unless you overwrite the close method. Could you share more details?

I have overwritten the close method, but is also calls the super's close method. I will experiment more with disnake tomorrow and update again.

Turns out this happens unless I have around a two second wait after I await super().close()
And it somehow seems related to my own aiohttp session, very confused.

I can no longer recreate this, so either its been fixed, or there's a lot of requirements.

What a coincidence, I wanted to close this issue today!

As evidenced by logs today, this is still occuring. TLDR we're using create_task when we should be saving the task and canceling it when closing the class object.

authors: EQUENOS jgayfer onerandomusername

repo: DisnakeDev/disnake


text:
Confusing error when Tranco lists are down

Looks like the lists are down at this time (I get "502 Bad Gateway" from the download button on https://tranco-list.eu/).
One then gets a pretty confusing stack trace from the Tranco package:
>>> from tranco import Tranco
>>> t = Tranco(cache=False)
>>> list = t.list()
Traceback (most recent call last):
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 685, in _update_chunk_length
    self.chunk_left = int(line, 16)
ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 425, in _error_catcher
    yield
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 752, in read_chunked
    self._update_chunk_length()
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 689, in _update_chunk_length
    raise httplib.IncompleteRead(line)
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/models.py", line 750, in generate
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 560, in stream
    for line in self.read_chunked(amt, decode_content=decode_content):
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 781, in read_chunked
    self._original_response.close()
  File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/urllib3/response.py", line 443, in _error_catcher
    raise ProtocolError("Connection broken: %r" % e, e)
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/tranco/tranco.py", line 56, in list
    top_list_text = self._download_zip_file(list_id)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/tranco/tranco.py", line 81, in _download_zip_file
    r2 = requests.get(download_url)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/sessions.py", line 686, in send
    r.content
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/models.py", line 828, in content
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/home/USER/.virtualenvs/VENV/lib/python3.5/site-packages/requests/models.py", line 753, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

Clarification, not all lists are down, just the latest:
>>> list = t.list(date='2020-02-18')
>>> len(list.top())
1000000
>>> list = t.list(date='2020-02-19')
Traceback (most recent call last):
...

Thanks for the report!
The list was not correctly generated today due to a full disk. I've cleared some space, put the database back in a correct state, and today's list is currently being regenerated. In any case, the issue should be resolved tomorrow.
I'll look into the confusing errors separately, at a later date.
Victor

Confirming that the list was properly generated today.

authors: VictorLeP ghostwords

repo: DistriNet/tranco-python-package


text:
[BUG] Menu is Broken on Demo Shop

Describe the bug
If you have many menu items you can not select the correct sub menu

go to homepage
hover a menu element

Additional context

@akrajna link to PR -> https://github.com/DivanteLtd/shopware-pwa/pull/906

authors: Malwurf beardcoder

repo: DivanteLtd/shopware-pwa


text:
Images don't refresh after filter change

Ok I was working on #1104 and I noticed strange behaviour of images loading after filter change. You can see it on video below.  https://www.dropbox.com/s/usl63n623k9vvdi/v-lazy-bug.mov?dl=0

Open some category
Change the color filter
Some pictures are not refreshed.
I think this bug is related with v-lazy component plugin. When we changed directive v-lazy to v-lazy-container this plugin don't recognize changes on data-src. https://github.com/DivanteLtd/vue-storefront/commit/30ad04658334ddbc9063d94e2b3c706eb15756e6#diff-b9fff0db01c53261f63f7aee2c4e8459L33

I have to fix it before, because I want to do some filters refactor related with #1104

I think we can close it now ;-)

repo: DivanteLtd/vue-storefront


text:
Add to card request

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[ x] I am running the latest version
[ ] I checked the documentation and found no answer
[ ] I checked to make sure that this issue has not already been filed

Check our forum:
https://forum.vuestorefront.io/
Is there something you don't understand? What is it? Describe it.

This is connected to my bug report. Check to reopen again!
https://github.com/DivanteLtd/vue-storefront/issues/4731
I'm on yesterday master revision and notice change with previous versions when add product to card.
Main problem is in /card/update request when adding product to cart. Now I receive configurable product  parent sku in card, previous I receive simple child product sku for added product.
What is correct in future versions to prepare my backend  card and order system?
If this is not a bug, how to know products in order if user add several childs form same parent configurable product (white and black T-Shirt).

I attach image, look at red rectangle. In Cart we have correct sku, but in /cart/update request we have parent sku

If someone have the same problem
I set config.cart.setConfigurableProductOptions: false and now I receive child sku in cart and cart is restored after login.
Need testing with setConfigurableProductOptions: true, pull return parent sku and next product search to restore cart is empty. product/_search is "terms":{"configurable_children.sku":["parent_sku"]}

Thanks for the research! yes this option is exactly for this purpose

authors: TTomas pkarw


text:
Final project

Added a progressing bar, added more arguments, restyled readme, updated requirements.txt, obliged to move apk_decompiler to the main directory due to import errors

Ho salvato il mio path all'interno del file config


text:
Syntax error with more complex graphs

Hi! I have tried to get the plotly plugin to work but it only allows me to make basic plots, but if I use another example from plotly.com it shows me a syntax error. So how can we achieve more complex plots with this tool?
Thanks in advance

Hello!
First, thank you for using this plugin!
Regarding plugin, the way it works now is so that you can create a YAML object with data array, layout and config objects.
YAML will be converted to json and passed to Plotly.newPlot('myDiv', data, layout, config) function.
This supports only an imperative approach, where your YAML have to contain all the data required for plot creation written explicitly.
On the other hand, lots of Plotly examples have data generated by JS code, which doesn't work in this plugin for now.
Can you please provide which particular example you are refering to? And a snippet which shows syntax error?

I have found a way to draw plots from DataViewJS blocks. Basic example would look like this:
//If your example needs d3 - download library from https://d3js.org/d3.v7.min.js to vault
//If no - just delete this part
let path = app.vault.adapter.basePath;//absolute path to your vault
var d3 = require(path+"\\utils\\d3.v7.min.js");

//Here you can paste example from plotly.com
//NOTE: `Plotly.newPlot` won't work here, use `window.renderPlotly` instead
var data = [
{x:[0,1,2,3,4,5,6,7,8,9],y:[4,4,2,2,3,3,2,2,4,4]},
{x:[0,1,2,3,4,5,6,7,8,9],y:[3,3,1,1,2,2,1,1,3,3]}
];
var layout = {};
var config = {};

window.renderPlotly(this.container, data, layout, config)

This template is available from Command Palette (Ctrl+P).
Already released in 0.0.6.

Thanks, Dmitriy

Thank you very much, now using the plugin is easier. This plugin is the number one option for plotting a large amount of data. Thanks again 🙏

Hi! This is a menor issue but probably you can add the option to define a custom folder for the d3 script. I make a work arround using templater to generete the dataview template.
var d3 = require(path+"\/Scripts\/d3.v7.min.js")

First, I am glad those changes were helpful!
Regarding hardcoded path to d3 lib, I agree that defining it in settings is a better way.
I have created separate issue #4  for this.

authors: Dmitriy-Shulha EhuddR peterkehlerjr

repo: Dmitriy-Shulha/obsidian-plotly


text:
Over the Bumper Intake

Code for the Over the Bumper Intake

[ ] Actuator

1 Neo/SparkMax
Gear Ratio: 51.67:1

[ ] Rollers

1 Neo/SparkMax
Gear Ratio: 2:1

Seperate Rollers and Actuators

New gear ratio for the Actuator:
155:1

OTB Basic motor control and PID control works (tested in sim and real motors)
Actuator basic motor control works, no PID control yet (tested in sim and real motors)


text:
Send Error Message and suppress Blink retries on failed Phoenix POST request

What's this PR do?
When a POST Signup or Reportback request fails with status 500:

Sends a new message type, error_occurred, to the end user and places them into Agent View
Sets the response x-blink-retry-suppress to true

How should this be reviewed?
Upon staging deploy, text an emoji for a caption and verify that

Error Occurred Message is sent
Blink does not retry

Any background context you want to provide?
Need to update Contentful tests. Opening now to test on staging.
Relevant tickets
Fixes #902
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.

Codecov Report

Merging #910 into develop will decrease coverage by 0.21%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop     #910      +/-   ##
===========================================
- Coverage    21.25%   21.03%   -0.22%
===========================================
  Files           29       29
  Lines         1162     1174      +12
===========================================
  Hits           247      247
- Misses         915      927      +12

Impacted Files
Coverage Δ

config/contentful.js
100% <ø> (ø)
:arrow_up:

app/routes/chatbot.js
0% <0%> (ø)
: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 80b37a2...f73e4ee. Read the comment docs.

Needs more testing/investigation -- I've tested on staging by triggering an error with request 4d4a8793-3790-4129-97f6-067dabeb96cd but doesn't seem to be suppressing retries.

Added quick fix for #907 by adding strip-emoji -- but having a tough time writing a spy/stub for the strip-emoji library in helpers.test.js.  The library exports a single function. Also ran into same trouble writing tests for the zendesk branch that behaves similarly. Not having luck getting sinon.createSubInstance to work.

We're still seeing failed reportback requests for Blink retries after today's deployment because this PR strips them from incoming messages -- but reportback submissions created before today's employment will still contain emoji in the database, that we're still retrying and seeing failures for.
The fix for existing Reportback Submissions that are failing would be to strip the data before we post it to Phoenix

authors: aaronschachter codecov-io

repo: DoSomething/gambit


text:
Remove Emoji Strip, Error Occurred template

What's this PR do?
Removes the emoji strip package, and corresponding helpers.handlePhoenixPostError, replies. renderEndConversationWithErrorMsg  functions that we added to strip emoji in #912, #913
How should this be reviewed?
Post emojis! Although they're showing up as ???'s in Rogue per https://dosomething.slack.com/archives/C0YGXUE01/p1507739954000299
Any background context you want to provide?
Now that we're no longer posting to the Phoenix proxy in #976, we no longer need to check for the cryptic 'API response is false' returned from Phoenix JS.
Once #976 is merged, I'll update this PR to merge into develop instead of the reportback branch.
Relevant tickets
#970
Checklist

[ ] Tested on staging.

Codecov Report

Merging #977 into reportback will increase coverage by 0.28%.
The diff coverage is 0%.

@@              Coverage Diff               @@
##           reportback     #977      +/-   ##
==============================================
+ Coverage       57.93%   58.22%   +0.28%
==============================================
  Files              70       70
  Lines            1581     1556      -25
==============================================
- Hits              916      906      -10
+ Misses            665      650      -15

Impacted Files
Coverage Δ

config/lib/contentful.js
100% <ø> (ø)
:arrow_up:

lib/helpers.js
74.55% <ø> (-0.31%)
:arrow_down:

lib/middleware/map-request-params.js
96.49% <ø> (-0.18%)
:arrow_down:

...g/middleware/receive-message/map-request-params.js
100% <ø> (ø)
:arrow_up:

lib/conversation/replies.js
32.83% <ø> (+4.78%)
:arrow_up:

lib/middleware/draft-completed.js
55.55% <0%> (ø)
:arrow_up:

lib/middleware/signup-create.js
36.36% <0%> (ø)
: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 a743b28...c4db8ce. Read the comment docs.


text:
kudos api "dusting"

does it work
can you post things to a photo
does it save?
can you react more than once for one term
can you interact if you aren't logged in?

in order of events

does it work ✔
can you post things to a photo ✔
does it save ✔
can you react more than once for one term ✔
this we probably want to change
can you interact if you aren't logged in? ⛔

repo: DoSomething/phoenix


text:
Error: Could not find module @ember/polyfills imported from myapp/initializers/viewport-config

I get the error in the browser console as soon as the server runs.
I am using:
ember-in-viewport: ^2.1.1
ember-cli: ^2.12.3

I've cleaned node and bower modules a couple of times, but the issue remains. Any ideas?

@teakap Ah thank you for bringing our attention to this!  The new ember imports @ember/... is only safe if it is in the addon folder.  I think the instance-initializer essentially needs to be in the addon folder and re-exported in the app folder.  Let me create an issue for it.

@teakap Would you mind trying out ember-in-viewport: "DockYard/ember-in-viewport" (master branch) in your package.json and lmk if the PR fixed it?  We will release 2.2.1 if so.  Thanks again!

@snewcomer I can confirm! No console errors, and the expected behavior is the actual behavior :)

authors: snewcomer teakap

repo: DockYard/ember-in-viewport


text:
Format of inviteToGroup() is unclear

I tried using client.inviteToGroup() function but I don't know whether to use the 64-bit or 8-bit clan ID, please clarify. Thanks.

Please direct future questions to the dedicated forum.
What's an 8-bit clan ID? You mean a 32-bit id?
Either a 64-bit SteamID or a 32-bit id will work, as long as you format the 32-bit id as a Steam3 ID: [g:1:4] where 4 is the ID.

authors: Apatetic DoctorMcKay

repo: DoctorMcKay/node-steam-user