Timestamp / Creation Date when moving from phone or backup

Describe the bug
If moving a picture to a remote album it is always getting the "now"-timestamp. It happens when moving from phone and/or backed up pictures from camera roll. Didn´t except this to happen, at least from backup, as they are already uploaded to nextcloud - where they have the correct timestamp.
To Reproduce
Steps to reproduce the behavior:

Go to 'Gallery'
Click on 'Picture' and choose 'Moving' and select Remote Album to move to
Check timestamp of picture in remote album
See error

Expected behavior
As written at least the timestamp of already uploaded pictures in backup should be kept. Better if every picture moved to an remote album keeps its timestamp.
Screenshots

timestamp on phone

timestamp of backup in nextcloud

moving to remote album

timestamp after moving
Smartphone (please complete the following information):
Pixel 5
Android 14
2.9.10
Mabe I am overlooking something, so would be grateful if pointed to the right direction :)
If not it would be great if this would be possible as I really like the app otherwise

Your media file might not have a timestamp recorded in its EXIF. But from the screenshot you posted, the timestamp can be extracted from its filename. I will add this in the next release.

Thanks :)
And sorry, I should have mentioned. Lespas for itsself recognizes EXIF Data, so pictures are shown in chronological order in Lespas, but the file date is changed to the moment when moving to an album. So in nextcloud the order isn´t correct anymore.
So file date was something like
11.06.24 22:10 before moving an
23.06.24 12:12 after moving
even if files were already uploaded via backup from camera roll
Here is another example :)
Bevor moving:

After moving (it says file date "19 seconds"

In Lespas:

Where is the second screenshot of your last post coming from? Do you mean the date/time miss match happens in Nextcloud file app rather than Les Pas?

No, the file date changes everywhere - right after i move a file in Lespas.
The file date - as you can see in screenshot one - was 08.06.24 before moving.
The second screenshot was right out of the nextcloud frontend. Here is full screen of nextcloud app, where you can seee the file date ist now 23.06.24

Ok, the date miss-match you see is from Nextcloud's Android client. Could you please also confirm the same happens in Android's own File app?

Did an upload via Nextcloud app.
First screen Phone Storage, second uploaded file. File date stays the same...

I just did a test on my Pixel phone:

Open Les Pas's Gallery, find a file dated on June 21, then add it to Les Pas
The file date stays the same in Les Pas's Gallery list
Quit Les Pas, then open Android File app, the date of the file stays the same
I don't have Nextcloud's client app installed, so I can't test it at this moment

Seems like I can't replicate this bug here. Or did I miss something?

Thanks again! Hmm, maybe I am doing something wrong.

Did (Screen 1)
Correct (Screen 2 - because of exif or other file information?)
File is deleted afterwards because it was uploaded to Nextcloud (to use that and save space on phone, of course)
In Nextcloud file is then dated to actual time and date (Screen 3)

How I use Les Pas (sorry for misspeling the name before)

Open app - Phone gallery is shown
Open phone gallery and then camera folder e.g. (or else, doesn´t depend)
Choose a random photo frome date before today
Hit Les Pas button and select moving to a imported archiv/backup folder from nextcloud
Delete original photo in Les Pas pop up

Screen 1 (Picture from Wednesday):

Screen2 (after moving):

Screen 3 (in Nextcloud afterwards date is set to today):


Unity 2019.3.7f1 not working

Tried to install the dark theme for 2019.3.7f1, installer worked but the theme didn't changed.

try this : https://github.com/Gluschenko/UnityDarkSkin/issues/23#issuecomment-562925547

It still work for me

That worked, thank you !


Update _index.md

Added cert-manager-webhook-hetzner (https://github.com/vadimkim/cert-manager-webhook-hetzner) to Webhooks list

/assign @joshvanl

Cheers!
/approve
/lgtm
/override dco

Hi! Sorry, but did not find info about "dco-signoff" label - how can it be added for further process ?
Thanks

/dco-signoff: yes

/ok-to-test
Thanks for the PR!


Test blacklist integrity before commit

Attempt to fix #2219 by checking for duplicates on master instead of deploy.

Coverage remained the same at 65.464% when pulling f83d17c4c187303a8c5f49dbe96305a461cceb52 on iBug:dup-watch into 745cbd46da3746028234b323524f9fab6b1c3e2a on Charcoal-SE:master.

@ArtOfCode- I absolutely didn't forget that. Here's a finally clause that has been there for a lone time :)

@iBug that finally change hasn't made it to this PR; did you commit to the patch branch in your repo or master?

@ArtOfCode- That finally block has existed in master for a long time and I didn't touch it.

@ArtOfCode- I'm sure what you reviewed isn't an issue and am going to merge this. Is that all right?

There's still no finally block included in the changes in this PR

@ArtOfCode- There's no need to have another. The one that I presented you with already covers this case and it's in the master branch.

Oh, I get it now. I was confused about which changes were on which fork. Merge when ready.


hw07 submission - Tea Stefanovska

Parser parses erroneous inputs such as Let in = 1 in in and does not parse correct inputs such as "1+1"

Type check does not cover arithmetics.

The comments above need to be addressed.

You can read how to parse arithmetic in the tutorial: https://markkarpov.com/tutorial/megaparsec.html

Either, Let, Tests -- ok
Arithmetic,  Proof tree -- not done.


TypeError: NetworkError when attempting to fetch resource - firefox issue

Hi, I have simple function for logout that looks like this
public logoutHandler() {
    fetch('/logout', <RequestInit>{
      method: 'get',
      credentials: 'include'
    }).then((response) => {
      console.log(document.cookie);
      window.location.href = '/login';
    });
  }

It is workin in chrome but in firefox I get "TypeError: NetworkError when attempting to fetch resource.1 (unknown)". Client side app is on the same server as backend, I'm using https connection with self-signed cert, could it be the issue?

Firefox contains a native fetch implementation and does not use this polyfill code. You can use the Network tab in Firefox's web console to debug the request and response.

On chrome, I've got "TypeError: Failed to fetch"
On firefox, the same "TypeError: NetworkError when attempting to fetch resource"
..

Have you check errors like CORS?

@ariden83 did you figure out what was causing the errors? I'm seeing the same issues in isolated cases

Can we reopen this ticket?
I'm seeing the same error, but only on Firefox.
Also, nothing shows up in the Network tab.

I have the same problem now too, in firefox only. It does not work in the web extension for firefox, but it does work if I open the respective site and try it in the web console when I am on that site.
I have the respective site in my web extension permission array.

There maybe relational link.
Fetch api not working in firefox addon : firefox
1346447 - Fetch api not working within addon

I'm seeing the same error,except chrome

I have the same exact issue. everything is fine in chrome but firefox caches wrong fetch response. and the worst of all is that it caches this error as response of that particular endpoint of my api for a LONG time.

Having the same issue when I have network.http.referer.XOriginPolicy set to 1 ("send a referrer only when the base domains are the same"). Is that supposed to happen? I'm quite sure the base domain of localhost matches the base domain of itself :)

@manoharreddyporeddy  function app > platform features tab etc
what are those?

@aguayUmbt they are menu/sequence of operations to be done in the Azure portal

I am having the same issue as @jcimoch mentioned. Can anyone tell me how to solve this

@jcimoch, I am having the same issue. Please tell me how to debug it. :)

If anyone comes across this, I had the same error in Firefox (but with a different application) and it turns out it was because the (self-signed) SSL certificate I was using on the server was not trusted in Firefox. I added the self-signed root CA to Firefox and all was well.

In our case, the solution was not using the wild card for Access-Control-Allow-Origin, instead our settings look like this:
res.setHeader('Access-Control-Allow-Origin', req.headers.origin);
res.setHeader("Access-Control-Allow-Headers", "Authorization, Cache-Control, Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers");

Check if you are using http or https on your server. For me, the error was coming online with heroku server because they use https while in local machine I was using http and it was working.
After choosing https for my endpoints, it worked

I managed to solve the problem by monitoring the headers returned by github used on the demo page.
Since I'm using a python webserver, the headers look like:
self.send_header("Access-Control-Allow-Origin", "*")
self.send_header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
self.send_header("Access-Control-Allow-Headers", '*');
self.send_header("Status", "200 OK")
self.send_header("Vary", "Accept")
self.send_header('Content-Type', 'application/octet-stream')

Hope it helps.

For me, Swagger UI for some reason crashes when I use examples that consume multilanguage resource files. So I removed the examples from Swagger config and Swager UI started working properly again - of course, without examples.

Happened to me, Jupyter wouldn't behave until i renamed ./lib/twitterlib.py to something without "lib" in the file name... something to do with lib/*lib.py.. maybe ?

Tried in a Rails 6 only-api app with CORS enabled, using NGROK and no luck.
Tried instead
{
  ...
  "permissions": [
    "storage",
    "<all_urls>"
  ]
}

and got it working.

Same issue. But what is particular in my situation is that I need to fetch a blob url, like "blob:https://images.google.com.hk/9143673d-b976-4416-b29c-85ce48a77da6".
However, if I declare manifest.json as
{
   ...
   "permissions": [
       "blob:*",
    ]
}

