e2e: Various stabilization fixes for our test suite

What type of PR is this?
/kind bug
/kind flake

What this PR does / why we need it:
Since selinuxd switched to using policycoreutils, it is a bit slower.
Let's increase the number of iterations we wait for a policy to be
removed in hopes of getting a more stable CI environment.
Which issue(s) this PR fixes:
None

Does this PR have test?
N/A

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Going to try one more patch, hold in the meantime, I'm going to unhold when the PR is ready for review
/hold

Turning this into a PR with several assorted e2e fixes, going to unhold the PR when I'm done playing whack-a-mole.

Codecov Report

Merging #910 (c495638) into main (f4fedf9) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head c495638 differs from pull request most recent head 7141095. Consider uploading reports for the commit 7141095 to get more accurate results

@@           Coverage Diff           @@
##             main     #910   +/-   ##
=======================================
  Coverage   50.68%   50.68%
=======================================
  Files          42       42
  Lines        4617     4617
=======================================
  Hits         2340     2340
  Misses       2192     2192
  Partials       85       85

fedora seems to be succeeding. flatcar failed with on the seccomp-metrics test which is still a little flaky. e2e (kind) based with a transient error where a pod didn't start.
I'm going to just close and reopen the PR to force the CI I think the situation has improved quite a bit with the patches.

