Onedrive Api search request always returns an empty collection

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Submission Guidelines:

Questions and bugs are welcome, please let us know what's on your mind.
If you are reporting an issue around any of the documents or articles, please provide clear reference(s) to the specific file(s) or URL('s).
Remember to include sufficient details and context.
If you have multiple issues, please submit them as separate issues so we can track resolution.

(DELETE THIS PARAGRAPH AFTER READING)

Category

[x] Question
[ ] Documentation issue
[ ] Bug

For the above list, an empty checkbox is [ ]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
If you are planning to share a new feature request (enhancement / suggestion), please use the OneDrive Developer Platform UserVoice at http://aka.ms/od-dev-uservoice, or the SharePoint Developer Platform UserVoice at http://aka.ms/sp-dev-uservoice.
If you have a question about Azure Active Directory, outside of issues with the documentation provided in the OneDrive Developer Center, please ask it here: https://stackoverflow.com/questions/tagged/azure-active-directory
(DELETE THIS PARAGRAPH AFTER READING)

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior.
(DELETE THIS PARAGRAPH AFTER READING)

Observed Behavior

If you are reporting a bug, please describe the observed behavior.
Please also provide the following response headers corresponding to your request(s):

Date (in UTC, please)
request-id
SPRequestGuid (for requests made to OneDrive for Business)

(DELETE THIS PARAGRAPH AFTER READING)

Steps to Reproduce

If you are reporting a bug, please describe the steps to reproduce the bug in sufficient detail for another person to be able to reproduce it.
(DELETE THIS PARAGRAPH AFTER READING)

Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

I'm trying to search on OneDrive using this graph search api : https://docs.microsoft.com/en-us/graph/api/driveitem-search?view=graph-rest-1.0&tabs=http
I have assigned all the required permissions (tried with application and delegated permissions both) , but I always receives an empty response with status code 200 from this api call :
https://graph.microsoft.com/v1.0/users/<user-id>/drive/root/search(q='some text')
When I'm trying the same api call from graph explorer, it's returning all the search results. but when I try this on postman and my application, empty results are received. I'm really stuck here and any help will be really appreciated.
Thanks.

This same question is posted here as well : https://github.com/OneDrive/onedrive-api-docs/issues/893 but there are no further replies (we are facing the same issue as last comment in above link).

Thanks for your feedback. We'll put this on our backlog to address.

@chackman Can you kindly provide an ETA for the fix of this issue ? we actually need it urgently and we're facing this issue on our multiple paid accounts and we're blocked due to this.
Any help will be much appreciated, Thanks.

Could you please provide request ID's as requested above?

Request Id : 22b42df4-0b78-4e29-9602-bae4acbd9c5f
Date : Fri, 23 Oct 2020 20:58:32 GMT
Response :
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
    "value": []
}

Note: Moving forward few of my other team members will be responding on this thread.

We followed up with a partner team who have made a change which should address your tenant. Could you please confirm that it is working? If it is not working please provided new request ID + timestamp of the request that is not working?

hi all, please help me. I have the same problem here, when I run it for the first time, an error occurs:
{'error': {'code': 'generalException', 'message': 'An unspecified error has occurred.', 'innerError': {'date': '2020-10-30T00:36:00', 'request-id': '6d1f54a3-614c-43d1-b616-3f48f974e12a', 'client-request-id': '6d1f54a3-614c-43d1-b616-3f48f974e12a'}}}
the second run succeeds, but an empty collection is returned::
<EMAIL_ADDRESS>'https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)', 'value': []}

We followed up with a partner team who have made a change which should address your tenant

So, is this a bug that cannot be fixed yet and can only be fixed for specific people?

@chackman We'll get back to you with the answers.

I can confirm that it is working for the tenant in question (referred to by our developer here
Request Id : 22b42df4-0b78-4e29-9602-bae4acbd9c5f Date : Fri, 23 Oct 2020 20:58:32 GMT
@chackman We still have other faulty tenants. Which brings me to the next question, is it not a global fix? Why is it a tenant level fix?
It still doesn't work for this tenant of ours

<EMAIL_ADDRESS>
cache-control →private client-request-id →d2872367-5fd1-457e-95cf-890b038ad0b9 content-encoding →gzip content-length →206 content-type →application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date →Tue, 03 Nov 2020 14:58:57 GMT odata-version →4.0 request-id →d2872367-5fd1-457e-95cf-890b038ad0b9 strict-transport-security →max-age=31536000 vary →Accept-Encoding x-ms-ags-diagnostic →{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"SliceC","Ring":"5","ScaleUnit":"002","RoleInstance":"AGSFE_IN_16"}}

@register110 what did you do to make it work?

@mauze-muawwaz I did nothing, the only way to solve this problem is to wait for Microsoft developers to fix it：）

As mentioned by my other team member above, it started working for the tenants we mentioned above. But the question is, is the fix tenant specific and not global ? To verify, I created a new tenant after search started working on above mentioned tenants and search didn't work on that newly created tenant (empty search results were returned).

I don't know what sort of monitoring is in place. This is still an outstanding issue. Fixing tenants one by one using request ID is not a scalable solution for the many(all new ones) tenants that run into this problem.

Apologies, but we are still following up with the search team regarding this issue.

@chackman Sure, thanks. We're looking forward to hear back on this.

@chackman Thanks for the update.

Sending app context privileged query request via the MSGraph or Vroom APIs can be expected to work, but there’s no general guarantee that all functionality exposed by the Sharepoint Search API is available or will work exactly the same when querying Sharepoint entities via MSGraph.
As far as we could tell, the tenants mentioned in this GitHub issue were affected by a known problem that is now fixed (but may have become effective for different tenants at different points in time).

@anund-lie could you please let us know what the problem was? and how to identify that? We could then try to validate before issuing these searches and then scratch our heads as to why it's not working.

This was an internal issue in the search backend.  There is nothing that could be done on user side to detect or address the issue.
Get Outlook for Androidhttps://aka.ms/ghei36

From: mauze-muawwaz<EMAIL_ADDRESS>Sent: Wednesday, December 23, 2020 11:33:36 AM
To: OneDrive/onedrive-api-docs<EMAIL_ADDRESS>Cc: Anund Lie<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OneDrive/onedrive-api-docs] Onedrive Api search request always returns an empty collection (#1394)
@anund-liehttps://github.com/anund-lie could you please let us know what the problem was? and how to identify that? We could then try to validate before issuing these searches and then scratch our heads as to why it's not working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OneDrive/onedrive-api-docs/issues/1394#issuecomment-750109967, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR4WFEL7UMSZB4ZMEPQLRVLSWHBQBANCNFSM4S3K6NKA.

@mauze-muawwaz  @shahtajk7 is this issue resolved? if so please close out this issue.

It is not resolved.
I have the same issue with the following request:
Cache-Control: private
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
request-id: 04db856d-9b3e-4f61-b4aa-62bd79eb2c64
client-request-id: 04db856d-9b3e-4f61-b4aa-62bd79eb2c64
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West Europe","Slice":"SliceC","Ring":"5","ScaleUnit":"004","RoleInstance":"AGSFE_IN_39"}}
OData-Version: 4.0
Strict-Transport-Security: max-age=31536000
Date: Thu, 04 Feb 2021 19:27:57 GMT
Connection: close
Content-Length: 96

This was the response:
Response (200) content-length=96, len=<96>:
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[]}

Can somebody take a look?

@anund-lie could you update on this

It was making me dizzy reading this and so I thought I might make this link for those that are still possibly facing this problem.
Please refer to this post in another bug that states that read access to ROOT is required in order for the search to operate as expected. This is not by design and is still a bug I believe?
See this post for further information.
I believe that post triggered this ticket which has been investigating for nearly 2 years!
Search requires caller to have access to "context site" #1010

