Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be eithe r because this is a non-angular page or because your test involves client-side navigation, which can interfere with Prot ractor's bootstrapping.

Hi there!
Thanks for submitting an issue to Protractor.
To help us help you better, please do the following before submitting an issue:

Review the questions section of CONTRIBUTING.md.
Make sure you are not asking a usage or debugging question. If you are, use StackOverflow, Google Group discussion list, or Gitter to get help.
Provide a minimally reduced test case. This makes it much more likely that your bug will be fixed. Protractor has a test Angular application available at http://www.protractortest.org/testapp which you can use for the reproducible test case.
Fill in the information that corresponds to your type of issue below.
Delete this intro and any unrelated text :smile: (if you do not we'll assume you haven't read these instructions and automatically close the issue.)

Bug report

Node Version: ``
Protractor Version: ``
Angular Version: ``
Browser(s): ``
Operating System and Version ``
Your protractor configuration file
A relevant example test
Output from running the test
Steps to reproduce the bug
The URL you are running your tests against (if relevant)

Feature Request

Reasons for adopting new feature
Is this a breaking change? (How will this affect existing functionality)

describe("Test this for input field", function () {
beforeEach(function() {
        browser.get("http://localhost:3000/login");
})

it('Testing using Page Object', function(){
    element(by.css('input')).sendKeys("Cloud");
     element(by.buttonText('Submit')).click();

    browser.switchTo().frame(0);
   $('#username').sendKeys("tenant-admin@tenant.local");
   $('#password').sendKeys("password");
   $('#kc-login').click();

    $('#account').click();

     $('#simple-card_c').click();

   browser.pause( 65535);

});

});
i am getting this Error:
[18:56:00] I/launcher - Running 1 instances of WebDriver
[18:56:00] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
Started
[18:56:05] I/protractor - Encountered browser.pause(), but debugger already attached.
F
Failures:

Test this for input field Testing using Page Object
Message:
Failed: Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be eithe
r because this is a non-angular page or because your test involves client-side navigation, which can interfere with Prot
ractor's bootstrapping.  See http://git.io/v4gXM for details"
Stack:
Error: Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be either
because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protr
actor's bootstrapping.  See http://git.io/v4gXM for details"
at runWaitForAngularScript.then (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\lib\browser.ts:65
2:19)
at ManagedPromise.invokeCallback_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\se
lenium-webdriver\lib\promise.js:1366:14)
at TaskQueue.execute_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdr
iver\lib\promise.js:2970:14)
at TaskQueue.executeNext_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-w
ebdriver\lib\promise.js:2953:27)
at asyncRun (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\p
romise.js:2813:27)
at C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:
676:7
at process.tickDomainCallback (internal/process/next_tick.js:129:7)Error
at ElementArrayFinder.applyAction (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\lib\element.ts
:482:23)
at ElementArrayFinder.(anonymous function) [as sendKeys] (C:\Users\nago0716\AppData\Roaming\npm\node_modules\pro
tractor\lib\element.ts:96:21)
at ElementFinder.(anonymous function) [as sendKeys] (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protract
or\lib\element.ts:873:14)
at Object. (D:\project\Angular_project\sales-intelligence-frontend\test\home_spec.js:14:23)
at C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\index.js:110:25
at new ManagedPromise (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdr
iver\lib\promise.js:1067:7)
at ControlFlow.promise (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webd
river\lib\promise.js:2396:12)
at schedulerExecute (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\index
.js:95:18)
at TaskQueue.execute_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdr
iver\lib\promise.js:2970:14)
at TaskQueue.executeNext_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-w
ebdriver\lib\promise.js:2953:27)
From: Task: Run it("Testing using Page Object") in control flow
at Object. (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\ind
ex.js:94:19)
at C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\index.js:64:48
at ControlFlow.emit (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriv
er\lib\events.js:62:21)
at ControlFlow.shutdown_ (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-we
bdriver\lib\promise.js:2565:10)
at shutdownTask_.MicroTask (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-
webdriver\lib\promise.js:2490:53)
at MicroTask.asyncRun (C:\Users\nago0716\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdr
iver\lib\promise.js:2619:9)
From asynchronous test:
Error
at Suite. (D:\project\Angular_project\sales-intelligence-frontend\test\home_spec.js:7:5)
at Object. (D:\project\Angular_project\sales-intelligence-frontend\test\home_spec.js:1:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)

1 spec, 1 failure
Finished in 5.214 seconds
[18:56:08] I/launcher - 0 instance(s) of WebDriver still running
[18:56:08] I/launcher - chrome #01 failed 1 test(s)
[18:56:08] I/launcher - overall: 1 failed spec(s)
[18:56:08] E/launcher - Process exited with error code 1

I think you answer you own question ;-)

Review the questions section of CONTRIBUTING.md.
Make sure you are not asking a usage or debugging question. If you are, use StackOverflow, Google Group discussion list, or Gitter to get help.

I think your question is not protractor related.
What you can also check if your logon page holds Angular or not, if not, then the issue clear ;-)
Grtz
Wim


Setup storage bucket to use with demo.nebari.dev

Setup GCS bucket.

[ ] attempt to write kbatch results to bucket

Available at gs://nebari-public


[Feature request] Drag drop support

The viewer currently does not seem to support dragging an IFC file to the viewer region to open it.
It's just a better UX but helps alleviate the problem of trying to navigate through folders.
P.S: I'm pleasantly surprised it supports adding multiple IFC files at once

Hello, I started working on this. Is it still a good idea to have it in the example? Or should it be in an "editor".

Hey @tonyk24 I think this would be a fantastic addition to the editor. We'll start the repository these days. If you could create it there then, it would be super great. Thanks a lot for this!


#39 enable bundling assets

This implements the possibility to copy assets, copy sources and only create the transpiled js file in the build instead of a jar file.

Windows support has been improved as well. Don't know if we're there tho.


Add cat command

Issue: https://github.com/yakuter/gol/issues/8
Implemented base on https://www.gnu.org/software/coreutils/manual/html_node/cat-invocation.html#cat-invocation

Thanks for the PR @aaydin-tr


feat(download): add cli and download command

add the CLI parsing and the download command

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


useSWRInfinite does not restore scroll position

Bug report
Description / Observed Behavior
I'm using useSWRInfinite with firestore, however it does not restore scroll position after browser back.
This is current behavior.
https://user-images.githubusercontent.com/26219456/103517383-5c542e80-4eb5-11eb-9344-6a42f7775730.mov
Expected Behavior
After browser back, it should be kept scroll position before url changed.
Repro Steps / Code Example
This is example project, and this is the repository.
Additional Context
SWR version: 0.3.11

caching browser scroll position is out of of swr's scope. you can memorize the scroll position in local/session storage, read and scroll to the position when navigation happens.

caching browser scroll position is out of of swr's scope. you can memorize the scroll position in local/session storage, read and scroll to the position when navigation happens.

@huozhi
Thanks for your response!
I know an idea that using local/session storage, but I've found "Pagination and scroll position recovery" statement at top page, I've made this issue.
If you know, please let me know this statement's meaning.
Thanks

@huozhi
Thanks for your response!
I know an idea that using local/session storage, but I've found "Pagination and scroll position recovery" statement at top page, I've made this issue.
If you know, please let me know this statement's meaning.
Thanks

@Qrymy are you using safari browser? I tried the example link in the description with both chrome and safari, it turns out when you navigate back chrome will preserve the scroll position, but on safari it doesn't maintain the scroll position in last page.
seems this is not a stable cross browser behavior? 🤔 cc @shuding if you have any insights about this or any other elegant solution about this.

@Qrymy are you using safari browser? I tried the example link in the description with both chrome and safari, it turns out when you navigate back chrome will preserve the scroll position, but on safari it doesn't maintain the scroll position in last page.
seems this is not a stable cross browser behavior? 🤔 cc @shuding if you have any insights about this or any other elegant solution about this.

@huozhi
I'm using Chrome with Mac, but it doesn't keep scroll position...
I would like to know scroll position recovery is achieved with only SWR?

@huozhi
I'm using Chrome with Mac, but it doesn't keep scroll position...
I would like to know scroll position recovery is achieved with only SWR?

by default browser API history.scrollRestoration is 'auto' indicating it will restore the scroll position on this page.
reference: https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration
so you should be able to achive it even without SWR. SWR infinite API is trying to cache the data of your list to let the list render smoothly instead of shaking.
UPDATE: I tried your link on safari and chrome a few more times, sometimes it restore the position correctly but sometimes not. usually failed on the first time then it works well.

by default browser API history.scrollRestoration is 'auto' indicating it will restore the scroll position on this page.
reference: https://developer.mozilla.org/en-US/docs/Web/API/History/scrollRestoration
so you should be able to achive it even without SWR. SWR infinite API is trying to cache the data of your list to let the list render smoothly instead of shaking.
UPDATE: I tried your link on safari and chrome a few more times, sometimes it restore the position correctly but sometimes not. usually failed on the first time then it works well.

@huozhi
Thanks, I'll try to check scrollRestoration settings!

@huozhi
Thanks, I'll try to check scrollRestoration settings!

I'm having the same issue... Can anyone on the team please confirm whether scroll position recovery should be expected with useSWRInfinite (as the documentation seems to suggest), or if it's something we have to take care of?
I'm using useSWRInfinite with Next.js by the way, so when I hit the back button I'm doing a client-side transition.

I'm having the same issue... Can anyone on the team please confirm whether scroll position recovery should be expected with useSWRInfinite (as the documentation seems to suggest), or if it's something we have to take care of?
I'm using useSWRInfinite with Next.js by the way, so when I hit the back button I'm doing a client-side transition.

@grazianodev