Firefox does not recognize it, and throws a warning message, "Reading manifest: Warning processing permissions: Error processing permissions.1: Value "blob:" must either: must either [must either [be one of ["clipboardRead", "clipboardWrite", "geolocation", "idle", "notifications"], be one of ["bookmarks"], be one of ["find"], be one of ["history"], be one of ["menus.overrideContext"], be one of ["search"], be one of ["topSites"], be one of ["activeTab", "tabs", "tabHide"], be one of ["browserSettings"], be one of ["cookies"], be one of ["downloads", "downloads.open"], be one of ["privacy"], be one of ["webNavigation"], or be one of ["webRequest", "webRequestBlocking"]], be one of ["alarms", "mozillaAddons", "storage", "unlimitedStorage"], be one of ["captivePortal"], be one of ["browsingData"], be one of ["devtools"], be one of ["identity"], be one of ["menus", "contextMenus"], be one of ["normandyAddonStudy"], be one of ["pkcs11"], be one of ["geckoProfiler"], be one of ["sessions"], be one of ["urlbar"], be one of ["contextualIdentities"], be one of ["dns"], be one of ["activityLog"], be one of ["management"], be one of ["networkStatus"], be one of ["proxy"], be one of ["nativeMessaging"], be one of ["telemetry"], be one of ["theme"], or match the pattern /^experiments(.\w+)+$/], or must either [be one of ["<all_urls>"], must either [match the pattern /^(https?|wss?|file|ftp|*)://(*|*.[^/]+|[^/]+)/.$/, or match the pattern /^file:///.$/], or match the pattern /^resource://(*|*.[^/]+|[^/]+)/.$|^about:/]"
Maybe the pattern /^(https?|wss?|file|ftp|*)://(*|*.[^/]+|[^/]+)/.*$/ can provide some hints, but useless for a blob URL.  😞
I don't need to declare any permission about blob URL at chrome.
All right, it looks like <all_urls> is the only way.

I had this problem and turned out that someone had put redirection (window.location = '/') not in the promise's resolve function, but immediately after the fetch call, so the application was aborting the call and redirecting to the index.


Error in installing OpenEXR

I tried installing OpenEXR on Mac inside conda env by
pip install OpenEXR

Here is the output
Collecting OpenEXR
  Using cached OpenEXR-1.3.0.tar.gz
Building wheels for collected packages: OpenEXR
  Running setup.py bdist_wheel for OpenEXR: started
  Running setup.py bdist_wheel for OpenEXR: finished with status 'error'
  Complete output from command /Users/siddharthdas/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/80/v1nwf70x2rz5srmzfnpc3pq40000gn/T/pip-build-gd8076fk/OpenEXR/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/80/v1nwf70x2rz5srmzfnpc3pq40000gn/T/tmpmh3ncqjjpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
  running build_ext
  building 'OpenEXR' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/siddharthdas/anaconda3/include -arch x86_64 -I/Users/siddharthdas/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/siddharthdas/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.0"
  OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found
  #include <ImathBox.h>
           ^~~~~~~~~~~~
  1 error generated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Running setup.py clean for OpenEXR
Failed to build OpenEXR
Installing collected packages: OpenEXR
  Running setup.py install for OpenEXR: started
    Running setup.py install for OpenEXR: finished with status 'error'
    Complete output from command /Users/siddharthdas/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/80/v1nwf70x2rz5srmzfnpc3pq40000gn/T/pip-build-gd8076fk/OpenEXR/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/80/v1nwf70x2rz5srmzfnpc3pq40000gn/T/pip-4vp6zrn7-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    copying Imath.py -> build/lib.macosx-10.7-x86_64-3.6
    running build_ext
    building 'OpenEXR' extension
    creating build/temp.macosx-10.7-x86_64-3.6
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/siddharthdas/anaconda3/include -arch x86_64 -I/Users/siddharthdas/anaconda3/include -arch x86_64 -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/Users/siddharthdas/anaconda3/include/python3.6m -c OpenEXR.cpp -o build/temp.macosx-10.7-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.0"
    OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found
    #include <ImathBox.h>
             ^~~~~~~~~~~~
    1 error generated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------

Pypi has a link to the py openexr project, here: https://pypi.org/project/OpenEXR/ It would be best to open an issue with the project owner, as it is an independent effort, not part of the OpenEXR project itself.

I encountered the same problem, wondering how you managed to solve it.

On @jamesbowman's repo, where development of openexrpython occurs, it appears this issue, of not finding <ImathBox.h> has been resolved:
https://github.com/jamesbowman/openexrpython/issues/32


Get object metadata error in lakeFSFS

When using Databricks (and possibly not only Databricks) with lakeFSFS assembly jar, some of the processes are aborted with IOException - "failed to get object metadata using underlying s3 client".
This error is flaky and its cause is unclear.
We should check the cause and resolve it.
** This bug was found while setting up Yotpo's environment.

Fixed by #2896


Fix list of creditors parsing error on empty reports.

This PR solves COURTLISTENER-3QW  it was raised when the List of creditors doesn't contain any creditors.

Looks good, thanks!


cp: adapt error message if destination directory doesn't exist

When trying to copy a file to a non-existing directory, uutils cp currently shows the following error:
$ cargo run cp a.txt no-such/
cp: 'a.txt' -> 'no-such/': Is a directory (os error 21)

GNU cp, on the other hand, shows the following error:
$ cp a.txt no-such/
cp: cannot create regular file 'no-such/': Not a directory

This PR adapts the error message to match the one from GNU cp.

Do you know why this check for the separator does not show up anywhere else in the code? Surely there's some place where we have to check for that so that we can interpret this correctly as copying to a directory or is that not implemented?

@cakebaker ping?

I don't know why there isn't such a check for the separator.

Closing this PR, it has been fixed in a different way in https://github.com/uutils/coreutils/pull/5780


[WIP] Adding uniswap strategy - accommodate specific deposit strategies

Current PR presents an alternative flow for deposits of specific strategies - pushed by the need of uniswap today and any in the future.
I think current approach leaves existing code alone (keeps old APIs - while extending for the special cases as each strategy might want)
took me a little bit of time to think about how to do it decently elegantly - expect quite a bit more commits coming in pipeline

Closing this as we'll take a different approach to supporting multiple deposit stables.


chore: bump spectral to 5.8.0

This PR bumps spectral dependency and fixes https://github.com/stoplightio/vscode-spectral/issues/68
Does this PR introduce a breaking change?

[x] No

That was fast ;) Thanks @emilioSp

That was fast ;) Thanks @emilioSp

Thanks for merging @philsturgeon !

Thanks for merging @philsturgeon !


Convert Android encrypt/decrypt to use chunking

Fixes #300

@mCodex are there any plans for another release including the changes since v6.0.0-alpha.9?


math/big: comparison is always true

cmd/compile/internal/big/natconv.go:304: comparison of identifier nbits >= 0 is always true
math/big/natconv.go:304: comparison of identifier nbits >= 0 is always true
nbits is an unsigned, and a >=0 comparison is performed against it which is always true.
 nbits := uint(_W) // number of unprocessed bits in w