@anund-lie could you provide an update for this issue

I'm sorry, I can't.  No results from search (if that's the reason here) is a very generic symptom that may have multiple underlying reasons.  I was called in to investigate a issue in a specific component a couple of levels down in the stack.  To rule out issues related to the search kernel itself, such as incorrect search customizations or permission settings, my suggestion is to investigate using the classic SharePoint query API directly.
Get Outlook for Androidhttps://aka.ms/ghei36

From: k-tsoi @.>
Sent: Friday, May 14, 2021 7:11:12 PM
To: OneDrive/onedrive-api-docs @.>
Cc: Anund Lie @.>; Mention @.>
Subject: Re: [OneDrive/onedrive-api-docs] Onedrive Api search request always returns an empty collection (#1394)
@anund-liehttps://github.com/anund-lie could you provide an update for this issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OneDrive/onedrive-api-docs/issues/1394#issuecomment-841384306, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR4WFELNKEX3RU623SGRPVLTNVKTBANCNFSM4S3K6NKA.

Wow can't believe Microsoft won't fix it. I am facing the same issue

This is the issue link: https://github.com/OneDrive/onedrive-api-docs/issues/1394

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


please add enable emmet expand abbreviations in customlanguage

VSCode Version: 1.0.0
OS Version: Windows

I love this editor. it's awesome, very fast response, open, edit.
but it's not support emmet expand abbreviations in custom syntax eg .blade, .vue
i try to add "files.associations": {"*.blade.php": "html"}, emmet work but my extension blade syntax hilighting not working. if it's can work together i think my heart is got by vscode :+1:
if next release has settings about enable emmet expand abbreviations in settings.json or other place.
i think it's wonderful text editor in this world.
Best regard
ps. sorry for my bad english

I'd like to also see such setting.
FYI .vue is for Vue.js, .blade.php is for Laravel.

Duplicate #4700.
@izcream or @egamma close this issue, please.

duplicate of #9500


zlib-ng-git compatibility issue

Hi,
with zlib-ng-git (g8353094a) in compatiblity mode, I get the following error when trying to build proton-ge-custom when it checks out several sub-moduls,  this error does not appear if I use the 2.0.6 release of zlib-ng:
Submodul-Pfad 'external/Vulkan-Headers': '37164a5726f7e6113810f9557903a117498421cf' ausgecheckt
~/Downloads/proton-ge-custom/src/proton-ge-custom
~/Downloads/proton-ge-custom/src/proton-ge-custom/gst-plugins-rs ~/Downloads/proton-ge-custom/src/proton-ge-custom
    Updating crates.io index
warning: spurious network error (2 tries remaining): error reading from the zlib stream; class=Zlib (5)
warning: spurious network error (1 tries remaining): error reading from the zlib stream; class=Zlib (5)
error: failed to get `byte-slice-cast` as a dependency of package `gst-plugin-tutorial v0.8.4 (/home/marcus/Downloads/proton-ge-custom/src/proton-ge-custom/gst-plugins-rs/tutorial)`

Can you do a git bisect for your case?
Or can you show an example of the data on which the error occurs?

Unfortunately I cannot be much of help debugging this further, as I am just an Arch user and use a PKGBUILD for zlib-ng-compat which is not bisect-friendly.
The easiest way to reproduce this is on Arch, trying to compile this package: https://aur.archlinux.org/packages/proton-ge-custom
yay -a proton-ge-custom should do that. It pulls in all the dependancies and you'll get that error as shown above once it reaches the gst-plugins-rs sub-package.

There was a zlib API change since the release. Are you sure that that crate isn't trying to build against zlib 1.2.11?

I am not sure what that crate does, but Arch is on zlib 1.2.12  for a while and that it would surprise me if that would not work there as other people got it to compile in that standard configuration. Also zlib-ng 2.0.6 poses as 1.2.11 compatible and works okay, but zlib-ng-git does not.

Right but often crates and other self contained build systems will pack their own specific version of a library with it.
Arch definitely uses 1.2.12 and if you are sure you're linking to the system distributed zlib, then that shouldn't be a source of an API compatibility.
It's not clear at all from your output what the error is. If switching up the headers fixes it then it seems highly suspect of an 1.2.11 v 1.2.12 issue. Can you post an actual link error?

This kind of issues should be posted downstream until there is more information about the root cause of the regression... We can't isolate issues that involve multiple third-party packages.

I'm not disagreeing that this is a regression... I'm just saying that package managers should lock any binary release to specific git commit hash instead of a git branch... That means downgrading one package automatically downgrades all dependencies and allows better bisecting.
Both zlib 1.2.12 and development branch of zlib-ng have known issues that will be eventually fixed... But to find any new regressions, we need binary dumps of the affected files or network/memory streams to make a test case.

Those pkgbuilds are not enough to go on.  Looking at the source to that crate I can't even find a direct reference to zlib, so it has to be somewhere in the dependency chain where the issue lies.
The error message looks to be more likely a runtime error reading from a compressed stream.  If so, a real stack trace with a minimal reproducer would go a long way.  FWIW, the tutorial package in that crate doesn't seem particularly important to the package being built, but it's still troubling to see the error.

This was probably an issue with the rust toolchain and zlib, needing an update with:
sudo pacman -Sy rustup
rustup default stable
rustup target add  i686-unknown-linux-gnu

After doing this, the issue reported here was gone.


add a new space between two words.

@neallee2012 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Court72 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


-s and -k arguments should be exclusive

We should not be able to start then kill the lab right after.

Commit https://github.com/ahpnils/runlab/commit/8bd9e6999cac1b801fabc2328543a454292e2c2d fixed it.


It doesnt work with SlimerJS

I am getting this issue.
return browser.createPage(function (err, page) {
^
TypeError: Cannot read property 'createPage' of undefined
at /vagrant/server/tests/phantomjs/events2.js:9:16
at /vagrant/node_modules/node-phantom-simple/node-phantom-simple.js:283:7
at ChildProcess.immediateExit (/vagrant/node_modules/node-phantom-simple/node-phantom-simple.js:155:14)
at ChildProcess.g (events.js:260:16)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)

https://github.com/baudehlo/node-phantom-simple/blob/master/package.json#L18
it works

This is the code and I am running it with node test.js. What could be the problem here?
var driver = require('node-phantom-simple');
driver.create({
	path: require('slimerjs').path,
}, function(err, browser) {
	return browser.createPage(function (err, page) {
		page.onConsoleMessage = function(msg) {
			console.log('CONSOLE: ' + msg);
		};
		setTimeout(function() {
			page.open('url', function(err, status) {
				console.log('opened', status);
			});
		}, 1000);

	});
});

With which slimerJS version is node-phantom-simple compatible?

https://github.com/baudehlo/node-phantom-simple/blob/master/package.json#L25 0.9.6 and up.

Hm. I am using 0.9.6, but with no luck.

@mato75, please, always specify details in your reports, and check existing tests first. That's not a twitter :)

Running npm run test-slimer
vagrant@vagrant:~/test/node_modules/node-phantom-simple$ npm run test-slimer

><EMAIL_ADDRESS>test-slimer /home/vagrant/test/node_modules/node-phantom-simple
> ENGINE=slimerjs ./node_modules/.bin/mocha

/home/vagrant/test/node_modules/node-phantom-simple/node_modules/mocha/lib/utils.js:628
        throw new Error("cannot resolve path (or pattern) '" + path + "'");
        ^

Error: cannot resolve path (or pattern) 'test'
    at Object.lookupFiles (/home/vagrant/test/node_modules/node-phantom-simple/node_modules/mocha/lib/utils.js:628:15)
    at /home/vagrant/test/node_modules/node-phantom-simple/node_modules/mocha/bin/_mocha:326:30
    at Array.forEach (native)
    at Object.<anonymous> (/home/vagrant/test/node_modules/node-phantom-simple/node_modules/mocha/bin/_mocha:325:6)
    at Module._compile (module.js:397:26)
    at Object.Module._extensions..js (module.js:404:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:429:10)
    at startup (node.js:139:18)
    at node.js:999:3

git clone https://github.com/baudehlo/node-phantom-simple.git
cd node-phantom-simple
npm install
npm run test-slimer

How did you installed that? What is your OS & node version? Your stack trace shows problem to be in mocha, not here

I tried before from node_modules/node-phantom-simple, but now I used you suggestion and I get this:
npm run test-slimer

<EMAIL_ADDRESS>test-slimer /home/vagrant/test/node-phantom-simple
ENGINE=slimerjs ./node_modules/.bin/mocha

bad path
✓ bad path produces an error
Deprecated 'phantomPath' option - use 'path' instead
✓ deprecated path name still should be ok
command line options
1) load-images is default
2) load-images is true
3) load-images is false
engine.create()
✓ without options (471ms)
4) callback is last
Deprecated '.create(callback, options)' syntax - use '.create(options, callback)' instead
5) callback is first (legacy style)
page
6) set get hierarchical
engine
7) injectjs
8) should return false on non-existent file
engine
9) unexpected exit
page
10) create
page.evaluate()
11) should return false as boolean (#43)
12) without extra args
13) with extra args, callback is last
14) with extra args (legacy style)
page
15) includeJs
page
16) open
push notifications
✓ onConsoleMessage (387ms)
✓ onCallback (440ms)
✓ onError (444ms)
✓ onUrlChanged (404ms)
✓ onLoadStarted (434ms)
✓ onLoadFinished (606ms)
✓ onResourceReceived (449ms)
page
17) release
page
18) render to binary & base64
page
19) send event
page
20) setFn
page
21) set get
page
22) set get hierarchical
page
23) uploadFile
page.waitForSelector()
24) callback is last
25) callback without timeout
26) callback before timeout (legacy style)
10 passing (6s)
26 failing