restoring scrolling position between navigations is a browser native feature
useSWRInfinite is responsible for providing cahced state between navigations

I'm not sure the case you're working with next.js, it would be great if you can provide any minimal reproduction. if it's a next.js issue we can also work with next.js team to solve it out.

@grazianodev

restoring scrolling position between navigations is a browser native feature
useSWRInfinite is responsible for providing cahced state between navigations

I'm not sure the case you're working with next.js, it would be great if you can provide any minimal reproduction. if it's a next.js issue we can also work with next.js team to solve it out.

Thank you @huozhi. I'll try to create a minimal reproduction as you suggest.
In the meanwhile, I might be wrong but as far as I know native scrolling positions only work between different pages, and not when routing is done client-side in single page applications (like Next.js).
Also, just to be clear data caching is working for me, meaning when I hit the back button useSWRInfinite correctly shows the cached data that I had already fetched. The page however has scrolled to the top when I go back.

Thank you @huozhi. I'll try to create a minimal reproduction as you suggest.
In the meanwhile, I might be wrong but as far as I know native scrolling positions only work between different pages, and not when routing is done client-side in single page applications (like Next.js).
Also, just to be clear data caching is working for me, meaning when I hit the back button useSWRInfinite correctly shows the cached data that I had already fetched. The page however has scrolled to the top when I go back.

Hey @huozhi, I've done some tests and I think I've found the issue. It's very easy to reproduce, but I've put together a quick example anyway: https://github.com/grazianodev/useswrinfinite-scroll
The problem arises with pages generated statically by Next.js (using getStaticProps). If you don't use getStaticProps, scroll restoration works flawlessly; if you use it, it gets weird because scroll restoration of page A seems to work based on how much content is in page B: if there's little content in page B, when you go back to page A it has scrolled back to top, regardless of how much you scrolled before going to page B (i.e. doesn't work); if there's a lot of content in page B, when you go back to page A scroll restoration works, but as you will see the scroll is restored when you're still in page B, causing it to do an ugly jump.
In any case, I'm pretty sure it has to do with the fact that for static pages Next.js requests a "pagename.json" file in the background to render the page, and the time it takes to fetch it creates jumps and inconsistencies in the scroll positions...
Does this sound like something that can be worked on?

Hey @huozhi, I've done some tests and I think I've found the issue. It's very easy to reproduce, but I've put together a quick example anyway: https://github.com/grazianodev/useswrinfinite-scroll
The problem arises with pages generated statically by Next.js (using getStaticProps). If you don't use getStaticProps, scroll restoration works flawlessly; if you use it, it gets weird because scroll restoration of page A seems to work based on how much content is in page B: if there's little content in page B, when you go back to page A it has scrolled back to top, regardless of how much you scrolled before going to page B (i.e. doesn't work); if there's a lot of content in page B, when you go back to page A scroll restoration works, but as you will see the scroll is restored when you're still in page B, causing it to do an ugly jump.
In any case, I'm pretty sure it has to do with the fact that for static pages Next.js requests a "pagename.json" file in the background to render the page, and the time it takes to fetch it creates jumps and inconsistencies in the scroll positions...
Does this sound like something that can be worked on?

@grazianodev thanks for providing the reproduction. sounds like it's because next.js SSG will unmount the DOM nodes of whole page while navigating, so that the default scroll position cannot be preserved?
IMO I feel it's more like a next.js behavior which could still be optimized to improve the experience in long term for scroll position restoration. it's not an issue for SWR so I'd like to keep this issue as closed.
I think you can try to memoize the scrolling position by router path as workaround. labeled this issue with "help wanted" to see if anyone have better solutions for this.

@grazianodev thanks for providing the reproduction. sounds like it's because next.js SSG will unmount the DOM nodes of whole page while navigating, so that the default scroll position cannot be preserved?
IMO I feel it's more like a next.js behavior which could still be optimized to improve the experience in long term for scroll position restoration. it's not an issue for SWR so I'd like to keep this issue as closed.
I think you can try to memoize the scrolling position by router path as workaround. labeled this issue with "help wanted" to see if anyone have better solutions for this.


Message dialog: text and actions not separated well enough

run code with code-insiders --locale=pt-br
dialog shows

To me it looks like the gear image is part of the text. Some margins would be good.

That very much depends on the wrapping, e.g. looks fine in this case:

@bpasero Does this need ux discussion or should I assign this to you?

This gets worse for single line messages

Lets learn m. :)

The initial notification that @aeschli shared above does look better now

@ramya-rao-a your case sounds like a bug to me, can you file it if it reproduces?

Now it occurs only on hover.
Did we change something to make the gear and the close icons appear only on hover?

@ramya-rao-a that should have been there since the beginning


Few customizations

Adding a few options to customize the cluster.
Current README will behave the same

Tested and looks good! Thanks!


Fix cli help text example json format

When using the cli for the first time, we copied the sample configuration from the help text into a new file.
Appearently, the json is not valid as it is presented in the help text as there is a missing comma.

Hi @RSchlenker,
thanks for your contribution. :+1:
Did you already send a CLA?
see https://github.com/mercedes-benz/sechub/wiki/Collaboration#cla
(Yes: It seems a bit exaggerated to sign a CLA for a one-character contribution, but we are obligated by our company. :)

@sven-dmlr I just sent the CLA to<EMAIL_ADDRESS>


Clean up software folder

There's some software that doesn't run on the CHERIoT ibex that can be removed.
There's some code quality changes that could be made (e.g. unused defines, tab & space mixture, e.t.c.).

FYI:  @marnovandermaas

I think this has been done through various commit. Feel free to reopen if not.


Django REST framework (maybe ready?)

This pull request represents initial steps towards using Django REST Framework + Ractive.js to have a dynamic shopping experience. Woo!
This has been kinda tricky because (some of) the actions we want to take don't really map well to the standard REST CRUD layout and I'm not 100% sure I made all the right calls. But it basically works.
Outstanding things that come to mind:

[ ] Resizing images via the Daguerre API.
[ ] Displaying step bar.
[ ] Formatting date display correctly (i.e. adding helper function to humanize dates)
[x] Cart expiration setting & display

Not sure how finished you wanted to get this before merging. Currently, this provides a separate page (at /org-slug/event-slug/order/ractive-shop/) which is the ractive-powered shop, while leaving the normal shop untouched, if you want to check it out.

This is actually working pretty darn well... but we're still missing the three items listed above. Once those are completed, this should be ready to switch over... which I think I'd like to do sooner rather than later, since otherwise it'll get out of sync and we might miss something in the transition.
That being said, it would be good to sink a couple hours into writing tests for the api before merging, I think.

This seems like a good start. I'm not sure everything is architected the way I would do it, but since it leaves the original store untouched I figured we could merge it and keep working on it there.


Create pipeline for unit tests

Add a pipeline with the unit tests so that we can ensure pull requests are valid and without issues

Definitely a good idea! If you can make PR for that it would be highly appreciated.


 After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in go env.
I've added special support for GOPROXY using a variable called HOMEBREW_GOPROXY. You can now install the formulae using a specific GOPROXY like this:
HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect

I've also added this to the docs here. Could you try this and let me know if it solves your issue?

Hey @mingmingshiliyu, thanks for reporting this. After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in go env.
I've added special support for GOPROXY using a variable called HOMEBREW_GOPROXY. You can now install the formulae using a specific GOPROXY like this:
HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect

I've also added this to the docs here. Could you try this and let me know if it solves your issue?

It looks like it's using your custom GOPROXY. Does that proxy work for you when you normally use go? (you can try cloning this repo and running make build-go)

Hey @mingmingshiliyu, thanks for reporting this. After a deep dive, I discovered that Homebrew filters out local environment variables and Go configuration set in go env.
I've added special support for GOPROXY using a variable called HOMEBREW_GOPROXY. You can now install the formulae using a specific GOPROXY like this:
HOMEBREW_GOPROXY=https://my-proxy-url brew install chipmk/tap/docker-mac-net-connect

I've also added this to the docs here. Could you try this and let me know if it solves your issue?

it works!


Update hello-eks-anywhere json schema

In order for the json schema to be usable on the helm level, we need to add in additional fields.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We will merge https://github.com/aws/eks-anywhere-build-tooling/pull/1563 instead


Autocomplete is not working

I'm on Debian Linux, Atom .206. I'm currently working on a project which uses composer, but I don't see any autocomplete at all.
I opened dev tools to check if the plugin was crashing behind the scene, but it's not. I do see a Building index and Build done messages in the console, but I don't see any autocomplete.

The plugin seems to not work well with the last version of atom.
Use atom --include-deprecated-apis to use it. I don't know why because I haven't got deprecations on the plugin. So, I need to learn more about changes.

Even with --include-deprecated-apis it's not working at all. Is it working for you on .206 with that argument?

Yes, it works with this argument.
What are you trying to achieve ? Is it a project manage with composer ?

Yes,  it's a Yii2 project managed with composer.
I tried the very simplest thing: $a = new DateTime(); $a-> and it didn't show any autocomplete stuff.

This case is not managed for the moment (not so simple to do ;)). Just class properties and methods are managed. The keyword "$this" so
You should have autocompletion with $this->... ; new ....
You should have namespace wrote if you press ctrl - alt - n.
If that works, the plugin is well installed. Your demand will be implemented later.

You can have a look to the readme for more about features.

I tried with  $this, but that isn't working either. I wrote the full path of my composer bin, as well as the php binary. Is there some way to debug your plugin?

You can console.log in ~/.atom/atom-autocomplete-php/lib/services/php-proxy.coffee in the catch and after the catch. If it enters in the catch, it's that the composer.json is not found and so, it means that you didn't open atom in the project folder.
If it passes, I don't know where the problem come from.