...
   // convert digits of most-significant word (omit leading zeros)
                for nbits >= 0 && w != 0 {
                        i--

(see https://groups.google.com/d/msg/golang-nuts/O4k42ETtWKQ/_ajX7fz5LUEJ for more details)

https://go-review.googlesource.com/#/c/11267/


A few typo fixes

Thanks for the cool project!
I was reading through your documentation and noticed a few typos.
These are fixes for the problems I noticed.
I've read the CLA, and I agree.

Thanks!


Cleaning view code and adding aspect ration option, as requested in  #279

Choose aspect_ratio = 'equal' to set the aspect ratio of the figure.

Check this @wvangeit, @chalimou, @romani79, @eleftherioszisis :
Please let me know which value I should set to default if you have any preference. Examples of 'normal' versus 'equal' aspect_ratio:

This fixes  #279

I’m not an expert but I think equal ratio as default makes more sense,
nancy

On 04 Jul 2016, at 15:32, lidakanari<EMAIL_ADDRESS>wrote:
This fixes #279 https://github.com/BlueBrain/NeuroM/issues/279
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/BlueBrain/NeuroM/pull/408#issuecomment-230291489, or mute the thread https://github.com/notifications/unsubscribe/APxZk2E7zcKsd9mK19R4nL5lfH49rflyks5qSQtRgaJpZM4JEXmH.

@lidakanari Looks OK to me. Let me know whenever this is ready to be merged.

OK, I will change the default value and I'll let you merge it.

It should be good now, if there are no errors in CI.

Yep, equal aspect ratio made most sense indeed

I absolutely agree with Werner

OK, done :) Let me know if it works for you!


updated OAHashMap to use robinhood hashing

Robinhood hashing swaps out entries that have a smaller probing distance
than the to-be-inserted entry, that evens out the average probing distance
and enables faster lookups. Also checking for non-existing entries is a lot faster since the algorithm can abort if an element with a higher probing distance is found.

@eska014 thanks, I overlooked that macro, I think that's enough for now. It might be problematic if it the thing that's being swapped was deleted before... but this HashMap isn't intended to be used much with non POD types anyway.


Minimize Usage of init.py Files

We might be putting more code into the __init__.py files than we really need to. We should go through the __init__.py files we have and move any code that can be relocated out into its own source files.

Done. :+1:


.circleci: 改进test执行

这个 PR 实现什么功能/修复什么问题:
避免go test执行两次
避免因push到codecov失败造成测试失败

是否需要 backport 到之前的 release 分支:

release/2.10.0

Codecov Report

Merging #1729 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1729      +/-   ##
=========================================
+ Coverage    7.65%   7.65%   +<.01%
=========================================
  Files         412     412
  Lines       63127   63115      -12
=========================================
  Hits         4834    4834
+ Misses      57885   57873      -12
  Partials      408     408

Flag
Coverage Δ

#aFlag
7.65% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/loadbalancerbackendgroups.go
2.54% <0%> (+0.01%)
:arrow_up:

pkg/keystone/models/users.go
2.38% <0%> (+0.03%)
:arrow_up:

pkg/keystone/models/groups.go
6.52% <0%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


for iOS device generated this issue

MissingPluginException(No implementation found for method init on channel plugins.flutter.io/flutter_facebook_login)

Two things here:

plugins.flutter.io/flutter_facebook_login is not part of my namespace. the proper one is com.roughike/flutter_facebook_login, did you change the code around?
you have to do a full restart after adding the dependency - hot reload is not enough for plugins.


Add dialog as extra step when abandoning game

Safety measure to prevent someone from accidentally pushing the button and abandoning the game.

Dialog added and is working.


Main.py

Before I thought I solved the issue by adding python before main.py and yes, it did work however every time I opened it I would have to configure my devices with network manager using option 1 and after it finished I wouldn't be back in the attack screen and whenever I closed it and made a new terminal "python main.py" wouldn't start and yes I ran it as root and installed the requirements.

Does your wireless adapter support monitor mode?
You need a total of two for this attack, one which would be configures to monitor mode and another with internet access for the attacked device at the end.

I only have one wireless adapter, and it has monitor mode. I use eth0 as my other option.

If by eth0 you mean you have an ethernet connection enabling the internet to the device that's fine. Use the wireless adapter as the attacking interface while setting the devicesand then run the scan afterward.
And for the next comments it'll help if you can show some screenshots

I'm running kali using VMware, I don't think it should affect it though but this is what I did in order. after this it just stays frozen I don't get returned to the main options menu and I cant do python main.py or it'll just simply not work

Looks like the process is stuck when trying to create a new virtual interface. We developed and run that code on a LiveCD kali, theoretically, this should work on a virtual machine but you need to make sure the VM has full hardware access. Can you try running on a LiveCD?


Shorten thread names

Threads on Linux have an upper limit of 16 characters, hence dropping Thread from their names.

bors r+

bors r-
bors d+
(does this work?)

bors r+


the latest release doesn't open up in Mac

Tried to download from website, had to download from the 'release source' and from there even the dist 'responsive' file is still unable to open..  img of the mac err
Mac OS Sierra 2016
v 10.12.4 = Macbook Pro

It must be something to do with gulp-zip or the underlying code.
https://github.com/sindresorhus/gulp-zip/issues/79

I've updated the binary manually for now. Will look to fix the automated release asap

Not using gulp for v5. Closing.


Manual Change - Update logo of KITTY

I'm submitting a ...
[ ] bug report
[X ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Hi,
Automerge of this PR has failed because asset can't be modified => https://github.com/solana-labs/token-list/pull/14179
Can you do a manual review of this PR and approve it ?
Here is the initial commit made by me to create the token => https://github.com/solana-labs/token-list/pull/3189/
Thanks !

merged


do you have paper about algorithms you use ?

what is different from
hnswlib
do you have paper about algorithms you use ?

Hi @Sandy4321 -- Voyager is built off of the HNSW algorithm.  Thank you for highlighting that we don't actually link to this paper in the documentation.  I'll go ahead and add that :)

great thanks
may I ask
these paper authors
Yury A. Malkov
and
Dmitry A. Yashunin
took apert in developing  spotify/voyager?

The authors of that paper have not been involved in the development of the Voyager library, but they were authors of nmslib and hnswlib which this library was derived from

Hi,
I was wondering if you needed any help with the documentation and if I could help with that!

Closing this issue as the original question has been answered


MPD stream problem

Hello,
I'm trying to play a mpd stream but it doesn't work.
Example:
http://h5p2p.peer-stream.com/index-video.html?mpd=//h5p2p.peer-stream.com/chunks/prosieben_hq.webm.mpd
Log:
C:\Users\Anon\Desktop\ffmpeg-20161103-3932ccc-win64-static\bin>youtube-dl.exe http://h5p2p.peer-stream.com/chunks/prosieben_hq.webm.mpd
[generic] prosieben_hq.webm: Requesting header
WARNING: Falling back on generic information extractor.
[generic] prosieben_hq.webm: Downloading webpage
[generic] prosieben_hq.webm: Extracting information
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thanks.
System:
Smplayer 16.11.0 (64 bits)
Windows 10 Family (64 bits)
youtube-dl version 2016.12.01

DASH live streams arenot supported.


[Feature request] run-script --parallel --tree

It would be great to speed up build of dependent packages if --parallel flag could be used with --tree flag.
It should start executing script when those from dependencies are already completed.

Just shipped<EMAIL_ADDRESS>-- it's a beta, since there are so many new features!
Could you please install with yarn add oao@next and verify that #68, #69 and #70 work as expected?

hello, it looks like all 3 features are working,
thanks

Great to know! Just to understand, what was your use case? Did you try it with TypeScript compilation or something like that?

Yes, compiling all projects in monorepo and also running all tests (eg. unit + e2e + some specific configurations), with follows naming convention "test:something"

OK. I guess I'll ship soon a non-beta


added missing invalidateSubreddit action

invalidateSubreddit function and its constant were missing in the actions.js after async functions changes introduced.

Thanks!


kernel: add dev-kernel build process and update kernel to 4.20-rc3+ on aarch64

Like issue #843 said, we need to update kernel to v4.20-rc3+ on aarch64 for nvdimm support.
The nvdimm support is a crucial feature, and the missing of that leads to that we only could run one kata-container on aarch64.
This kernel version v4.20-rc3 is on mainline, unstable, only for development use. So we add dev-kernel build process, and all related kernel configs and extra patches for dev kernel should be placed under kernel/dev.
The dev-kernel is just a temporary solution. when v4.20 is becoming stable, we will switch to stable kernel build process.

@Weichen81


Add help text to name fields

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#311  👈
#310
#308
#307
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @thisisgoldman and the rest of your teammates on  Graphite

Merge activity

Sep 24, 8:06 PM EDT: @thisisgoldman started a stack merge that includes this pull request via Graphite.


Bundle all C5 JS via amd, or use jQuery no conflict

We use es2015 compiled into es5 via browserify.
This is fine on the front end when we remove C5's version of jquery, but when users are logged in and editing, all the JS for C5 requires jQuery on the global object, and causes conflicts with custom javascript.
Can you look at bundling all the C5 specific javascript using amd or use jquery no conflict to avoid it conflicting with custom javascript?

Can you look at bundling all the C5 specific javascript using amd or use jquery no conflict to avoid it conflicting with custom javascript?

Wouldn't that break all the 3rd party packages relying on the current implementation?

I think the only option would be a config that allows us to enable/disable noConflict. Not exactly a 5min task.

I'm not saying it's an easy task, but it is something that should be considered, as you are currently dictating how developers build their UI's.
As a developer I should be able to build my UI however I want without it conflicting with C5 functionality.

In my mind, the proper way to do this would be to include your own version of jquery as noconflict.
<script src='/custom/jquery.js'></script>
<script>
(function(global, jQuery) {
    global.jq = jQuery.noConflict();
}(this, jQuery));
</script>

That way you can simply request the proper jQuery instance in your IIFE:
(function($){
    ...
}(window.jq));

The next opportunity to redo all of the legacy javascript is likely version 9 and a couple years away.

@dahliacreative do you have an opinion on my comment above ^^?

I have one: re make all our javascripts in TypeScript: writing it in Visual Studio Code is really really really great

That's something we could think about for version 9 but it'd be a pretty serious undertaking.

I think I'd like to support the proposal, or at least 'me too' the problem. I wanted to use a bootstrap feature but found that c5's customised bootstrap makes it inaccessible to me (due, I think, to namespacing). I'd then have to use my own copy of bootstrap, but this would result in conflicts when c5 uses its own (when logged in). Using multiple copies of resources is discouraged for good reasons.
I've therefore had to forego the use of the bootstrap feature. I'm sure the inclusion of customised JS libraries in c5 was not intended to preclude developers from using them.

Hi @KorvinSzanto I managed to get around it by using browserify shim to make the global jquery accessible as an amd module. Still far from ideal though.
My suggestion in future would be to remove jquery as a dependency, or bundle all c5 js via amd. I know that's a big task, but the c5 jquery thing is something we run into on pretty much every site we build, and we build a lot of sites!

Here is a worst case (ish) scenario:

The core uses one version of jQuery
6 different marketplace addons each pull in their own preferred version of jQuery
The theme pulls in yet another version of jQuery
A site developer has their own favourite version and pulls that in for some /application code

At what point does a sensible developer choice become chaos? Should the c5 core really have to facilitate such anarchy?

IMO The core should have no jQuery dependancy whatsoever, and it should be down to the developer to choose if they want / need jQuery.

Arguably this issue is more general than jQuery. I have the equivalent problem with bootstrap.

Yeah, I mean it totally shouldn't be relying on bootstrap, or any other third party plugins.
The core should be as vanilla as possible to make it as lightweight as possible and to ensure no conflicts.
Perhaps they need to try and get some more UI Devs on board and just overhaul the UI.

@dahliacreative
What you propose would require a massive investment in time and the reinvention of the wheel - all for limited returns.

I know it would, but I think you underestimate the returns. UI development is changing, and C5 is starting to alienate UI Developers that are perusing the latest tech and methodologies.
And I don't see how anyone could call better performance a 'limited return'

One of the good things about 5.7 and v8 is that it uses 3rd party (vendor) libraries rather than reinventing everything. That way, the limited effort available for updating the core can be spent on doing that isn't available elsewhere. Perhaps a better objective here would be to ensure vendor libraries are fully up-to-date with each c5 release.

well, like i originally said, if all the core js is bundled up via amd then it wouldn't be an issue at all, I think that is probably the easiest and quickest route to go.

As usual, I agree with Mr theFish. Methinks the goal should be for the c5-bundled vendor libraries to be as usable by site/add-on developers as possible. This would reduce library duplication and conflicts. Even the c5 documentation urges against including additional copies of libraries, but acknowledges the need.
Always using the most up-to-date libraries is one important step (and I gather that this is done where possible now). Another step would be a minimise c5-specific customisation of libraries, which is what has confounded my attempts to use bootstrap. If customisation is unavoidable, I wonder if it could be done via a 'shim' on top of the vendor library, rather than by editing the library itself. This way, the unadulterated library included with c5 would still be available for developers. It would also make it easier to keep the vendor libraries up-to-date. It's really just an application of 'don't edit the core'.

I think I'm just gonna have to agree to disagree here.
Personally I feel like the CMS code should be completely separate and self contained, and as a developer, building a site, I should have, in effect a blank canvas and be able to build my site as if the CMS wasn't there at all.
It just seems every site I build, there are roadblocks and stuff I need to spend a long time fixing and resolving because of the way C5 does thing. I should be able to build stuff how I want and it simply work without interference from the CMS.

Regarding the c5 UI itself I agree that it should be self contained, would make lots of things easier.
Regarding including jQuery for the site users, that can already be disabled through the c5 assets system but of course it would break the editing UI for logged in users.
My suggestion is to make c5 UI self contained (it can rely on jQuery) and make the default inclusion of jQuery optional for sites. Add-ons can require the jQuery that ships with core if needed but by default it would not be included.

@dahliacreative one thing to note is that concrete5 only includes jquery when you're in edit mode. I agree with the sentiment but we have to balance practicality with what seems right. Let's think about this and put together a plan for version 9.

Yeah, I think if the core UI stuff was self contained and bundled via amd with jquery as a dependency then that would resolve the issue.


LongType: Improve BytesRef -> long conversion error msg

The error message of a failed BytesRef -> long conversion only contained
the value of the string that couldn't be converted.
This wasn't an issue in most cases as we wrap a NumberFormatException
into a a different exception with a good error message if it's part of a
cast. So something like select 'foo'::long raised a meaningful error,
but some other cases miss this conversion

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@88f02de). Click here to learn what that means.
The diff coverage is 14.28%.