OK, this is much better. @saschagrunert @JAORMX PTAL
Note that the metrics test is sometimes still a bit wonky, but that hits the kind-based e2e test mostly which can at least be re-run.
The reason is that the metrics service frontends the spod DS instances and for some reason (which I haven't figured out yet..) each pod in the DS reports a different metric value.

/unhold


[keek] fix info extraction

Uploader still can be extracted.

i added code to extract description, uploader and uploader id.

Traceback (most recent call last):
  File "youtube_dl/__main__.py", line 16, in <module>
    import youtube_dl
  File "C:\Dev\git\youtube-dl\master\youtube_dl\__init__.py", line 43, in <module>
    from .extractor import gen_extractors, list_extractors
  File "C:\Dev\git\youtube-dl\master\youtube_dl\extractor\__init__.py", line 272, in <module>
    from .keek import KeekIE
  File "C:\Dev\git\youtube-dl\master\youtube_dl\extractor\keek.py", line 17
SyntaxError: Non-ASCII character '\xc3' in file C:\Dev\git\youtube-dl\master\youtube_dl\extractor\keek.py on line 17, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

it works now in both python 2 and python 3

i added the utf-8 coding cookie

i changed it to use _search_regex.

Cherry-picked, thanks.


Grouping by more than one item is not grouping data by corresponding values

A clear and concise description of what the bug is.
Expected results
what you expected to happen.
I would expect the output to exclude data which does not correspond with the groups.
Actual results
what actually happens.
I have data in a pivot table and I have grouped it by two variables say continent and country and the metric is population size.  The output does not exclude data which does not correspond to the first group ie the country row will have the names of all the countries regardless of the continent. If the country name does not correspond to the continent then the metric will be 'null'.
Superset version: 0.30.0
python version: 3.6.8
However, this is working well in Superset 0.28, python version 3.6

I'm experiencing the same issue, and the group by function works in SQL Lab. I'm only seeing this issue in my pivot tables.
@mashciku have you found a workaround solution yet?


jest does not work with Resium

I set up resium using the craco approach.
Invoking jest causes ReferenceError: requirejsVars is not defined, as discussed here.
The solution described there does not work with CRA because there is no way to pass a CLI option to jest(?).
Could this be taken care of automatically by craco-cesium?

craco-cesium does not support test for components using Resium and Cesium, because Cesium depends on require.js (AMD) and web APIs (WebGL, WebWorker, ...). If you want, you have to mock Cesium in Jest, but it seems to be hard.
related: #34

@rot1024 , I know that's the problem... We need a solution ;) It is also not easy to switch to another test framework, given how CRA is structured. I guess the only solution is to eject and then use something other than jest?

Hmm... You may need to do one of the following:

Give up testing of components that uses Resium and Cesium. Components without Resium and Cesium are still testable.
Eject the CRA project and start using other test runner that can run tests on the web browsers, for example, Karma.
Write mocks of Cesium objects (components that uses Resium are testable if Cesium objects are correctly mocked)

I need to test with real Cesium outputs, to sanity check my coordinate transformations and whatnot, so I guess (2) it is...

Yes... I can not follow up with the karma installation method, so please let me know if you can.


Three.js dependency version mismatch

I just downloaded the repo and tried to build.
However, npm install failed with
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/three
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/three-bvh-csg
npm ERR<EMAIL_ADDRESS>from the root project

What is your recommendation for a fix?

Thanks a lot for the detailed error messages.
If you want to build the repo, I recommend to use yarn instead (so yarn to install the dependencies, and yarn build to build).
And if you want to start the editor, you can still use npm as you have with npm create polygonjs@latest and npm run polygon. That may not be clear yet (I still need to clarify that in the readme), but this repository only contains the main library, while the editor is not open source.
So if you want to use polygonjs via the editor, that's all you should need.
But if you want to develop against the main library, I do see like you errors when running yarn start. I'll look into those shortly. But those don't happen when you export a scene via the editor, so they may or may not be a blocker depending on how you plan to use polygonjs.

I will try yarn asap

Ok,
so I cloned the PolygonJS repo again (from scratch) and yarned. Despite of a few warnings, everything went fine:
yarn install v1.22.19
warning package.json: License should be a valid SPDX license expression
warning<EMAIL_ADDRESS>License should be a valid SPDX license expression
[1/5] 🔍  Validating package.json...
warning<EMAIL_ADDRESS>License should be a valid SPDX license expression
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning Workspaces can only be enabled in private projects.
[5/5] 🔨  Building fresh packages...
✨  Done in 24.42s.

You may think of explicitly recommending yarn instead of npm or (even better) completely remove any npm examples

Yes, I'll put a warning in the docs and readme at the very least. But I still want polygonjs to be as framework/bundler agnostic as possible, so ideally projects scaffolded with yarn create polygonjs or npm create polygonjs@latest should work with both.
In the mean time, I've replaced webpack by vite for the dev build of polygonjs standalone, so yarn start works again without errors. I'm unsure why webpack works in build but not dev, but vite has the additional benefit of being faster.


SQL max degree of parallelism should be set to 1 (SQL default is 0) for Sharepoint 2016 Products Configuration Wizard

No mention about the max degree of parallelism on SQL which should be set to 1, otherwise Sharepoint 2016 Products Configuration Wizard will throw below error.
After changing the properties op the SQL instance, setting it to 1, and restarting the SQL instance, the Sharepoint configuration wizard was able to continue successfully.

Failed to create the configuration database.
An exception of type Microsoft.SharePoint.SPException was thrown.  Additional exception information: This SQL Server instance does not have the required "max degree of parallelism" setting of 1. Database provisioning operations will continue to fail if "max degree of parallelism" is not set 1 or the current account does not have permissions to change the setting.  See documentation for details on manually changing the setting.
Microsoft.SharePoint.SPException: This SQL Server instance does not have the required "max degree of parallelism" setting of 1. Database provisioning operations will continue to fail if "max degree of parallelism" is not set 1 or the current account does not have permissions to change the setting.  See documentation for details on manually changing the setting.
at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SafeSqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Provision(SqlConnectionStringBuilder connectionString)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateConfigurationDatabase()
at Microsoft.SharePoint.Administration.SPFarmFactory.Create()
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

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

ID: e5faf70f-a9fe-6fa8-9465-968550ee71a2
Version Independent ID: 1599edaa-287f-c250-585c-14d67069613d
Content: Deploy PAM step 3 – PAM server
Content Source: MIMDocs/pam/step-3-prepare-pam-server.md
Product: microsoft-identity-manager
GitHub Login: @billmath
Microsoft Alias: billmath

The following issue is being closed due to the age. If this is still an issue, please re-submit this. Thank you.
#please-close


Float type error

env) jason@jason-ThinkPad-T14-Gen-2i:~/github/Ploutos$ python Ploutos/manage.py runscript populate_db
2022-11-02 16:22:23
DNAnexus login successful
There are 11 projects with
no files so they weren't added to the df
15 projects are no longer in the table as they only contained duplicate files
/home/jason/github/Ploutos/Ploutos/scripts/DNAnexus_queries.py:619: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  aggregated_file_type_all_projs = states_filled_in.append(
/home/jason/github/Ploutos/Ploutos/scripts/DNAnexus_queries.py:619: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  aggregated_file_type_all_projs = states_filled_in.append(
/home/jason/github/Ploutos/Ploutos/scripts/DNAnexus_queries.py:619: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  aggregated_file_type_all_projs = states_filled_in.append(
Exception while running run() in 'scripts.populate_db'
Traceback (most recent call last):
  File "Ploutos/manage.py", line 22, in <module>
    main()
  File "Ploutos/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django_extensions/management/email_notifications.py", line 65, in run_from_argv
    super().run_from_argv(argv)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django/core/management/base.py", line 414, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django_extensions/management/email_notifications.py", line 77, in execute
    super().execute(*args, **options)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django/core/management/base.py", line 460, in execute
    output = self.handle(*args, **options)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django_extensions/management/utils.py", line 62, in inner
    ret = func(self, *args, **kwargs)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django_extensions/management/commands/runscript.py", line 283, in handle
    run_script(script_mod, *script_args)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/django_extensions/management/commands/runscript.py", line 161, in run_script
    exit_code = mod.run(*script_args)
  File "/home/jason/github/Ploutos/Ploutos/scripts/populate_db.py", line 322, in run
    final_dict, file_type_df = queries.orchestrate_get_files(
  File "/home/jason/github/Ploutos/Ploutos/scripts/DNAnexus_queries.py", line 1612, in orchestrate_get_files
    unique_sum_df = calculate_totals(unique_grouped_df, 'unique')
  File "/home/jason/github/Ploutos/Ploutos/scripts/DNAnexus_queries.py", line 793, in calculate_totals
    (my_grouped_df['size'] / (2**30) * settings.LIVE_STORAGE_COST_MONTH / days_in_month),
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/ops/common.py", line 70, in new_method
    return method(self, other)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/arraylike.py", line 116, in __mul__
    return self._arith_method(other, operator.mul)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/series.py", line 5639, in _arith_method
    return base.IndexOpsMixin._arith_method(self, other, op)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/base.py", line 1295, in _arith_method
    result = ops.arithmetic_op(lvalues, rvalues, op)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 222, in arithmetic_op
    res_values = _na_arithmetic_op(left, right, op)
  File "/home/jason/github/Ploutos/env/lib/python3.8/site-packages/pandas/core/ops/array_ops.py", line 163, in _na_arithmetic_op
    result = func(left, right)
numpy.core._exceptions.UFuncTypeError: ufunc 'multiply' did not contain a loop with signature matching types (dtype('float64'), dtype('<U6')) -> None

Error when running python manage.py runscript populate_db. Log above.

fixed in #20


Updated documentation screenshots

As requested in issue #2, screenshots made from a build with the master branch on Mac OS Sierra.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: julienc91 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[storage][elasticsearch] New FlatFlow format

o Latest FlatFlow format that can be injected in ElasticSearch.
o Inject Flow in Bulk to ES server

I understand we need to increase the timeout, because travis is sometime overloaded, but
I'm not agreed with the 5 minute timeout, as :
o We consume (unit second) 40 user 2 system 50 real
o In case of Fail the CI is locked for 5min
So let's setup a relative conservative value to 90 sec or 2 min.
This will be more productive for all of us.


feat(SP-2174): adding typeform-security org

Certain repositories are stored in a different Github organization named typeform-security. Checks like Secrets Detection and PII Detection are very important to have there too.

:tada: This PR is included in version 1.22.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Confusing route prefixes

Titus routes are automagically added with fastify-autoload. This happens here. The fasitfy-autoload dirNameRoutePrefix option is not set. As noted in the documentation, this defaults to true, meaning fastify-autoload includes the directory name as the route prefix.
The plugins healthcheck and user are wrapped with fastify-plugin.
The plugin log is not wrapped with fastify plugin.
As noted in the fastify docs, fastify-plugin is not compatible with the prefix (the prefix is not respected).
This results in the following working routes out of the box with a new Titus project:

GET: /healthcheck
GET: /user
POST: /log/log :warning: I assume this is not the intended behavior.

As described above, the extra log path segment is because the log plugin route is not wrapped with fastify-plugin, meaning routes will respect the route prefix that is auto-magically added by fastify-autoload.
This feels confusing and should probably be simplified.
Either disable the dirNameRoutePrefix in fastify-autoload so that no matter if plugins are wrapped with fastify-autoload or not, the resulting route will be the same. Note that plugins loaded with fastify-autoload can override the prefix with some options. Alternatively, this should be documented so that the resulting behavior is understandable.
What is the desired behavior?

I think this is an oversight. I would suggest to use fp for all the plugins in order to avoid unwanted prefixes and make them all consistent. Please also fix any request hitting the /log/log endpoint currently, if any.

This is probably a problem with the perfectionist in me... I'm not a big fan of auto-loading plugins.
The downside of using fp everywhere is that prefixes will no longer work. While this is ok for simple cases, it really eliminates some of the benefits of auto-loading where you could build a hierarchy with the directory structure (imagine a v1 and v2 directories). Using fp everywhere would force plugins to add the prefixes themselves. :thinking:
For simplicity, I agree that would be the quick fix, but it feels counter-intuitive to making a production-ready project, IMO. I guess it could just be documented and remain an advanced feature (how fp and fastify-autoload work together).

I thought about this a bit more... would it make more sense to simply remove rp from the health and user pugins. Then fix up the route URLs so that they are consistent?
rp removes the plugin isolation and allows decorated properties to be used by other properties. AFAIK these plugins don't need rp. :thinking: Then the prefixing from auto-loading will "just work"... I think that adds value to the project :shrug:

I don't have any specific preference as long as we use a consistent approach really

@codyzu Go for it!


Add JDBC url to PooledDataSourceFactory

A Dropwizard module I maintain uses DataSourceFactory#getUrl() as part of its configuration; as of 0.9.0, the new interface PooledDataSourceFactory does not expose this info.  Per a dropwizard-dev message, adding this to the new interface shouldn't be an issue for any current or future implementations - they all will be JDBC connection pools, and will all need a DB URL to function.
I have a PR ready, if nobody objects.

That sounds great


--debug does nothing now

it doesn't inject weinre anymore, since the change with --hosted made default

closed by #271


Features Endpoint for Dashboard.

Features endpoint based on discussion #611

Sweet! I think @nlutsenko made a middleware for enforcing master key on an endpoint, but otherwise LGTM.

Yup, lgtm otherwise, encourage to use the middleware if you need to enforce the master key.

@nlutsenko can you confirm you're referring to the middleware being used in FilesRouter? I'm not seeing it used in any of the PromiseRouter files.

@peterdotjs Yes, there was functionality added by @flovilmart that allowed plugging middleware into PromiseRouter.

I think we can probably skip the single element array. Also, I remembered the that endpoint for getting a single schema doesn't use results :( so maybe it's not critical

@peterdotjs the problem with the middleware thing is that it doesn't exit early... for some obscure reason returning a Promise.reject() keeps it going

Oh yeah, were you going to include the server version in this endpoint? I wanted to display it in the apps index. Also it would be pretty sweet to have the server "version" be a git hash or something if you are hacking on the server.
Fake edit: The output of git describe --dirty sounds ideal for the "version" while you are developing.

Sorry for all the scope creep :( feel free to ignore

Note: Logs endpoint is different from the Parse.com logs endpoint, so it should be marked as not supported until we can get feature parity (enough for the dashboard to work, at least

@drew-gross could we get a spec for the logs endpoint?

Easiest way is probably to go to dashboard.parse.com and view the two logs pages and capture the request.

Config endpoint also doesn't match close enough to use on the dashboard.

I can work on that

Merging this myself so I can do some work on top of it.


provide a fallback view namespace for themes

WHY
BEFORE - What was wrong? What was happening before this PR?
When you wanted to create a new theme... you couldn't re-use files from a different theme.  Which.. isn't practical.
Rephrased... we had a one-theme system. But we wanted a parent-child theme system.
AFTER - What is happening after this PR?
We define two view namespaces:
    'view_namespace' => 'backpack.theme-tabler::',
    'view_namespace_fallback' => 'backpack.theme-tabler::',

This is done in config/ui.php, which means... it can also be overridden by the theme 🤯
That means a new theme, say theme-custom can require theme-tabler and just provide a few more files, that are different... as long as it specifies in its config file that the view_namespace_fallback should be backpack.theme-tabler::
HOW
How did you achieve that, in technical terms?

moved view namespace configs from config/base.php to ui.php;
added new view_namespace_fallback config which is used in the helpers that need it;

Is it a breaking change?
Yes. Because we moved the config from base to ui. That's where you should define your theme now.

A new inspection was created.

The inspection completed: No new issues


Add more related lists

Here are some ideas:
https://github.com/planetjekyll/awesome-jekyll
https://github.com/planetjekyll/awesome-jekyll-editors
https://github.com/planetjekyll/awesome-jekyll-plugins
https://github.com/planetjekyll/awesome-jekyll-themes
https://github.com/myles/awesome-static-generators
https://github.com/statictimes/awesome-static
https://github.com/BubuAnabelas/awesome-markdown
https://github.com/mundimark/awesome-markdown

My humble contribution: https://github.com/b-long/awesome-static-hosting 😝


[NEW] ShmooCon 2024

Name: ShmooCon
Website: https://www.shmoocon.org
Date(s): January 12-14 2024
Location: Washington, USA
Twitter/Mastodon Handle:  @shmoocon
Free: N

Thanks!


Can I use Bootstrap v4 Carousel as a module with browserify/webpack?

I'm reading at the Installation readme:

You can manually load Bootstrap’s jQuery plugins individually by loading the /js/*.js files under the package’s top-level directory.

I don't really get that part. I tried several combinations, amongst which:
import carousel from 'bootstrap/js/src/carousel.js'
but nothing really works.
Can I use the Bootstrap v4 Carousel without having the rest of the Bootstrap modules with browserify/webpack? - or do I have to manually add it in my codebase?
(and if I can't, how do I build it - the customizer is gone -) cc @fat

I have proposed an idea in #19017, which would allow for proper module usage of any Bootstrap components.

@petetnt I hope a solution will be found.

We have in our documentation an how to use Bootstrap with Webpack which explain that see : https://github.com/twbs/bootstrap/blob/v4-dev/docs/4.0/getting-started/webpack.md


How to control the schema name of the relations created in this package?

Howdy! I'm trying to figure out how to change the schema that these models get written into. I suspect that I'm missing some key understanding in terms of how plugins interact with a 'root' dbt project, but I couldn't find any documentation on how this works, so asking here.
Currently, my segment models are getting written into my analytics schema, and it's not at all clear to me why. I am using the generate_schema_name_for_env macro in the project, but I'm not sure why / how these segment models are ending up with the name analytics. (I do have an analytics schema for other models, but not sure why the segment models are ending up there).
Any help much appreciated!

Ah. Found it. Adding this to the dbt_project.yml did the trick. Closing!
models:
  segment:
    +schema: segment


WFLY-17853 WFLY-17978 Batch job fails to restart on server resume after server suspend

https://issues.redhat.com/browse/WFLY-17853
Batch job fails to restart on server resume after server suspend
https://issues.redhat.com/browse/WFLY-17978
Add a test using remote ejb client for restarting batch job after server suspend and resume

@fjuma thanks to you the security team for evaluating this. I think it make sense to table this issue till the token-based authentication is in place. The new tests are mainly for the purpose of verifying this issue and will also be deferred.


Packaging error when using  MSIX packaging extension for Azure DevOps release pipeline

I am working on a WPF application which I would like to use Azure pipelines for packaging.
The MSIX packaging extension is used here for packaging it into a MSIX application, but during the building, the pipeline fails because of the error below:
##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.Common.targets(137,48): Error MSB4057: The target "_ComputeUserRuntimeAssemblies" does not exist in the project.
When use Visual Studio to pack by following this official documentation, it would just work as normal.
What does the error mean? I couldn't find any useful documentation about "DesktopBridge", neither for this building error.

I am working on a WPF application which I would like to use Azure pipelines for packaging.
The MSIX packaging extension is used here for packaging it into a MSIX application, but during the building, the pipeline fails because of the error below:
##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.Common.targets(137,48): Error MSB4057: The target "_ComputeUserRuntimeAssemblies" does not exist in the project.
When use Visual Studio to pack by following this official documentation, it would just work as normal.
What does the error mean? I couldn't find any useful documentation about "DesktopBridge", neither for this building error.

After trying set SDK & VS version to be consistent with local machine, the build succeeds finally.
Previously, the task "UseDotNet@2" is used, and version is set to "3.x", but in local machine, I used SDK v5.0.103. Not sure whether it's because "DesktopBridge" is only available for specific version of SDK, or it's because of the inconsistency of wapproj generated by different version.


Cleanup a few integration test bits

The code changes in this PR protect against some nil references in our integration tests, which would prevent our integration tests from running all the way to the end.

Release note:

NONE

UGH, opened PR from wrong branch. Thanks a lot GitHub. Closing.


Update README.md

I tweaked and extended the explainer.
Though I do think that it'd be worthwhile to just put option 3 as the first and recommended option.

Appreciate this! Don't mind the options order really, but simplest should be first. Whatever that is.


--not-when-fullscreen issue

Hi, when running xidlehook with --not-when-fullscreen it still locks the screen, tested this with full screen video in youtube under archlinux with i3lock-fancy

What DE/WM are you using? This has occured to me in xmonad due of a lack of EWMH hints.
To debug this, please run the following command and click a fullscreen window.
xprop | grep _NET_WM_STATE

I'm using i3-gaps-next right now.
This is the output of your command:
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN

Is the fullscreen window currently active when it locks? xidlehook only checks for the currently active window.

I just made a change related to fullscreen to be less of a hack. It probably won't change anything, but if nothing else works it'd be great if you tried the latest version on git.

Hello?

I'm happy to pick this up.
My xprop shows:
$ xprop | grep _NET_WM_STATE
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_FOCUSED

I'm running i3 and both youtube and beachbody.com both go dim my screen after 60 seconds using this in my .i3/config file:
exec --no-startup-id xidlehook --not-when-fullscreen \
--timer normal 60 \
    'xrandr --output eDP1 --brightness .1' \
    'xrandr --output eDP1 --brightness 1' \
--timer primary 600 \
    'xrandr --output eDP1 --brightness 1; i3lock -nc 000000' \
    '' \
--timer normal 1200 \
    'grep 0 /sys/class/power_supply/AC/online > /dev/null && eystemctl suspend' \
    '' &

When running xidlehook, I assume you get no warnings in the console? I'll double check that everything works on my end as soon as I can, which sadly is no sooner than the weekend.

No warnings/errors.  I usually run it in the background, but I ran it in a console and tried youtube and I see no warnings/errors and after 60 seconds my screen dimmed.

I cannot reproduce this, even in i3.

What version is this?
Is the fullscreen window also the "active" one? (the one which gets keyboard input)

$ xidlehook --version
xidlehook 0.6.1

As far as I can tell it is the active one.  I can click on the youtube video to pause it and I can press the spacebar to pause it.  Moreover the xprop says as much:
$ xprop | grep _NET_WM_STATE
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_FOCUSED

I can take a video when I'm home, if that helps at all.

I can take a video when I'm home, if that helps at all.

I suppose that could aid me in reproducing this issue, thanks!

Also having this issue on 0.6.1 :) my print out is: _NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED, _NET_WM_STATE_FULLSCREEN

Also having this issue on 0.6.1 :) my print out is:

Very strange! Are you also using i3?

I noticed that both of you have _NET_WM_STATE_FOCUSED, while I do not. I think this bug only shows on the latest version of i3, where this was added. So, @jpmorris, skip the video for now. I'll update i3 and try to reproduce

I was able to reproduce it with the latest version of i3wm. Turns out I misunderstood the (vague) X11 documentation on a thing that made it read too little. Good thing is that it never should have caused undefined behavior.
It should now be fixed with 1de9de59b429bcb15240dc87220ec4f3dc6d771d, could you verify?

Confirmed fixed for me! Thanks for the speedy work!

sorry to resurrect this (I can also open a new bug) but this flag (although working on my laptop) doesn't work on my desktop with three monitors.  Are you checking for the STATE on all current monitors?

sorry to resurrect this (I can also open a new bug) but this flag (although working on my laptop) doesn't work on my desktop with three monitors. Are you checking for the STATE on all current monitors?

It's not about the monitor, it's about the currently focused window. If the mouse is on another monitor, it will select a different focused application and not work.

Thank you for the quick reply!  Would possible to make this more Windows or caffeine-esque to disable when any fullscreen app is running? Sometimes I have it full screen on one monitor, and it would be nice to not have to remember to keep giving the video focus every time as I transition from working at the computer and away from the keyboard but I (or my toddler) still watching.

Perhaps, I'll take a look later. For now you can try using --not-when-audio and see if that suits your need better?

Moved your question to a new issue, #19

I'm having a similar issue, I think. If Firefox is fullscreen it will still trigger the screenlock. If audio is running it will still trigger screen dimming but not lock.


ReferenceError: window is not defined

I'm working with nextjs and threejs.
My configuration is:
import * as dat from "dat.gui";
const gui= new dat.GUI();
gui.add(settings, "colorful");
gui.add(settings, "zoom");
gui.add(settings, "random");

Thanks for this contribution. Could you please explain how you fixed it or add a reference to a resolved issue?

I would like to know this as well. I'm running ThreeJS with NextJS and React

@bastienrobert @19992077
Ran into this as well, solved it for now by just using a dynamic import where my three.js script is being run, and since I am not running the three.js logic until I am on client-side anyway (triggered via a useEffect)  I know that the window will be available.
const init = async () => {
   const dat = await import('dat.gui')
   const gui = new dat.GUI()
   // ... rest of the three.js code
}

...

const CanvasComponent = (props) => {
  useEffect(() => {
    init()
  }, [])

  return (
    <canvas id="webgl" />
  )
}

Additionally found that dat.GUI does not work well with Fast Refresh, and doesn't know to not keep adding new menus, but thats another issue.

Additionally found that dat.GUI does not work well with Fast Refresh, and doesn't know to not keep adding new menus

To fix this issue, move gui variable declaration out of init() and useEffect(). Then check whether gui exists before instantiating dat.gui.

const CanvasComponent = (props) => {
   let gui;

   const init = async () => {
      const dat = await import('dat.gui')
      if (!gui) {
         gui = new dat.GUI()
         // ... rest of the three.js code
      }
   }
   useEffect(() => {
      init()
   }, [])

  return (
    <canvas id="webgl" />
  )
}


Touchable Cards?

Hi there
I'm using react-native via Exponent ( expo 15.0.2 - native-base 2.1.0 - react 15.4.0 ). Can you point me in the right direction on how I can add "touchable" effect to a (native-base) card?
Looking at the source code it looks like I can add a "button" boolean to the CardItem component. This wraps it with TouchableOpacity. However since a Card can contain multiple CardItems, this does not really work. The semantics of a Card is that users interact with the card more than they would interact with parts of the card.
Therefore I am interested in the style of the entire card changing when touched. Wrapping the whole card with TouchableOpacity does not work.
Any ideas?

Any hints on this? I am actually looking to solve the same "problem"
Thanks !!!

This may have been fixed in https://github.com/GeekyAnts/NativeBase/commit/5374e8bf44117e0d143be1cddf32cd97519a9cab
Have not tested this though


Add support for signBytes calls

I need to test a call made with papi's signBytes, it would be nice to have support for it, maybe something like:

cy.getSignRequests() and cy.approveSign()
or: just change cy.approveAuth() to support signatures, since cy.getAuthRequests() already tracks the call id

Ok, so after tinkering a bit, I realized the plugin actually already supports papi's signBytes because under the hood it's basically a wrapper around pjs' signRaw (which is already supported)
What was actually wrong was that I was using an older version of papi where connectInjectedExtension had only 1 argument (extensionName) and didn't allow for passing the dappName, this meant origin was undefined and generating a weird side effect where the signature request was getting added to authRequests but without a way of approving it.
After updating papi to a version above 1.6.0, where @Tbaut introduced the possibility to pass dappName as an argument to connectInjectedExtension (https://github.com/polkadot-api/polkadot-api/pull/791), the issue was fixed. After fixing that, the signature request was added to the txRequests queue instead and could be approved with approveTx(id). See this PR for reference: https://github.com/PolkadotEducation/app/pull/173/)
I'm closing the issue since the plugin actually supports such calls, but just opened a PR (#50) adding a note to the README to encourage anyone testing with papi to use 1.6.0 or above and set up dappName


Core96Head on STAR Failing During Setup

When attempting
await lh.setup()
using the Hamilton STAR, setup fails with the error
STARFirmwareError: {'CoRe 96 Head': HardwareError('Y drive position outside of permitted area')}, C0EIid0008er99/00 H002/58
Below is the full code used before setup.
%load_ext autoreload
%autoreload 2

from pylabrobot.liquid_handling import LiquidHandler
from pylabrobot.liquid_handling.backends import STAR
import time

from pylabrobot.resources import (
    TIP_CAR_480_A00,
    PLT_CAR_L5AC_A00,
    PLT_CAR_L5PCR,
    nest_1_troughplate_195000uL_Vb,
    STF,
    nest_12_troughplate_15000uL_Vb,
    Eppendorf_96_wellplate_250ul_Vb_semiskirted,
    Hamilton_96_adapter_188182,
    Coordinate
)
import opentrons_shared_data

from pylabrobot.resources.hamilton import STARDeck

backend = STAR()
lh = LiquidHandler(backend=backend, deck=STARDeck())

wait lh.setup()

So far, I've tried replacing the y-values in the line location=Coordinate(x=-232.1, y=110.3, z=189.0) in pylabrobot/pylabrobot/resources/Hamilton/hamilton_decks.py, shown below with 200, -200, and 1000, all yielding the same error.
      # got this location from a .lay file, but will probably need to be adjusted by the user.
      self._trash96 = Trash("trash_core96", size_x=82.6, size_y=122.4, size_z=0)  # size of tiprack
      self.assign_child_resource(
        resource=self._trash96,
        location=Coordinate(x=-232.1, y=110.3, z=189.0),
      )  # 165.0 -> 189.0

dumb q: when you change the values, do you actually re-initialize the deck? the location is only set at initialization, so autoload doesn't affect it.
you can alternatively change the location using deck._trash96 = something. There should be some location that works, which you can use to narrow it down to the trash chute you see on the front left of the robot.

I re-initialize the deck every time. Current workflow is change values in PLR/PLR/resources/Hamilton/hamilton_decks.py, restart jupyter notebook kernel, run lh.setup() and that's where the error is, so there's no deck set for me to change the location using deck._trash96

To add on, I printed lh.deck._trash96.location before running setup to confirm that my changes to the file are actually there and they are.

is it possible the x or z location needs changing? i have seen examples where the star errors aren't entirely accurate
i used the 96 head recently on a starlet and it worked fine. not sure if we have stars with the 96 head tho, but can check

It seems to be loading the x location just fine, moving the head to be in line with the trash area before attempting to move to the y location and failing. I can try playing with the z location to see if that fixes anything

just in the odd case that the bounding box isn't rectangular (meaning y may be dependent on x). just guessing here
does the 96 head home correctly?

I know Adit already tried changing x values to 0 and 1000 to no avail. I tried -500 and also didn't work. if you have other recommended values I'll give them a shot

did you manage to install venus? i'd be curious to see where their firmware command differs from the one we generate. i'm at a loss if changing the location of the trash doesn't work.

I haven't tried venus yet, but maybe could get a location from it for trash location to try (?). i haven't worked with venus at all, so may take a bit to get up and running

i would try running initialization there and seeing how the firmware command differs. i find that easier than using their deck layout editor

@mackenziekormann can you verify the actual firmware command being sent, not the response from the instrument?
It should be in the format below, that way you can tell if those parameters are actually being sent correctly:


Requests getting stuck in pending

I'm trying to use Hono together with Bun as a local dev server. I want to serve my resources through the server.
Currently when I run the app, it is trying to serve the resources, but requests are getting stuck in pending.
It seems to random which requests freezes in pending.

Any suggestions?

Hi @uxkjaer !
I want to know your code or snippets. Serving static files is not implemented in the current version (serve-static middleware for Bun will be available in the next version v2.0.0).
Do you use the code like in the example folder at the Bun repository?
https://github.com/oven-sh/bun/blob/main/examples/http-file.ts#L5

I'll close this issue. Feel free to reopen it.


core: Add the option to specify what address to bind on in Caddyfile

Problem
When using virtual hosts behind docker or with a host that doesn't resolve that may not resolve - Caddy won't start. Alternatively there is no way to tell Caddy to bind on a different host rather than trying to resolve the host name.
Ex.
http://channelmeter.com {
  proxy / http://node:3000
}
http://api.channelmeter.com {
  proxy / http://api:3000
}

Inside a docker container, this will cause Caddy to try and bind on <IP_ADDRESS>. This isn't allowed (by Docker) and so you get permission denied. An option would be to include another directive that allows you to bind on another address such as <IP_ADDRESS>  - such as
http://channelmeter.com {
  bindaddr <IP_ADDRESS>
  proxy / http://node:3000
}
http://api.channelmeter.com {
  bindaddr <IP_ADDRESS>
  proxy / http://api:3000
}

This PR provides that functionality.

Interesting use case. I like how you've implemented this. What if we renamed bindaddr to bind?
http://channelmeter.com {
  bind <IP_ADDRESS>
  proxy / http://node:3000
}
http://api.channelmeter.com {
  bind <IP_ADDRESS>
  proxy / http://api:3000
}

In the Caddy vernacular I've used "address" to refer to a host:port combination, which is the main reason I suggest this change. (But if you think using bind is ambiguous or confusing, let me know.)

I don't think its confusing at all, and I'm sure other servers use bind to mean host name and only host name (not port), such as Sinatra. I opted for bindaddr however just because I prefer clearer with naming.
That said, I prefer bind.


progressive form corrections in crib-sheet_git

[] create unity in a jungle of progressive and simple verbs
[]commit
[]go to bed

some unity, still a jungle
going to bed worked!


"flutter build aar" should take in a build number to allow version numbers other than 1.0

Use case

We are building flutter aars to publish to Maven to be consumed by our android application and flutter build aar only allows us to output it as a "1.0" version, you can confirm this by looking at the tests.
Proposal

BuildAarCommand should use usesBuildNumberOption() to take in a build number and use it to output to aar versions.

@blasten

@sahandevs That makes sense.

@sahandevs That makes sense. Would you be willing to implement this feature? It seems pretty straightforward.

here is a draft PR, but i can't get it working, but I think its in the right direction https://github.com/flutter/flutter/pull/46117

You can pass a -Pbuild-number flag to Gradle here: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/android/gradle.dart#L516. Then, read the value here: https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/aar_init_script.gradle#L30.  Similar to the -Pis-plugin flag.

added a PR here https://github.com/flutter/flutter/pull/46139

Can we close this now @blasten?

yup


Swivel (with EARTHGANG) - From The Upcoming Album "Mirrorland" by Dreamville unsupported.

Check if issue with swaglyrics or whether song lyrics unavailable on Genius.

stripper -> Dreamville-and-EARTHGANG-Swivel
version -> 1.1.0

https://genius.com/Earthgang-swivel-lyrics


problem: why can not subscribe the topic in ubuntu?

i use roscore in ubuntu ,and i open the talker demo, but no receive the message in ubuntu, please help me ,thx

hi, I have the same problem, could you solve it?

Sorry, did you set your ROS_MASTER_URI and ROS_HOSTNAME on the windows side?
DId you disable the windows firewall?
Can you verify from windows that you are able to ping your ubuntu machine from the command line, and ping your windows machine from the linux command line?


Add option to generate out IntPtr for COM output pointer parameters

Is your feature request related to a problem? Please describe.
I am making heavy use of the .NET 5/6 ComWrappers class to make my Windows Forms codebases compatible with NativeAOT. I can create as many ComWrappers subclasses as I want, each of which knows how to to create bindings for a different set of COM interfaces. (I am using this Roslyn source generator to create the marshaling code.) However, only one ComWrappers instance can be used with ComImport interfaces, and it must know about every ComImport interface that is used, anywhere in the program and all of its libraries. There is no good way to do this a priori, and there is no way to specify an alternate ComWrappers instance for a ComImport type. The global instance must be used in this situation.
However, if I have a COM instance pointer as an IntPtr, I can use an instance of ComWrappers to create an AOT-compatible RCW for that instance. As long as I do not use UnmanagedType.IUnknown or any similar API, I can use whatever ComWrappers object I want, allowing me to pick one that understands the type of object I am giving it. However, there is currently no way I know of to have CsWin32 generate this kind of binding.
Describe the solution you'd like
Add a flag in NativeMethods.json that will generate code that uses out IntPtr as the type for arguments annotated as ComOutPtr. I can then use my custom ComWrappers code to call methods, or use Marshal.QueryInterface and Marshal.Release on the pointer directly.
Describe alternatives you've considered
Calling Marshal.GetIUnknownForObject() is not an option, as that call will occur after the default ComWrappers instance attempts to generate an RCW for the pointer.
Additional context
I will use extension methods to create overloads for these APIs that are easier to call.
As a side note: It would be really, really cool if there was some way to make WinFormsComInterop.SourceGenerator aware of CsWin32 and be able to generate marshaling stubs for all the interfaces automatically, but unfortunately you can’t use source generator output as input to another source generator. I must manually provide an attribute that triggers the WinFormsComInterop source generator for every interface used. However, one line of code per interface is far preferable to having to bind all of it myself. Thanks!

@AArnott I would like to clarify why this is important not only for niche scenarios like NativeAOT.
.NET 6 has ability to disable built-in COM, and when publish trimmed application built-in COM is disabled and should be explicitly enabled.
To accommodate for these scenarios in .NET 5 was introduced ComWrappers API which allow develop to write their own RCW and CCW for COM interfaces.
Long-term for this project probably is that you should generate CCW/RCW for these interfaces too, like https://github.com/microsoft/CsWinRT since that's where .NET is moving.
I read in #167 that you under pressure to ship working product, so I will ask - would you consider contributions in that area?

@wjk: I think the setting you want already exists.
https://github.com/microsoft/CsWin32/blob/207ce8b353c97a77f3a37effc9ede327d542b149/src/Microsoft.Windows.CsWin32/settings.schema.json#L40-L44
Setting allowMarshaling: false in the NativeMethods.json file will produce structs instead of interfaces, using pointers everywhere and requiring you to call QI/AddRef/ReleaseRef everywhere yourself. Essentially, completely bypassing the .NET interop layer.
Did you look at that property and determine it doesn't suit you somehow? If so, can you elaborate?
@kant2002: CsWinRT and CsWin32 may do well to share more capabilities. We're looking into that soon.
And yes, I think we'd accept contributions that fix some of our interop bugs.

@AArnott I have considered that technique, but have found that it will not work. allowMarshaling=false currently only generates code for regular P/Invoke (managed ➪ COM). I cannot use the generated structures and pointer to perform reverse P/Invoke (COM ➪ managed), which is easily doable with ComWrappers.
Furthermore, for some reason when I disable allowMarshaling for some reason the source generator stops making its generated outputs visible to Visual Studio. ILSpy on the compiled binary confirms that they were emitted as expected, but they are not visible to the editor, Solution Explorer, or anywhere else in VS. This prevents me from effectively testing CsWin32, because I am getting tons of spurious symbol-not-found errors. This can only be avoided by turning allowMarshalling back on, and then reloading the solution to force VS to re-evaluate the code generators. I don’t know why this would happen, but I do remember it didn’t happen when I tried this library in the past. (I’m running VS 2022 Preview 3.1 and using CsWin32 0.1.506-preview.) Thanks!

I cannot use the generated structures and pointer to perform reverse P/Invoke (COM ➪ managed), which is easily doable with ComWrappers.

Yes, that's true.

Furthermore, for some reason when I disable allowMarshaling for some reason the source generator stops making its generated outputs visible to Visual Studio

I see. That's very strange. I can repro it, and then when I switch back it doesn't fix it right away, as you say. that's worth a separate bug.


Router: Router unable to route request to do_PUT_Document (failing for attachments)

Client is not able to add attachment to DB. However, docs without inline attachment are getting added to DB.
Whenever client tries to PUT doc with inline attachment to CBL,  Database.java throwing below exception.

[08/24 10:47:26.579] [3] Listener: [REQUEST] (Acme.Utils.ThreadPool(2)-PooledThread: Acme.Serve.Serve$ServeConnection@3224be4) PUT: https://<IP_ADDRESS>:38981/ptxdata/s14257854755_ptx1503589646143_a1503589646158_attachment.doc
[08/24 10:47:26.582] [3] Listener: authHeader is null
[08/24 10:47:26.583] [3] Listener: Not enforcing basic auth -- allowedCredentials null or empty
[08/24 10:47:26.583] [3] Listener: remoteURL() addr=<IP_ADDRESS>
[08/24 10:47:26.584] [3] Database: getDatabase() com.couchbase.lite.Manager@ce07e5 <EMAIL_ADDRESS>[08/24 10:47:26.595] [3] Database: PUT _id=s14257854755_ptx1503589646143_a1503589646158_attachment.doc, _rev=null (allowConflict=false)
[08/24 10:47:26.606] [3] Router: Router unable to route request to do_PUT_Document
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.couchbase.lite.router.Router.start(SourceFile:560)
at com.couchbase.lite.listener.LiteServlet.service(SourceFile:147)
at obfuscated.wg.service(SourceFile:802)
at Acme.Serve.Serve$ServeConnection.runServlet(SourceFile:2408)
at Acme.Serve.Serve$ServeConnection.parseRequest(SourceFile:2330)
at Acme.Serve.Serve$ServeConnection.run(SourceFile:2110)
at obfuscated.a$c$a.run(SourceFile:1238)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.couchbase.lite.BlobStore.storeBlob(byte[], com.couchbase.lite.BlobKey)' on a null object reference
at com.couchbase.lite.Database$5.invoke(SourceFile:1125)
at com.couchbase.lite.Database$5.invoke(SourceFile:1111)
at com.couchbase.lite.internal.RevisionInternal.mutateAttachments(SourceFile:248)
at com.couchbase.lite.Database.processAttachmentsForRevision(SourceFile:1111)
at com.couchbase.lite.Database.put(SourceFile:1997)
at com.couchbase.lite.Database.putRevision(SourceFile:1967)
at com.couchbase.lite.Database.putRevision(SourceFile:1958)
at com.couchbase.lite.router.Router.update(SourceFile:2283)
at com.couchbase.lite.router.Router.update(SourceFile:2336)
at com.couchbase.lite.router.Router.do_PUT_Document(SourceFile:2372)
... 9 more

Also, there's an exception on DB compaction

[08/22 05:34:20.249] [1] Listener: [REQUEST] (Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@7798735) POST: https://<IP_ADDRESS>:38981/ptxdata/_compact
[08/22 05:34:20.249] [1] Listener: authHeader is null
[08/22 05:34:20.249] [1] Listener: Not enforcing basic auth -- allowedCredentials null or empty
[08/22 05:34:20.250] [1] Listener: remoteURL() addr=<IP_ADDRESS>
[08/22 05:34:20.251] [1] Database: getDatabase() com.couchbase.lite.Manager@ce07e5 <EMAIL_ADDRESS>[08/22 05:34:20.251] [1] Database: Begin database compaction...
[08/22 05:34:20.252] [1] Database: Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@7798735 Begin transaction (level 0)
[08/22 05:34:20.255] [1] Database: Deleting JSON of old revisions...
[08/22 05:34:20.256] [1] Database: ... deleted 1 revisions
[08/22 05:34:20.256] [1] Database: Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@7798735 Committing transaction (level 0)
[08/22 05:34:20.266] [1] Database: Flushing SQLite WAL...
[08/22 05:34:20.275] [1] Database: Vacuuming SQLite database...
[08/22 05:34:20.310] [1] Database: ...Finished database compaction.
[08/22 05:34:20.311] [1] Database: Scanning database revisions for attachments...
[08/22 05:34:20.316] [1] Database:     ...found 0 attachments
[08/22 05:34:20.317] [1] Router: Router unable to route request to do_POST_Document_compact
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.couchbase.lite.router.Router.start(SourceFile:560)
at com.couchbase.lite.listener.LiteServlet.service(SourceFile:147)
at obfuscated.wg.service(SourceFile:802)
at Acme.Serve.Serve$ServeConnection.runServlet(SourceFile:2408)
at Acme.Serve.Serve$ServeConnection.parseRequest(SourceFile:2330)
at Acme.Serve.Serve$ServeConnection.run(SourceFile:2110)
at obfuscated.a$c$a.run(SourceFile:1238)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.couchbase.lite.BlobStore.deleteBlobsExceptWithKeys(java.util.List)' on a null object reference
at com.couchbase.lite.Database.garbageCollectAttachments(SourceFile:2835)
at com.couchbase.lite.Database.compact(SourceFile:318)
at com.couchbase.lite.router.Router.do_POST_Document_compact(SourceFile:1449)
... 9 more

It seems due to some reason BlobStore object could not be initialized in "Database.java".

Hi @tjayesh,
As you pointed out, Router can not handle push doc with an attachment. It can handle only inline attachment.
REF: https://github.com/couchbase/couchbase-lite-java-core/issues/617

@hideki  Sorry for miss leading subject line. I have updated the same.
We are using inline attachments in our messaging app, which is working pretty well. However, in this particular issue CBL failing to add inline attachment to DB.


Net not routable

While using OpenROAD for PnR of leaf chip using sky130hd pdk, an error saying net not routable occures, how to solve this issue.
This is the error displayed.
[ERROR DRT-0305] Net one_ of signal type POWER is not routable by TritonRoute. Move to special nets.
[ERROR GUI-0070] Error: flow.tcl, 193 DRT-0305
How to solve this

I synthesised I checked my netlist, it doesn't contain a 1'b1 or 1'b0.
I used yosys to synthesis netlist

I used thsi flow.

@13vaidehi
Are you using OpenROAD standalone for PnR or along with OpenLane flow?

I am just using OpenROAD for PnR

@13vaidehi Have you checked DEF file?
Share the netlist and DEF to debug the issue.
Use the @maliberty suggestion during synthesis and start the PnR again

We usually use this in synthesis to handle tying off constants:
hilomap -singleton \
        -hicell {*}$::env(TIEHI_CELL_AND_PORT) \
        -locell {*}$::env(TIELO_CELL_AND_PORT)

I tried this, I still have the same error

@13vaidehi Have you checked DEF file? Share the netlist and DEF to debug the issue.
Use the @maliberty suggestion during synthesis and start the PnR again

/home/vaidehi/Downloads/leaf-mpw6-main/def/leaf_chip.def
This is my def file.
/home/vaidehi/Documents/leaf_chip.v
This is the netlist after using the hilo command during synthesis.

This how the error looks in gui

@13vaidehi Upload the zip file here by drag and drop

leaf_chip_netlist.zip
leaf_chip_def.zip

@13vaidehi
Can you share complete flow script what you used with all required inputs?
Which version of OpenROAD currently used?

tcl file that calls all necessary files.zip
file that has flow.zip
file with all the necessary files and data for flow.zip
0cc525594fe7106e680cb4ac0840a3e41f4dc187
This is the version I am using

@13vaidehi
Following block causing the issue with 'h
down_counter_3 tx_counter (
    .clk(clk),
    .clr(curr_state[0]),
    .en(tx_counter_en),
    .load(3'h7),
    .mode(1'h0),
    .val(\tx_counter:798 )
  );
  piso_8 tx_piso (
    .clk(clk),
    .clr(curr_state[0]),
    .en(tx_piso_en),
    .load(rd_data),
    .mode(curr_state[2]),
    .ser(\tx_piso:818 )
  );
  assign _094_[0] = reset;
  assign _104_[1] = 1'h0;
  assign _119_[0] = reset;
  assign _120_[1] = reset;
  assign _121_[0] = reset;
  assign { _122_[2], _122_[0] } = { next_state[2], next_state[0] };
  assign { _127_[14:11], _127_[8:7], _127_[4:3], _127_[1] } = { 2'h0, curr_state[0], 2'h0, curr_state[2], _105_[0], _105_[0], 1'h0 };
  assign _128_[2:1] = { _104_[0], _106_ };
  assign _02_[2:1] = { 1'h0, rd_en };

Use insert_tiecells feature from openroad to avoid routing issue.

Can you help me with the exact use of insert_tiecells?
I am confused where to use it?

https://github.com/The-OpenROAD-Project/OpenROAD/tree/master/src/ifp#inserting-tieoff-cells Documentation here.
It should be done during floorplan itself

What will be the master and output port in this case?

@13vaidehi
Are you trying this design https://github.com/daniel-santos-7/leaf-mpw6?

Yes, this is the design I am trying

insert_tiecells sky130_fd_sc_hd__conb_1/HI -prefix "TIE_ONE_"

Use above line after initialize_floorplan

@13vaidehi
Test your design with OpenLane flow and let me know.

@13vaidehi Have you tried same design with OpenLane flow? Its already passed routing stage.

I haven't tried this with OpenLane flow.
If I am not wrong OpeLane will do the synthesis to routing stage right?

This is the

error and the line that the error indicates

Is this the only way to go about this issue?
I wanted to use OpenROAD specifically for PnR.

@13vaidehi
I have modified few things wrt., your flow.tcl script and now detail routing working fine. Used the updated flow.tcl and let me know.
Is your results directory contains all the DB files?

update_flow.zip

This is the  error and the line that the error indicates

It is because of special nets. nets not tied properly. With the insert_tiecells its working fine now. Check my f.ow.tcl attached.

I used the new flow, this is the error I get now

I used the updated flow, this is the new error I encountered.

Guide file could not be opened. Check guide file name is correct or not?
On Fri, Jul 8, 2022, 10:21 PM 13vaidehi @.***> wrote:

[image: Screenshot (250)]
https://user-images.githubusercontent.com/100420392/178036099-26bb3d5a-373a-47eb-ae1e-4f704223e65a.png
I used the updated flow, this is the new error I encountered.
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenROAD/issues/2039#issuecomment-1179188786,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOQKCJJ7I7UR34EINS7BY3VTBMBDANCNFSM525AYR2A
.
You are receiving this because you were assigned.Message ID:
@.***>

@13vaidehi Hope you can able to complete the routing.

Even after numerous attempts, the error still remains.
The error isn't in the guide file name

@13vaidehi
Can you share your flow.tcl and detailed routing log?

I suggest you switch to https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts as it is a more complete production flow versus the unit test flow you seem to be using. Your tarball doesn't include your netlist and isn't usable as a test case.
With ORFS you can package a test case easily with the _issue targets.

flow.zip

I will switch to the flow scripts, but can you once have a look and tell me if its not debuggable at all

@13vaidehi
At my end i'm not facing any issues with detail routing.
update following part and run again:
# Global routing

pin_access
set route_guide "./lc_route_guide.guide"
global_route -guide_file $route_guide \
  -congestion_iterations 100

set verilog_file "lc.v"
write_verilog -remove_cells $filler_cells $verilog_file

################################################################
# Antenna repair

check_antennas
utl::metric "GRT::ANT::errors" [ant::antenna_violation_count]
#repair_antennas

################################################################
# Detailed routing

set_thread_count [exec getconf _NPROCESSORS_ONLN]
detailed_route -guide $route_guide \
               -output_guide "./lc_output_guide.mod" \
		-output_drc  "./lc_route_drc.rpt" \
               -output_maze "./lc_maze.log" \
               -verbose 1

I will do it. Did you run it in OpenROAD?

I will do it. Did you run it on OpenROAD?

How do I change the permission of a file that is being created?

check the results directory access/permissions.
that's why suggesting to use tested script wrapper from https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
What ever variable you're passing, same thing you can use in that ORFS flow itself/ its already pre-defined. its easy to track and all required inputs and configuration path set properly.
What is your final goal?

@13vaidehi
are you able to fix the access issue?

Closing this issue its passed routing stage.


Version 1.14.2 fails to load needed dependency.

Discovered by our travis builds triggered by greenkeeper, with version 1.14.2 a clean install fails to find module lodash.escaperegexp when using this module
it appears the change to package.json for this commit which introduced the dependency on lodash.escaperegexp was recently reverted by this commit, possibly in error.
Relevant excerpt from the build log follows:
Error: Cannot find module 'lodash.escaperegexp'
    at Function.Module._resolveFilename (module.js:513:15)
    at Function.Module._load (module.js:463:25)
    at Module.require (module.js:556:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/travis/build/SockDrawer/SockBot/node_modules/sanitize-html/index.js:3:19)

Complete build log can be found here if additional information is needed

Fixed, sorry for the hassle.


SSL Grad-cam

Hello @jacobgil
Thanks a lot for these awesome repositories :)
is it possible to access the ViT backbone of pretrained DINO network and then explain it with grad-cam methods?
Probably accessing specific layers etc. kindly help with how exactly it could be done?
Best Regards,
@jaiswati

First - for DINO you can just use the self attention from the last layer, and visualize it as a 2D image.
Another option, using this repo, since you don't have categories, would be to use the "EigenCAM" method. This will find salient objects in the feature representations.
And yet another option -
A few minutes ago I added a notebook tutorial for visualizing concept embeddings in images:
https://github.com/jacobgil/pytorch-grad-cam/blob/master/tutorials/Pixel Attribution for embeddings.ipynb
It works on models that output embedding feature vectors (like DINO or other SSL models),
and searches for concept embeddings in the image.
In SSL you would have to define these concepts - they could be samples of the training images, for example.

@jacobgil ,
Thanks a lot for this wonderful post, Also would like to know if  there is any recommendation around explanation through adversarial attacks on the image etc. Apologies !! I am bit new in this context..
Best Regards,
@jaiswati


ROS Melodic and freefloating_gazebo

I'm using the ROS melodic, I checked out on the breach, when running the roslaunch there is an error in the freefloating_gazebo package. Because of this I cannot execute the launch and open the gazebo. Could you help me solve this problem?

clone the freefloating_gazebo to the resource doc

I also have the same problem that cannot be solved by following the above method. Can anyone explain it in more detail? Thank you


param.DateRange  should accept date object - or at least raise a warning

right now param.DateRange accepts date objects without any warnings - but does not work that way; I feel it is reasonable to expect it to work with dates, given the name :-)

See example of the problem at https://github.com/pyviz/panel/issues/486 .

Fixed by https://github.com/holoviz/param/pull/341


Error on Getting engineRunning

Describe the bug
Jul 03 10:07:54 volvo2mqtt [1] - INFO: Success! Tire Rear Left is supported by your vehicle.
Jul 03 10:07:54 volvo2mqtt [1] - INFO: Success! Tire Rear Right is supported by your vehicle.
Traceback (most recent call last):
File "/volvoAAOS2mqtt/./main.py", line 13, in
authorize()
File "/volvoAAOS2mqtt/volvo.py", line 52, in authorize
check_supported_endpoints()
File "/volvoAAOS2mqtt/volvo.py", line 159, in check_supported_endpoints
state = api_call(entity["url"], "GET", vin, entity["id"])
File "/volvoAAOS2mqtt/volvo.py", line 250, in api_call
return parse_api_data(data, sensor_id)
File "/volvoAAOS2mqtt/volvo.py", line 369, in parse_api_data
return engine_states[data["engineRunning"]["value"]] if util.keys_exists(data, "engineRunning") else None
KeyError: 'false'
Version info
Docker Container 1.7.1

Ahhh, I see. Nice. Volvo api returns for some cars "STOPPED" for others "false"...
Are you able to test this while your engine is running ?
I will fix this ASAP.

v1.7.2 is yours

its working again, the car isn't here right now, I will inform you after a test during running....

On #46 there is the state "true". So my question is already answered. Thanks!


Unknown CDK when run command "npx ampx sandbox"

Environment information
Command: npx ampx sandbox
Output:
Amplify Sandbox

  Identifier:   xxxx
  Stack:        xxxx

To specify a different sandbox identifier, use --identifier
Error: error: unknown command 'cdk'

Caused By: error: unknown command 'cdk'

Description
Hi Team,
Currently, I am using amplify 2 sandbox to testing my application in local. However, when I ran the command "npx ampx sandbox" it always returned the error "unknown command 'cdk'".
Here is my development environment version:
node: v20.11.1
npm: 10.5.2
cdk (I tried to install it but still had no luck): 2.149.0

Hey @iLoJokerZ, thank you for reaching out. Does the package.json contain the following packages?
"aws-cdk": "^2.148.1",
"aws-cdk-lib": "^2.148.1",
"constructs": "^10.3.0",

was the project was created using npm create amplify@latest?

Hi @ykethan. Sure thing. I also tried uninstall and install again.

@iLoJokerZ how is the project currently setup? is this a monorepo?
Could you run npx ampx info and provide us the output?

@ykethan, the project tends to build a lambda function, so it was based on the instruction in this link (https://docs.amplify.aws/react/build-a-backend/functions/set-up-function/). Moreover, I also used NestJS as a framework to implement a function.
Here is a information from npx ampx info
System:   OS: Windows 10 10.0.19045   CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz   Memory: 21.87 GB / 31.94 GB Binaries:   Node: 20.13.0 - C:\Program Files\nodejs\node.EXE        Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD          npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD           pnpm: undefined - undefined NPM Packages:   @aws-amplify/backend: 1.0.1   @aws-amplify/backend-cli: 1.0.2   aws-amplify: Not Found   aws-cdk: 2.141.0   aws-cdk-lib: 2.141.0   typescript: 5.4.5 AWS environment variables:   AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1   AWS_SDK_LOAD_CONFIG = 1   AWS_STS_REGIONAL_ENDPOINTS = regional No CDK environment variables

Hey @iLoJokerZ, this appears to be an issue with the project setup and not the functions setup.
Is this a windows environment?
Could you provide us a screenshot of the project structure and package.json?
Would you be open for a reach out on discord? my handle is ykethan

@ykethan

It is a windows environment
Here are the project structure and package.json

{   "version": "1.0.0",   "description": "This README would normally document whatever steps are necessary to get your application up and running.",   "main": "index.js",   "scripts": {     "test": "echo \"Error: no test specified\" && exit 1"   },   "keywords": [],   "author": "",   "license": "ISC",   "devDependencies": {     "@aws-amplify/backend": "^1.0.0",     "@aws-amplify/backend-cli": "^1.0.1",     "@aws-sdk/client-cognito-identity-provider": "^3.572.0",     "@aws-sdk/client-lambda": "^3.572.0",     "@eslint/js": "^9.2.0",     "@stylistic/eslint-plugin": "^2.1.0",     "@types/express": "^4.17.21",     "@types/morgan": "^1.9.9",     "@types/pg": "^8.11.6",     "aws-cdk": "^2.149.0",     "aws-cdk-lib": "^2.149.0",     "constructs": "^10.3.0",     "dotenv": "^16.4.5",     "esbuild": "^0.20.2",     "eslint": "^8.57.0",     "eslint-plugin-import": "^2.29.1",     "globals": "^15.2.0",     "tsx": "^4.9.0",     "typescript": "^5.4.5",     "typescript-eslint": "^7.9.0"   },   "dependencies": {     "@codegenie/serverless-express": "^4.14.1",     "@googleapis/androidpublisher": "^16.0.0",     "@isaacs/ttlcache": "^1.4.1",     "@nestjs/common": "^10.3.10",     "@sendgrid/client": "^8.1.3",     "aws-sdk": "^2.1618.0",     "axios": "^1.6.8",     "body-parser": "^1.20.2",     "cdk": "^2.149.0",     "cron-parser": "^4.9.0",     "express": "^4.19.2",     "googleapis-common": "^7.2.0",     "html-to-text": "^9.0.5",     "joi": "^17.13.1",     "jose": "^5.3.0",     "jsonwebtoken": "^9.0.2",     "jsrsasign": "^11.1.0",     "morgan": "^1.10.0",     "npx-cli": "^0.0.4",     "object-path": "^0.11.8",     "pg": "^8.11.5",     "pg-hstore": "^2.3.4",     "probe-image-size": "^7.2.3",     "sequelize": "^6.37.3",     "sequelize-typescript": "^2.1.6",     "source-map-support": "^0.5.21"   } }
Is there any other way besides Discord, because I can't use Discord?

@iLoJokerZ, just to ensure is this the package.json under the Amplify folder or the root? As did observe the Amplify folder contains node_modules as well.

Hi @ykethan, thanks for your suggestion. After I moved the package.json, the issue still there

Hey @iLoJokerZ, if you are unable to use discord. Could you provide us your email address to setup a call to dive into the issue?

Hi @ykethan. My apologize for the late reply. About the issue, it is good now. I am not sure this is a good approach but it helps me solve the issue. I just reinstall my windows, and setup again then everything is good now.
Thank you for your time. We can close this topic.

Glad to hear you were able to mitigate the issue. Closing this, do reach out if you are still experiencing this.


Merge pull request #1 from alibaba/master

update from origin

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


[FEATURE] Add Query to the Dashboard Visualization Object

Problem Statement
We want to write SDK code to reassign a dashboard and all its queries. To do this, we need to get
each query associated with a dashboard, but code like this does not work
d = w.dashboards.get(dashboard_id=dashboard_id)
d.widgets[0].visualization.query # AttributeError: 'Visualization' object has no attribute 'query'

If you do the same thing with the API directly it works
response = requests.get(HOST + "/api/2.0/preview/sql/dashboards/" + dashboard_id, headers=auth_header)
if response.status_code != 200:
  raise Exception(response.text)
response_json = response.json()
response_json['widgets'][0]['visualization']['query']['id']

Proposed Solution
Add the query object to the visualization object in the dashboard/widgets result.

@alanjack-db this is generated from OpenAPI spec, please add the mapping in the universe


Add ability to get and export audit-log by date range

let administrators or people like CISOs get detailed information of who did what and when by specifying a date range.

Coverage increased (+1.3%) to 35.671% when pulling 60f2e2c97b63b054f46e9a6e4b7fb88a1330fad9 on feature/get-auditlog into ad5236c3b107fbb81b0da456253230b5a9fa5c54 on main.


img2pdf: error: unrecognized arguments: -c eval export PYTHONNOUSERSITE="1"

Description of the bug
Hello !
I hope you all are having a good day !
I was encountering an issue where the img2pdf command in the CONVERT_WISECONDORX_IMAGES. I found a related comment in the GitHub issues section here, which seems to mention a similar problem.) .I have tried a few potential solutions, such as unsetting environment variables only for this specific process, but the error persists.

-[dincalcilab/samurai] Pipeline completed with errors-
ERROR ~ Error executing process > 'DINCALCILAB_SAMURAI:SAMURAI:LIQUID_BIOPSY:CONVERT_WISECONDORX_IMAGES (genome_plot)'

Caused by:
  Process `DINCALCILAB_SAMURAI:SAMURAI:LIQUID_BIOPSY:CONVERT_WISECONDORX_IMAGES (genome_plot)` terminated with an error exit status (2)

Command executed:

  img2pdf A_genome_plot.png B_genome_plot.png C_genome_plot.png D_genome_plot.png \
      --title "WisecondorX results" \
      -o genome_plots.pdf

  cat <<-END_VERSIONS > versions.yml
  "DINCALCILAB_SAMURAI:SAMURAI:LIQUID_BIOPSY:CONVERT_WISECONDORX_IMAGES":
      img2pdf: $(img2pdf --version | cut -d' ' -f2)
  END_VERSIONS

Command exit status:
  2

Command output:
  (empty)

Command error:
  usage: img2pdf [-h] [-v] [-V] [--gui] [-o out] [-C colorspace] [-D]
                 [--engine engine] [--first-frame-only] [--pillow-limit-break]
                 [--pdfa [PDFA]] [-S LxL] [-s LxL] [-b L[:L]] [-f FIT] [-a]
                 [--crop-border L[:L]] [--bleed-border L[:L]]
                 [--trim-border L[:L]] [--art-border L[:L]] [--title title]
                 [--author author] [--creator creator] [--producer producer]
                 [--creationdate creationdate] [--moddate moddate]
                 [--subject subject] [--keywords kw [kw ...]]
                 [--viewer-panes PANES] [--viewer-initial-page NUM]
                 [--viewer-magnification MAG] [--viewer-page-layout LAYOUT]
                 [--viewer-fit-window] [--viewer-center-window]
                 [--viewer-fullscreen]
                 [infile ...]
  img2pdf: error: unrecognized arguments: -c eval export PYTHONNOUSERSITE="1"
  export R_PROFILE_USER="/.Rprofile"
  export R_ENVIRON_USER="/.Renviron"
  export JULIA_DEPOT_PATH="/usr/local/share/julia"
  export PATH="$PATH:/home/.nextflow/assets/dincalcilab/samurai/bin"; /bin/bash .command.run nxf_trace

might it be arguments being passed to the img2pdf container from the Docker image itself? I attach the command.sh and log files below
PD: Additionally, I encountered the error related to an unsupported genome when using GRCh38 with GISTIC. To resolve that, I made a small modification locally to the genome switch statement in the script to ensure GRCh38 is recognized and treated the same as hg38:
switch(genome) {
        case "hg38":
        case "GRCh38":
            ref_gene_file = "-refgene '/opt/refgenefiles/hg38.UCSC.add_miR.160920.refgene.mat'"
            break
        case "hg19":
            ref_gene_file = "-refgene '/opt/refgenefiles/hg19.UCSC.add_miR.140312.refgene.mat'"
            break
        default:
            error "Unsupported genome ${genome}"
    }

Looking forward for your reply!
Thanks in advance!
Command used and terminal output
nextflow run dincalcilab/samurai --input test4bams.csv -profile docker \
--outdir test_docker_samurai --genome GRCh38 \
--fasta ~/Reference/bwa_GRCh38/Homo_sapiens.GRCh38.dna.primary_assembly.fa     \
--fai ~/Reference/bwa_GRCh38/Homo_sapiens.GRCh38.dna.primary_assembly.fa.fai     \
--dict ~/Reference/bwa_GRCh38/Homo_sapiens.GRCh38.dna.primary_assembly.fa.dict \
--analysis_type liquid_biopsy --caller wisecondorx \
--normal_panel /home/alessandra/Projects/rawdata/test_docker_samurai/wisecondorx/PoN/PoN.npz \
--max_memory 28.GB --compute_signatures TRUE --run_gistic TRUE --gistic_broad_analysis TRUE

Relevant files
N E X T F L O W ~ version 23.10.1
Container: Docker
OS: Linux
Version: dincalcilab/samurai v1.0.3-gf92d1e1
System information
command_24nov.txt
nextflow24nov.log

Thanks for the report! Can you provide the .command.sh in the workdir mentioned by Nextflow? The error is kind of nonsense (it's like something wrong is passed to img2pdf), so I have to figure out what's going on.
Please file a separate issue for GISTIC so that can be tracked separately. Thanks!

Hello there !
This is the .command.sh, I attached it in the OP as txt since github did not support .sh extension.
#!/bin/bash -euo pipefail
img2pdf  A_R_genome_plot.png B_R_genome_plot.png C_R_genome_plot.png D_R_genome_plot.png \
    --title "WisecondorX results" \
    -o genome_plots.pdf

cat <<-END_VERSIONS > versions.yml
"DINCALCILAB_SAMURAI:SAMURAI:LIQUID_BIOPSY:CONVERT_WISECONDORX_IMAGES":
    img2pdf: $(img2pdf --version | cut -d' ' -f2)
END_VERSIONS

Thanks !

Now thisis truly weird. Are you using Docker, I assume?
What if you run just Docker in that folder with
docker run -v $(pwd):/data quay.io/einar_rainhart/img2pdf:latest 'cd /data && ./.command.sh

Does it still error out?

After testing like I suggested, you might want to update: I changed the container to use Seqera's Wave service and hopefully it might be better.

Hello ! Yes, the new version coorect it and the genome_ploy.pdf is created without problem !  Thank you so much !

Great! I'll close this and tag a new release with the fix. Thanks a bunch for your feedback!


BleError: Characteristic ... read failed for device

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

Expected Behavior
Reading characteristic from Glucose Monitoring Device delivers readable value.
Current Behavior
I try reading the characteristic, and I get the following error:
BleError: Characteristic 00002a51-0000-1000-8000-00805f9b34fb read failed for device CC:78:AB:A3:A8:97 and service 00001808-0000-1000-8000-00805f9b34fb
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Connect to the device normally.

const GLUCOSE = {
		char: "00002a51-0000-1000-8000-00805f9b34fb",
		service: "00001808-0000-1000-8000-00805f9b34fb",
	};
	const readPromise = device.readCharacteristicForService(
		GLUCOSE.service,
		GLUCOSE.char,
	);

BleError: Characteristic 00002a51-0000-1000-8000-00805f9b34fb read failed for device CC:78:AB:A3:A8:97 and service 00001808-0000-1000-8000-00805f9b34fb
Context
Not very useable React Native log:
06-19 17:14:30.667 32260 32679 W ReactNativeJS: BleError: Characteristic 00002a51-0000-1000-8000-00805f9b34fb read failed for device CC:78:AB:A3:A8:97 and service 00001808-0000-1000-8000-00805f9b34fb
06-19 17:14:30.667 32260 32679 W ReactNativeJS: construct@[native code]
06-19 17:14:30.667 32260 32679 W ReactNativeJS: _construct@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:94079:28
06-19 17:14:30.667 32260 32679 W ReactNativeJS: Wrapper@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:94023:25
06-19 17:14:30.667 32260 32679 W ReactNativeJS: BleError@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:93851:106
06-19 17:14:30.667 32260 32679 W ReactNativeJS: parseBleError@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:93889:30
06-19 17:14:30.667 32260 32679 W ReactNativeJS: _callPromise$@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:94237:51
06-19 17:14:30.667 32260 32679 W ReactNativeJS: tryCatch@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:23068:23
06-19 17:14:30.667 32260 32679 W ReactNativeJS: invoke@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:23243:32
06-19 17:14:30.667 32260 32679 W ReactNativeJS: tryCatch@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:23068:23
06-19 17:14:30.667 32260 32679 W ReactNativeJS: invoke@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:23144:30
06-19 17:14:30.667 32260 32679 W ReactNativeJS: http://localhost:8081/index.delta?platform=android&dev=true&minify=false:23156:21
06-19 17:14:30.667 32260 32679 W ReactNativeJS: tryCallOne@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:24360:16
06-19 17:14:30.667 32260 32679 W ReactNativeJS: http://localhost:8081/index.delta?platform=android&dev=true&minify=false:24461:27
06-19 17:14:30.667 32260 32679 W ReactNativeJS: _callTimer@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:27743:17
06-19 17:14:30.667 32260 32679 W ReactNativeJS: _callImmediatesPass@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:27779:19
06-19 17:14:30.667 32260 32679 W ReactNativeJS: callImmediates@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:27998:33
06-19 17:14:30.667 32260 32679 W ReactNativeJS: callImmediates@[native code]
06-19 17:14:30.667 32260 32679 W ReactNativeJS: __callImmediates@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:2548:35
06-19 17:14:30.667 32260 32679 W ReactNativeJS: http://localhost:8081/index.delta?platform=android&dev=true&minify=false:2369:34
06-19 17:14:30.667 32260 32679 W ReactNativeJS: __guard@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:2531:15
06-19 17:14:30.667 32260 32679 W ReactNativeJS: flushedQueue@http://localhost:8081/index.delta?platform=android&dev=true&minify=false:2368:21
06-19 17:14:30.667 32260 32679 W ReactNativeJS: flushedQueue@[native code]
06-19 17:14:30.667 32260 32679 W ReactNativeJS: invokeCallbackAndReturnFlushedQueue@[native code]

Library version: 1.0.3
Platform: Android.
Contents of the package.json file:

"dependencies": {
		"@types/js-base64": "^2.3.1",
		"js-base64": "^2.5.1",
		"react": "16.8.3",
		"react-native": "0.59.9",
		"react-native-ble-plx": "^1.0.3"
	},
	"devDependencies": {
		"@babel/core": "^7.4.5",
		"@babel/runtime": "^7.4.5",
		"@types/jest": "^24.0.15",
		"@types/react": "^16.8.20",
		"@types/react-native": "^0.57.63",
		"@types/react-test-renderer": "^16.8.2",
		"babel-jest": "^24.8.0",
		"jest": "^24.8.0",
		"metro-react-native-babel-preset": "^0.54.1",
		"react-test-renderer": "16.8.3",
		"typescript": "^3.5.2"
	},

And I have ensured that the service and characteristic exists on the connected device.

Hi,
I have the same problem. Can you show how you fixed this error ?

Hey,
Even i facing the same issue.
Did you guys got the fix and how did you fixed it??
Please help....

Same error here after cloning a 32GB card (overloaded) onto a brand new 64GB sd card and placing it in a RAK v2 hotspot miner. Pairing fine and failing to open diagnostics.

I'm having the same issue. I discover all the characteristics and services, i get the service i want also as the caracteristic, i check that the characteristic has the readable flag to true but then i get this error. Even more, this just work perfect on some tablets but fails in another one.

Same issues, any movement?

I had the same issue. However, I was using a sideloaded device for local debugging. The local device settings were "JS Dev Mode... with DEV = true".. and Fast Refresh Disabled. When I turned JS Dev Mode OFF, and set to Fast Refresh, the problems went away and it worked. I imagine that JS Dev Mode off and Fast Refresh on reduce the latency. For a Bluetooth connection (doing stuff every 30ms or so during a connection) - a few tens of milliseconds of latency can be deadly. Happy coding, I hope this message helps someone.

I have the same issue


New api version for redis 2018-03-01

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-go

Automation for azure-sdk-for-python

Please feel free to review, but do not accept this pull request yet.

Automation for azure-sdk-for-node

hey @TimLovellSmith
Out of interest does this API version include fixes for https://github.com/Azure/azure-rest-api-specs/issues/1347 and https://github.com/Azure/azure-rest-api-specs/issues/1499?
Thanks!

@tombuildsstuff  #1347 yes, it is intended it will (api spec is done here, but server fixes are not yet rolled out). #1499 no, although I believe that is purely a server bug and won't require a new api version. If #1499 is still happening for you could you get me some more details in that bug's thread? I've had trouble tracking down what is going on there.

@AutorestCI rebuild azure-sdk-for-go

@AutorestCI rebuild azure-sdk-for-go

@mcardosos This PR is now ready to be accepted!
//cc jhendrixMSFT

Great!
@TimLovellSmith question, is this already deployed?

@mcardosos
Yes, you can now call the new api-version in public Azure

Automation for azure-libraries-for-java

@AutorestCI rebuild azure-sdk-for-go

@AutorestCI rebuild azure-sdk-for-go

@AutorestCI rebuild azure-libraries-for-java


How to use this in a meteor package.

I'm developing a meteor package that depend on typeaheadjs. So how to import typeahead from npm?

It's not related to this repository; you don't necessarily need this package (though in general, all Meteor applications have/should have this in their dependencies).  Please see the Meteor Guide article on using packages from npm.
(hint: it's the same as in other bundlers: install the npm, and require the module in your code! 😄)


[setup.py]AttributeError: module 'torch.utils' has no attribute 'cpp_extension'

The following statement is required.
"from torch.utils.cpp_extension import BuildExtension"

Thanks, I will fix it later.


always use http scheme for localhost

fixes #758

Thanks, merged in c6f4b09

Thanks, merged in c6f4b09

Thanks for this sir :+1:

You're most welcome.


Consider replacing anyOf with allOf for enum types at least

In converted schema there are many places like this:
      schema:
        anyOf:
          - $ref: '#/components/schemas/Pbx.NumberFilterType'

This I believe is done to express extra props. Specifically to make this type nullable for example.
While this works with OpenAPI Generator 5.4.0 it doesn't work with many other versions including 6.X branches.
6.X branches generate complete gibberish if referenced type is enum and it is referenced via anyOf
I'm not a great specialist in OpenAPI specs but I want to raise this discussion because replacing anyOf to allOf works perfectly.
So what do you think?
Steps to reproduce
Make a schema with enum.
Expected result
      schema:
        allOf:
          - $ref: '#/components/schemas/Pbx.NumberFilterType'

Actual result
      schema:
        anyOf:
          - $ref: '#/components/schemas/Pbx.NumberFilterType'

@sherlock1982 thanks for the suggestion.
Can you expand on why you didn't request this instead?
schema:
  $ref: '#/components/schemas/Pbx.NumberFilterType'

Currently, we use AnyOf when referencing an enum reference if it is nullable in OpenAPI 3.0 spec. and above. An example would be:
requestedModalities:
  type: array
  items:
    anyOf:
      - $ref: '#/components/schemas/microsoft.graph.modality'
      - type: object
        nullable: true

else (if it is not nullable)
role:
  $ref: '#/components/schemas/microsoft.graph.screenSharingRole'

Using allOf would mean that all of the given schemas must be valid for the given property, which would not be factual.

@sherlock1982 would oneOf work for your case?


bug: GraphiQL intermittently fails to work with the <DGS_GRAPHQL_PATH> failing to be replaced

Expected behavior
When I use the GraphiQL it should work
Actual behavior
A picture is worth a thousand words:

Steps to reproduce
Not sure how to reproduce as it's not always the case. Seems like some race condition as described in #1135
It almost never happens locally on my Mac M1 and almost always happen on our dev developpement server that has much less resources (CPU, ram, ...)
I'm using version 7.5.3 of the dgs-bom.

Hello @lthoulon-locala. Can you explain more about what steps you are taking to use GraphiQL and where in that process you are getting an error?

@kailyak I added more precisions to the original message. Let me know if that's sufficient.

HI. Still getting this error using latest 8.2.2. Any updates on the matter ?
Thanks

Hi @lthoulon-locala - unfortunately we are not able to reproduce this issue either. If you have a branch or a test case that can reproduce this, we can dig into this further.

Graphiql is now handled by the DGS / Spring-GraphQL integration, so even if we would be able to reproduce the fix won't be in DGS itself. Closing as it is no longer actionable.

@paulbakker I was able to reproduce this...
Steps to reproduce:

Start the server
Navigate to http://localhost:8080/graphiql/index.html?query=foo
Error shows up in response pane: message": "Window.fetch: http://localhost:8080<DGS_GRAPHQL_PATH> is not a valid URL.",
No queries will work now.

Workaround:

Start the server
Navigate to http://localhost:8080/graphiql/index.html (must end with /index.html)
Works now

Issue:

The transformer in the configurer only runs once, the first time the index.html page is loaded.
Since it's looking for endsWith, if there's any query params on the uri, it won't substitute the values.
recommend checking the exchange.request.path.value() instead of uri, or something without the query params.

Hope this helps.  This was a tricky one.


Initially not working with multiple devices

I have two wemo insights and both of them are detected by wemo-homecontrol but when you go to HomeKit only one of them appears. It seems that you create a new IPTransport per device:
t, err := hc.NewIPTransport(hcConfig, acc.Accessory)
I made a test having all the devices added to the same IPTransport and in that case all devices appear properly on HomeKit. When you register the device it appears as a gateway and once connected you have both of the switches.
I don't know if the problem is on the usage of hc (github.com/brutella/hc) or indeed, a problem in hc. Looking on it, it doesn't allow to add new accessories (devices) after an IPTransport is created.
Apart from that all is working like a charm, thanks for it. If you need any help with the code, let me know.
Something I am working on:

Force the addition of devices without discovering them, in order to add devices from different networks
Be able to run wemo-homecontrol in a docker container

Thanks for the report.  I only have one of these devices, which would explain why it doesn't work with multiples.  I suspect it's a problem with my usage of hc.  I'll take a stab at fixing it, and ask you to test it when it's ready.

By the way, I'd be happy to take a Dockerfile for this.

Hmm, not a lot of other hc users do multiple accessories, but some that do (including one by the author) do it similarly to how I'm doing it in this module.  An example, https://github.com/brutella/hklifx/blob/master/hklifxd.go#L128-L162

Well I don't know. I am testing with, "out of the box" configuration on all elements:

Configure the switches with the mobile wemo app
Both of them are visible on the app and you can turn them on and off
Clone your git repo, compile and run
Both switches are detected by the program
Open HomeApp on the iPhone
It detects only one of them as a switch, you can add it to your HomeKit environment

But now that I am writing this, I think the problem can be somewhere else, I will need to test it again when I am back home, but I think that the one detected is not the one added, I mean, it detected one but then when you see which one is in HomeKit is the other one, but I am not 100% sure on this. Looking into the function itself: https://github.com/brutella/hc/blob/master/ip_transport.go#L52-L68 it mentioned that the database can't be the same
// *Important:* Changing the name of the accessory, or letting multiple
// transports store the data inside the same database lead to
// unexpected behavior – don't do that.
Why I am 100% sure is that if instead all calling it once per found device I add them as a list of accessories, both of them appear properly on the homekit app.
t, err := hc.NewIPTransport(hcConfig, acc1.Accessory,acc2.Accessory)
Let me check a little bit more and I will let you know.

Ah! Thanks for the tip.  I think the issue is that I am setting the storage path to be ~/.homecontrol/wemo, https://github.com/joeshaw/wemo-homecontrol/blob/master/main.go#L461.  I think I was under the assumption that was a base path, and that hc would create a directory per-accessory under that.  This should be a relatively simple fix, I will pass in a new config each time with the serial number tacked onto the end of the directory.

Confirmed, changing the StoragePath in the hcConfig solve the problem.

One last thing you could check for me: do your accessories have exactly the same name?

no, each one of them has a different name, I have not checked if you can even name them equally on the WemoApp. Anyhow if you want to be sure they are different, you can use the serial number.

Or sorry, were you asking me to test using the same device name for both switches?

No, I was just curious if they had the same name, for the purpose of the storage directory (since hc's default is to use the accessory name).  But it'll just be simpler to use the serial number.


Calm over westeros - announce declared challenge (automation)

Can you add a chat sentence to tell each player which challenge was reduced by 1 when calm over westeros is revealed? (automation, not necessary)

It already does:
https://www.dropbox.com/s/c15ijm46ggguprb/Screenshot 2016-11-21 21.44.29.png?dl=0


Fix link to Helm RBAC topic

The current link yields a 404 error. Does what I changed match your expectations?

Hi @kylos101 thanks for your submission! Our team will review this PR next week. Happy 4th!

Hi @kylos101 , Thanks for the PR. Yes, I believe that matches the expectation. If you would please increment the chart version to 4.0.4, it'll be good to go.

@jlinder all set, thank you for guidance and example link! That made it super easy.

@jlinder this should be all set now, let me know if anything else is needed?

Hi @kylos101 , I noticed the version on master was incremented in another commit. If you can increment the patch number to one greater than what's on master, I'll get it merged as soon as it's in so this doesn't happen again.

@jlinder good catch! It should be better now. 👍

Excellent. Thanks @kylos101 !


Prep and set for v1.0.0 release

It is here!  The version should be set, but otherwise...that's it?

Er, also need to setup changelog for v1.0.0 and unreleased section.
Will merge to stable first, then back to develop second.
While on release branch and until merge to develop finished, should build all commits on CircleCI.

Should also turn off auto-cancel redundant builds so both PRs are run (and therefore both will be checked for changelog).