command line options load-images is default:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

command line options load-images is true:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

command line options load-images is false:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

engine.create() callback is last:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

engine.create() callback is first (legacy style):
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page set get hierarchical:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

engine injectjs:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

engine should return false on non-existent file:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

engine unexpected exit:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page create:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.evaluate() should return false as boolean (#43):
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.evaluate() without extra args:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.evaluate() with extra args, callback is last:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.evaluate() with extra args (legacy style):
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page includeJs:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page open:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page release:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page render to binary & base64:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page send event:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page setFn:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page set get:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page set get hierarchical:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page uploadFile:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.waitForSelector() callback is last:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.waitForSelector() callback without timeout:
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

page.waitForSelector() callback before timeout (legacy style):
HeadlessError: Phantom immediately exited with: 255
at ChildProcess.immediateExit (node-phantom-simple.js:153:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "test-slimer"
npm ERR! node v5.4.1
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>test-slimer: ENGINE=slimerjs ./node_modules/.bin/mocha
npm ERR! Exit status 26
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test-slimer script 'ENGINE=slimerjs ./node_modules/.bin/mocha'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-phantom-simple package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ENGINE=slimerjs ./node_modules/.bin/mocha
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-phantom-simple
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/test/node-phantom-simple/npm-debug.log

You did not replied about node version & your OS.

npm -v
3.3.12
node -v
v5.4.1
uname -a
Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux

I don't know restrictions of your virtual env. I think it worth to search in google for specifics. For example, travis requies aditional setup because slimerjs is NOT headless https://github.com/baudehlo/node-phantom-simple/blob/master/.travis.yml#L7


add missing feature flag to e2e test

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

/approve

/cherrypick release-0.12

/cherrypick release-0.12


Building failed in mingw64 on windows 10

error log | 日志或报错信息
D:/sources/tanlu/libmidi/libmidi/playmidi.c: At top level:
cc1.exe: note: unrecognized command-line option '-Wno-writable-strings' may have been intended to silence earlier diagnostics
cc1.exe: note: unrecognized command-line option '-Wno-writable-strings' may have been intended to silence earlier diagnostics
[30/97] Building C object libmidi/CMakeFiles/midi.dir/quantity.c.obj
[31/97] Building C object libmidi/CMakeFiles/midi.dir/mt19937ar.c.obj
[32/97] Building C object CMakeFiles/sample.dir/test/sample.c.obj
[33/97] Building C object libmidi/CMakeFiles/midi.dir/url_pipe.c.obj
[34/97] Building C object CMakeFiles/timidity.dir/test/timidity.c.obj
[35/97] Building C object libmidi/CMakeFiles/midi.dir/url_dir.c.obj
[36/97] Building C object libmidi/CMakeFiles/midi.dir/sbkconv.c.obj
[37/97] Building C object libmidi/CMakeFiles/midi.dir/url_mem.c.obj
[38/97] Building C object libmidi/CMakeFiles/midi.dir/ncurs_c.c.obj
FAILED: libmidi/CMakeFiles/midi.dir/ncurs_c.c.obj
D:\msys64\mingw64\bin\cc.exe -DNO_MIDI_CACHE=1 -Dmidi_EXPORTS -ID:/sources/tanlu/libmidi/libmidi -ID:/msys64/mingw64/include/SDL2 -Wno-deprecated-declarations -Wno-writable-strings -Wno-deprecated-declarations -Wno-writable-strings -MD -MT libmidi/CMakeFiles/midi.dir/ncurs_c.c.obj -MF libmidi\CMakeFiles\midi.dir\ncurs_c.c.obj.d -o libmidi/CMakeFiles/midi.dir/ncurs_c.c.obj -c D:/sources/tanlu/libmidi/libmidi/ncurs_c.c
D:/sources/tanlu/libmidi/libmidi/ncurs_c.c:8:10: fatal error: ncurses.h: No such file or directory
8 | #include <ncurses.h>
|          ^~~~~~~~~~~
compilation terminated.
context | 编译/运行环境
gcc.exe (Rev5, Built by MSYS2 project) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake version 3.21.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
how to reproduce | 复现步骤
1.clone the code
2.make build directory
3. cd build; cmake ..; cmake --build . --config Release
more | 其他

if you are using msys64/mingw64 please install ncurses-devel from msys use following command in msys64 shell
$pacman -Sy ncurses-devel


fix(PathFinder): support for private steps

Add support for private steps in PathFinder. I could have done it more explicit by e.g. using load_dependency("short_name", private=True) which would be cleaner, but as long as we have tests even this implicit approach should be fine.

Hey, I've created an alternative PR, feel free to check it out and choose the solution you find best :-).

Hey, I've created an alternative PR, feel free to check it out and choose the solution you find best :-).

Hey, I've created an alternative PR, feel free to check it out and choose the solution you find best :-).


Upgrade react-resizable, prop-types warning

This is a question.
I'm getting a Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.. This comes from react-resizable which has switched to react-props and requires a dependency upgrade.
Is there a plan to upgrade this dependency? Are there blockers?
Thanks for your excellent work by the way :)

You need to update your sub-dependencies. Remove the module then re-install it. This will download new versions of subdeps, including resizable.

Perfect! Thank you for the super fast help.


LSTM inside RecurrentModel

Thanks for this great package!  I've looked over your documentation and it certainly seems like this should work and I could use some help.  I'm probably missing that I need to control the timestep in some way.  I saw the nested code, but I think I'm getting tripped up on the Functional version.  Here's the toy code:
import recurrentshop
import numpy
import keras.layers
from keras.layers import Dense, Input, LSTM
from keras.models import Model

prior_out = Input(batch_shape=(1,1,5),name='prior_out')
main_input = Input(batch_shape=(1,1,5),name='main_input')
added_layer = keras.layers.add([prior_out,main_input])
# hidden = LSTM(10,stateful=True,return_sequences=False,name='hidden')(added_layer)
hidden = recurrentshop.cells.LSTMCell(10)(added_layer)
out = Dense(5,name='out')(hidden)
rnn = recurrentshop.RecurrentModel(input=main_input, initial_states=prior_out, output=out, final_states=out)
rnn_input = Input(batch_shape=(1,1,5),name='rnn_input')
rnn_output = rnn(rnn_input)
model = Model(inputs=rnn_input,outputs=rnn_output)
model.compile(optimizer='adam',loss='mae')
print model.predict(numpy.random.random((3,1,5)),batch_size=1)

And I get this error:
ValueError: Operands could not be broadcast together with shapes (0,) (10,)
Thanks again for the help!

import recurrentshop
import numpy
import keras.layers
from keras.layers import Dense, Input, LSTM
from keras.models import Model

prior_out = Input(batch_shape=(1,5),name='prior_out')
main_input = Input(batch_shape=(1,5),name='main_input')
h_tm1 = Input(batch_shape=(1, 10))
c_tm1 = Input(batch_shape=(1, 10))
added_layer = keras.layers.add([prior_out,main_input])
# hidden = LSTM(10,stateful=True,return_sequences=False,name='hidden')(added_layer)
hidden, h, c = recurrentshop.cells.LSTMCell(10)([added_layer, h_tm1, c_tm1])
out = Dense(5,name='out')(hidden)
rnn = recurrentshop.RecurrentModel(input=main_input, initial_states=[prior_out, h_tm1, c_tm1], output=out, final_states=[out, h, c])
rnn_input = Input(batch_shape=(1,1,5),name='rnn_input')
rnn_output = rnn(rnn_input)
model = Model(inputs=rnn_input,outputs=rnn_output)
model.compile(optimizer='adam',loss='mae')
print model.predict(numpy.random.random((3,1,5)),batch_size=1)

Thanks @farizrahman4u , and there it was right on the front page, I just wasn't getting what it was doing.


feat: rework animated fitView

Description of change
With this PR I'm reimplementing the animated fitView function. As pointed out in https://github.com/antvis/G6/pull/3770 there were some issues with the sequence of animations.
With this change, the function will do a single smooth animation including both the translate and zoom operations
https://user-images.githubusercontent.com/2861371/179204002-a715b979-aaa7-4de7-b5d5-31fb753db801.mp4

Wow, looks great! Did you call the graph.fitView in the listener of 'node:dragend' ?

Merged it into 4.6.16 branch and it will be released next week!

Did you call the graph.fitView in the listener of 'node:dragend' ?

Nono, I'm listening to a keypress to test my functions :)


Styleguide links broken/missing

I was unable to find a general style guide, and the references found in util/README.md point to y-t.ru, and thus are inaccessible.
Is it possible to have a style guide included in the repo?

We have added style guide for C++: https://github.com/ytsaurus/ytsaurus/blob/main/yt/styleguide/cpp.md


Selected dropdown option is not displayed by the browser (Chrome, IE)

Hi,
I have a strange issue in that the selected option doesn't get displayed in Chrome and IE (while it works in Firefox):

although in the HTML it is selected:

Here's the plunker to reproduce the case:
http://plnkr.co/edit/zYY8wwyVYbNUE5pwyYan?p=preview
Note, it also only happens in the mentioned browsers when I set the data asynchronously, that is, in the Plunkr (for demoing) through a $timeout, while in my production code it is fetched through an $http call.
I'm not quite sure whether it is due to some strange binding in my code or an issue within Angular itself, and since also the guys on the IRC channel were not able to help me, I'm posting it here :smiley: .
Does not work in

Chrome (latest stable)
Chrome 45.0.2409.0 canary
Internet Explorer 11.0.9600.17801 (Win7)

Works in Firefox 37.0.2 and 38.0.1.

As answered on the other issue, this might do the trick.

ya, this might eventually work. But it's still kinda strange it already works in IE and FF without this change of the code..

This is fixed in the upcoming 1.4. Can you upgrade? It's problematic to fix this in 1.3.x, so it's unlikely that it will be fixed.

Ok, I see. I'll check whether I can upgrade. Thx

We've decided not fo fix this issue in 1.3. See https://github.com/angular/angular.js/issues/11835#issuecomment-139913620 for more info


Fix JoinAssociativityRule loss projection which use constant expression

#2219

join wih projection which map to constant operator, such like projection (20 -> "xx",  21->fun(20)) will lose at JoinAssociativityRule
we move common projection to physical, but it's exists in projection at logical, we need rerwrite it rightly.

 but it's exists in projection at logical, we need rerwrite it rightly.

what's this meaing?


Error/CTD

On Linux Mint 20.3, when I run the tool it appears to work, however during AP the connection continually times out, and eventually CTD's BizHawk. Not sure where the error logs are to provide. This was also in conjunction with SNI rather than QUSB, but I doubt that would make a difference. I can compile QUSB if you need me to try compatibility with that.

I am not sure if this work on Linux. It will not work with SNI since it does not have NWA support.
Sadly there is no log file. The only thing can you check is in the view menu -> show log

I thought the whole point was to bypass the buggy LUA implementation in the Linux distro of BizHawk, at least that's the thread it was linked in.
QUSB is no longer supported by AP, so nevermind.


[$500]  IOU – The receipt route image is blank after adding a stop in offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Log in as the employee
Navigate to a distance request details conversation
Disable the internet connection
Click on the distance item
Add a new stop to the route and save
Navigate to the report conversation

Expected Result:
After adding a stop in offline mode, the receipt route image should be pending, and the distance and amount should show as TBD
Actual Result:
The receipt route image is blank after adding a stop in offline mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/48efd4c5-bc00-4b48-888a-d55c881a5534
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0164c29443ff05e829
Upwork Job ID:<PHONE_NUMBER>648595456
Last Price Increase: 2024-01-10
Automatic offers:

shubham1206agra | Reviewer | 28101450
paultsimura | Contributor | 28101451

This is a dupe of https://github.com/Expensify/App/issues/34049 – a regression from https://github.com/Expensify/App/pull/33586

Proposal
Please re-state the problem that we are trying to solve in this issue.
The pending distance request receipt is blank.
What is the root cause of that problem?
This started happening https://github.com/Expensify/App/pull/33586 where we tried to define the local files instead of returning isLocalFile: true for all the receipts that didn't match the early-return criteria.
This is because after a distance request is modified, we are waiting for the BE response to generate a new map snapshot to be used as a thumbnail here. So we are using a receipt URL that does not yet exist.
What changes do you think we should make in order to solve the problem?
We already check the Distance transaction to not be pending here:
https://github.com/Expensify/App/blob/d9e75d5b1eab9525d83facd34370a4fe21bee374/src/libs/ReceiptUtils.ts#L40-L53
We just need to add another check for the cases when the Distance request has a pending waypoint (the opposite check):
if (Object.hasOwn(transaction?.pendingFields ?? {}, 'waypoints')) {
    return {thumbnail: null, image: ReceiptGeneric, isLocalFile: true};
}

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
The pending distance request receipt is blank.
What is the root cause of that problem?
This started happening https://github.com/Expensify/App/pull/33586 where we tried to define the local files instead of returning isLocalFile: true for all the receipts that didn't match the early-return criteria.
This particular issue is happening because after a distance request is modified, we are waiting for the BE response to generate a new map snapshot to be used as a thumbnail here, and we optimistically use the URL of an image that still has to be generated on the BE, as a receipt. It looks like a normal image URL, not a local file.
What changes do you think we should make in order to solve the problem?
This pending distance request case is quite unique. For this, we already check the Distance transaction to not be pending (not have pending waypoints) here:
https://github.com/Expensify/App/blob/d9e75d5b1eab9525d83facd34370a4fe21bee374/src/libs/ReceiptUtils.ts#L40-L53
We just need to add another check for the cases when the Distance request has a pending waypoint (the opposite check) and not wait until the final return, which will now return isLocalFile: false instead of true.
    if (Object.hasOwn(transaction?.pendingFields ?? {}, 'waypoints')) {
        return {thumbnail: null, image: ReceiptGeneric, isLocalFile: true};
    } else {
        if (hasEReceipt) {
            return {thumbnail: null, image: ROUTES.ERECEIPT.getRoute(transaction.transactionID), transaction};
        }

        // For local files, we won't have a thumbnail yet
        if (isReceiptImage && (path.startsWith('blob:') || path.startsWith('file:'))) {
            return {thumbnail: null, image: path, isLocalFile: true};
        }

        if (isReceiptImage) {
            return {thumbnail: `${path}.1024.jpg`, image: path};
        }
    }

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
The receipt route image is blank after adding a stop in offline mode
What is the root cause of that problem?
When we update the waypoints we are not resetting the receipt on the transaction in onyx so it still exists so although in
https://github.com/Expensify/App/blob/55746c78a6ef59d9ad636eda8c610023c3cd62ac/src/libs/ReceiptUtils.ts#L68-L70
we are returning the ReceiptGeneric thumbnail isLocalFile is not set to true as path is found from transaction?.receipt?.source which is not local so it will try to load it but fails as we are offline
What changes do you think we should make in order to solve the problem?

The right solution is to reset receipt of the transaction on saving waypoint in onyx b/c it is obsolate as we do for routes as in here
https://github.com/Expensify/App/blob/55746c78a6ef59d9ad636eda8c610023c3cd62ac/src/libs/actions/Transaction.ts#L73-L79
receipt: {source: null},
filename: null,

What alternative solutions did you explore? (Optional)

@paultsimura's proposal looks good to me.
🎀 👀 🎀 C+ Reviewed

Thanks. The PR is ready for review: https://github.com/Expensify/App/pull/34604

@shubham1206agra don't forget about the checklist please!

Payouts due:

[x] Contributor: $500 @paultsimura
[ ] Contributor+: $500 @shubham1206agra

Upwork job is here.

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@shubham1206agra] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/34030
[x]  [@shubham1206agra] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/34030/files#r1475473396
[x]  [@shubham1206agra] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Not required
[x]  [@shubham1206agra] Determine if we should create a regression test for this bug. No
[x]  [@shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ]  [@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:


Installing Powertoys 0.45.0 causes "Failed to load Steamui.dll" fatal error on Steam; uninstalling Powertoys fixes error

Microsoft PowerToys version
0.45.0
Running as admin

[X] Yes

Windows 10 19043.1165
Area(s) with issue?
General
Steps to reproduce

Install Powertoys 0.45.0
Try to run Steam
Get "failed to load Steamui.dll" fatal error, which causes Steam to not open at all
Uninstall Powertoys 0.45.0
Try to run Steam
See that Steam once again runs perfectly.

I believe it has to do with .Net
✔ Expected Behavior
I expected Powertoys not to interfere with my other software, but this version basically breaks Steam. I realized this before Steam opened just fine...except a few hours after I installed Powertoys. Uninstalling Powertoys brought Steam back to working order.
❌ Actual Behavior
Powertoys broke my Steam install!
Other Software
The latest version of Steam as of this issue post.

Which operating system and build number do you test?
Do you like to check your system by running sfc /scannow?

In Windows 11 build 22449 and PowerToys v0.45, I can run both two apps.

* Which operating system and build number do you test?

Windows 10 19043.1165

* Do you like to check your system by running sfc /scannow?

No

Sorry, I was not able to reproduce your issue. In my machine, I install PowerToys v0.45 first, then install latest version of Steam and both are running normally.

I install PowerToys v0.45 first, then install latest version of Steam and both are running normally.

In my situation, I installed Steam first (over a year ago) and when Powertoys was installed, I got the error.

I've also been unable to replicate it.
Could you please send a bug report?
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.
Could you also please check if there's some suspicious Event Viewer entry that relates to this?


Move common logic for report generation into its own module.

No code change, just straight copy paste.
Moving the common classes into their own module was raised in #343.

/gcbrun exp -n abc

The report looks good:
https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-06-20-362-abc-comparison/index.html

/gcbrun exp -n abc -f

/gcbrun exp -n abc -f

The report looks good
https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-06-24-362-abc-comparison/index.html
Shall we merge this?


Keyboard in scrollView creating extra space on top of views

When I tap the next or previous buttons, it scrolls as expected but when I tap the Done button or tap outside the keyboard, extra space appears at the top of the View (see video in zip file):
ExtraSpace.zip
The code:
<ScreenRoot {...getCommonProps(this.props)} navigator={this.props.navigator} showFormNav={false} avoidKeyboard={false}>
<KeyboardScrollView>
<Form form={formName} ref={this.saveForm} onSubmit={this.handleSubmit} validate={validate} initialValues={this.initialValues} >
{this.props.currentUser.showDigitalDials === 'Yes' && <FormPicker title={'Contact Method'} name={'actualContactMethod'} items={actualContactMethodItems}/>}
<FormSwitch title={'New Set?'} name={'isNewSetCode'} />
<FormSwitch title={'Create Appointment?'} name={'createAppointment'} />
{appointmentComponents}
</Form>
</KeyboardScrollView>
<KeyboardAccessoryNavigation/>
</ScreenRoot>

Hello @clfristoe! How have you solved your issue? I have the same behavior?
Help appreciated

Having the same issue now, any suggestions?


SLOD doc: set prometheusAccess creds as optional

https://issues.redhat.com/browse/APPSRE-8513
Allows unauthenticated local token-refresher svc access, much like what grafana does.
Something like
$schema: /app-sre/slo-document-1.yml

name: rosa-classic-fleet-wide

namespaces:
- namespace:
    $ref: /services/rosa-fleet-wide/classic/namespaces/rosa-fleet-wide.yml
  prometheusAccess:
    url: http://osd-token-refresher-prod.app-sre-observability-production.svc.cluster.local
  SLONamespace:
    $ref: /services/rhobs/observatorium-mst/namespaces/telemeter-prod-01/observatorium-mst-production.yml

it should be noted that this has a potential to break easily if cluster is not appsrep09ue1 :(


Switch to ActiveSupport::Notifications.monotonic_subscribe

Goal
This is a small performance improvement. monotonic_subscribe behaves the same as subscribe, except that the timestamps are computed slightly more efficiently. Since we don't use the timestamps here at all, there should be no impact for Bugsnag.
Design

See this benchmark:
Benchmark.ips do |x|
  x.report("Time.now") { Time.now }
  x.report("Process.clock_gettime") { Process.clock_gettime(Process::CLOCK_MONOTONIC) }

  x.compare!
end

ruby 3.3.5 (2024-09-03 revision ef084cc8f4) +YJIT [arm64-darwin23]
Warming up --------------------------------------
            Time.now     1.619M i/100ms
Process.clock_gettime
                         2.191M i/100ms
Calculating -------------------------------------
            Time.now     17.496M (± 1.7%) i/s   (57.15 ns/i) -     89.054M in   5.091258s
Process.clock_gettime
                         21.589M (± 2.0%) i/s   (46.32 ns/i) -    109.528M in   5.075753s

Comparison:
Process.clock_gettime: 21588547.9 i/s
            Time.now: 17496424.0 i/s - 1.23x  slower

Changeset

Testing

Hi @tgwizard
Thanks for raising this PR with us.
This seems like a sensible change. We'll make sure to give this a full review when priorities allow.


Allow setting the random seed used by libensemble

See also #87. There is some infrastructure in place for it in  options_schema.yml and options.py.

@mkeilman  the seed option in options.py is easy to enable so this can be done, but I'm still working on how to best resolve #89 before this can be used.

This is now in place on develop. Documentation for the behavior of seed (which follows the settings for libEnsemble's add_unique_random_streams) can be seen at: https://rsopt.readthedocs.io/en/develop/samplers/lh_scan.html#options. Does this look like it will work for you @mkeilman ?

I have tried it and it does work.  Thanks!

This is now merged into master


Add read support for multiple ERC20 tokens

The order of the results in GET /wasm/contract seems random. After initializing tokens at cosmos18vd8fpwxzck93qlwghaj6arh4p7c5n89uzcee5 and cosmos1hqrdl6wstt8qzshwc6mrumpjk9338k0lr4dqxd and then running tests, I get the following order
[
  'cosmos18vd8fpwxzck93qlwghaj6arh4p7c5n89uzcee5',
  'cosmos1wgh6adn8geywx0v78zs9azrqtqdegufulvfwmp',
  'cosmos1sshdl5qajv0q0k6shlk8m9sd4lplpn6gwvnr96',
  'cosmos1hqrdl6wstt8qzshwc6mrumpjk9338k0lr4dqxd'
]

The two contracts in the middle positions have been initialized after the first and the last one.
It would be good to sort by initialization order.
One other thing that would help for the tests: list all instances for a given code ID. That would ensure the transmitted data is reasonably small.

Both very good points.
I have fixef other issues in the rest server. Can you make an issue on wasmd about this?

It would be good to sort by initialization order.

I agree, but there are no secondary indexes in the sdk. Nor do we even store when initialized. We store them under contract address.
From the code, it seems like they should always be returned in sorted order (by address), but even this doesn't seem to be the case. I will add that to make them less random, but we need a bigger overhaul in storage in the next version

Addressed some fixes here: https://github.com/cosmwasm/wasmd/pull/68

Okay, thank, good to know. I'll unblock this PR by not relying on other tests's instances. So no pressure from my side.

8a0e09241fc9202c7384e81ad4767bed1cb61f85 ensure the correct contract address is available for the tests, independent of the contract order from wasmd. So this is ready.


[Idea] More stats from "What’s in My Pocket"

https://blog.getpocket.com/2012/08/nate-weiner-whats-in-my-pocket/

That looks amazing! There's also this project (Which I think it no longer updated, but still works, sort of...)
https://apkpure.com/reading-stats-in-your-pocket/com.seeyoucloud.readingstatspocket
What I like most about this app is that it can give you a real sense if you are adding more to your pocket then you are reading.

(There's also this project which is definitely defunct but was basically a web app integration. https://rahulramchandani.com/2018/11/24/reading-stats-from-pocket/)

It's been amazing both to get it running locally and to use the web implementation that you put up!
One thing I'm craving are the stats of how many articles/words I've added and how many I've archived within a particular time frame, like the mobile app Reading Stats in Your Pocket did. (Linked above.) I'll also attach a screenshot of the app that shows what I mean.
The benefit here is that it's showing me if I'm overall adding more than I'm reading, or if I'm actually making a dent in the list!
That app isn't working 100% whereas this does appear to be working very well and responsively! Which is why I'd love to get this kind of report from your Pocket Stats program!
Thank you for all you've done so far.

It's been amazing both to get it running locally and to use the web implementation that you put up!
One thing I'm craving are the stats of how many articles/words I've added and how many I've archived within a particular time frame, like the mobile app Reading Stats in Your Pocket did. (Linked above.) I'll also attach a screenshot of the app that shows what I mean.
The benefit here is that it's showing me if I'm overall adding more than I'm reading, or if I'm actually making a dent in the list!
That app isn't working 100% whereas this does appear to be working very well and responsively! Which is why I'd love to get this kind of report from your Pocket Stats program!
Thank you for all you've done so far.

Hi @jason-mehmel,
Thank you for the ideas, really good ones!
I'll consider including them in the future. :)

Hi @jason-mehmel,
Thank you for the ideas, really good ones!
I'll consider including them in the future. :)


Dictionary of KatakanaSpellCheck

I don't understand how to use dictionary of KatakanaSpellCheck.
Please teach me how to make dictionary of KatakanaSpellCheck.

Hi @Y-Yasumoto,
Thank you very much for using RedPen. The dictionary format of the KatakanaSpellCheck is the same as SuggestExpression.
If you need more details, please tell us on gitter channel. We provides the English and Japanese channel.


Unknown ufl object type FiniteElement

Hi, I tried to run task 1 in Jupyter notebook with Ubuntu in Windows (I download all packages including FEniCS) and this error return right after these lines:
my_model.initialise()
my_model.run()
Any idea?
Thanks
Raph

Hello @RaphaelCSIR
How did you install FEniCS? What is the full traceback of your error message?

Hi @RaphaelCSIR it seems you forgot to post the error message you obtained. It would help to assist you

Just googling the error you gave in the title I found this discourse post with a similar error
I think this is an install problem. Please try following the installation instructions given in the README and in the FESTIM documentation.
We recommend using Anaconda to install fenics


feat : Add tests for editor component

Reason/Context
AsyncAPI website has many components and thus it requires a testing suite , so that it is easy for both contributors and maintainers of the code .
Description

Add unit tests for editor components
No this won't be a breaking change
Writing tests using cypress

Note : This is for Gsoc and I will be working on this


Build react-app Azure DevOps

I've had some success following the instructions here to deploy a simple React app.
This works well with a pre-commit hook to ensure that my build directory is in place, though I'm wondering if it's possible to run the necessary install/build commands in my Azure DevOPs pipeline instead? It's unclear from the documentation whether or not this is possible.
I'm not hugely familiar with ADO (I've just joined an organisation using it) but I did try to use other tasks in my pipeline to build, then put $(Build.SourcesDirectory) in my AzureStaticWebApp configuration but with no joy.
Any assistance on this (or a push in the direction of the correct documentation) would be appreciated!

The app location and API location in the Static Web Apps task are relative to the root of your app. So if you have a folder named build and you just want to deploy that, try setting app_location to “build”. Leave output location “”.
If that doesn’t work, please share more info on your pipeline as well as folder structure of your repo.

Thanks for your response @anthonychu. As I said in my original post, it's working well for me when I've already got the build directory in place (using husky to runnpm run build prior to committing). I was just wondering what the most straightforward way would be to include that as part of my pipeline, instead of on my local machine.

You can add build tasks to your pipeline to run the build command.
The Static Web Apps task should be able to build for you as well if it set the app and output locations correctly.

Ah, I put an npm install && npm run build in the Static Web Apps task and it worked a treat! Thanks!

@jrmedd Can you share some info about your app? Those commands (npm install && npm run build ) should be run by default in the task. If you need to add it for your build to work, we’d like to investigate that.
Some info about the pipeline yaml, dependencies in your package.json, and general folder structure would be helpful. Thanks!


brew doctor reports error for homebrew-cask-upgrade

Here's error snippet from console:
🚀 brew doctor                                                                                took 170ms ~
Error: undefined method `git_default_origin_branch?' for #<Pathname:/opt/homebrew/Library/Taps/buo/homebrew-cask-upgrade>
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/opt/homebrew/Library/Homebrew/diagnostic.rb:548:in `block in check_tap_git_branch'
/opt/homebrew/Library/Homebrew/tap.rb:750:in `block (2 levels) in each'
/opt/homebrew/Library/Homebrew/tap.rb:749:in `each'
/opt/homebrew/Library/Homebrew/tap.rb:749:in `block in each'
/opt/homebrew/Library/Homebrew/tap.rb:748:in `each'
/opt/homebrew/Library/Homebrew/tap.rb:748:in `each'
/opt/homebrew/Library/Homebrew/diagnostic.rb:547:in `map'
/opt/homebrew/Library/Homebrew/diagnostic.rb:547:in `check_tap_git_branch'
/opt/homebrew/Library/Homebrew/cmd/doctor.rb:62:in `block in doctor'
/opt/homebrew/Library/Homebrew/cmd/doctor.rb:55:in `each'
/opt/homebrew/Library/Homebrew/cmd/doctor.rb:55:in `doctor'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
🚀

@mr-narender Is that still the case? I tried running doctor on my machine and seems to be all right? Maybe that was just a temporary issue?

seems like this is all right after a reset. closing this for now.


Ability to download multiple documents at once

Hi, wondering if you plan to add the ability to download multiple documents at once.  Also add the option to download from the action menu in the folder view.

Hi @ivandc33,
thank you for your time and opening an issue.
Download multiple documents at once sounds very reasonable and to be honest I was thinking about this feature for some time.
It will definitely be implemented.
However at this point in time I cannot tell you in which release.
For sure it won't be next release (1.5) as it is already "booked" with high priority features like tags management.

its possible by collating all files to one tar.gz or zip file....
shell script has easy way to do it,with os module in python maybe i can make a pull request on this one....

will be shipped with 1.5 release.

Feature is implemented (right now it is in master branch).


Set Powerful mode not working

I will try to check the code later, but it seems Set Powerful Mode is not working. Reading if changed on Display works fine, but setting via select menu in HA does not. On first glance it's not fully implemented, right?

Good catch thanks!


Failed Build on Netlify

Hello!
From v11 I get the following error when trying to deploy to netlify:
(node:65589) UnhandledPromiseRejectionWarning: file:///.../node_modules/@sveltejs/vite-plugin-svelte/dist/index.js:214
import { createMakeHot } from "svelte-hmr";
         ^^^^^^^^^^^^^
SyntaxError: The requested module 'svelte-hmr' does not provide an export named 'createMakeHot'

Other people reported the same issue with github pages.
Downgrading to v10 manually solves the problem.

Yes I have the same issue on v11 and on v10 it seems there is another issue
import { svelte } from "@sveltejs/vite-plugin-svelte";
         ^^^^^^
SyntaxError: The requested module '@sveltejs/vite-plugin-svelte' does not provide an export named 'svelte'

Any idea to which version we should change?

v11 now includes an ESM bundle and uses named export svelte instead of a default export in v10, but the underlying package svelte-hmr only exports CJS, which I believe caused the underlying createMakeHot error.
I'm not sure how easy it would be to have svelte-hmr provide an ESM bundle, but otherwise we could make a change in vite-plugin-svelte to import with import * as svelteHmr as "svelte-hmr to bypass the issue.

thanks for reporting this. The tests with adapter-static still worked so this slipped through :/
I wonder whats going on here though, svelte-hmr shouldn't be part of final build output as it is only used for hmr during dev.
As a workaround you could downgrade to -next.10 and use the default export again ( see https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md#major-changes )

IIRC node had issues in importing named imports of CJS files that do named exports. But I can't reproduce on my side too, could be related to the node version used? A repro would be great @zommerberg

@bluwy I can reproduce it only when I try to deploy it. Building it locally doesn't throw an error. The default sveltekit project should be able to reproduce it.

v11 now includes an ESM bundle and uses named export svelte instead of a default export in v10

This solved my issue thank you @bluwy!

@zommerberg Is the netlify deploy log public? Would be nice to see when/how it fails. The log should also show the node version, which I'm guessing it could be that an older node version was used that caused the error, the minimum supported node version for vite-plugin-svelte  is v12,

yes, please share a full log and a minimal reproduction. I think you're able to select a node version in netlify by adding a .nvmrcfile.

according to this https://github.com/sveltejs/kit/pull/1517#issuecomment-862965387 ,  you have to update your project to match the sveltekit template and add a . node-version file that tells netlify to use a compatible version.
https://github.com/sveltejs/vite-plugin-svelte/blob/09b63d32e8816acc554a66d4d01062be197dfbb7/package.json#L80

@dominikg  I can confirm that manually setting the node version to v14.17.0 solves the problem.
As far as the old log goes:
11:44:00 PM: $ npm run build
11:44:00 PM: ><EMAIL_ADDRESS>build /opt/build/repo
11:44:00 PM: > svelte-kit build
11:44:00 PM: (node:1356) ExperimentalWarning: The ESM module loader is experimental.
11:44:00 PM: > The requested module 'svelte-hmr' does not provide an export named 'createMakeHot'
11:44:00 PM: file:///opt/build/repo/node_modules/@sveltejs/vite-plugin-svelte/dist/index.js:214
11:44:00 PM: import { createMakeHot } from "svelte-hmr";
11:44:00 PM:          ^^^^^^^^^^^^^
11:44:00 PM: SyntaxError: The requested module 'svelte-hmr' does not provide an export named 'createMakeHot'
11:44:00 PM:     at ModuleJob._instantiate (internal/modules/esm/module_job.js:92:21)
11:44:00 PM:     at async ModuleJob.run (internal/modules/esm/module_job.js:107:20)
11:44:00 PM:     at async Loader.import (internal/modules/esm/loader.js:179:24)
11:44:00 PM:     at async file:///opt/build/repo/node_modules/@sveltejs/kit/dist/cli.js:645:22

thanks


Error handling while is busy

I noticed that the app crashes when the user tries to switch sessions or rename, so I simply added some returns while it is busy.

So it crashes when the generation is running you mean?

So it crashes when the generation is running you mean?

Yes


Add support for lowering mhlo.fft to linalg_ext.fft

This is a new path which lowers the op to linalg_ext. The old pipeline
is through DFT implementation, ie matmul.
This improves the RFFT kernel (tensor<325x1024xf32>) from 33 ms to 14.5
ms (single-threaded), even the kernel is serialized. The next step is to
implement tiling method and we can get more performance improvements.
This is a step toward https://github.com/google/iree/issues/6477

This depends on https://github.com/google/iree/pull/6602


Table: update an example

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

和 @zifeixu85 商量后，修改此例


Kotlin code sample missing for Authenticator in Recipes section

Kotlin:

Java:

Thanks for the quick response @yschimke
For what it's worth, I tried copying the kotlin code today for making a sync and async request and those have a few issues. It looks like the apis were updated. Not sure if it's worth opening up another issue, but it'd be nice to make sure those samples compile.

@ColtonIdle not sure what the issues with those examples are, they worked fine for me.  Could you grab a screenshot in your IDE?


AutoUpdatedAt: false does not prevent checks on updatedAt

Waterline version: 0.11.4
Node version: 6.9
NPM version: 3.2
Operating system: OSX

Waterline throws an error on updatedAt even though I am telling my model not to track updatedAt.
My model:
  autoUpdatedAt: false,
  attributes: {
    id: {
      type: 'integer',
      autoIncrement: true,
      primaryKey: true,
      unique: true
    },

The error from waterline:
     [Error (E_UNKNOWN) Encountered an unexpected error] Details:  error: column "updated_at" of relation "organization" does not exist

I am working with an existing database that does not have updatedAt in the table. This is described in your docs here: http://sailsjs.com/documentation/concepts/models-and-orm/model-settings#?autocreatedat However, it does not work as expected when set to false.

### In 2020...
Results
(node:10818) UnhandledPromiseRejectionWarning: AdapterError: Unexpected error from database adapter: column "updatedAt" of relation "emtm_report_mrs" does not exist
Model
module.exports = {
autoCreateAt: false,
autoUpdateAt: false,
...


colmap on headless server

Follow the instruction of this and this to solve the colmap on headless server.
It worked for me.

Thanks for this information. I will create a link to this issue at README.


Issues: to-fix

@aaronlidman Capturing one of the most occurring imagery series in to-fix.
As you can see in the below gif, this series of imageries(of same places) keeps flashing after fixing some number of to-fix issues. And these issues doesn't seem to be a unconnected major error. Later on it detects one of the unconnected major error and stops flashing.

@lxbarth @geohacker @planemad @ruthmaben @shravan91

Not re-creating this issue in the upcoming react branch. When this is merged hopefully this issue goes away.

Ok, I see what is going on.
To explain, each of the unconnected errors is made up of two parts. A node id and a way id. The details for both must be retrieved from the OSM API, but if either of them fails (because it was changed or removed or something), the task will skip to the next item. I will remove this skipping functionality and see if the errors are still good without it. I'll update here when I remove the skipping.

@aaronlidman any idea if the osmi data is actually updated daily. A lot of the errors fixed yesterday are still showing up on this map that I updated with the latest data.
The total row count in the csv today is 50490. Will check this tomorrow.

@planemad Sometimes. In my experience the data wasn't updated very consistent. It wasn't uncommon for me to find things fixed weeks ago.

@srividyacb I found and fixed the problem. You should only see skipping rarely now. Let me know again if you see it lots like you did before.

thank you @aaronlidman


Validate --builder-image name prior staging

Issue
I tried to push the following command and it errors on the image name
epinio push --builder-image "paketobuildpacks/builder:*" -n sampleapp -p /home/mmartin/suse/epinio-repos/epinio/assets/sample-app

Note: this does not happen for instance with the following one:
epinio push --builder-image 'paketobuildpacks/builder:full' -n sampleapp5 -p /home/mmartin/suse/epinio-repos/epinio/assets/sample-app

Observed behavior
The app starts to be pushed and gets hanged in the staging process silently.
Later when looking at the pod I see error status InvalidImageName:
k get pod stage-workspace-sample-d6580f3080dbe5ec533ad21719bda1b5976z28w9 -n epinio -o wide
NAME                                                              READY   STATUS             RESTARTS   AGE   IP           NODE                             NOMINATED NODE   READINESS GATES
stage-workspace-sample-d6580f3080dbe5ec533ad21719bda1b5976z28w9   0/1     InvalidImageName   0          16m   <IP_ADDRESS>   k3d-epinio-acceptance-server-0   <none>           <none>

Looking at the description of the error I see:
Warning  InspectFailed  24s (x25 over 5m25s)   kubelet            Failed to apply default image tag "paketobuildpacks/builder:*": couldn't parse image reference "paketobuildpacks/builder:*": invalid reference format

Proposed behavior

Verify before pushing staging image name is valid
Perhaps suggest an example how it should be

Test info
➜  ~ epinio info

✔  Epinio Environment
Platform: k3s
Kubernetes Version: v1.26.10+k3s2
Epinio Server Version: v1.11.0-rc1
Epinio Client Version: v1.11.0-rc1
OIDC enabled: true

This is a tricky thing ... The silent hanging is a definitive issue, we should report better. Not sure however if we can. That needs research into K pods and monitoring them. IOW, instead of just setting up log streaming the server may have to perform additional observation of the container start process to see issues which happen before the logs become available.
Exact validation may require to actually (attempt to) pull the image by the E server before it uses it in the staging job.
That could be bad (multi-GB download, maybe abortable?).
Some validation could be done to reject clearly illegal strings, i.e. like * in the example, as it is a glob-pattern.
This however is not a true solution, as the user can still enter syntactically legal tags, which simply do not exist.
That then causes the same issue as reported.

We need a more complete understanding of the current status of the staging job (if it failed, still running and so on). Maybe the StagingComplete endpoint can be used for this. This is also probably needed to get the "current state" of the deployments, related to the #593 issue.


Change shrinkIndexFlyout to page

Description
The main changes of this PR are:

Change shrinkIndexFlyout to page.
Add unit tests for the shrink index page.
Modify some error message or warning message.

Issues Resolved
https://github.com/opensearch-project/index-management-dashboards-plugin/issues/468
Check List

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

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

Codecov Report

Merging #476 (9729a2f) into index-operation (9e9f03c) will increase coverage by 0.03%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           index-operation     #476      +/-   ##
===================================================
+ Coverage            60.65%   60.69%   +0.03%
===================================================
  Files                  250      250
  Lines                 8301     8360      +59
  Branches              1465     1477      +12
===================================================
+ Hits                  5035     5074      +39
- Misses                2914     2929      +15
- Partials               352      357       +5

Impacted Files
Coverage Δ

.../pages/Indices/containers/IndicesActions/index.tsx
72.89% <0.00%> (-3.58%)
:arrow_down:

...ement-dashboards-plugin/public/pages/Main/Main.tsx
6.32% <0.00%> (-0.17%)
:arrow_down:

...gement-dashboards-plugin/public/utils/constants.ts
100.00% <0.00%> (ø)

...components/ShrinkIndexFlyout/ShrinkIndexFlyout.tsx

.../Indices/components/ShrinkIndexFlyout/constants.ts

...plugin/public/pages/ShrinkIndex/utils/constants.ts
100.00% <0.00%> (ø)

.../ShrinkIndex/container/ShrinkIndex/ShrinkIndex.tsx
88.12% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


vscode rainbow brackets in error message popup

In typescript the error message are very long and hard to understand, and it would be nice if the object had rainbow brackets to understand the scope

Which object do you mean?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


integrations to opengts 2.5.3

I create in GTS  deviceid 227121
traccar connect very well
but when my cell transmit
this is the log
2016-10-28 19:36:23  INFO: Starting server...
2016-10-28 19:36:43  INFO: [3D6A8D4C] connected
2016-10-28 19:36:43 DEBUG: [3D6A8D4C: 5055 < <IP_ADDRESS>] HEX: 474554202f3f69643d3232373132312674696d657374616d703d31343737373030343634266c61743d31392e35333234393235266c6f6e3d2d39362e393032343139312673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d35342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b205265646d69203353204d4955492f56372e332e31302e302e302e4d414c434e4445290d0a486f73743a206e6f7665747261636b2e636f6d3a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-10-28 19:36:43  WARN: Unknown device - 227121 (<IP_ADDRESS>)
2016-10-28 19:36:43  WARN: [3D6A8D4C] error - org.jboss.netty.handler.codec.http.HttpResponse.headers()Lorg/jboss/netty/handler/codec/http/HttpHeaders; - NoSuchMethodError (OsmAndProtocolDecoder:48 < *:76 < ExtendedObjectDecoder:58 < ...)
2016-10-28 19:36:43  INFO: [3D6A8D4C] disconnected

whats wrong ?

I can see two issues here:

You haven't registered your device in OpenGTS properly. IMEI number should be "227121".

It seems like you are using wrong version of Netty library.

ok
second point  ,  which is the correct version of natty library for traccar ?

It's specified in Maven project file. Just build it using Maven and it will download correct versions of all required libraries.

ok  the correct versiion  is 3.8    works fine
and  one question  please
why the statuscode is not return in opengts   (0) ?

No, 3.8 is not a correct version. I would strongly recommend you to build project properly using maven.
StatusCode is 0 because I don't know what it should be. You can modify the query to insert some meaningful value there.


FileNotFoundError: [Errno 2] No such file or directory: './gPPMol/smile_str_resatom_dict_10000.npy'

I got this error while trying to run the train.py

update

update

update

update