I put some  console.log, but none of the catch paths is executed, so it's not crashing. It just doesn't show any suggestions.
I don't have enough time to debug this properly, so I'll leave the issue open and get back when I have more time ;)

You did a composer install on your project ?
You should have something like that in the root of the directory opened in atom
|- composer.json
|- vendor
----|- autoload.php

Yes, I have only 1 folder opened, and yes, the project is managed with composer.

Ok, so I really don't know.
I will test 0.206.0 on linux this evening to be sure that it's not a problem with the version. I'll try to find the problem that occurs when "--include-deprecated-apis " is not set. Perhaps the problem is the same for linux. (I'm on OSX now)

It works well without --include-deprecated-apis on OSX finally.
So I have no idea for your problem :(

I am also having some issues. Not sure whether this is related.
This is what I copied from the error reported.
[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.0
System: Ubuntu 14.04.1
Thrown From: atom-autocomplete-php package, v0.1.4
Stack Trace
Uncaught TypeError: undefined is not a function
At /home/hari/.atom/packages/atom-autocomplete-php/lib/services/namespace.coffee:22

TypeError: undefined is not a function
  at Object.module.exports.createNamespace (/home/hari/.atom/packages/atom-autocomplete-php/lib/services/namespace.coffee:22:19)
  at atom-workspace.atom.commands.add.atom-autocomplete-php:namespace (/home/hari/.atom/packages/atom-autocomplete-php/lib/config.coffee:43:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
  at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:180:20)

Commands
     -2:17.7.0 core:save (atom-text-editor.editor.is-focused)
     -2:05.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -2:03.1.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -2:02.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -2:00.2.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
  2x -1:57.7.0 atom-autocomplete-php:namespace (atom-text-editor.editor.is-focused)
     -1:55.5.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -1:55.3.0 core:delete (atom-text-editor.editor.is-focused)
     -1:55.1.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -1:54.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:54.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:07.6.0 command-palette:toggle (table.package-keymap-table.table.native-key-bindings.text)
     -0:06.2.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -0:00.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.8.0 atom-autocomplete-php:namespace (table.package-keymap-table.table.native-key-bindings.text)

Config
{
  "core": {
    "themes": [
      "one-light-ui",
      "solarized-dark-syntax"
    ]
  },
  "atom-autocomplete-php": {
    "binComposer": "/usr/bin/composer"
  }
}

Installed Packages
# User
atom-autocomplete-php, v0.1.4
language-php, v0.22.0
php-twig, v4.0.0
tabs-to-spaces, v0.9.0

# Dev
No dev packages

By the way I am having two folders opened.

Hello,
Thanks for the report. In fact, I don't warranty that it works with 2 folders opened. Really harder and not a priority for the moment sorry.
I use atom with multiple windows for multiple projects for the moment.

sure, no problem @Peekmo .
Thank you for the quick response, and thanks for this wonderful piece of software.
Enjoy your day.

No problem, I'll try to improve it again soon ;)
Regards,
Peekmo

I have not any autocomplete. For test this  I installed a clean installation of symfony 2.7 and will not work either.
Im on windows 7, atom 1.0 and last version of autocomplete.

Hello.

What is your test for autocompletion ?
Your vendors are installed ?
If you opened your project before compoer install, did you reload atom ?

Regards,
Peekmo

I tried both with $this as new instance ... own classes or symfony ones
Yes
Yes

Did you open the whole project directory ? (and only this one) in atom ?
I'll try it on windows.

Yes, a clean symfony install to have a clean test scenario.

@Peekmo I'd suggest looking for any Mac OS specific code you could have written as this doesn't work neither on Windows nor in Linux. Can't help any further though, got 0 spare time right now :(

you could have written as this doesn't work neither on Windows nor in
Linux

It is actually working on Linux. I confirm.
Only issue is when you have more than 1 project.

Oh, so we're looking at a heisen bug then. Did you do anything special to get it working? What theme are you using? What other plugins? What config?

@alexandernst I hope [https://github.com/Peekmo/atom-autocomplete-php/issues/18#issuecomment-115330480](this comment) is what you are looking for.

Linux and MacOS are working because the command line is very similar.
I'm not sure that it works well on Windows.
@meigallodixital Did you take a look to the plugin settings ? PHP and Composer options are the most important. I have a task (#30) to make a command to test the configuration.

Autoload and classmap file is on default path.

With the new version if I delete composer.json gives error on develop tools.
If I keep it then works and build returns done. But still no auto or with $this or self:: or generating an new object.

Hello,
I need to completly test it on windows. I can't debug without the OS and PHP on it. I'll try to work on, but I never worked on this platform, so that's hard.
If you know how PHP works on windows, you're welcome to help me to make the plugin works (I can give you all the informations on where to look on, there's not so many places. It's probably on the execution of a php command that something fail).
Note that it's normal that you have an error if you delete the composer.json.

No problem.
If you explain to me where and how to debug the plugin I try to see where it might be failing .

In this coffee file is where almost all the commands are executed from atom (there is command exec from php files too, but if you can debug the first one, the ). When you type $this-> this line is executed. So you can console.log the command and try to execute it directly from your command line (from the plugin directory. I don't know where atom store its plugins on windows, but on linux/OSX it's in ~/.atom/packages)
Perhaps do you will see the problem with this command on windows ?
You can join me on the project chatroom if you have more questions

I'm closing this issue.
The project has changed a lot since its opening date. So, if anyone have a problem again, open a new one please.
Regards,
Peekmo


iOS: Image component uses too much RAM to render images from file system

Description
iOS: Image component uses 300mb of RAM to render image that is actually 8mb.
Version
0.69.4
Output of npx react-native info
System:
OS: macOS 12.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 109.60 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 8.11.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 29, 31
Build Tools: 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
System Images: android-29 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.4 => 0.69.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
For example I used fetch-blob library to download image and store it in the file system, but you can reproduce it without using this library: just put some image (I used 8.4mb image) to the phone file system and use path to this image as uri for Image component's source prop.
Snack, code example, screenshot, or link to a repository
import React, {useEffect, useReducer, useState} from 'react';
import RNFetchBlob from 'rn-fetch-blob';
import {SafeAreaView} from 'react-native-safe-area-context';
import {Button, Image, StyleSheet, View} from 'react-native';
const styles = StyleSheet.create({
container: {
width: '100%',
justifyContent: 'center',
alignItems: 'center',
height: 80,
},
image: {
width: 40,
height: 40,
borderRadius: 20,
resizeMode: 'cover',
},
});
const url =
'https://www.learningcontainer.com/bfd_download/large-sample-image-file-download-for-testing/';
export const Header = () => {
const [path, setPath] = useState('');
const [showImage, toggleShowImage] = useReducer(value => !value, false);
useEffect(() => {
(async () => {
try {
const localPath = ${RNFetchBlob.fs.dirs.CacheDir}/image;
const exists = await RNFetchBlob.fs.exists(localPath);
    if (exists) {
      setPath(localPath);
      return;
    }

    const fetchBlob = RNFetchBlob.config({
      path: localPath,
      appendExt: 'jpeg',
    });

    const response = await fetchBlob.fetch('GET', url);
    setPath(response.path());
  } catch (e) {
    console.log('Error', e);
  }
})();

}, []);
const buttonTitle = ${showImage ? 'Hide' : 'Show'} image;
return (

{showImage ? <Image source={{uri: path}} style={styles.image} /> : null}

);
};

@YanislavSpaceIQ Hi, size of file and size of RAM used to show should not be the same
Actual size of decoded image in RAM: width * height * pixel_format, in your example 7200 * 5400 * 3(RGB) * 8 bit ~ 116.64mb


Showing Active/Inactive instead of 0/1 in case status filter applied.  #6705

Issue Reference
#6705

@papnoisanjeev
This is working fine, please find the screenshot Here

@papnoisanjeev
Not working for customer filter, please find the screenshot Here

@papnoisanjeev
Not working for customer filter, please find the screenshot Here

@Sanjaybhattwebkul
Please check it again working for customers as well  https://prnt.sc/0NsBt4mRsZVB


Loading images

Issue #16
The following pull request adds, fixes, and/or modifies:
Add loading of image and relate it to data of the csv file
I performed the following prior to filing this pull request:

[X] Tested that my change does not break the analysis pipeline
[X] Ran a linter through my code
[X] Update environment dependencies if my code introduces a new package

@gwaygenomics and @jccaicedo could any of you run it on your computer? I would love to merge it but want to prevent the 'it work on my computer' bug

One additional note:
I needed to merge in this branch to master as i was getting strange import errors. 479b578a3f229921e596f1d92523979ae5230647 fixed this.


new_annotation_train.txt vs annotation_train.txt

@LinJM how many files you train in "new_annotation_train.txt"?
(i assume that is edit annotation_train.txt file).

The whole train set.

Thanks


AUX ports currently broken

@LorenzMeier just in case you missed my not so obvious comment on the PR, this change da4d8a5c2b9ff220877caa976671a46a887bdd78 breaks AUX port usage.
Checking for the existence of /dev/pwm_output1 looks like it will always fail since /dev/pwm_output1 doesn't exist until fmu mode_pwm is executed.
Perhaps this check can be done further down before the mixer loads or just do with using the SYS_USE_IO parameter?

Fixed.


Test Codeunit: PTE0007: Assertion function 'AssertError' must not be invoked.

Using the AssertError function in an AL test codeunit results in the following error:
PTE0007: Assertion function 'AssertError' must not be invoked.
PTE0007 says: Test assertion functions are not allowed in a non-test context.
So it looks like codeunits with SubType = Test are not recognized as a test context.
DockerImage: bcinsider.azurecr.io/bcsandbox-master:13.0.22070.0-nl
AL Lanuage: 0.15.14407

Hi, @richardrobberse! You are right, this looks like a bug, but I need to investigate. Are you building a Per Tenant Extension? From what I know, these extensions should not contain tests.

I think the fastest way around this is to disable the "${PerTenantExtensionCop}" for your test extension. That doesn't need to respect the rules of the analyzer.

As far as I can see, this issue has been fixed in the latest version of the AL extension.

You're welcome :) ! Please close the issue if it works or let me know if it doesn't.

It worked :)
Can you add the tags so that it's clear it will be fixed in a future release, this will help other people facing the same thing.


How to export a function that uses a property of my struct but I dont want to export the whole struct?

struct Plugin {
    engine: Engine,
    compiled_code: AST,
    work_dir: PathBuf,
}

impl Plugin {
    pub(crate) fn new_from_string(code: String, work_dir: PathBuf) -> Result<Self> {
        let mut engine = Engine::new_raw();
        engine.register_fn("mkdir", Plugin::mkdir);

        let compiled_code = engine.compile(code)?;

        Ok(Self {
            engine,
            compiled_code,
            work_dir,
        })
    }

    pub(crate) fn mkdir(&self, directory: ImmutableString) -> bool {
        let final_dir = self.work_dir.join(directory.as_str());
        let res = create_dir_all(final_dir);
        if res.is_ok() { false } else { true }
    }
}

how do I use the mkdir function in rhai script without having to instantiate Plugin?
that object creation will happen inside rust :)

thanks so much for the info.
Also, what are the other options you mentioned.
Can you point out on the docs?
Thanks!

Also, what are the other options you mentioned.

What are the other options you require?


Adding new repository for indexing: rviz_ground_image

Please Add rviz_static_ground_image to be indexed in the rosdistro.
FOXY
The source is here:
https://github.com/Plaba/rviz_ground_image.git
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

Thanks a lot!


Changes string+indexing methods to be public

Updates access levels on String+Indexing.swift
Adds missing tests for ip_dropFirst

I just need to point out that this missed a pod spec version bump.

Crap, that was my bad.


Improve mandiff: ignore specified paths inside manifests. Add yaml compare tool to only output diff with neat paths

Resolve: https://github.com/istio/istio/issues/16379, https://github.com/istio/istio/issues/16028

Add YAML compare tool to only output diff based on tree rather than plain text diff.
Support 'ignore path' inside yaml tree.
Mandiff script: Ignore checksum in istio-pilot Deployment in mandiff.

This PR will change mandiff's output into a neat format like this:
spec:
  trafficManagement:
    pilot:
      components:
        k8s:
          resources:
           requests:
             cpu: 500m -> 200m
             memory: 2048Mi -> 1024Mi

@elfinhe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-lint
ee66b7cff622438d7254fb1796e50f2f3569bded
link
/test operator-lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

operator-lint
f2e47526dcdf6c0fca685b6a21b7defa9ffcfc73
link
/test operator-lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


PriorityQueue

Description of Change
This is a pull request regarding the Implementation of Priority Queue using Linked List.In this file I have made a code regarding the Priority Queue.Priority Queue is a type of Data Structure which uses the concept of LinkedList to arrange the data in order of priority as instructed by the user.
Contributors guide: https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md
-->
Checklist

[1]Implementation of Priority Queue using Linked List
[ ] priorityqueue.cpp(https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md#New-File-Name-guidelines)
[3 ] Added tests and example, test passed
[4] Added documentation and the program is self-explanatory and educational - Doxygen guidelines
[5] Relevant documentation/comments is changed or added
[6] PR title follows semantic commit guidelines
[7] Searched previous suggestions before making a new one.
[8] I acknowledge that all my contributions will be made under the project's license.

Notes:

@Panquesito7 ans @realstealthninja Please check my PR and if possible merge it.

@AbhirajBose your PR message has numbers instead of checks in the checkbox. kindly read the markdown down syntax for the adding the checkbox.
Great work by the way but need some more work on this. These are some suggestions:

You have not added any test cases. Please add the test cases.
Do add the docs about your code. It will help other fellow developers to understand it.
Do read the contribution guidelines for the correct format of code and the PR.

@NitishPal2013 Please check it out once now

@AbhirajBose , it still does not follow the contribution guidelines. ping me in the discord community general server if you have any problem in understanding it. My discord username nitish_pal .

@MogomotsiFM Please check my PR now

@NitishPal2013 Please check it now

@MogomotsiFM Yes,it is.If possible,please merge my PR.


Add deserialization for references value types

Fix the deserialization of ValueAddress.type_ when the value is a reference.
Before:

[cast(fp, felt**) -> Value type = felt
Now:
[cast(fp, felt**) -> Value type = felt*

Extra: Remove unit test deserialize_value_type. Wasn't testing anything.
Checklist

[ ] Linked to Github Issue
[x] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #519 (eeb1cb5) into main (1a82b62) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #519   +/-   ##
=======================================
  Coverage   92.13%   92.13%
=======================================
  Files          48       48
  Lines        3192     3193    +1
=======================================
+ Hits         2941     2942    +1
  Misses        251      251

Impacted Files
Coverage Δ

src/serde/deserialize_program.rs
80.48% <ø> (ø)

src/serde/deserialize_utils.rs
82.60% <100.00%> (+0.25%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Feature] Search bar on homepage

Hi @Klocman,
Long time BCU user here, thanks for this useful piece of software. I've read some previous issues, I know you're busy and the project is not your priority right now but there's one feature I would like to see on BCU. I also think the UI is a bit outdated and I'm aware there's not much possibility with WinForms so a re-write of the UI is needed, but that's a different topic.
This request is intended to Klocman and/or any person that's willing to implement this feature.
New feature :
A persistent search bar on the homepage instead of having to hit F3/Ctrl+F to see the search bar on the sidebar. Here is a quickly made mockup to have an idea about how it would look like :

1 : The filter button next to the search button would regroup everything in the sidebar that is under the search bar
2 : People might like the sidebar, so maybe add option to toggle between sidebar or homepage searching

Why is this feature needed :
It will make searching easier and help with faster discovery of software packages.

Currently if the sidebar is hidden there is no way to search, so adding a limited search box in that case would be useful.


New resource: Org API Tokens

https://www.juniper.net/documentation/us/en/software/mist/api/http/api/orgs/api-tokens/overview

added in v0.1.44


accumulo-proxy with Common Static Analysis

We've run into some issues running the Common Static Analysis recipe on the AST for accumulo-proxy (https://github.com/apache/accumulo-proxy). The issue seems to be in JavaTemplate running on a 38k line template based on some code generated by thrift. The javatemplate compilation never completes.

The BlockStatementTemplateGenerator is building a very large template for the AccumuloProxy.java Source file.  There are a large number of sibling classes, each of which is fully templated since BlockStatementTemplateGenerator considers their method/variable declarations as being required.  The solution is to either filter out any unnecessary types or auto-generate stubs.


fix-user-cluster.yml

Issue:
Fixes https://github.com/rancher/rancher/issues/43343

Problem

cattle-cleanup-sa service account does not have the necessary permissions to access resources in the cattle-system namespace, specifically the services resource and does not have permissions to delete resources related to mutating and validating webhook configurations in the admissionregistration.k8s.io API group.
Solution

To resolve these specific errors, should add necessary permissions for services and webhook configurations.
Testing

Engineering Testing
Manual Testing

root@server-1:~# ./user-cluster.sh rancher/rancher-agent:v2.7.6
serviceaccount/cattle-cleanup-sa created
clusterrolebinding.rbac.authorization.k8s.io/cattle-cleanup-binding created
job.batch/cattle-cleanup-job created
clusterrole.rbac.authorization.k8s.io/cattle-cleanup-role created
Error from server (BadRequest): container "cleanup-agent" in pod "cattle-cleanup-job-fw88b" is waiting to start: ContainerCreating
Error from server (BadRequest): container "cleanup-agent" in pod "cattle-cleanup-job-fw88b" is waiting to start: ContainerCreating
time="2023-10-31T14:08:48Z" level=warning msg="failed to reconcile kubelet, error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
time="2023-10-31T14:08:48Z" level=info msg="Starting cluster cleanup"
time="2023-10-31T14:08:48Z" level=info msg="Listening on /tmp/log.sock"
time="2023-10-31T14:08:48Z" level=info msg="Attempting to remove cattle-system namespace"
time="2023-10-31T14:08:48Z" level=info msg="Attempting to remove cattle-prometheus namespace"
time="2023-10-31T14:08:48Z" level=info msg="Attempting to remove cattle-logging namespace"
time="2023-10-31T14:08:48Z" level=info msg="Attempting to remove cattle-fleet-system namespace"
time="2023-10-31T14:08:48Z" level=info msg="Attempting to remove cattle-impersonation-system namespace"
time="2023-10-31T14:08:48Z" level=info msg="Starting cleanup of webhook-specific resources"
time="2023-10-31T14:08:48Z" level=info msg="Deleting clusterrolebinding rancher-webhook"
time="2023-10-31T14:08:48Z" level=info msg="Deleting mutatingwebhookconfiguration rancher.cattle.io"
time="2023-10-31T14:08:48Z" level=info msg="Deleting validatingwebhookconfigurations rancher.cattle.io"
time="2023-10-31T14:08:48Z" level=info msg="Starting cleanup of namespaces"
time="2023-10-31T14:08:48Z" level=info msg="Updating namespace: default"
time="2023-10-31T14:08:48Z" level=info msg="Updating namespace: ingress-nginx"
time="2023-10-31T14:08:49Z" level=info msg="Updating namespace: kube-node-lease"
time="2023-10-31T14:08:49Z" level=info msg="Updating namespace: kube-public"
time="2023-10-31T14:08:50Z" level=info msg="Updating namespace: kube-system"
time="2023-10-31T14:08:50Z" level=info msg="Updating namespace: local"
time="2023-10-31T14:08:50Z" level=info msg="Starting cleanup of clusterRoleBindings"
time="2023-10-31T14:08:50Z" level=info msg="Starting cleanup of roleBindings"
time="2023-10-31T14:08:50Z" level=info msg="Starting cleanup of clusterRoles"
time="2023-10-31T14:08:50Z" level=info msg="Starting cleanup of roles"
time="2023-10-31T14:08:50Z" level=info msg="Starting cleanup of jobs"
serviceaccount "cattle-cleanup-sa" deleted
clusterrolebinding.rbac.authorization.k8s.io "cattle-cleanup-binding" deleted
job.batch "cattle-cleanup-job" deleted
clusterrole.rbac.authorization.k8s.io "cattle-cleanup-role" deleted
root@server-1:~#

Automated Testing

Test types added/modified:

Unit
Integration (Go Framework)
Integration (v2prov Framework)
Validation (Go Framework)
Other - Explain: EXPLAIN
None
REMOVE NOT APPLICABLE BULLET POINTS ABOVE

If "None" - Reason: EXPLAIN THE REASON

If "None" - GH Issue/PR: LINK TO GH ISSUE/PR TO ADD TESTS

Summary: TODO
QA Testing Considerations

Regressions Considerations

TODO
Existing / newly added automated tests that provide evidence there are no regressions:

TODO

@skanakal the user-cluster.sh script is fetching the user-cluster.yml from https://raw.githubusercontent.com/rancher/rancher/master/cleanup/user-cluster.yml , which is the pre-fix config file.
I had to make this small change on the user-cluster.sh script so it worked pretty well:

Maybe shall we change the script or maybe update the config file on master ?


video_player will not play streaming video on iOS

After an extensive debugging session, this is because "playable" is not being asked for and checked. Because a streaming video on iOS has no tracks the code in the video_player that will do nothing if there are no tracks means literally nothing happens. No errors, nothing.
I have solved the issue by making some modifications, but I will need to tidy them up and I do not know Objective-C except to poke a sharp stick at so it won't be pretty.
https://stackoverflow.com/questions/25154576/avurlasset-tracks-is-empty-but-video-audio-is-playable

I made a https://github.com/flutter/plugins/pull/568
@rvowles could you try it?

I can indeed! I have something working, but it isn't as short and elegant
as that.
On Sat, May 12, 2018 at 9:46 PM najeira<EMAIL_ADDRESS>wrote:

I made a flutter/plugins#568 https://github.com/flutter/plugins/pull/568
@rvowles https://github.com/rvowles could you try it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/17468#issuecomment-388543617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADZ2AufkJhLeObrYOEnG64Bsa86aQ5qks5txq-SgaJpZM4T5vj8
.

--
Richard Vowles,
Groovy, Java, Javascript, AngularJS - Contract Software for Hire!
ph: +64275467747, web: www.google.com/+RichardVowles

+1 LGTM - I have successfully tested this with a streaming video and it works exactly as it should. Thanks @najeira !

PR was merged


[init/systemd] use optional prefix and localstatedir

Hi, I am running multiple instances with different installation directories on one system.
Example:
./configure --enable-neutrinordp --prefix=/opt/xrdp2 --localstatedir=/run/xrdp2
To be able to use it, the init-scripts and now service-files need to be modified and renamed as it would overwrite the existing xrdp.service-file and xrdp-sesman.service-file.
For the init-script-template (https://github.com/neutrinolabs/xrdp/blob/devel/instfiles/init.d/xrdp)
the Makefile.am (https://github.com/neutrinolabs/xrdp/blob/devel/instfiles/Makefile.am)
already replaces
"__BASE__" with "$(prefix)"
Both need additionally the localstatedir.
Would be great if all would be handled by the scripts.

I agree. Also, changing a file on make install is unexpected by the user. It's better to create a file in the build directory and then install it. An example can be found in docs/man/Makefile.am
The FreeBSD init script needs that change too.

Specifically for systemd files, do you really envision having two files with the same name and different contents on the same system? I don't think it would work. The systemd files are primarily for packagers. Having them substituted would add extra work for contributing changes while offering no real benefit.

Only do what makes sense.
Currently I do all of those modifications with a custom script and I move the init-scripts or service-files and rename them using the instance number, because I enable and disable those services on demand.
So it already would help if the init-scripts and service files would use the specified locations.

@cocoon Talking about systemd service files,  it is done by #759. It now refers to localstatedir. Can you try? I still need to change instfiles/init.d and instfiles/rc.d files.

Solved by #759.


Deploy copilot ai studio / add your data - missing instructions.

In this section: https://learn.microsoft.com/en-us/azure/ai-studio/tutorials/deploy-copilot-ai-studio#add-your-data-and-try-the-chat-model-again , where we "add data", we are missing instructions to:
(1) Turn on CORS (see screen capture)
(2) Create a new Azure AI search resource (see screen capture). One is not created by default when I created a new Azure AI resource. I need to follow the given link to the Azure portal and create a new Azure AI search resource. The current text assumes I already have one.
Thanks,
Darren

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

ID: ccda6bfd-3e14-248b-a9cc-180711271ee3
Version Independent ID: e071efc2-fb3d-3ee9-9f29-69256c13bc05
Content: Build and deploy a question and answer copilot with prompt flow in Azure AI Studio - Azure AI Studio
Content Source: articles/ai-studio/tutorials/deploy-copilot-ai-studio.md
Service: azure-ai-studio
GitHub Login: @eric-urban
Microsoft Alias: eur

@dargilco
Thanks for your feedback! We will investigate and update as appropriate.

@dargilco
I've delegated this to @eric-urban, a content author, to review and share their valuable insights.

@dargilco - I can't repro #1. Did you create the storage account outside AI Studio or was it created as part of the Azure AI resource setup? I've opened an internal work item to investigate further.
For #2 the Azure AI Search requirement shows up earlier in the tutorial.

#please-close

I am having the same issue as Darren showed in screenshot. How do i resolve this?

This is the screenshot I'm getting when I try to add data for a new copilot I'm trying to create to query uploaded data from my computer. please advise.


Fix for 17track packages duplicated #24495

Breaking Change:
There is no (intentional :smile:) breaking changes
Description:
Fixes #24495
The difference calculation between packages already tracked and new packages to track was not correct. The difference calculation is now based only on tracking number.
Checklist:

[X] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ #] Tests have been added to verify that the new code works.

Hello @thomasgermain,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

038d6252ca0526c8344574deba2457ac0fd2169b - This commit has something that looks like an email address (thomas_germain@trimble.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hi @thomasgermain,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

The logic makes sense. I don't actually have a 17track.net account to test; have you confirmed that this fixes the issue?

I tested it using custom_components. I would be nice to have somebody testing it, maybe @syphernl who reported the issue ?
I have currently ~15 packages to track.
I tried:

adding / removing packages from 17track and see result is updating correctly accordingly to changes
waiting for package to be updated (entity state itself or some attributes).

Everything works as expected

That's good enough for me. Let's merge, get it out, and act fast if there is follow-up. Thanks!


Error from running BRCG in beam_search.py

I'm trying to run BRCG on some self-generated binary data (note: the generated data is such that there exists a DNF rule that perfectly matches X with y). The first dataset is very small, and looks as follows:
X=
   0  1  2  3  4
0  0  1  1  0  0
1  1  0  1  0  0
2  1  1  1  0  0
3  1  1  0  0  1
4  0  1  0  1  0
5  0  1  1  1  0
6  1  0  0  0  1
7  1  1  1  1  1
8  1  0  1  0  1
9  1  0  1  1  0

y=
0  0
1  0
2  0
3  1
4  1
5  1
6  1
7  1
8  1
9  1

where X is a pandas dataframe and y is a pandas series. I then use the following:
    br = BooleanRuleCG(lambda0=1e-3, lambda1=1e-3)
    br.fit(Xdf, ydf)

For some datasets this works fine, but for other datasets it gives the following error:
Initial LP solved
Traceback (most recent call last):
File "dash.py", line 37, in
br.fit(Xdf, ydf)
File "/home/marleen/miniconda3/envs/aix360_env/lib/python3.7/site-packages/aix360/algorithms/rbm/boolean_rule_cg.py", line 120, in fit
K=self.K, UB=UB, D=self.D, B=self.B, eps=self.eps)
File "/home/marleen/miniconda3/envs/aix360_env/lib/python3.7/site-packages/aix360/algorithms/rbm/beam_search.py", line 284, in beam_search
colKeep = pd.Series(Xp.columns.get_level_values(0) != i[0], index=Xp.columns)
IndexError: invalid index to scalar variable.
Any idea what is going wrong?

Did you run FeatureBinarizer on X? Even though your X is already binary, that might be the problem since FeatureBinarizer returns a MultiIndex as the column labels and BRCG expects data in that format.

Thanks Dennis, yes, using the FeatureBinarizer first solves the issue.


Add PM_STRING_FLAGS_FROZEN / PM_STRING_FLAGS_MUTABLE on PM_SOURCE_FILE_NODE

For all intent and purposes, __FILE__ is a string literal subject to the # frozen_string_literal: true/false comment and to the global --enable-frozen-string-literal / --disable-frozen-string-literal CLI flags.

Done.

Sorry to keep going back and forth — can you make it the first field? We have a convention that the flags are always the first because eventually we're going to expose it on all of them as the first child.

can you make it the first field?

Done.

Indeed. I'm running into Assertion failed: (PM_NODE_FLAG_P(node, PM_NODE_FLAG_STATIC_LITERAL)), function pm_static_literal_inspect, file static_literals.c, line 438. though. Trying to figure it out.

CI failures:
Run bundle exec rake parse:topgems
make
make: Nothing to be done for 'all'.
/usr/bin/gmake install sitearchdir=../../../../lib/prism sitelibdir=../../../../lib/prism target_prefix=
/usr/bin/install -c -m 0755 prism.so ../../../../lib/prism
cp tmp/x86_6[4](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:5)-linux/prism/3.4.0/prism.so tmp/x86_64-linux/stage/lib/prism/prism.so
rake aborted!
fatal: No live threads left. Deadlock? (fatal)
2 threads, 2 sleeps current:0x000064c4a[5](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:6)f20ac0 main thread:0x0000[6](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:7)4c4a5f20ac0
* #<Thread:0x0000[7](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:8)179b42ca930 sleep_forever>
   rb_thread_t:0x000064c4a5f20ac0 native:0x00007179ce654bc0 int:0

* #<Thread:0x00007179b02ef[8](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:9)10 /home/runner/work/prism/prism/rakelib/lex.rake:80 sleep_forever>
   rb_thread_t:0x000064c4a6bed4c0 native:0x0000717[9](https://github.com/ruby/prism/actions/runs/8296574772/job/22705855572?pr=2603#step:5:10)b0733640 int:0
    depended by: tb_thread_id:0x000064c4a5f20ac0

Is this new or a known flake?

Worked on a retry, must have been a flake.


Fix shell code for ZSH

Issue #20 and #3.

Everything should be good now, I'm gonna run some more tests and merge when I'm sure it's working correctly in both Bash and Zsh.

Just tested, it's working fine in both Bash and Zsh. Merging :tada:


TASK [Create hdp-master node(s) (EBS root volume)] Error

I am attempting to deploy to AWS in a new vpc and am getting the following errors. at the TASK [Create hdp-master node(s) (EBS root volume)] step
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: list object has no element 0\n\nThe error appears to have been in '/ansible-hortonworks/playbooks/clouds/build_aws_nodes.yml': line 10, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create {{ outer_loop.role }} node(s) (EBS root volume)\n  ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes.  Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n      - "{{ foo }}"\n"}
I have looked over the file and can not seem to locate the issue.

@alexandruanghel : I got the same issue with 'ami-02e98f78'.
This is a community AMIs in the ec2 instance launch panel in aws console.
CentOS Linux 7 x86_64 HVM EBS 1708_11.01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-95096eef.4 - ami-02e98f78
CentOS Linux 7 x86_64 HVM EBS 1708_11.01

Hi, I've tested with this AMI and it works fine.
I don't believe this is an issue, just a wrong config in your test.
For these images, the AMI ID is different to each region.
The AMI ID ami-02e98f78 only works for the us-east-1 region so you must also change the region variables in the inventory group_vars file:
  region: 'us-east-1'
  zone: 'us-east-1a'


Error count badge on tabcontainer is not removed

Somehow the executeMicroflow function does not result in proper handling of the validation badge count at the tabcontainer level.
Normally having a validation error would result in an increase of the notification badge, which also happens in with this widget and is correct behaviour. However, as soon as you correct the error, in the next validation run the notification badge count is not decreased.
To correct this, I've added the following quick fix to my instance of the widget, but would like to know what the proper way would be to have this fixed (which is why I haven't created a pull request yet).
In the executeMicroflow function I simply added:
 if(this._hadValidationFeedback) {                     this._decreaseValidationNotification();                     this._hadValidationFeedback = false;                 }
near the end of the function.

I decided to add this to _clearValidations, your solution is right. Thanks for reporting! I'll add this to the new version of the widget

Fixed and published in 1.5.0, updated in AppStore


issue loading component

Fresh install on a Debian 9 server, HA is set as a python3 venv based on the manual install under another username instructions...
Folder for custom components/alexa_media/ is set correctly with all four python files just added today
For some reason, everytime I try to load with the config file populated with the correct setup info, it hangs, soon as I comment it out, pulls fine. Log file pulls the following

2019-03-26 22:11:44 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: Secret alexa_password not defined

This is my config for the alexa_media at the bottom of my configuration.yaml, proper indents, and user/pass is plain text to eliminate a possible secret.yaml issue

alexa_media:
accounts:

email<EMAIL_ADDRESS>password: "REDACTED"
url: amazon.com

Ive tried with the secrets file, without it.. Ive even installed a fresh Debian/HA install with no components on a test box to try to see if this is a localized problem, and im getting the same issue, not sure whats going on, but would love some insight.
HA Version is 0.90.1

It looks like a formatting error.  If you want us to be able to help, please don't use blockquotes but appropriate quoting so it doesn't destroy the yaml indents/chars.

alandtse, you’ve been commenting on my posts in the HA threads, I’ve tried everything from using double or single quotes, to no quotes, using secret file to not using secrets and putting plaintext for user name and password. The only thing I’ve found that doesn’t immediately hang the server is renaming the init.py file from “init.py” to “init.py”. I’m honestly at a loss of why it’s not working. The only odd thing is the hass check (check config button) just spins and spins.
Any insight on this would be appreciated.

Please do not double post across the forums and the github. If you want help here, you'll need to update the issue with your config and the logs for the specific configuration attempt. These summaries where you don't provide any detail do not help us figure out what's wrong.
Please provide:

HA version.
alexa_media version:  From __init__.py
Configuration properly quoted.
Results of hass --script check_config for every iteration you want us to review.  If you want to do something with quotes, include that as a separate version. I've already told you to remove them.

Double posted because I didnt seem to get help or it ran in circles. Ive ran this on two machines, one Ubuntu 18.04LTS with HA 0.91 and one Debian Stretch with HA 0.90, both with latest updates, and both are doing the same thing.
not sure on the version, cant find the line of code that has a version in init.py, i just pulled the most recent one tonight, 1.2.3, and thats what im having issues with.
HA Config
> alexa_media:
>   accounts:
>     - email<EMAIL_ADDRESS>>       password: password
>       url: amazon.com

I just tried it on a fresh instance on Ubuntu, HA version 0.91, and its the only thing ive added and changed from a stock/fresh install. If I add the config as above, and files as required by instructions, HA hangs.
Check Config bears the result of Component not found: alexa_media when i first initially add custom component files and the config change to include the "alexa_media" config, and then once I change the init.py name to exclude the underscores. That or completely removing the files/config is the only thing that allows HA to go from hung on a component to working
Im open to suggestions, let me know if im missing any info or if more is needed

You need to leave the file names intact.  Also please properly escape statements in markdown using pairs of backticks `.
Your HA config is wrong. No >.
Proper configuration.yaml below:
# are comments and can be ignored but explain the spacing before each section.
#no spaces
alexa_media:
#two spaces
  accounts:
#four spaces
    - email<EMAIL_ADDRESS>#six spaces
      password: password
      url: amazon.com

Please confirm your directory structure matches here.
Also confirm that all of the .py files are only text and not HTML.  If you copy the first 10 lines in from __init__.py I can tell.
A working check config looks like this:
homeassistant@raspberrypi:~/.homeassistant $ /srv/homeassistant/homeassistant_venv/bin/hass --script check_config
Testing configuration at /home/homeassistant/.homeassistant

Assuming check_config works please enable the HA logger so we can see the results from homeassistant.loader, custom_components.alexa_media and alexa_py.  Please scrub the logs before you post.

for the config, the > were because of the quote on here, they are not part of the config, indent is proper according to your spacing amount, apologies on the mixup there.
I will post the 10 lines of init.py below.
code here

!DOCTYPE html
html lang="en"
head
meta charset="utf-8"

Again the > and removing the <-> was the only way it would show on here, im not used to github formatting so forgive me...
check_config results below:

hades@hades:~$ sudo -u homeassistant -H -s
homeassistant@hades:/home/hades$ cd /srv/homeassistant
homeassistant@hades:/srv/homeassistant$ source bin/activate
(homeassistant) homeassistant@hades:/srv/homeassistant$ hass --script check_config
INFO:homeassistant.util.package:Attempting install of colorlog==4.0.2
Testing configuration at /home/homeassistant/.homeassistant
ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 204, in check
res['components'] = check_ha_config_file(hass)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/scripts/check_config.py", line 332, in check_ha_config_file
component = loader.get_component(hass, domain)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 148, in get_component
comp = _load_file(hass, comp_or_platform, LOOKUP_PATHS)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 183, in _load_file
module = importlib.import_module(path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/alexa_media/init.py", line 7

^
SyntaxError: invalid syntax
Fatal error while loading config: invalid syntax (init.py, line 7)
Failed config
General Errors:
- invalid syntax (init.py, line 7)
Successful config (partial)
(homeassistant) homeassistant@hades:/srv/homeassistant$

bear with me to get the HA logger up and posted

You copied the files wrong from GitHub. You need to use raw mode when downloading any python files.
https://raw.githubusercontent.com/keatontaylor/alexa_media_player/master/alexa_media/__init__.py
GitHub has a Raw button you need to select on right side of every page.

As this is likely the cause, I will close the issue. Feel free to reopen if it's not.


Grayscale and Stylish_portfolio Themes was aborted

Hey Guys, firts I want to thank's for this incredible gem, this help a lot!
The stylish_portfolio and creative Themes works perfectly in my app.
But when I try to use the cleand Blog or Grayscale Themes. Wasn't possible to run the
bundle exec rake add_assets:grayscale.
It was aborted. My logs:
bundle exec rake add_assets:grayscale
rake aborted!
Don't know how to build task 'add_assets:grayscale'

(See full trace by running task with --trace)

bundle exec rake add_assets:clean_blog
rake aborted!
Don't know how to build task 'add_assets:clean_blog'

(See full trace by running task with --trace)

@romenigld - Thanks for reporting this :+1:
I'll look into these bugs and get back to you :smile:

I made some bug fixed and pushed the latest gem to RubyGems.  Add this to your Gemfile and see if you can get the rake tasks to work: gem 'frontend-generators', '0.1.1'
There are still bugs in the clean blog theme and I don't know when I'll have time to fix them.  If you're feeling ambitious, please send a pull request!  Thanks!

Thank's Mr. Powers!

I haven't been able to replicate this bug. Closing.

Thanks @rhuberdeau!!!
@romenigld - Let us know if you were ever able to get your issue resolved!

Hello @MrPowers, this is was a lot of time ago.
I really like this gem, this helps you a lot for use this templates. But I don't remember anymore what happened when I try to use this. Was for a project that I worked.
Now I'm doing some things.
But I will try to test this gem when I have finished this things.
So I will tell you something about my experience.
Regard's!!!


add source_index to targets

this is very useful in callbacks so you can access source data
and use those in the callbacks e.g.:
point: {
  r: function(d) {
    return this.data_json[d.source_index].size;
  }
}

Fixes #1809

Current coverage is 64.06% (diff: 100%)

Merging #1811 into master will increase coverage by 0.01%

@@             master      #1811   diff @@
==========================================
  Files             1          1
  Lines          4400       4402     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2818       2820     +2
  Misses         1582       1582
  Partials          0          0

Powered by Codecov. Last update 223404a...f1107b1


Mongo-connector is stops unexpectedly.

Guys,
I'm new to Mongo-Connector and Elastic Search. I want to sync all the documents from MongoDB to elasticsearch and therefore I've used Mongo-Connector and doc2_elastic_search. After the first successful attempt to start mongo-connector for the second time it's getting failed and below is the error log. Can you please help me to find out the root and resolution.
2019-02-11 10:40:14,624 [ALWAYS] mongo_connector.connector:50 - Starting mongo-connector version: 3.1.1
2019-02-11 10:40:14,625 [ALWAYS] mongo_connector.connector:50 - Python version: 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609]
2019-02-11 10:40:14,625 [ALWAYS] mongo_connector.connector:50 - Platform: Linux-4.4.0-1075-aws-x86_64-with-Ubuntu-16.04-xenial
2019-02-11 10:40:14,625 [ALWAYS] mongo_connector.connector:50 - pymongo version: 3.7.2
2019-02-11 10:40:14,629 [ALWAYS] mongo_connector.connector:50 - Source MongoDB version: 4.0.6
2019-02-11 10:40:14,629 [ALWAYS] mongo_connector.connector:50 - Target DocManager: mongo_connector.doc_managers.elastic2_doc_manager version: 1.0.0
2019-02-11 10:40:14,635 [INFO] mongo_connector.oplog_manager:137 - OplogThread: Initializing oplog thread
2019-02-11 10:40:14,636 [INFO] mongo_connector.connector:402 - MongoConnector: Starting connection thread MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True, replicaset=u'rs0')
2019-02-11 10:40:14,637 [DEBUG] mongo_connector.oplog_manager:214 - OplogThread: Run thread started
2019-02-11 10:40:14,637 [DEBUG] mongo_connector.oplog_manager:216 - OplogThread: Getting cursor
2019-02-11 10:40:14,637 [DEBUG] mongo_connector.oplog_manager:881 - OplogThread: reading last checkpoint as Timestamp(1549877201, 2)
2019-02-11 10:40:14,647 [DEBUG] mongo_connector.oplog_manager:752 - OplogThread: Oldest oplog entry has timestamp Timestamp(1549274474, 2).
2019-02-11 10:40:14,647 [DEBUG] mongo_connector.oplog_manager:239 - OplogThread: about to process new oplog entries
2019-02-11 10:40:14,647 [DEBUG] mongo_connector.oplog_manager:242 - OplogThread: Cursor is still alive and thread is still running.
2019-02-11 10:40:14,647 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 0
2019-02-11 10:40:14,647 [DEBUG] mongo_connector.oplog_manager:271 - OplogThread: Operation for this entry is c
2019-02-11 10:40:14,647 [DEBUG] urllib3.util.retry:210 - Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
2019-02-11 10:40:14,648 [DEBUG] urllib3.connectionpool:205 - Starting new HTTP connection (1): localhost:9200
2019-02-11 10:40:14,662 [DEBUG] urllib3.connectionpool:393 - http://localhost:9200 "POST /_refresh HTTP/1.1" 200 49
2019-02-11 10:40:14,663 [INFO] elasticsearch:83 - POST http://localhost:9200/_refresh [status:200 request:0.015s]
2019-02-11 10:40:14,663 [DEBUG] elasticsearch:85 - > None
2019-02-11 10:40:14,663 [DEBUG] elasticsearch:86 - < {"_shards":{"total":0,"successful":0,"failed":0}}
2019-02-11 10:40:14,663 [DEBUG] mongo_connector.oplog_manager:322 - OplogThread: Documents removed: 0, inserted: 0, updated: 0 so far
2019-02-11 10:40:14,663 [DEBUG] mongo_connector.oplog_manager:325 - OplogThread: Doc is processed.
2019-02-11 10:40:14,663 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 1
2019-02-11 10:40:14,663 [DEBUG] mongo_connector.oplog_manager:271 - OplogThread: Operation for this entry is c
2019-02-11 10:40:14,663 [DEBUG] urllib3.util.retry:210 - Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
2019-02-11 10:40:14,666 [DEBUG] urllib3.connectionpool:393 - http://localhost:9200 "POST /_refresh HTTP/1.1" 200 49
2019-02-11 10:40:14,666 [INFO] elasticsearch:83 - POST http://localhost:9200/_refresh [status:200 request:0.003s]
2019-02-11 10:40:14,666 [DEBUG] elasticsearch:85 - > None
2019-02-11 10:40:14,666 [DEBUG] elasticsearch:86 - < {"_shards":{"total":0,"successful":0,"failed":0}}
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:322 - OplogThread: Documents removed: 0, inserted: 0, updated: 0 so far
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:325 - OplogThread: Doc is processed.
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 2
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:192 - OplogThread: Skipping oplog entry: 'FullText.FTC' is not in the namespace configuration.
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 3
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 4
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 5
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 6
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 7
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 6
2019-02-11 10:40:14,666 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 7
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 8
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 9
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 10
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 11
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 12
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 13
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 14
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 15
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 16
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:252 - OplogThread: Iterating through cursor, document number in this cursor is 17
2019-02-11 10:40:14,667 [DEBUG] mongo_connector.oplog_manager:271 - OplogThread: Operation for this entry is c
2019-02-11 10:40:14,667 [DEBUG] urllib3.util.retry:210 - Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
2019-02-11 10:40:14,669 [DEBUG] urllib3.connectionpool:393 - http://localhost:9200 "POST /_refresh HTTP/1.1" 200 49
2019-02-11 10:40:14,669 [INFO] elasticsearch:83 - POST http://localhost:9200/_refresh [status:200 request:0.002s]
2019-02-11 10:40:14,669 [DEBUG] elasticsearch:85 - > None
2019-02-11 10:40:14,669 [DEBUG] elasticsearch:86 - < {"_shards":{"total":0,"successful":0,"failed":0}}
2019-02-11 10:40:14,669 [DEBUG] urllib3.util.retry:210 - Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
2019-02-11 10:40:14,676 [DEBUG] urllib3.connectionpool:393 - http://localhost:9200 "PUT /fulltext/_mapping/Test HTTP/1.1" 404 355
2019-02-11 10:40:14,676 [WARNING] elasticsearch:97 - PUT http://localhost:9200/fulltext/_mapping/Test [status:404 request:0.007s]
2019-02-11 10:40:14,676 [DEBUG] elasticsearch:105 - > {"_source": {"enabled": true}}
2019-02-11 10:40:14,676 [DEBUG] elasticsearch:110 - < {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"fulltext","index_uuid":"na","index":"fulltext"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"fulltext","index_uuid":"na","index":"fulltext"},"status":404}
2019-02-11 10:40:14,676 [ERROR] mongo_connector.util:109 - Fatal Exception
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mongo_connector/util.py", line 107, in wrapped
func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mongo_connector/oplog_manager.py", line 306, in run
docman.handle_command(doc, entry["ns"], timestamp)
File "/usr/local/lib/python2.7/dist-packages/mongo_connector/util.py", line 44, in wrapped
raise new_type(str(exc_value)).with_traceback(exc_tb)
AttributeError: 'OperationFailed' object has no attribute 'with_traceback'
2019-02-11 10:40:15,638 [ERROR] mongo_connector.connector:411 - MongoConnector: OplogThread <OplogThread(Thread-3, stopped<PHONE_NUMBER>00960)> unexpectedly stopped! Shutting down
2019-02-11 10:40:15,638 [INFO] mongo_connector.connector:478 - MongoConnector: Stopping all OplogThreads
2019-02-11 10:40:15,638 [DEBUG] mongo_connector.oplog_manager:371 - OplogThread: exiting due to join call.
2019-02-11 10:40:16,626 [DEBUG] urllib3.util.retry:210 - Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0, status=None)
2019-02-11 10:40:16,628 [DEBUG] urllib3.connectionpool:393 - http://localhost:9200 "POST /_refresh HTTP/1.1" 200 49
2019-02-11 10:40:16,628 [INFO] elasticsearch:83 - POST http://localhost:9200/_refresh [status:200 request:0.002s]
2019-02-11 10:40:16,629 [DEBUG] elasticsearch:85 - > None

Hi guy, news in order to solve that issue? I'm trying to connect my mongodb database to ELK stack but have this problem:
" [ERROR] mongo_connector.connector:411 "

me  too

what solved this ? having a VERY similar deal here

I don't know, I'm not using it in this periodIl 22 ott 2020 21:37, John D Allen<EMAIL_ADDRESS>ha scritto:
what solved this ? having a VERY similar deal here
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

thanks for kind note..  I think there are 3 aspects..  the id for  mongo
local, the id for neo4j(app) and the id for the neo4jdatabase
I am not sure what mongo-connector is complaining about ..  any thoughts ?
much appreciate my friend.
odd thing is I set eno4j conf file to 'no dbms authentication to true' ..
so that solved that ..  I dont get asked for a neo4j app logon
user/password .. so presume they are null OR 'neo4j' 'neofj' by default
user/password ...    and mongo localhost is wide open
most odd.. a puzzle
you suggest any tools I can use to dig deeper ?  I used curl on the mongo
url and the neo4j target .. it seems to 'see them'
John D Allen.
T +1<PHONE_NUMBER> ** CST  |<EMAIL_ADDRESS><EMAIL_ADDRESS>| https://www.leveridgesystems.com
https://www.leveridgesystems.com | linkedin.com/in/johndallen1
http://linkedin.com/in/johndallen1 | skype john.allen_67
https://www.yourhashgraphtoken.com https://www.yourhashgraphtoken.com
Leveridge Systems INC. Reg Missouri Charter #01082460.  The information
contained in this email and any attached files is confidential and intended
solely for the addressee(s). The email may be legally privileged or
prohibited from disclosure and unauthorized use. If you are not the
named addressee you may not use, copy, or disclose this information to any
other person. If you received this message in error please notify the
sender immediately and permanently delete it from your system.
On Fri, Oct 23, 2020 at 3:42 AM leleTino<EMAIL_ADDRESS>wrote:

I don't know, I'm not using it in this periodIl 22 ott 2020 21:37, John D
Allen<EMAIL_ADDRESS>ha scritto:
what solved this ? having a VERY similar deal here
—You are receiving this because you commented.Reply to this email
directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yougov/mongo-connector/issues/856#issuecomment-715194573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGDUXKWQUJJBLGIA2B3XNLSME6VRANCNFSM4GWPWYIQ
.


Fix walkback in StsAdminShell when versioning all packages (issue #2).

Also add ./Repository to .gitignore file.
Changes isolated in a branch.

Hi Andy,
Thanks for your phenomenal gift to the Smalltalk community and for letting me contribute in a small way.
Knowing that fixing up STS is not a high priority makes sense and in a counter-intuitive way makes me feel better about making changes to get it working (I don't have to match the original author's style since my work can be just thrown away!).
I appreciate the feedback on the coding style (comments) and am happy to comply. I was initially cautious about the change but knowing it can be reviewed easily without comments makes sense. I believe I'm ready for another code review! (Also, any advice on version numbers for packages?)
As to AppVeyor, I believe Sebastian Calvo set it up (see https://groups.google.com/forum/#!topic/comp.lang.smalltalk.dolphin/Bz43AGRP7VI). The Git workflow is a bit new to me as well but I appreciate getting involved.
James

Hi Andy,
Thanks for your phenomenal gift to the Smalltalk community and for letting me contribute in a small way.
Knowing that fixing up STS is not a high priority makes sense and in a counter-intuitive way makes me feel better about making changes to get it working (I don't have to match the original author's style since my work can be just thrown away!).
I appreciate the feedback on the coding style (comments) and am happy to comply. I was initially cautious about the change but knowing it can be reviewed easily without comments makes sense. I believe I'm ready for another code review! (Also, any advice on version numbers for packages?)
As to AppVeyor, I believe Sebastian Calvo set it up (see https://groups.google.com/forum/#!topic/comp.lang.smalltalk.dolphin/Bz43AGRP7VI). The Git workflow is a bit new to me as well but I appreciate getting involved.
James

James,
I set up AppVeyor too, so I guess the build that was run with the Pull Request was mine. I just hadn't expected it.

James,
I set up AppVeyor too, so I guess the build that was run with the Pull Request was mine. I just hadn't expected it.


RangeError (start): Invalid value: Not in inclusive range 0..176: 179

What could be causing such an Error ?
PS C:\Users\M\Desktop\my_app> dart run mutation_test mutation_testing/config.xml --rules mutation_testing/small_test.xml -d
Error while processing:
RangeError (start): Invalid value: Not in inclusive range 0..176: 179

My config.xml :

<?xml version="1.0" encoding="UTF-8"?>
<mutations version="1.0">
  <!-- License: BSD-3-Clause  -->
  <directories>
    <directory recursive="true">lib
      <matching pattern="\.dart$"/>
    </directory>
  </directories>
  <exclude>
    <!-- lines can also be globally excluded  -->
    <lines begin="1" end="2"/>
  </exclude>

  <commands>
   <!-- <command group="test" expected-return="0" working-directory="./">dart //version</command> -->

    <command group="test" expected-return="0" working-directory="./">C:\scr\flutter\bin\flutetr.bat test</command>

  </commands>
</mutations>

my small_test.xml :

<?xml version="1.0" encoding="UTF-8"?>
<mutations version="1.0">
   <!-- License: BSD-3-Clause  -->
   <!-- The rules element describes all mutations done during a mutation test -->
   <!-- The following children are parsed: literal and regex -->
   <!-- A literal element matches the literal text -->
   <!-- A regex element mutates source code if the regular expression matches -->
   <!-- Each of them must have at least one mutation child -->
   <rules>

    <!--this replaces (x op y,x) and (x op y,y)-->
    <regex pattern="([A-Za-z0-9._]+(?:\(\)|\s*))\s+([\*\/\+\-\~])\s+([A-Za-z0-9._]+(?:\(\)|\s*))" dotAll="false">
    <mutation text="$1"/>
    <mutation text="$3"/>
    </regex>

  </rules>
  <!-- This element creates a blacklist, allowing you to exclude parts from the mutations -->
  <exclude>

    <!-- excludes anything between two tokens  -->
    <token begin="//" end="\n"/>
    <token begin="#" end="\n"/>
    <token begin="import" end=";"/>

    <!-- excludes anything that matches a pattern  -->
    <regex pattern="/[*].*?[*]/" dotAll="true"/>
    <!-- exclude loops to prevent infinte tests -->
    <regex pattern="[\s]for[\s]*\(.*?\)[\s]*{" dotAll="true"/>
    <regex pattern="[\s]while[\s]*\(.*?\)[\s]*{.*?}" dotAll="true"/>
    <!-- lines can also be globally excluded  -->
    <!-- line index starts at 1  -->
    <lines begin="1" end="2"/>

  </exclude>

</mutations>

There was a bug if the mutation reduced the line length. If this happened at the end of file, then you could get this exception.
It should be fixed now.
I think your mutation rule can be improved:
([A-Za-z0-9.]+(?:())?)\s*([*/+-~])\s*([A-Za-z0-9.]+(?:())?)
This avoids repeating \s multiple times.

Yes , Thank you for the answer and the rules is really helpful.


Sync with codeplex

Hello Vadims!
Great 3.2.6 release! It fixes all bugs/problems I raised since the 3.2.5 :)
Just note that this repo is not synced with the release on codeplex (the PSD1 file still mentions <IP_ADDRESS> for instance and the libraries have not been updated).
You might have to re-think your release process since the move to a public repo ;-) Someone taking raw sources from here might have problems difficult to identify otherwise.
In my case, I don't like the installer for instance and always preferred to download the sources from codeplex (which you have not made available this time probably because of the move to github).

Thanks for reminder. I really forgot to sync this repo. Now i fixed this. The problem with PSPKI module release is that too many things must be done prior to publishing it online:

run tests for ASN parser, make release build and copy to PSPKI development folder. Commit changes to public repo.
compile API's xml-doc to HTML and copy to web site. Update them if something is missing, rebuild the project.
run tests for PKI.Core.dll, make release build and copy to PSPKI development folder. Commit changes to public repo.
compile API's xml-doc HTML and copy to web site. Update them if necessary, rebuild the project.
copy PSPKI development folder for local tests, write module help and publish it online and update local sources.
sync all modified files and prepare for signing. Commit changes to public repo.
create installer for signed module and test if it works as expected
publish module to CodePlex and write a blog post to describe most notable changes.

the process looks not so hard, but in reality, I have to maintain four separate VS projects: PSPKI, ASN parser, PKI library and PS Cmdlet Help Editor (I'm still updating PS Cmdlet Help Editor to meet my needs), three web sites with documentation (for each project) and all of them must be in sync and it is hard to automate any of these steps. I have a full-time job and can work on these projects only when I have free time. As the result, the whole process described above might take 2-3-4 full evenings and I can miss something from the list.
Regarding sources. I moved to GitHub because I can publish interrelease changes and rapid fixes to users who do not care about official releases.
Another intent is to provide better code review and analysis by community (and collaboration through pull requests). I'm still maintaining project on CodePlex, because it provides better UX for standard users and IT Pro (many of IT Pros doesn't understand GitHub concept and prefer more user-friendly UX like CodePlex). Official discussion and bug submission channel is still on CodePlex.
Several years ago, when the module was available as a source-only package, I constantly received a lot of questions about module installation from IT Pros with very basic PowerShell experience. So I made convenient and user-friendly installer my priority and installer is main module distribution path.
I think you are right, it is still recommended to ship module sources (with compiled DLLs) along with installer because there still are users with high level of paranoya and internal security policies (since the module works with security technologies) and they may not allowed to use installer. Another reason is that GitHub repos are not always in sync with official releases because of interrelease changes. So I added sources to CodePlex release page.

I think most of those tasks could be automated in some way (except for the blog post of course...). But that would probably take you quite a lot of time probably better spent elsewhere... :smile:
Thanks for syncing anyway.