@@            Coverage Diff            @@
##             master    #5974   +/-   ##
=========================================
  Coverage          ?   83.21%
  Complexity        ?    12395
=========================================
  Files             ?     1428
  Lines             ?    46776
  Branches          ?     5755
=========================================
  Hits              ?    38923
  Misses            ?     5192
  Partials          ?     2661

Impacted Files
Coverage Δ
Complexity Δ

core/src/main/java/io/crate/types/LongType.java
82.14% <14.28%> (ø)
27 <1> (?)

Continue to review full report at Codecov.

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


[BUG] Fix inference tests on new segments for old NNs

🐛 Bug Report
We have failing tests in tests/test_modes/test_inference:

test_forecast_new_segments_failed_encoding_error;
test_predict_new_segments_failed_encoding_error.

We want to figure out why are they failing and try to fix this.
If we understand that it cannot be easily fixed, add link to this issue near the tests and explain the problem inside the issue.
Expected behavior
Tests are passed.
In these tests we check that model can generate predictions on new segments.
How To Reproduce
Run the tests.
Environment
No response
Additional context
No response
Checklist

[X] Bug appears at the latest library version

Closed by #1109.


wrong checking of check50

ADD ISSUE DESCRIPTION HERE
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

check50 tests the code in the wrong way
the code:
x = 50
den = [5, 10, 25]
while x > 0:
y = int(input("Insert coin: "))
if y in den:
x = x - y
if x <= 0:
print(f"Change owed: {abs(x)}")
elif x > 0:
print(f"Amount due: {x}")
else:
print(f"Amount due: {x}")
the problem:
Suppose that a machine sells bottles of Coca-Cola (Coke) for 50 cents and only accepts coins in these denominations: 25 cents, 10 cents, and 5 cents.
In a file called coke.py, implement a program that prompts the user to insert a coin, one at a time, each time informing the user of the amount due. Once the user has inputted at least 50 cents, output how many cents in change the user is owed. Assume that the user will only input integers, and ignore any integer that isn’t an accepted denomination
output of check50:
Results for cs50/problems/2022/python/coke generated by check50 v3.3.11
:) coke.py exists
:( coke accepts 25 cents
Did not find "Amount Due: 25..." in "Amount due: 25..."
:( coke accepts 10 cents
Did not find "Amount Due: 40..." in "Amount due: 40..."
:( coke accepts 5 cents
Did not find "Amount Due: 45..." in "Amount due: 45..."
:( coke rejects invalid amount of cents
Did not find "Amount Due: 50..." in "Amount due: 50..."
:( coke accepts continued input
Did not find "Amount Due: 30..." in "Amount due: 30..."
:( coke terminates at 50 cents
expected "Change Owed: 0...", not "Change owed: 0..."
:( coke provides correct change
expected "Change Owed: 1...", not "Change owed: 1..."

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


nixos-generate-config suggest invalid Nix

Describe the bug
nixos-generate-config generates the following commented out invalid syntax:
  # Configure keymap in X11
  # services.xserver.layout = "us";
  # services.xserver.xkbOptions = {
  #   "eurosign:e";
  #   "caps:escape" # map caps to escape.
  # };

Perhaps = [ ... ] was intended?
Steps To Reproduce
Steps to reproduce the behavior:

nixos-generate-config
View configuration.nix

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.15.102, NixOS, 22.11 (Raccoon), 22.11.3184.9b8e5abb183
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.11.1
channels(root): "nixos-22.11.3184.9b8e5abb183"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Nice catch!
xkbOptions requires a comma separated string.
I submitted a PR which will fix this issue.


Unable to preventDefault inside passive event listener due to target being treated as passive

When scrolling with mousewheel, I get an "Intervention" error/warning in Chrome that says:

Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312
preventDefault | @ | jquery.js:5575
wheelHandler | @ | jquery.scrollify.js:309
dispatch | @ | jquery.js:5237
elemData.handle | @ | jquery.js:5044

I'm not sure this is a major issue for website functionality but I wanted to raise it as a potential issue.

i have the same issue.

someone already solved it?


Caching problem when switching color corrections

When switching color corrections on a project with a number of scenes -- screenshots incoming

go Joe go

I can't say that I found the cause of this bug, but I found one possible cause: when the front end PUTs to the project/[...]/mosaic/[...] endpoint, eventually it ends up here. If setColorCorrectParams throws an IllegalStateException then the request fails and the front-end either doesn't replace the tile or it fetches the tile with the prior correction state (I'm not sure which).
The result is that multiple PUTs for a set of scenes can fail singly, which has the effect of inconsistent application of the color corrections. To demonstrate this, I used a random value generator to randomly throw IllegalStateExceptions, and the behavior was readily visible.
This issue will be followed-up by #1353, #1354, & #1355.


Permissions were not added to manifest

Hello! I'm new to Android Studio. By the instruction I connected your library, but in the manifest file no permissions were added. Why?

You have to manually add permissions to manifest. You will also need to handle the runtime permissions in your code. This is not a Fotoapparat issue; it is the same with every library on Android.

Permissions will be added automatically when you try to build the app. You will not see them in your AndroidManifest, as they are added by the manifest merger.
If you are interested about the details, you can read about it here: https://developer.android.com/studio/build/manifest-merge.html


[Feature]: Where is the interface to get the shopify node tree

What area(s) will this request affect?
Running your code locally
What type of change do you want to see?
New feature
Overview
now only found:
https://shopify.dev/docs/api/admin-graphql/unstable/queries/productTaxonomyNodes#field-producttaxonomynodeconnection-pageinfo
this api need to find each node extend for many times
sb. told me used to be have a api one time get all node tree data,but they say now it disappear.
so the one with the big dick can tell me if I still have the old interface
Motivation
writing a shopify category node tree .but use now api always have problems

Hi @bxxxe, i'm sorry but this is not a CLI question or proposal so i'll be closing this issue.
I think this would be best posted in the community forums :)


Incorrect reference to Boot

Introduction incorrectly mentions Spring Boot CLI where it should be talking about Sprint Cloud CLI.

@ajaygm Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@ajaygm Thank you for signing the Contributor License Agreement!


Fix exception generated when changing model without updating password

In one of my applications I use my devise model for information beyond just credentials. That means that we will often be updating details without changing the password.
Having added devise-uncommon_password I was seeing an exception of
undefined method `downcase' for nil:NilClass
when doing those updates, because the validation would attempt to run against a value that wasn't set.
This change skips the validation if no password is given.

I'm not sure I understand any case where this could be an issue. Shouldn't the password be required information any time changes to a User's account are made? Otherwise, a third party could change the User's profile without authenticating.

@HCLarsen In some of my apps I have admin users who can make changes to the accounts of other users. For example, they might change that user's role. They don't need to provide the user's password to do that, but the role is an attribute of the user.

In the original Devise gem, the password validations are executed based on a method called password_required? Instead of using password.present?, I think it would be best to use the same criteria as in the Devise gem. Please change that, and eliminate the changes you made to the README file, and if you could, clean up the code in the tests a bit. Once that's done, I'll be happy to merge your PR.


Documentation improvements

add code of conduct
improve github PR template
add changelog generator config
improve CONTRIBUTING.md
generate a CHANGELOG.md (it is autogenerated with https://github.com/skywinder/github-changelog-generator)

TODO: review and fix https://github.com/hyperledger/iroha/wiki/Iroha-working-agreement
But it will be done in next PRs.

Codecov Report

Merging #743 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #743   +/-   ##
========================================
  Coverage    42.54%   42.54%
========================================
  Files          309      309
  Lines        12778    12778
  Branches      7146     7146
========================================
  Hits          5436     5436
  Misses         709      709
  Partials      6633     6633

Continue to review full report at Codecov.

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

corrections?

I would be extra happy if you follow advice of @l4l and make html labels for issues
enhancement

@neewy this does not work in github

@neewy isaacs/github#305 is still unresolved :(


Factor the complete bidiagonalization into separate function such

that the call to the bidiagonal SVD solver only happens in the _tsvd
function.
Introduce dependency on Adapt to make tsvd work for CuArrays. Since
we solve the bidiagonal problem on the CPU devide we need a way to
convert the result of the bidiagonal SVD to the original deivce of
the computation. This should also work in the distributed case.
Clean up the code to avoid returning many object from the Lanczos
iteration function.

Codecov Report

Merging #16 into master will decrease coverage by 54.46%.
The diff coverage is 41.66%.

@@             Coverage Diff             @@
##           master      #16       +/-   ##
===========================================
- Coverage   98.03%   43.57%   -54.47%
===========================================
  Files           3        3
  Lines         102      218      +116
===========================================
- Hits          100       95        -5
- Misses          2      123      +121

Impacted Files
Coverage Δ

src/svd.jl
42.75% <41.66%> (-55.69%)
:arrow_down:

src/common.jl
34.48% <0%> (-56.43%)
:arrow_down:

src/eig.jl
50.98% <0%> (-49.02%)
:arrow_down:

Continue to review full report at Codecov.

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


add structField.Offset

with this issue

I Used unsafe.OffsetOf to calculate field offset ,but sub embeded struct filed offset  was relative with sub embeded struct

Hi @bigpigeon
This PR won't be merged, as the Offset is not used in GORM, and I am not really sure if it is commonly used or not...
Sorry for that.


Question: Prevent secret duplication

Hi,
Is there a way of writing a rule that will match to the secret: G5CdMajvIpyyZ020VRddccTxkX/GjXjq5ID52+nrghg=
but not match to the secret: V2agTeXn6YXfUWhrDSJlVnwbrXMSRfCmi4rlrznOOEaG5CdMajvIpyyZ020VRddccTxkX/GjXjq5ID52+nrghg==
So far i have:
[[rules]]
	description = "SharedAccessKey"
	regex = '''[A-z0-9\+\/]{43}='''
	tags = ["SharedAccessKey"]

But due to the first string being a substring of the second value, i get false-positives..

Is there a way to prevent this?

@m1nkeh you could make use of the whitelist table within a rule. For example: https://github.com/zricethezav/gitleaks/blob/master/test_data/test_configs/aws_key_aws_whitelisted.toml
[[rules]]
    description = "AWS Manager ID"
    regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
    tags = ["key", "AWS"]
        [[rules.whitelist]]
            regex = '''AKIAIO5FODNN7EXAMPLE.*'''
            description = "ignore aws key"

This rule will match all AWS Manager keys besides the example key defined in the whitelist: AKIAIO5FODNN7EXAMPLE

I tried that.. I had hoped that I could put another regex in the whitelist, but it didn’t work.
I guess the challenge is two fold because they are both random strings, and I can’t whitelist a string larger than the string that has been hit.
I worked on this for a while since I posted the question, didn’t get a satisfactory irking answer unfortunately :/

@m1nkeh Is the length of the larger string known?

@m1nkeh Is the length of the larger string known?

Yes absolutely, i think it's about 80 or 90 characters, i can check the regex on my other computer.. but yeah, it's around double.. looks similar to the original post.

Closing this issue as this is not a bug but rather a configuration issue that can be tuned

Never really got an answer though, happy to leave it closed though as it's no longer at all relevant to me 👍 🙂


Enable multiple contracts to be deployed to an account

Describe the feature few words
Allow multiple contracts to be deployed to an account
What will be the end result of this change?
Allowing multiple contracts on same account, and if the same contract on same account is deployed, we should remove the contract and deploy it again without reseting the state
Is there any previous work that needs to be completed before making this change?
File refactor
Which components will this change effect?

Contract Deployments chain

Done in file refactor


fix: reference to globalConfig.json

I have read the CLA Document and I hereby sign the CLA

I have read the Code of Conduct and I hereby accept the Terms

Good catch, @hsekowski!

Codecov Report

Merging #341 (5557ecf) into main (6b64eda) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #341   +/-   ##
=======================================
  Coverage   79.48%   79.48%
=======================================
  Files          28       28
  Lines        1867     1867
=======================================
  Hits         1484     1484
  Misses        383      383

Continue to review full report at Codecov.

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

@hsekowski, I've changed the commit message to start with docs: , because this change is purely documentation-related, so we do not need to bump a version of the ucc-gen.

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

v5.9.0
GitHub release

Your semantic-release bot :package::rocket:


Add active within 7 days count to Course Comparison dashboard

User Story
As a course delivery team member, I want to be able to compare the number of learners active in the past 7 days across courses and course runs, so that I am able to easily spot the courses currently seeing the most and least engagement without having to go in to each course dashboard.
Acceptance Criteria
Given I have access to the Course Comparison dashboard
When I view the Course Comparison dashboard
Then I can easily view and sort by the number of learners active within the last 7 days (see note) for the courses (or course runs) I am able to compare in the dashboard. (See screenshot below showing where in the dashboard this column should appear):

Note
The number of learners active within the last 7 days can be called Active within last 7 days on the dashboard and represents the count of learners who did something (viewed a unit page, answered a problem, watched a video) in the course (other than visit the course homepage) within the last 7 days.


"reason=curl_easy_performFailed,result=60,error=Error"   on Android platform

Hi,
I'm trying to integrate the AVS sdk on Android platform, I have filled up the Contact Form and got the instructions to build the AVS device SDK.
I followed the steps can successfully build the SDK, I modified a sample test file in Integration/test/ folder, I put it to here WisSpeechSynthesizerIntegrationTest.cpp.zip, but got an error when running it,I searched, but can't find the right answer, please help me.
The detailed logs are:

/data/nut2_avs #  ./WisSpeechSynthesizerIntegrationTest refreshtoken.json inputs/
2018-06-27 09:10:10.275 [  1] I sdkVersion: 1.7.1
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from WisSpeechSynthesizerTest
[ RUN      ] WisSpeechSynthesizerTest.handleOneSpeech
2018-06-27 09:10:10.281 [  1] 0 ConfigurationNode:initializeSuccess
2018-06-27 09:10:10.282 [  1] 5 CBLAuthDelegate:create
2018-06-27 09:10:10.282 [  1] 5 CBLAuthDelegate:CBLAuthDelegate
2018-06-27 09:10:10.282 [  1] 5 CBLAuthDelegate:init
2018-06-27 09:10:10.282 [  1] 5 CBLAuthDelegateConfiguration:create
2018-06-27 09:10:10.283 [  1] 5 CBLAuthDelegateConfiguration:init
2018-06-27 09:10:10.283 [  1] 5 CBLAuthDelegateConfiguration:initScopeData
2018-06-27 09:10:10.283 [  1] 9 CBLAuthDelegateConfiguration:initScopeDataSucceeded
2018-06-27 09:10:10.283 [  1] 5 SQLiteCBLAuthDelegateStorage:open
2018-06-27 09:10:10.292 [  1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
2018-06-27 09:10:10.285 [  2] 5 CBLAuthDelegate:handleAuthorizationFlow
2018-06-27 09:10:10.293 [  2] 5 CBLAuthDelegate:handleStarting
2018-06-27 09:10:10.293 [  2] 5 SQLiteCBLAuthDelegateStorage:getRefreshToken
2018-06-27 09:10:10.293 [  2] 0 SQLiteCBLAuthDelegateStorage:getRefreshTokenFailed:reason=stepResultWasNotRow
2018-06-27 09:10:10.293 [  2] 0 CBLAuthDelegate:getRefreshTokenFailed
2018-06-27 09:10:10.293 [  2] 5 CBLAuthDelegate:handleRequestingCodePair
2018-06-27 09:10:10.293 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-27 09:10:10.293 [  1] 5 CBLAuthDelegate:addAuthObserver:observer=0xec783020
2018-06-27 09:10:10.296 [  3] 0 PostConnectSynchronizer:doPostConnect
2018-06-27 09:10:10.297 [  3] 5 PostConnectSynchronizer:setState:from=IDLE,to=RUNNING
2018-06-27 09:10:10.298 [  4] 5 PostConnectSynchronizer:mainLoop
2018-06-27 09:10:10.298 [  4] 5 PostConnectSynchronizer:setState:from=RUNNING,to=FETCHING
2018-06-27 09:10:10.298 [  5] 5 ContextManager:buildContextSuccessful
2018-06-27 09:10:10.298 [  5] 5 PostConnectSynchronizer:onContectAvailable
2018-06-27 09:10:10.298 [  5] 5 PostConnectSynchronizer:setState:from=FETCHING,to=SENDING
2018-06-27 09:10:10.302 [  5] 0 EventBuilder:buildJsonEventString:messageId=aeb40ca4-a9ec-4391-9d45-d60ccd620d15,namespace=System,name=SynchronizeState
2018-06-27 09:10:10.302 [  5] 9 HTTP2Transport:enqueueRequest
2018-06-27 09:10:17.663 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=35,error=SSL connect error
2018-06-27 09:10:17.664 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-27 09:10:17.664 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-27 09:10:17.664 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-27 09:10:17.664 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-27 09:10:17.664 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-27 09:10:17.665 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-27 09:10:18.484 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=35,error=SSL connect error
2018-06-27 09:10:18.485 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-27 09:10:18.485 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-27 09:10:18.486 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-27 09:10:18.486 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-27 09:10:18.486 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-27 09:10:19.253 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-27 09:10:20.124 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=35,error=SSL connect error
2018-06-27 09:10:20.128 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-27 09:10:20.128 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-27 09:10:20.132 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-27 09:10:20.134 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-27 09:10:20.134 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-27 09:10:21.796 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-27 09:10:22.681 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=35,error=SSL connect error
2018-06-27 09:10:22.686 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-27 09:10:22.689 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-27 09:10:22.690 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-27 09:10:22.690 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-27 09:10:22.690 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
/home/king/Project/AVS_Android/Alexa_Source/alexa-client-sdk_v1.7.1/avs-device-sdk/Integration/src/ACLTestContext.cpp:87: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
Actual: false
Expected: true
Connecting timed out
2018-06-27 09:10:25.301 [  1] 1 FocusManager:acquireChannel:channelName=Alerts,interface=Alerts
2018-06-27 09:10:25.303 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0xec7b8000,policy=BLOCKING
2018-06-27 09:10:25.303 [  1] 9 SpeechSynthesizer:addObserver:observer=0xec84323c
2018-06-27 09:10:25.303 [  1] 9 SpeechSynthesizer:addObserver:observer=0xeca93294
2018-06-27 09:10:25.303 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.303 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.304 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.304 [  1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
2018-06-27 09:10:25.304 [  1] 5 CBLAuthDelegate:removeAuthObserver:observer=0xec783020
2018-06-27 09:10:25.311 [  3] 5 PostConnectSynchronizer:onSendCompleted:status=NOT_CONNECTED
2018-06-27 09:10:25.312 [  3] 5 PostConnectSynchronizer:setState:from=SENDING,to=RUNNING
2018-06-27 09:10:25.313 [  3] 0 PostConnectSynchronizer:onDisconnect
2018-06-27 09:10:25.313 [  3] 5 PostConnectSynchronizer:stop
2018-06-27 09:10:25.313 [  4] 5 PostConnectSynchronizer:setState:from=RUNNING,to=FETCHING
2018-06-27 09:10:25.314 [  5] 9 SpeechSynthesizer:provideState:token=2
2018-06-27 09:10:25.315 [  3] 5 PostConnectSynchronizer:setState:from=FETCHING,to=STOPPING
2018-06-27 09:10:25.316 [  4] 5 PostConnectSynchronizer:mainLoopReturning
2018-06-27 09:10:25.316 [  6] 0 SpeechSynthesizer:executeProvideState:stateRequestToken=2
2018-06-27 09:10:25.317 [  6] 9 ContextManager:updateStateLocked:action=updatedState,namespace=SpeechSynthesizer,name=SpeechState
2018-06-27 09:10:25.317 [  3] 5 PostConnectSynchronizer:setState:from=STOPPING,to=STOPPED
2018-06-27 09:10:25.320 [  5] 5 ContextManager:buildContextSuccessful
2018-06-27 09:10:25.320 [  5] 5 PostConnectSynchronizer:onContectAvailable
2018-06-27 09:10:25.321 [  5] E PostConnectSynchronizer:stateTransitionNotAllowed:from=STOPPED,to=SENDING
2018-06-27 09:10:25.322 [  5] 5 PostConnectSynchronizer:onContextAvailableIgnored:reason=stateStateSendingFailed
2018-06-27 09:10:25.323 [  5] 0 PostConnectSynchronizer:~PostConnectSynchronizer
2018-06-27 09:10:25.323 [  5] 5 PostConnectSynchronizer:stop
2018-06-27 09:10:25.324 [  5] 5 PostConnectSynchronizer:stopIgnored:reason=alreadyStopped
2018-06-27 09:10:25.322 [  1] 9 SpeechSynthesizer:doShutdown
2018-06-27 09:10:25.328 [  1] 9 DirectiveSequencer:doShutdown
2018-06-27 09:10:25.332 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Speaker,name=SetMute,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.332 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Speaker,name=AdjustVolume,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.332 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xecaea23c,policy=BLOCKING
2018-06-27 09:10:25.333 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechSynthesizer,name=Speak,handler=0xec7b8000,policy=BLOCKING
2018-06-27 09:10:25.333 [  1] 9 DirectiveRouter:onDeregisteredCalled:handler=0xecaea23c
2018-06-27 09:10:25.333 [  1] 9 DirectiveRouter:onDeregisteredCalled:handler=0xec7b8000
2018-06-27 09:10:25.333 [  1] 9 SpeechSynthesizer:onDeregistered
2018-06-27 09:10:25.338 [  1] 5 CBLAuthDelegate:stop
2018-06-27 09:10:25.344 [  1] 5 SQLiteCBLAuthDelegateStorage:~SQLiteCBLAuthDelegateStorage
2018-06-27 09:10:25.344 [  1] 5 SQLiteCBLAuthDelegateStorage:close
[  FAILED  ] WisSpeechSynthesizerTest.handleOneSpeech (15069 ms)
[----------] 1 test from WisSpeechSynthesizerTest (15069 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (15070 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] WisSpeechSynthesizerTest.handleOneSpeech
1 FAILED TEST

My network is fine, I tried this:
/data/nut2_avs # curl -vI https://www.example.com
* Rebuilt URL to: https://www.example.com/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
*   Trying 2606:2800:220:1:248:1893:25c8:1946...
* TCP_NODELAY set
* Immediate connect fail for 2606:2800:220:1:248:1893:25c8:1946: Network is unreachable
* Connected to www.example.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /system/etc/security/cacerts
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=California; L=Los Angeles; O=Internet Corporation for Assigned Names and Numbers; OU=Technology; CN=www.example.org
*  start date: Nov  3 00:00:00 2015 GMT
*  expire date: Nov 28 12:00:00 2018 GMT
*  subjectAltName: host "www.example.com" matched cert's "www.example.com"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
> HEAD / HTTP/1.1
> Host: www.example.com
> User-Agent: curl/7.52.0-DEV
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Content-Encoding: gzip
Content-Encoding: gzip
< Accept-Ranges: bytes
Accept-Ranges: bytes
< Cache-Control: max-age=604800
Cache-Control: max-age=604800
< Content-Type: text/html
Content-Type: text/html
< Date: Wed, 27 Jun 2018 09:58:15 GMT
Date: Wed, 27 Jun 2018 09:58:15 GMT
< Etag: "1541025663"
Etag: "1541025663"
< Expires: Wed, 04 Jul 2018 09:58:15 GMT
Expires: Wed, 04 Jul 2018 09:58:15 GMT
< Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
< Server: ECS (dca/24CE)
Server: ECS (dca/24CE)
< X-Cache: HIT
X-Cache: HIT
< Content-Length: 606
Content-Length: 606

<
* Curl_http_done: called premature == 0
* Connection #0 to host www.example.com left intact

My refreshtoken is:
{
	"cblAuthDelegate":{
		"databaseFilePath":"/data/tmp/inputs/cblAuthDelegate.db"
	},
	"deviceInfo":{
		"deviceSerialNumber":"2965121xxxxxx",
		"clientId":"amzn1.application-oa2-client.2efa432536bxxxxxxx",
		"productId":"linux_avs"
	},
	"capabilitiesDelegate":{
		//"endpoint":"https://avs-alexa-fe.amazon.com"
		//"endpoint":"https://avs-alexa-fe.amazon.com"
		//"overridenCapabilitiesPublishMessageBody":{
		//"}
	},
	"miscDatabase":{
		"databaseFilePath":"/data/tmp/inputs/miscDatabase.db"
	},
	"alertsCapabilityAgent":{
		"databaseFilePath":"/data/tmp/inputs/alerts.db"
	},
	"settings":{
		"databaseFilePath":"/data/tmp/inputs/settings.db",
		"defaultAVSClientSettings":{
			"locale":"en-US"
		}
	},
	"bluetooth":{
		"databaseFilePath":"/data/tmp/inputs/bluetooth.db"
	},
	"certifiedSender":{
		"databaseFilePath":"/data/tmp/inputs/certifiedSender.db"
	},
	"notifications":{
		"databaseFilePath":"/data/tmp/inputs/notifications.db"
	},
	"sampleApp":{
		"displayCardsSupported":true
	}
}

My Android device version is 8.1, platform is:
/data/nut2_avs # uname -a
Linux localhost 4.4.78+ #14 SMP PREEMPT Thu Jun 21 11:21:41 CST 2018 aarch64

Thank you.

Hi @WksKing,
Can you please try running curl against https://api.amazon.com/auth/O2/?
Thanks,
Celina

Hi @celinval ,
The result is:
/data/nut2_avs # curl -v https://api.amazon.com/auth/O2/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to api.amazon.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /system/etc/security/cacerts
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=api.amazon.com
*  start date: May 16 00:00:00 2018 GMT
*  expire date: Jun 11 12:00:00 2019 GMT
*  subjectAltName: host "api.amazon.com" matched cert's "api.amazon.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert Global CA G2
*  SSL certificate verify ok.
> GET /auth/O2/ HTTP/1.1
> Host: api.amazon.com
> User-Agent: curl/7.52.0-DEV
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: Server
< Date: Thu, 28 Jun 2018 09:58:17 GMT
< Content-Length: 29
< Connection: keep-alive
< x-amzn-RequestId: c7b841cd-7ab9-11e8-a4bc-dfc78c83837c
< X-Amz-Date: Thu, 28 Jun 2018 09:58:17 GMT
< Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
< Vary: Accept-Encoding,User-Agent
<
<UnknownOperationException/>
* Curl_http_done: called premature == 0
* Connection #0 to host api.amazon.com left intact

I re-create my build environment follows

Scripts/build.sh -a 23 -p android-ndk-r16 -s armeabi-v7a -t debug
There are no error occurs, I re-run the test app, got a similar error:

/data/nut2_avs # ./WisSpeechSynthesizerIntegrationTest refreshtoken.json inputs/
2018-06-21 03:55:46.776 [  1] I sdkVersion: 1.7.1
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from WisSpeechSynthesizerTest
[ RUN      ] WisSpeechSynthesizerTest.handleOneSpeech
2018-06-21 03:55:46.781 [  1] 0 ConfigurationNode:initializeSuccess
2018-06-21 03:55:46.782 [  1] 5 CBLAuthDelegate:create
2018-06-21 03:55:46.782 [  1] 5 CBLAuthDelegate:CBLAuthDelegate
2018-06-21 03:55:46.783 [  1] 5 CBLAuthDelegate:init
2018-06-21 03:55:46.783 [  1] 5 CBLAuthDelegateConfiguration:create
2018-06-21 03:55:46.783 [  1] 5 CBLAuthDelegateConfiguration:init
2018-06-21 03:55:46.783 [  1] 5 CBLAuthDelegateConfiguration:initScopeData
2018-06-21 03:55:46.783 [  1] 9 CBLAuthDelegateConfiguration:initScopeDataSucceeded
2018-06-21 03:55:46.783 [  1] 5 SQLiteCBLAuthDelegateStorage:open
2018-06-21 03:55:46.786 [  2] 5 CBLAuthDelegate:handleAuthorizationFlow
2018-06-21 03:55:46.825 [  2] 5 CBLAuthDelegate:handleStarting
2018-06-21 03:55:46.826 [  2] 5 SQLiteCBLAuthDelegateStorage:getRefreshToken
2018-06-21 03:55:46.820 [  1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
2018-06-21 03:55:46.832 [  1] 5 CBLAuthDelegate:addAuthObserver:observer=0xecaf9020
2018-06-21 03:55:46.834 [  3] 0 PostConnectSynchronizer:doPostConnect
2018-06-21 03:55:46.834 [  3] 5 PostConnectSynchronizer:setState:from=IDLE,to=RUNNING
2018-06-21 03:55:46.836 [  4] 5 PostConnectSynchronizer:mainLoop
2018-06-21 03:55:46.836 [  4] 5 PostConnectSynchronizer:setState:from=RUNNING,to=FETCHING
2018-06-21 03:55:46.836 [  2] 0 SQLiteCBLAuthDelegateStorage:getRefreshTokenFailed:reason=stepResultWasNotRow
2018-06-21 03:55:46.837 [  2] 0 CBLAuthDelegate:getRefreshTokenFailed
2018-06-21 03:55:46.837 [  2] 5 CBLAuthDelegate:handleRequestingCodePair
2018-06-21 03:55:46.837 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-21 03:55:46.839 [  5] 5 ContextManager:buildContextSuccessful
2018-06-21 03:55:46.839 [  5] 5 PostConnectSynchronizer:onContectAvailable
2018-06-21 03:55:46.839 [  5] 5 PostConnectSynchronizer:setState:from=FETCHING,to=SENDING
2018-06-21 03:55:46.851 [  5] 0 EventBuilder:buildJsonEventString:messageId=b5a68711-2b29-41b6-bac2-11f8d51e0334,namespace=System,name=SynchronizeState
2018-06-21 03:55:46.854 [  5] 9 HTTP2Transport:enqueueRequest
2018-06-21 03:55:53.358 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2018-06-21 03:55:53.361 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-21 03:55:53.364 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-21 03:55:53.365 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-21 03:55:53.365 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-21 03:55:53.365 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-21 03:55:53.369 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-21 03:55:54.402 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2018-06-21 03:55:54.404 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-21 03:55:54.404 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-21 03:55:54.405 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-21 03:55:54.405 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-21 03:55:54.405 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-21 03:55:55.687 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-21 03:55:56.775 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2018-06-21 03:55:56.776 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-21 03:55:56.777 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-21 03:55:56.778 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-21 03:55:56.778 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-21 03:55:56.778 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-21 03:55:59.036 [  2] 5 CBLAuthDelegate:requestCodePair
2018-06-21 03:56:01.832 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2018-06-21 03:56:01.834 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-21 03:56:01.835 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-21 03:56:01.835 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-21 03:56:01.835 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-21 03:56:01.836 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-21 03:56:06.015 [  2] 5 CBLAuthDelegate:requestCodePair
/home/king/Project/AVS_Android/android_workplace/Libraries/AVSDeviceSDK/Integration/src/ACLTestContext.cpp:87: Failure
Value of: m_connectionStatusObserver->waitFor(ConnectionStatusObserverInterface::Status::CONNECTED)
  Actual: false
Expected: true
Connecting timed out
2018-06-21 03:56:06.131 [  1] 1 FocusManager:acquireChannel:channelName=Alerts,interface=Alerts
2018-06-21 03:56:06.139 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0xeca44000,policy=BLOCKING
2018-06-21 03:56:06.145 [  1] 9 SpeechSynthesizer:addObserver:observer=0xecac223c
2018-06-21 03:56:06.149 [  1] 9 SpeechSynthesizer:addObserver:observer=0xecd13294
2018-06-21 03:56:06.154 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.158 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.160 [  1] 9 DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.160 [  1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=DISCONNECTED
2018-06-21 03:56:06.161 [  1] 5 CBLAuthDelegate:removeAuthObserver:observer=0xecaf9020
2018-06-21 03:56:06.164 [  3] 5 PostConnectSynchronizer:onSendCompleted:status=NOT_CONNECTED
2018-06-21 03:56:06.165 [  3] 5 PostConnectSynchronizer:setState:from=SENDING,to=RUNNING
2018-06-21 03:56:06.165 [  3] 0 PostConnectSynchronizer:onDisconnect
2018-06-21 03:56:06.165 [  3] 5 PostConnectSynchronizer:stop
2018-06-21 03:56:06.165 [  3] 5 PostConnectSynchronizer:setState:from=RUNNING,to=STOPPING
2018-06-21 03:56:06.167 [  4] 5 PostConnectSynchronizer:mainLoopReturning
2018-06-21 03:56:06.167 [  3] 5 PostConnectSynchronizer:setState:from=STOPPING,to=STOPPED
2018-06-21 03:56:06.168 [  3] 0 PostConnectSynchronizer:~PostConnectSynchronizer
2018-06-21 03:56:06.168 [  3] 5 PostConnectSynchronizer:stop
2018-06-21 03:56:06.168 [  3] 5 PostConnectSynchronizer:stopIgnored:reason=alreadyStopped
2018-06-21 03:56:06.169 [  1] 9 SpeechSynthesizer:doShutdown
2018-06-21 03:56:06.171 [  1] 9 DirectiveSequencer:doShutdown
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Speaker,name=SetMute,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=Speaker,name=AdjustVolume,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0xecd6a1cc,policy=BLOCKING
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=SpeechSynthesizer,name=Speak,handler=0xeca44000,policy=BLOCKING
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:onDeregisteredCalled:handler=0xecd6a1cc
2018-06-21 03:56:06.175 [  1] 9 DirectiveRouter:onDeregisteredCalled:handler=0xeca44000
2018-06-21 03:56:06.176 [  1] 9 SpeechSynthesizer:onDeregistered
2018-06-21 03:56:06.178 [  1] 5 CBLAuthDelegate:stop
2018-06-21 03:56:12.321 [  2] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=60,error=Error
2018-06-21 03:56:12.322 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2018-06-21 03:56:12.322 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2018-06-21 03:56:12.322 [  2] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2018-06-21 03:56:12.322 [  2] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2018-06-21 03:56:12.322 [  2] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2018-06-21 03:56:12.328 [  1] 5 SQLiteCBLAuthDelegateStorage:~SQLiteCBLAuthDelegateStorage
2018-06-21 03:56:12.328 [  1] 5 SQLiteCBLAuthDelegateStorage:close
[  FAILED  ] WisSpeechSynthesizerTest.handleOneSpeech (25553 ms)
[----------] 1 test from WisSpeechSynthesizerTest (25554 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (25554 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] WisSpeechSynthesizerTest.handleOneSpeech

 1 FAILED TEST

Does the guidance lack some information here? such like the CA certification?
Thanks.
King

2019-07-02 10:13:01.615 [  1] 9 MediaPlayer:doShutdown:name=AlertsMediaPlayer
2019-07-02 10:13:01.615 [  1] 9 MediaPlayer:doShutdown:name=NotificationsMediaPlayer
2019-07-02 10:13:01.615 [  1] 9 MediaPlayer:doShutdown:name=BluetoothMediaPlayer
2019-07-02 10:13:01.615 [  1] 9 MediaPlayer:doShutdown:name=RingtoneMediaPlayer
2019-07-02 10:13:01.616 [  1] 9 MediaPlayer:~MediaPlayer:name=RingtoneMediaPlayer
2019-07-02 10:13:01.619 [  1] 9 MediaPlayer:resetPipeline:name=RingtoneMediaPlayer
2019-07-02 10:13:01.621 [  1] 5 CBLAuthDelegate:stop
2019-07-02 10:13:01.799 [  4] E HttpPost:doPostFailed:reason=curl_easy_performFailed,result=35,error=SSL connect error
2019-07-02 10:13:01.803 [  4] 5 CBLAuthDelegate:receiveCodePairResponse:code=0
2019-07-02 10:13:01.804 [  4] 5 CBLAuthDelegate:mapHTTPStatusToError:code=0,error=UNKNOWN_ERROR
2019-07-02 10:13:01.804 [  4] E CBLAuthDelegate:parseLWAResponseFailed:reason=parseJsonFailed,position=0,error=The document is empty.
2019-07-02 10:13:01.804 [  4] 5 CBLAuthDelegate:setAuthError:authError=UNKNOWN_ERROR
2019-07-02 10:13:01.804 [  4] 0 CBLAuthDelegate:receiveCodePairResponseFailed:result=UNKNOWN_ERROR
2019-07-02 10:13:01.806 [  1] E SettingManager:removeObserverFailed:reason=invalidSetting,settingIndex=0
2019-07-02 10:13:01.807 [  1] 5 SQLiteCBLAuthDelegateStorage:~SQLiteCBLAuthDelegateStorage
2019-07-02 10:13:01.807 [  1] 5 SQLiteCBLAuthDelegateStorage:close
2019-07-02 10:13:01.808 [  1] 9 MediaPlayer:~MediaPlayer:name=BluetoothMediaPlayer
2019-07-02 10:13:01.810 [  1] 9 MediaPlayer:resetPipeline:name=BluetoothMediaPlayer
2019-07-02 10:13:01.811 [  1] 9 MediaPlayer:~MediaPlayer:name=NotificationsMediaPlayer
2019-07-02 10:13:01.812 [  1] 9 MediaPlayer:resetPipeline:name=NotificationsMediaPlayer
2019-07-02 10:13:01.813 [  1] 9 MediaPlayer:~MediaPlayer:name=AlertsMediaPlayer
2019-07-02 10:13:01.815 [  1] 9 MediaPlayer:resetPipeline:name=AlertsMediaPlayer
2019-07-02 10:13:01.815 [  1] 9 MediaPlayer:~MediaPlayer:name=AudioMediaPlayer
2019-07-02 10:13:01.817 [  1] 9 MediaPlayer:resetPipeline:name=AudioMediaPlayer
2019-07-02 10:13:01.817 [  1] 9 MediaPlayer:~MediaPlayer:name=SpeakMediaPlayer
2019-07-02 10:13:01.818 [  1] 9 MediaPlayer:resetPipeline:name=SpeakMediaPlayer
Failed to create to SampleApplication!


feat: enhance error logging

Link to https://github.com/rphlmr/supa-stripe-stack/issues/7

Add pino logger to normalize log output.
Use pino-pretty in dev.


[HOT-FIX] Fix SparkOutOfMemoryError: Unable to acquire 262144 bytes of memory, got 224631

What changes were proposed in this pull request?
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/88263/testReport
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/88260/testReport
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/88257/testReport
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/88224/testReport
These tests all failed:
org.apache.spark.memory.SparkOutOfMemoryError:  Unable to acquire 262144 bytes of memory, got 224631
at org.apache.spark.memory.MemoryConsumer.throwOom(MemoryConsumer.java:157)
at org.apache.spark.memory.MemoryConsumer.allocateArray(MemoryConsumer.java:98)
at org.apache.spark.unsafe.map.BytesToBytesMap.allocate(BytesToBytesMap.java:787)
at org.apache.spark.unsafe.map.BytesToBytesMap.<init>(BytesToBytesMap.java:204)
at org.apache.spark.unsafe.map.BytesToBytesMap.<init>(BytesToBytesMap.java:219)
...

This PR ignore this test.
How was this patch tested?
N/A

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1534/
Test PASSed.

Test build #88268 has started for PR 20835 at commit 32df7d6.

cc @kiszk @hvanhovell

LGTM

@kiszk do we have a more reasonable way to test this?

Test build #88268 has finished for PR 20835 at commit 32df7d6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88268/
Test PASSed.

Merging to master. Thanks!

@hvanhovell @wangyum Thank you very much. LGTM for now. I thought the same immediate fix.
Is it better to create a standalone test case like BufferHolderSparkSubmitSuite? Or, is it OK with leaving this test case as ignore?

I have cherry-picked this into branch-2.3


Update entrypoint.sh add support for multi IP tunnel (Take 2)

Trying again.

Yeah, blocked.

@Lukas0025 try squashing your changes down to 1.

@Lukas0025 if that doesn't work, take the nuclear option.  Get rid of the history, and just commit the latest changes.
This ONLY deletes the repository and history locally, your files should still be latest.     Essentially, what this is doing is taking your last change, and making 1 commit from it.
# Switch to your (broken) patch-2 branch.
/src/Lukas0025/docker-autossh $ git checkout patch-2

# Make sure you have all your files up to date locally.
/src/Lukas0025/docker-autossh $ git pull

# Delete it from github.
/src/Lukas0025/docker-autossh $ git push origin --delete patch-2

# Make your current directory a NON-repository (deletes entire history)
/src/Lukas0025/docker-autossh $ rm -rf .git

# Reinitialize the local repository
/src/Lukas0025/docker-autossh $ git init

# Add your remote.
/src/Lukas0025/docker-autossh $ git remote add origin git@github.com:Lukas0025/docker-autossh.git

# Just make sure you have all the history
/src/Lukas0025/docker-autossh $ git pull

# Make a new local branch, patch-2.
/src/Lukas0025/docker-autossh $ git checkout -b patch-2

# Re-add all the changed files (should be 3 files that are different)
/src/Lukas0025/docker-autossh $ git add *

# Make the commit
/src/Lukas0025/docker-autossh $ git commit -m "--YOUR COMMIT MESSAGE HERE--"

# Push it up to origin.
/src/Lukas0025/docker-autossh $ git push -u origin patch-2