The images generated by Cycle-GAN

Hi,I use Cycle-GAN to generate images from Market to Duke.But the results are bad.I find the results in your paper are nice.Could you tell me some parameter settings e.g. epoch,learning rate,image size ...

Thanks for your attention.
We mainly follow the original settings in CycleGAN paper. And we find that using instance norm is much better than batch norm. We provide instance norm code in our tensorflow project (see here). Moreover, you can have a look at cyclegan project (here).
Besides, I recommend you add the identity loss to preserve the color composition of input image.

Thank you for your reply. I follow the original settings in CycleGAN paper and use instance norm in the project. But when the epoch runs to 90, I find my generated images are not good as yours. Is it possible that my training data including 5000 Market1501 images and 5000 Duke are not enough? And how many images for training did you use?
Any reply will be appreciated.

Thank you for your reply. I follow the original settings in CycleGAN paper and use instance norm in the project. But when the epoch runs to 90, I find my generated images are not good as yours. Is it possible that my training data including 5000 Market1501 images and 5000 Duke are not enough? And how many images for training did you use?
Any reply will be appreciated.

We use  all training images of duke and market dataset. We do not use gallery or probe images. Moreover, we train cycleGAN for 5 epochs (6epochs is okay) and we find that trying more epochs is not good.
Sent from my iPad

On Apr 20, 2018, at 4:06 PM, huangyuyu0426<EMAIL_ADDRESS>wrote:
Thank you for your reply. I follow the original settings in CycleGAN paper and use instance norm in the project. But when the epoch runs to 90, I find my generated images are not good as yours. Is it possible that my training data including 5000 Market1501 images and 5000 Duke are not enough? And how many images for training did you use?
Any reply will be appreciated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@huangyuyu0426 I think you meet a similar case that the generated images seem to the inverted version of input images. If you meet this case, I think you can stop training and run again. Besides, I recommend you try identity loss to train cycleGAN, since identity loss will preserve the color composition of input images.
Good luck to you!

@chl916185 thanks for your suggestion


[REVIEW] OmerFI

GitHub Profile Link
https://github.com/OmerFI

suggest pinning an even number of repos
suggest adding your picture and location


auth_web.py issue when try to get Authorization Code Grant

Hi, I am trying to follow your setup guide for Alexa Client and I get stuck in the request for the Authorization Code Grant.
I have successfully created a new "AVS Product" and I linked it with a “Security Profiles”.
I added the "Allowed Origins" and "Return URLs" to Web Settings tab in Security Profile and i get from that the CLIENT_ID and CLIENT_SECRET.
CLIENT_ID = amzn1.application-oa2-client.e3102***************************
PRODUCT_ID is the ID I have set when I have created the AVS Product ?
Now, following the Readme, I have to lauch from terminal:
python auth_web.py

But I get the following message:
Traceback (most recent call last):
  File "auth_web.py", line 2, in <module>
    from alexa_client.settings import PRODUCT_ID, CLIENT_ID, CLIENT_SECRET, WEB_PORT
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/__init__.py", line 1, in <module>
    from alexa_client import AlexaClient
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/alexa_client.py", line 8, in <module>
    import settings
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/settings.py", line 3, in <module>
    CLIENT_ID = os.environ['amzn1.application-oa2-client.e3102***************************'] #ALEXA_CLIENT_ID
  File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)
KeyError: 'amzn1.application-oa2-client.e3102***************************'

Hi, I am trying to follow your setup guide for Alexa Client and I get stuck in the request for the Authorization Code Grant.
I have successfully created a new "AVS Product" and I linked it with a “Security Profiles”.
I added the "Allowed Origins" and "Return URLs" to Web Settings tab in Security Profile and i get from that the CLIENT_ID and CLIENT_SECRET.
CLIENT_ID = amzn1.application-oa2-client.e3102***************************
PRODUCT_ID is the ID I have set when I have created the AVS Product ?
Now, following the Readme, I have to lauch from terminal:
python auth_web.py

But I get the following message:
Traceback (most recent call last):
  File "auth_web.py", line 2, in <module>
    from alexa_client.settings import PRODUCT_ID, CLIENT_ID, CLIENT_SECRET, WEB_PORT
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/__init__.py", line 1, in <module>
    from alexa_client import AlexaClient
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/alexa_client.py", line 8, in <module>
    import settings
  File "/home/davide/davide_ws/src/Speech_Recogn/alexa-client/alexa_client/settings.py", line 3, in <module>
    CLIENT_ID = os.environ['amzn1.application-oa2-client.e3102***************************'] #ALEXA_CLIENT_ID
  File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
    raise KeyError(key)
KeyError: 'amzn1.application-oa2-client.e3102***************************'

I tried to change the settings.py file and now I can run the script; I remove the os.environ and it works:
CLIENT_ID = 'ALEXA_CLIENT_ID'
CLIENT_SECRET = 'ALEXA_CLIENT_SECRET'
PRODUCT_ID = 'ALEXA_PRODUCT_ID'
REFRESH_TOKEN = 'ALEXA_REFRESH_TOKEN'
WEB_PORT = 3000

Is it correct ? I miss something about os.environ ?


Question: Tags separation

How can I separate multiple tags in an archive. Checked the documentation and didn't find something on that. Maybe I missed it.
A help text on the form would be also useful.
Thanks for your time.

Tags are stored as a single comma-separated string for now. They'll be split out into a separate one-to-many foreign-keyed model in a future version.

@pirate Is there a way to edit the stored tags on a link in the current version? Or is this more of a future functionality as you mention?

@drpfenderson I literally just added that in the PR for the upcoming release. It will be editable in the admin.

Closing this because it's finished in the latest release.


Add Pencil Sketch in Python using OpenCV Readme File Update

Related Issuse or bug

Readme Improvement in pencil sketch (https://github.com/akshitagupta15june/Face-X/issues/388)

Proposed Changes

Info about changes Goes here

Additional Info

Anything related Issues

Screenshots

Original
Updated

Update Readme File: Pencil Sketch Project

Hello Everyone! Actually, I'm Facing one problem Anyone can you solve this
error message : "Resource not accessible by integration"

Great @Vi1234sh12

Thank you so much


ByteBuffer schema

This PR adds a ByteBuffer schema to the slate of "default" schemas.

@merlimat I've restructured the schema interface to use ByteBuffer instead of byte arrays, but I'm not sure if this is what you're looking for. If not, this work may be better left to Dave.

@merlimat Okay, I understand what you're getting at now. Will change or delegate to Dave if necessary.

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

@aahmed-se This PR is ready to go once it passes CI (the CI issues appear to be unrelated to this specific PR).

retest this please

@lucperkins The failures might be related to when this PR was applied to a (broken) master. can you merge or rebase with current master?

@merlimat Done. New build underway.

All the primitive schemas are already available in latest master. so close this issue.


Customize Metadata  tutorial for Hyrax 1.0.0.rc1

Can you remove company_logo.png?

Accidentally made PR against master.  Closing and reopening against refactor branch.


Add fallback prop to <PrismicText>

Is your feature request related to a problem? Please describe.
<PrismicText> does not have a way to fallback to a default text value if the given field is falsey (i.e. empty).
Describe the solution you'd like
A prop that renders if the text value of the given field is falsey. The prop could accept a string or any valid React.Element.
<PrismicText
  field={document.data.text_field}
  fallback="Learn more…"
/>

Describe alternatives you've considered
To do this today, one must use asText from @prismicio/helpers instead with a {} expression.
<div>
  {prismicH.asText(callToActionText) || "Learn more…"}
</div>

This isn't terrible, but switching between <PrismicText> and asText is awkward.
Additional context
N/A

This is implemented in #126.


Added GeoJSON support by default

Does any other open PR do the same thing?
No

What issue is this PR fixing?
None
How did you test this PR?

Tested on Android Real Device
I think that the less dependencies the better and GeoJSON support should be by default in this package.

import React from 'react';
import MapView, {Geojson} from 'react-native-maps';

const alcatraz = {
  type: 'FeatureCollection',
  features: [
    {
      type: 'Feature',
      properties: {},
      geometry: {
        type: 'Point',
        coordinates: [-122.42305755615234, 37.82687023785448],
      }
    }
  ]
};

const Map = props => (
  <MapView>
    <Geojson geojson={alcatraz} />
  </MapView>
);

@christopherdro @alvelig any thoughts on this?

@nabati are we really need this GeometryCollection type? There are no issues about that in https://github.com/frankrowe/react-native-geojson/issues for 2 years. So, I think wasting time to implement this feature is not worth it.

Considering my notes on the uuid use case, LGTM

Deleted uuid generation, used index instead.

So, that about to merge?

LGTM
@rborn @christopherdro 🐽

LGTM. Could we update the docs and add a basic version in the example app?

@christopherdro Added geojson description to docs and examples

@christopherdro @rborn @alvelig Guys, is there anything else I should do?

@peretz30 Could you address the lint errors show in travis?

@christopherdro done

@Peretz30 will you add bbox feature as it is a common thing on geojson too ? but i don't think your library handles it yet

@GuillotJessica did you mean getMapBoundaries ? It's method of MapView. Geojson is a component that you should to put inside MapView as shown in example. You can use getMapBoundaries as before.

@Peretz30  i meant to display a map regarding the bbox received in a geojson not to get the bbox displayed

@GuillotJessica I am sorry, but I don't understand what you want to do. Can you, provide more details about it?

i mean if i provide a geojson with boundingBox, i would like the library mapBoundaries to be set accordingly

@GuillotJessica How do you want to provide geojson with boundingBox? Can you, please, post your question with some code on StackOverflow


pandas error when create new label

Hi,
I created a new category and got the below error when use that variable for grouping in the violin  and other plots. other category variables did not have error. Could you help?
ERROR @server: Traceback (most recent call last): KeyError: "Passing list-likes to .loc or [] with any missing labels is no longer supported. The following labels were missing: Index(['test'], dtype='object'). See https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike"

Hi,
I think this is related to your new category contains nans.
This might help you, please try it out.
https://github.com/interactivereport/cellxgene_VIP/issues/25#issuecomment-701541703
Thanks!

Hi,
I think this is related to your new category contains nans.
This might help you, please try it out.
https://github.com/interactivereport/cellxgene_VIP/issues/25#issuecomment-701541703
Thanks!

I tried but did not work,
The reason in my case is the unassigned cells. the levels of test should be only two not three. Any suggestions?

I tried but did not work,
The reason in my case is the unassigned cells. the levels of test should be only two not three. Any suggestions?

It would be helpful to get more details on how you created the new category annotation. Did you use the manual annotation mode from cellxgene? Wondering why there is 0 unassigned cell. Might need to remove unassigned from the meta data.

It would be helpful to get more details on how you created the new category annotation. Did you use the manual annotation mode from cellxgene? Wondering why there is 0 unassigned cell. Might need to remove unassigned from the meta data.

Yes, it is the manual annotation from cellxgene using 'create new category'
There is no way you can remove unassigned from the category, it is a default in cellxgene.

Yes, it is the manual annotation from cellxgene using 'create new category'
There is no way you can remove unassigned from the category, it is a default in cellxgene.

Currently the VIP didn't support the custom annotation yet.

@z5ouyang any plans to add the option of plotting with custom annotations? I believe it's very useful

@rgranit It is on our to do list. it is a little tricky to obtain those information from cellxgene. Meanwhile, If your custom annotations are related to the annotations in h5ad, you can explore "combinatorial annotation" and/or "abbreviations of annotations".


Change dragging method

useMouseDrag prop is great but I should do the same if the middle mouse button pressed. How can I do this?

Same issue: would it be possible to add dragging via the mouse wheel button (like Figma or Miro)? It would be super helpful!
Thanks a lot @daybrush for your hard work on this project!

@leidto @anas-araid
If wheel button in dragStart event, stop with e.stop function.
viewer.on("dragStart", e => {
     // Abort on wheel button.
     if (e.inputEvent.button === 1) {
        e.stop();
        return;
    }
});

@leidto
I'll probably fix it and release it this week.

Thank you. It works perfectly!


Disabling Gutentags when resolving merge conflicts

When I rebase, I frequently edit the pre-image files that are created by git to resolve the merge conflicts.
When I quit the instance of Neovim started for this, Gutentags usually complains.
Is there a standard way to stop Gutentags launching in such circumstances in the first place?
If not, I guess I'll:

set g:gutentags_enabled to 0
create an autocmd that checks $(git rev-parse --git-dir)"/MERGE_HEAD
provisionally runs g:gutentags_enabled to 1
set it back to 0 before bufleave

if &diff

I'm thinking of adding a list of filetypes for Gutentags to check if it should enable or not (so, for example, it wouldn't activate for commit messages and stuff). Would the other/base files in a merge get a different filetype? I believe they do -- they get something like diff?

I'm afraid I've moved on. These days I just get Tmux to run fswatch in the root of the directory to create tags as required. But thanks.

Cool, enjoy your new toys :)

I also hit this same problem.  To get around it, I added this to my init.vim file:
" Add autogroup for tag generation
augroup tagAug
  autocmd!
  " If we're working in a git commit (or similar), disable tag file generation
  autocmd FileType git,gitcommit,gitrebase,gitsendemail :let g:gutentags_enabled=0
augroup end

there is g:gutentags_exclude_filetypes now, FYI


Depth of Tree

📚 Documentation
I would like to add an article for depth of tree.
Have you read the Contributing Guidelines on Pull Requests?
Yes

@HarshCasper @iamrajiv Kindly assign this to me.


Terminates after 2 iterations, no output

With lbfgs, I'm getting no output image and termination after just 2 iterations.
My command-line is:
th neural_style.lua -style_image examples/inputs/starry_night.jpg -content_image examples/inputs/hoovertowernight.jpg -gpu -1 -print_iter 1
Here's the console output:
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:505] Reading dangerously large protocol message.  If the message turns out to be larger than<PHONE_NUMBER> bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
Successfully loaded models/VGG_ILSVRC_19_layers.caffemodel
conv1_1: 64 3 3 3
conv1_2: 64 64 3 3
conv2_1: 128 64 3 3
conv2_2: 128 128 3 3
conv3_1: 256 128 3 3
conv3_2: 256 256 3 3
conv3_3: 256 256 3 3
conv3_4: 256 256 3 3
conv4_1: 512 256 3 3
conv4_2: 512 512 3 3
conv4_3: 512 512 3 3
conv4_4: 512 512 3 3
conv5_1: 512 512 3 3
conv5_2: 512 512 3 3
conv5_3: 512 512 3 3
conv5_4: 512 512 3 3
fc6: 1 1 25088 4096
fc7: 1 1 4096 4096
fc8: 1 1 4096 1000
Running optimization with L-BFGS
Iteration 1 / 1000
  Total loss: 0.000000
<optim.lbfgs>   creating recyclable direction/step/history buffers
Iteration 2 / 1000
  Total loss: 0.000000
<optim.lbfgs>   function value changing less than tolX

If I switch to adam, I get all 1000 iterations, each with Total loss: 0.000000 afterward and this image as output:

Am I doing something wrong?

cashpipeplusplus<EMAIL_ADDRESS>kirjoitti 15.3.2016 kello 15.33:

With lbfgs, I'm getting no output image and termination after just 2 iterations.
My command-line is:
th neural_style.lua -style_image examples/inputs/starry_night.jpg -con
tent_image examples/inputs/hoovertowernight.jpg -gpu -1 -print_iter 1
Here's the console output:

...

fc6: 1 1 25088 4096
fc7: 1 1 4096 4096
fc8: 1 1 4096 1000
Running optimization with L-BFGS
Iteration 1 / 1000
Total loss: 0.000000
<optim.lbfgs>   creating recyclable direction/step/history buffers
Iteration 2 / 1000
Total loss: 0.000000
<optim.lbfgs>   function value changing less than tolX
It appears that for some reason no content and style layers are selected.

Try adding the following to the command line:
-content_layers relu4_2 -style_layers relu1_1,relu2_1,relu3_1,relu4_1,relu5_1
(no spaces after the commas) which should be the default.
Hannu

@cashpipeplusplus I've fix this issue in #338


File /css/app.css not defined in asset manifest.

Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:

[-] You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
[-] The issue has not been reported before
[-] This is not a "how to install on Windows" or "why is my npm messed up" question
[-] You're a cool person

All checked? Now also make sure your issue

[-] Is associated with a version. Or better yet, a commit.
[-] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
[-] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
[-] Is in English, 因为我不说中文。

I get this error after I have cloned koel version v3.7.2, ran composer install, npm install and yarn build.
yarn build shows this errors too

Please, what can I do?

@phanan
Node - v10.0.0
NPM - v6.0.1
Yarn - v1.6.0

@AdebsAlert @MichaIng Super helpful info, thanks! I've noticed some (unrelated) problems with the latest combination of yarn/Node as well. May I ask you guys to give it a try with an older version of Node (like 8.x or 7.x) using something like nvm or n and let me know if the problem persists?

@phanan

With version 8 indeed the error does not appear any more, but I face different ones then:

root@DietPi:~# npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
+<EMAIL_ADDRESS>added 1 package from 4 contributors in 2.118s
root@DietPi:~# n 8

     install : node-v8.11.2
       mkdir : /usr/local/n/versions/node/8.11.2
       fetch : https://nodejs.org/dist/v8.11.2/node-v8.11.2-linux-x64.tar.gz
######################################################################################################################################################### 100.0%
   installed : v8.11.2

root@DietPi:~# cd /var/www/koel/
root@DietPi:/var/www/koel# php artisan koel:init
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
📙  https://koel.phanan.net/docs

App key exists -- skipping
JWT secret exists -- skipping
Migrating database
Data seeded -- skipping
Compiling front-end stuff
yarn install v1.6.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ yarn production
yarn run v1.6.0
$ cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
 95% emitting ERROR  Failed to compile with 47 errors01:33:30

 error  in ./resources/assets/js/components/main-wrapper/main-content/artist.vue

Module build failed:
      @mixin control($playBtnWidth, $fontSize, $textIndent) {
            ^
      Mixins may not be defined within control directives or other mixins.
      in /var/www/koel/resources/assets/sass/partials/_mixins.scss (line 79, column 14)

 @ ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-1ce16e40","scoped":true,"hasInlineConfig":true}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/main-wrapper/main-content/artist.vue 4:14-378
 @ ./resources/assets/js/components/main-wrapper/main-content/artist.vue
 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/main-wrapper/main-content/index.vue
 @ ./resources/assets/js/components/main-wrapper/main-content/index.vue
 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/main-wrapper/index.vue
 @ ./resources/assets/js/components/main-wrapper/index.vue
 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/app.vue
 @ ./resources/assets/js/app.vue
 @ ./resources/assets/js/app.js
 @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss

 error  in ./resources/assets/sass/app.scss
....

Several similar module build errors appear, I guess the 47 mentioned ones.
See also my edit (€) above about node-sass, as also this error contains sass.

Have you checked this? https://github.com/akveo/nebular/issues/339
2018-05-20 1:43 GMT+02:00 MichaIng<EMAIL_ADDRESS>
@phanan https://github.com/phanan

With version 8 indeed the error does not appear any more, but I face
different ones then:

root@DietPi:~# npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n

<EMAIL_ADDRESS>added 1 package from 4 contributors in 2.118s
root@DietPi:~# n 8
install : node-v8.11.2
mkdir : /usr/local/n/versions/node/8.11.2
fetch : https://nodejs.org/dist/v8.11.2/node-v8.11.2-linux-x64.tar.gz
######################################################################################################################################################### 100.0%
installed : v8.11.2

root@DietPi:~# cd /var/www/koel/
root@DietPi:/var/www/koel# php artisan koel:init
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
📙  https://koel.phanan.net/docs
App key exists -- skipping
JWT secret exists -- skipping
Migrating database
Data seeded -- skipping
Compiling front-end stuff
yarn install v1.6.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ yarn production
yarn run v1.6.0
$ cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting ERROR  Failed to compile with 47 errors01:33:30
error  in ./resources/assets/js/components/main-wrapper/main-content/artist.vue
Module build failed:
@mixin control($playBtnWidth, $fontSize, $textIndent) {
^
Mixins may not be defined within control directives or other mixins.
in /var/www/koel/resources/assets/sass/partials/_mixins.scss (line 79, column 14)
@ ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-1ce16e40","scoped":true,"hasInlineConfig":true}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/main-wrapper/main-content/artist.vue 4:14-378
@ ./resources/assets/js/components/main-wrapper/main-content/artist.vue
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/main-wrapper/main-content/index.vue
@ ./resources/assets/js/components/main-wrapper/main-content/index.vue
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/components/main-wrapper/index.vue
@ ./resources/assets/js/components/main-wrapper/index.vue
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["es2015",{"modules":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/app.vue
@ ./resources/assets/js/app.vue
@ ./resources/assets/js/app.js
@ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss
error  in ./resources/assets/sass/app.scss
....

Several similar module build errors appear, I guess the 47 mentioned
ones.
See also my edit (€) above about node-sass, as also this error
contains sass.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phanan/koel/issues/748#issuecomment-390440779, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrt0l2BjEEqGtkwpvIBrihnHamncBynks5t0K4fgaJpZM4UC4Il
.

@phanan
Same with errors after npm i<EMAIL_ADDRESS>if this is what you meant?

I mean what you described (which I’ve not time to test yet) looks exactly
that of the linked issue, so maybe explore in that direction :)
On Sun, 20 May 2018 at 02:19, MichaIng<EMAIL_ADDRESS>wrote:

@phanan https://github.com/phanan
Same with errors after npm i<EMAIL_ADDRESS>if this is what you meant?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phanan/koel/issues/748#issuecomment-390443379, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrt0sXvxG0i93RMO9NxIohc9PN7gNlEks5t0LaCgaJpZM4UC4Il
.

@phanan
The issue you linked looks similar but not exactly the same than mine. Different line numbers and functions names and also the workaround didn't work and it should be already fixed as well.
BUT: Tried it with Node 8 on the other system and it works! Koel web UI opens without issue.
I then removed the Koel build environment on the other system and started from scratch, including a version downgrade to Node v8.11.2 before running php artisan koel:init and it worked without issues as well!
So the issue is indeed an incompatibility in combination with Node 10. I refer to https://github.com/phanan/koel/issues/748#issuecomment-390433548 bottom €, as at least with those node-sass versions outside and inside laravel-mix something goes wrong and the link clearly states that node-sass 4.9 is needed in combination with Node 10.
@AdebsAlert
Long story short, try:
npm install -g n
n 8
php artisan koel:init

That’s some amazing debugging right there, thanks! I’ll take a deeper look
when I have time. In short though, Node 10 is really a pain to work with :(
On Sun, 20 May 2018 at 14:30, MichaIng<EMAIL_ADDRESS>wrote:

@phanan https://github.com/phanan
The issue you linked looks similar but not exactly the same than mine.
Different line numbers and functions names and also the workaround didn't
work and it should be already fixed as well.
BUT: Tried it with Node 8 on the other system and it works! Koel web UI
opens without issue.
I then removed the Koel build environment on the other system and started
from scratch, including a version downgrade to Node v8.11.2 before running php
artisan koel:init and it worked without issues as well!
So the issue is indeed an incompatibility in combination with Node 10. I
refer to #748 (comment)
https://github.com/phanan/koel/issues/748#issuecomment-390433548 bottom
€, as at least with those node-sass versions outside and inside
laravel-mix something goes wrong and the link clearly states that node-sass
4.9 is needed in combination with Node 10.
@AdebsAlert https://github.com/AdebsAlert
Long story short, try:
npm install -g n
n 8
php artisan koel:init
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/phanan/koel/issues/748#issuecomment-390477430, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrt0hx12maGLqro1PQhMA2gfCjFYj1kks5t0WHngaJpZM4UC4Il
.

Thank you @MichaIng it works!
Thank you @phanan for an amazing tool.


Fix inconsistent package name

I confirmed that this fixes the issue that I observed. Merging without review since this is a hotfix.


fix Fix getting related partition table wrongly when multi base partition table exists

Proposed changes
Fix getting related partition table wrongly when multi base partition table exists
such as base table def is as following:
CREATE TABLE `test1` (
`pre_batch_no` VARCHAR(100) NULL COMMENT 'pre_batch_no',
`batch_no` VARCHAR(100) NULL COMMENT 'batch_no',
`vin_type1` VARCHAR(50) NULL COMMENT 'vin',
`upgrade_day` date COMMENT 'upgrade_day'
) ENGINE=OLAP
unique KEY(`pre_batch_no`,`batch_no`, `vin_type1`, `upgrade_day`)
COMMENT 'OLAP'
PARTITION BY RANGE(`upgrade_day`)
(
FROM ("2024-03-20") TO ("2024-03-31") INTERVAL 1 DAY
)
DISTRIBUTED BY HASH(`vin_type1`) BUCKETS 10
PROPERTIES (
       "replication_num" = "1"
);

CREATE TABLE `test2` (
`batch_no` VARCHAR(100) NULL COMMENT 'batch_no',
`vin_type2` VARCHAR(50) NULL COMMENT 'vin',
`status` VARCHAR(50) COMMENT 'status',
`upgrade_day` date  not null COMMENT 'upgrade_day'
) ENGINE=OLAP
Duplicate KEY(`batch_no`,`vin_type2`)
COMMENT 'OLAP'
PARTITION BY RANGE(`upgrade_day`)
(
FROM ("2024-01-01") TO ("2024-01-10") INTERVAL 1 DAY
)
DISTRIBUTED BY HASH(`vin_type2`) BUCKETS 10
PROPERTIES (
       "replication_num" = "1"
);

if you create partition mv as following it will be successful
select
  t1.upgrade_day,
  t1.batch_no,
  t1.vin_type1
from
  (
    SELECT
      batch_no,
      vin_type1,
      upgrade_day
    FROM
      test1
    where
      batch_no like 'c%'
    group by
      batch_no,
      vin_type1,
      upgrade_day
  ) t1
  left join (
    select
      batch_no,
      vin_type2,
      status
    from
      test2
    group by
      batch_no,
      vin_type2,
      status
  ) t2 on t1.vin_type1 = t2.vin_type2;

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run compile

run buildall

run buildall


Using Token Factory Module

Proposal
keep using notional's wasmd fork with token factory, and update it with the latest changes
Concerns Regarding Replacing Notional's Token Factory with Osmosis's Version
Token Factory Repository
The [Notional Token Factory repository](https://github.com/osmosis-labs/tokenfactory) maintains a token factory module. However, it appears to be outdated, with the last update being three months ago. This version is only compatible with cosmos-sdk v0.45, while our migaloo chain is already operating on cosmos-sdk v0.46. Attempting to use this older version leads to numerous compatibility issues.
Token Factory in the Osmosis Repository
The Osmosis project maintains a token_factory module within its [main repository](https://github.com/osmosis-labs/osmosis/tree/main/x/tokenfactory) (updated two weeks ago). Osmosis uses a fork of the Cosmos SDK, and they are transitioning towards the mainline Cosmos SDK version (v0.47.x), as seen in their [v21.0.0 release](https://github.com/osmosis-labs/osmosis/releases/tag/v21.0.0).
Using an earlier version of Osmosis, which relies on a forked version of cosmos-sdk v0.46.x, results in compatibility problems due to divergence from the mainline Cosmos SDK.
Unique Offerings of Notional’s Token Factory
Notional’s wasmd version, particularly in smart contract development, provides wasmbinding. This allows smart contracts to interact with Cosmos modules. The running version of the migaloo chain already supports functions related to token metadata, as shown in these code snippets from Notional and Osmosis:

Notional’s Token Factory wasmbinding
Osmosis’s wasmbinding

Care must be taken when replacing Notional’s wasmd, as it can affect running smart contracts.
Proposal
Given that Notional’s Token Factory is reasonably up-to-date and even offers more functionalities than Osmosis's version, it is recommended to continue using Notional’s wasmd repository. To avoid compatibility issues, we propose porting features from Osmosis’s Token Factory v21 into Notional’s version v0.30.0-sdk-v0.46.x. The following updates can be made to Notional’s Token Factory module, based on the latest updates from Osmosis's module:

Adopt Osmosis's Proto Domain: For better compatibility with the rest of the Cosmos ecosystem, use Osmosis’s proto domain, as proposed in [this pull request](https://github.com/notional-labs/wasmd/pull/125).
Support for ForceTransfer: Introduce a feature to allow a token authority to forcibly transfer tokens.
Add MintToAddress/BurnFromAddress Options: Enhance the current implementation, which does not support minting to or burning from different addresses, by adding these options in the burn and mintTo messages.
Enable MsgBeforeSendHooks: Implement a method that takes a cosmwasm_address of a contract. This contract would implement a SudoMsg::BlockBeforeSend entry point, containing a hook for denylisting specific accounts and freezing all transfers if necessary.

Update: We can use the terra core v2.8 token factory module, as it encompasses the functionality of notional's token factory and includes the additional features that I mentioned


Discrete diffusion

Unifies the meanings of the rate parameter
Add tests
Add docstrings

Go ahead when you're happy with it!


Add location mocks to the wolfram cog

Previously the server IP address could be leaked using some query such as “what is the weather here?” or simply “what’s my ip?”. This aims to fix it by using mock locations.

When tested on my own instance of Sir-Lancebot and my own API key for Wolfram Alpha (non-commertial), this change did not block the bot from showing my general location (obviously everything has been obliterated from existence) so no one can find anything.


Can someone help me use it?

Can someone explain to me exactly how to download this and how to use it?
Im new at this so I dont really understand.

https://github.com/R3nzTheCodeGOD/R3nzSkin/releases/tag/v1.5.3
Download AllServers.zip - Open - Open league - Press Inject - Go ingame - Gratz, you can now choose any skin for the champ you play and your teammates - Press insert to close the menu - Profit?????

bruh.
No way it was this simple what??
Thanks!


Document Common Issues and Steps When Working With PyCharm

A few things come to mind:

What to do about Error: That port is already in use. after a crash or restart when the local Django server was not terminated.
How to set up a virtual environment and how to work with Virtual Env Wrapper.
Setting up a Django project.
Ignoring docs/build to avoid problems with indexing and search.

Put additional ideas in the comments.

Include removing a virtual environment from PyCharm before removing it from the command line.

Just had a problem where apps installed in the environment weren't recognized in PyCharm. The command line was also given an error on ./manage.py makemigrations. I had removed the virtual environment from PyCharm, then from the command line, then recreated and re-installed the requirements along with the apps. However, it was still given the error that the apps in settings.py did not exist. So I went into the Django preferences of PyCharm and re-selected the new environment and it started working again.


Support for paginator component

Hi,
could you please add directive for PrimeNG paginator component? It uses dropdown for "rows-per-page" option.

Thx.

thanks for requesting, I'm working on it

Thanks.


ollama | Name or service not known

Describe the bug
I have tried with open ai and the r2r is working fine. But when i switch to ollama its not giving the answer, have added detailed errors.
To Reproduce
Steps to reproduce the behavior:

I have cloned the project
git clone https://github.com/SciPhi-AI/R2R.git
cd R2R
pip install .
docker-compose up -d

Modified the compose.ollama.yaml little bit to run  ( attached the yaml )
sudo docker-compose -f compose.ollama.yaml up

Run following command
docker exec -it r2r-ollama-1 ollama pull llama3
docker exec -it r2r-ollama-1 ollama pull mxbai-embed-large

To test ollam run following command
curl http://localhost:11434/api/chat -d '{
"model": "llama3",
"messages": [
{ "role": "user", "content": "why is the sky blue?" }
]
}
'
This give proper answer

Now follow below code to test
from r2r.main import R2RClient
client = R2RClient("http://localhost:8000/")
client.ingest_files(["test.txt"])

Getting below error
{'results': {'processed_documents': [],
'failed_documents': ["Document 'test.txt': Embedding generation failed for one or more embeddings."],
'skipped_documents': []}}
7.In the console, I can see below error
2024-07-23 05:51:11,549 - ERROR - r2r.providers.embeddings.ollama - Error getting embedding: [Errno -2] Name or service not known
2024-07-23 05:51:11,557 - ERROR - r2r.base.pipeline.base_pipeline - Pipeline failed with error: [Errno -2] Name or service not known
2024-07-23 05:51:11,558 - ERROR - r2r.base.pipeline.base_pipeline - Pipeline failed with error: [Errno -2] Name or service not known
2024-07-23 05:51:11,558 - ERROR - r2r.main.services.retrieval_service - Pipeline error: [Errno -2] Name or service not known
INFO:     <IP_ADDRESS>:44808 - "POST /v1/rag HTTP/1.1" 500 Internal Server Error
Expected behavior
As per the documentation it should work properly.
Screenshots
If applicable, add screenshots to help explain your problem.
But when I switched the environment CONFIG_NAME = default, Then it's working fine, But CONFIG_NAME = local_ollama is getting above error
Desktop (please complete the following information):

OS: Ubuntu

compose.ollama.zip
Additional context
Add any other context about the problem here.

Thanks for sharing, could you try using the CLI to deploy your Docker system r2r --config-name=local_neo4j_kg serve --docker --docker-ext-neo4j  --docker-ext-ollama  ?

I tried with below command
sudo r2r --config-name=local_ollama serve --docker --docker-ext-ollama
and I set following env values
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=password
export POSTGRES_HOST=localhost
export POSTGRES_PORT=5432
export POSTGRES_DBNAME=postgres
export POSTGRES_VECS_COLLECTION=o1ama1
Getting below error
[SQL: SELECT pg_advisory_unlock(123456789)]
(Background on this error at: https://sqlalche.me/e/20/2j85)
2024-07-23 14:36:19,878 - INFO - r2r.main.app_entry - Environment CONFIG_NAME: local_ollama
2024-07-23 14:36:19,878 - INFO - r2r.main.app_entry - Environment CONFIG_PATH:
2024-07-23 14:36:19,878 - INFO - r2r.main.app_entry - Environment CLIENT_MODE: False
2024-07-23 14:36:19,878 - INFO - r2r.main.app_entry - Environment BASE_URL: None
2024-07-23 14:36:19,878 - INFO - r2r.main.app_entry - Environment PIPELINE_TYPE: qna
2024-07-23 14:36:19,879 - INFO - r2r.base.providers.prompt - Initializing PromptProvider with config extra_fields={} provider='r2r' default_system_name='default_system' default_task_name='default_rag' file_path=None.
2024-07-23 14:36:19,879 - INFO - r2r.base.providers.embedding - Initializing EmbeddingProvider with config extra_fields={'text_splitter': {'type': 'recursive_character', 'chunk_size': 512, 'chunk_overlap': 20}} provider='ollama' base_model='mxbai-embed-large' base_dimension=1024 rerank_model=None rerank_dimension=None rerank_transformer_type=None batch_size=32 prefixes=None add_title_as_prefix=True.
2024-07-23 14:36:19,879 - INFO - r2r.providers.embeddings.ollama - Using Ollama API base URL: http://host.docker.internal:11434
2024-07-23 14:36:19,914 - INFO - r2r.base.providers.llm - Initializing LLM provider with config: extra_fields={} provider='litellm' generation_config=GenerationConfig(model='ollama/llama3', temperature=0.1, top_p=1.0, top_k=100, max_tokens_to_sample=1024, stream=False, functions=None, skip_special_tokens=False, stop_token=None, num_beams=1, do_sample=True, generate_with_chat=False, add_generation_kwargs={}, api_base=None) concurrency_limit=1 max_retries=2 initial_backoff=1 max_backoff=60
2024-07-23 14:36:19,981 - INFO - r2r.base.providers.database - Initializing DatabaseProvider with config extra_fields={} provider='postgres'.
2024-07-23 14:36:19,981 - INFO - r2r.providers.database.postgres - Using TCP connection
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1967, in exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.SyntaxError: syntax error at or near "{"
LINE 2:         CREATE OR REPLACE FUNCTION hybrid_search${CONFIG_NA...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/r2r/providers/database/postgres.py", line 198, in _create_hybrid_search_function
sess.execute(text(hybrid_search_function))
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal
result = conn.execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
return meth(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
return connection._execute_clauseelement(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
ret = self._execute_context(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
return self._exec_single_context(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2353, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1967, in exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near "{"
LINE 2:         CREATE OR REPLACE FUNCTION hybrid_search${CONFIG_NA...
^
[SQL:
CREATE OR REPLACE FUNCTION hybrid_search_${CONFIG_NAME:-vecs}(
query_text TEXT,
query_embedding VECTOR(512),
match_limit INT,
full_text_weight FLOAT = 1,
semantic_weight FLOAT = 1,
rrf_k INT = 50,
filter_condition JSONB = NULL
)
RETURNS SETOF vecs."${CONFIG_NAME:-vecs}"
LANGUAGE sql
AS $$
WITH full_text AS (
SELECT
id,
ROW_NUMBER() OVER (ORDER BY ts_rank(to_tsvector('english', metadata->>'text'), websearch_to_tsquery(query_text)) DESC) AS rank_ix
FROM vecs."${CONFIG_NAME:-vecs}"
WHERE to_tsvector('english', metadata->>'text') @@ websearch_to_tsquery(query_text)
AND (filter_condition IS NULL OR (metadata @> filter_condition))
ORDER BY rank_ix
LIMIT LEAST(match_limit, 30) * 2
),
semantic AS (
SELECT
id,
ROW_NUMBER() OVER (ORDER BY vec <#> query_embedding) AS rank_ix
FROM vecs."${CONFIG_NAME:-vecs}"
WHERE filter_condition IS NULL OR (metadata @> filter_condition)
ORDER BY rank_ix
LIMIT LEAST(match_limit, 30) * 2
)
SELECT
vecs."${CONFIG_NAME:-vecs}".*
FROM
full_text
FULL OUTER JOIN semantic
ON full_text.id = semantic.id
JOIN vecs."${CONFIG_NAME:-vecs}"
ON vecs."${CONFIG_NAME:-vecs}".id = COALESCE(full_text.id, semantic.id)
ORDER BY
COALESCE(1.0 / (rrf_k + full_text.rank_ix), 0.0) * full_text_weight +
COALESCE(1.0 / (rrf_k + semantic.rank_ix), 0.0) * semantic_weight
DESC
LIMIT
LEAST(match_limit, 30);
$$;
]
(Background on this error at: https://sqlalche.me/e/20/f405)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/uvicorn", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 418, in main
run(
File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 587, in run
server.run()
File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 62, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 69, in serve
config.load()
File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 458, in load
self.loaded_app = import_from_string(self.app)
File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/r2r/main/app_entry.py", line 78, in
app = r2r_app(
File "/app/r2r/main/app_entry.py", line 50, in r2r_app
wrapper = R2RExecutionWrapper(
File "/app/r2r/main/execution.py", line 56, in init
self.app = R2R(config=config)
File "/app/r2r/main/r2r.py", line 36, in init
built = builder.build()
File "/app/r2r/main/assembly/builder.py", line 214, in build
providers = provider_factory(self.config).create_providers(
File "/app/r2r/main/assembly/factory.py", line 259, in create_providers
or self.create_database_provider(
File "/app/r2r/main/assembly/factory.py", line 98, in create_database_provider
database_provider = PostgresDBProvider(
File "/app/r2r/providers/database/postgres.py", line 1126, in init
super().init(config)
File "/app/r2r/base/providers/database.py", line 198, in init
self.vector: VectorDatabaseProvider = self._initialize_vector_db()
File "/app/r2r/providers/database/postgres.py", line 1129, in _initialize_vector_db
return PostgresVectorDBProvider(
File "/app/r2r/providers/database/postgres.py", line 132, in init
self._create_hybrid_search_function()
File "/app/r2r/providers/database/postgres.py", line 202, in _create_hybrid_search_function
sess.execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal
result = conn.execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
return meth(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
return connection._execute_clauseelement(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
ret = self._execute_context(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
return self._exec_single_context(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2353, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.InternalError: (psycopg2.errors.InFailedSqlTransaction) current transaction is aborted, commands ignored until end of transaction block
[SQL: SELECT pg_advisory_unlock(123456789)]
(Background on this error at: https://sqlalche.me/e/20/2j85)

Hi,
You do NOT need to set POSTGRES environment variables. The docker is configured to handle these automatically, so this might be the source of your issue. If you are wishing to connect with a local postgres instance running outside of your Docker, then the approach you are attempting above is probably incorrect, as you would need to tell Docker to point outside the internal Docker network.
Let us know if this resolve things, if not, could you try cleaning your docker images / containers with r2r docker-down and perhaps even docker system prune. Afterwards, you might have more luck.


index-only controller shouldn't require a type parameter

@jeremyabbott highlighted that a controller with only an index definition with no path parameter requires a type parameter in order to run, even though it compiles. I agree with him it would be nice to not require the type parameter in order to run. Example:
let resource = controller {
    index indexHandler
}

☝ compiles but fails to run
let resource = controller<int> {
    index indexHandler
}

☝ runs fine

Also, the error isn't very helpful: "Couldn't create router for controller. Key type not supported.". I've actually fallen foul of this a couple of times before I realised what the issue is. The could be alleviated in the short term by simply changing the wording.

I’ll take a stab at fixing this this weekend if that’s cool.
My thought is

Fix the error message,
Add a new case for “obj” that is used when the controller doesn’t have any routes that require types parameters, and use that in those cases.


✏ Fix typo in docs/en/docs/help-fastapi.md

line 124 isssues to issues

Good catch, thanks! :mag: :cake:


Discovery/Research: Change component CSS to be attribute based

Using the abc web components as an example, experiment switching some CSS of components over to be based on attributes on the host element and not class based. This will hopefully releave some of the style flash that can happen on load.

To be considered later, potentially a fix to a known issue.

Dev decision to deprioritize this. @daine


enable breadcrumbs to receive some root dir

solves https://github.com/coreui/coreui-free-react-admin-template/issues/68

oops, something not working yet...


What did youtube-dl-server do?

I am doing youtube cracking on my mobile phone via Termux.
I refer to the practice of #13122 and run the youtube-dl-server on my phone and then connect it via http, the speed of cracking is indeed faster, but on some phones is still relatively slow. (For some reason, I cannot run the youtube-dl-server on my server)
I want to know what youtube-dl-server did, because I am not good at python. Does the python module only load once in multiple cracks?
Then through the way of the youtube-dl-server, what is the reason that affects my speed of cracking besides network and machine performance?

youtube-dl-api-server is not part of the youtube-dl project, address your question to the relevant project.


emacs26 is in fact emacs27

Describe the bug
Package called emacs26 is in fact emacs27. This seems to be caused by https://github.com/NixOS/nixpkgs/pull/95169. This might be a problem because some packages are not yet available for newer version so this can break workflow for many of users.
To Reproduce
Steps to reproduce the behavior:

nix-shell -p emacs26 --pure
emacs --version

GNU Emacs 27.1
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Expected behavior
emacs26 should be Emacs 26
Notify maintainers
@adisbladis
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.136, NixOS, 20.09pre239228.bd0e645f024 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixos-20.09pre239228.bd0e645f024, nixos-hardware"`
 - channels(marek): `"nixos-20.03pre212208.8130f3c1c2b"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: emacs26
# a list of nixos modules affected by the problem
module:

This is ready @lovek323 @peti @jwiegley @adisbladis


Sankey panels "p is not a function" in Grafana 10

Hello,
My Sankey panels ceased working after upgrading to Grafana 10 (I'm using Grafana cloud, so this is somewhat out of my control).
The error I'm getting is "p is not a function".  I am using plugin version 1.1.0.  When I tried plugin version 1.0.6 on Grafana 10, I got "g is not a function".  Everything works properly on Grafana 9.5 for both plugin versions 1.1.0 and 1.0.6.

The data source I am using is ElasticSearch.
Here is the table view and query:

Please let me know if I can provide any additional information that would help.

Hi, I got the same issue. Error text is "p is not a function". Grafana 10 latest plugin version. Maybe I am doing something wrong with my query behind. It may help if the documentation would provide an example query or something.
Kind regards

Same issue here.

Thank you v1.1.1 sorted out the g and p not a function issues 👏😎👍

Still getting this error, Sankey plugin v1.1.1 on grafana cloud:

Any work arounds?

@ryanhugh I played around and found I get the same error if I do not use the Table format. It appears one must use Table format and also define the correct text, number format for each column. Then it appears to work ok.

Otherwise one can or still gets the error.

I switched to the Inifity Data source and that CVS you've got in that screenshot, and it started working. Thank you for the help!

Hi,
i installed grafana10 and latest version of plugin (1.1.1).
I'm doing a panel with an elasticsearch source using a lucene query and sorting the data with 3 fields.
I have the problem too.
How can i resolve the issue?
Thank you for your help

I suggest you try the infinity source and try the example above like @ryanhugh to see if it works.
If so then try and ensure you are using the correct syntax and format returned from the lucerne query using the eslaticearch source otherwise the error will prevail. Should take you 10 min to check.

I am still getting p is not a function on grafana 8.5.10 after using infinity source!

I had this same problem using inline CSV data with the Infinity data source. I resolved it following the advice above from @gdiana:

the problem is that csv cells, including the ones with numeric values, are read as strings
so, using a transform (convert field type) you need to coerce the numeric field type to be "Number".
in addition, you may need to add a transform (organize fields by name) to reorder the columns in the order expected by the sankey diagram (first the text node columns in the order you expect them to appear in the chart, and then the metric column)

Maybe the plugin could validate the query result data and produce a more descriptive error message suggesting what is missing/wrong with the query result data.


Update eclipsetemurin17.sh

Added logic for determining architecture (Apple Silicon or Intel).
Also removed the packageID variable since the appCustomVersion function is used to determine installed version.

Thank you!


Processes spawn detached

Ren'Py should be able to stay open if Visual Studio Code is closed. Currently closing the main window will kill all running processes. Spawning them detached would help alleviate this.

Changing vscode to be a client, E.g. through this process: https://github.com/furudean/vscode-renpy-warp/issues/28#issuecomment-2258919215
Might be a way to solve this issue.

I'd like to have both!

You mean, vscode being the server and also spawn the processes detached?
Why do you need vscode to be the server? What am I missing?

I want to maintain the feature that you can launch a process from within VSCode while also supporting #28. I don't think they're in conflict at all

Ah. I get it now. vscode is a client but you launch the process and detach from it right away if no process is already running. (In linux, detatching done by forking and then reassigning the new process pid to init and then running (indirectly) execve).
Then, assuming my POC goes forward, it async waits for the file with the port number to appear.
Something like that?

This was released in v1.15.0


No Generators for Blocks

Is there a reasons there are no generators for the different blocks that have been built?
As in for all the different block types there are no generators, so for example in the verital_playground.html, if you want to convert the blocks to Javascript, you get the error:
goog.asserts.AssertionError {message: "Assertion failed: Language "JavaScript" does not k…to generate code for block type "control_repeat".", reportErrorToServer: true, messagePattern: "Assertion failed: Language "%s" does not know how to generate code for block type "%s".", stack: "AssertionError↵    at new goog.asserts.AssertionEr…tch-blocks/tests/vertical_playground.html:574:81)"} goog.asserts.DEFAULT_ERROR_HANDLER @ asserts.js:86 goog.asserts.doAssertFailure_ @ asserts.js:122 goog.asserts.assertFunction @ asserts.js:233 Blockly.Generator.blockToCode @ generator.js:176 Blockly.Generator.workspaceToCode @ generator.js:101 toCode @ vertical_playground.html:156 onclick @ vertical_playground.html:574

Scratch does not use generators but rather an interpreter called 'scratch-vm' to execute blocks which has many advantages. I recommend you take a look at the VM codebase here:
https://github.com/llk/scratch-vm
Generators are still supported, but you would need to implement them yourself.

@smaameri could you teach me how you solve this issue, I'm facing the same issue.

I also encountered the same problem, how did you solve it in the end?


Migrating from v3 to v4 action's second argument are actions?

Working on converting a working v3 implementation to v4, but I'm having some issues.
I renamed actions in the config to actionsCreators and initStore to createStore. Then in my consuming component I also added actions to the import from the store.
My config looks like this:
const config = {
    initialState: {
        files: [],
    },
    actionsCreators: {
        addFile: (state, fileName) => {
            // ...
        }
    }
}

The function in the component triggering the action now looks like this (where it would first do this.props.actions...):
addFile = () => {
    actions.addFile(this.state.text);
}

But when the action is called the param fileName is an object containing all the actions instead of the provided value.
Am I missing something here or is something fishy going on? (Working in typescript / webpack so might also be a compilation issue?)

Wait is this by design? The third parameter is the fileName. None of the examples work like this?

I'm also interested in why the author changed this, is it something could be documented ?

I'll check examples and update them with v4 final ;)


Pass file type through to Files in FormData

Currently, the MIME types of any uploaded files aren't passed through to the File constructor, so file.type is always '' (empty string).
This fixes that, by passing through what the multipart/form-data parser gets, and updates the server file action integration test to check uploaded file MIME types.

thanks


TypeScript Application / Plugin Codegen Typing Enhancements

Currently, the TypeScript types that are generated by the w3 app codegen & w3 plugin codegen commands could use some improvements.
Some potential improvements have been discussed here: https://github.com/polywrap/monorepo/issues/314
Current Developer Experience
export interface CustomType {
  prop: String;
}

export enum CustomEnumEnum {
  STRING,
  BYTES,
}

export type CustomEnumString =
  | "STRING"
  | "BYTES"

export type CustomEnum = CustomEnumEnum | CustomEnumString;

/// Imported Objects START ///

/* URI: "testimport.uri.eth" */
export interface TestImport_Object {
  prop: String;
}

/// Imported Objects END ///

/// Imported Queries START ///

/* URI: "testimport.uri.eth" */
interface TestImport_Query_Input_importedMethod extends Record<string, unknown> {
  arg: String;
}

/* URI: "testimport.uri.eth" */
export const TestImport_Query = {
  importedMethod: async (
    input: TestImport_Query_Input_importedMethod,
    client: Client,
    uri: string = "testimport.uri.eth"
  ): Promise<InvokeApiResult<Types.TestImport_Object | null>> => {
    return client.invoke<Types.TestImport_Object | null>({
      uri,
      module: "query",
      method: "importedMethod",
      input
    });
  },
}

Potential Improvements
Class Based Packages
Allow for additional package-specific configuration & validation using instanced objects that are created for each module being invoked:
namespace Ethereum {
  class Query {
    constructor(client: Client) {
      // can validate client config here...
      // ex: look to see if required dependencies are added to the client
    }

    importedMethod(input: Input.Query.importedMethod) {
      this.client.invoke(...)
    }
  }

  namespace Input {
    namespace Query {
      interface importedMethod {
        arg: string;
      }
    }
  }
}

const ethereum = new Ethereum.Query(client);

// We now know that the Ethereum's query has
// all client configuration necessary to execute...

ethereum.importedMethod({ arg: "hey" })

client class extension types
Allow for all web3api integrations to be accessed from a single client interface, leveraging client class extensions (previously discussed here https://github.com/polywrap/monorepo/issues/314):
import { Web3ApiClient } from "@web3api/client-js"
import { Ethereum } from "./w3";

interface ClientExtensions {
  eth: {
    query: Ethereum.Query;
  }
}

const client = new Web3ApiClient<ClientExtensions>({
  extensions: {
    eth: {
      query: new Ethereum.Query(...)
    }
  },
  ...
});

const { data, errors } = await client.eth.query.importedMethod({
  arg: "hey"
}).execute();

// additionally, I think it'd be important to support the `useWeb3ApiInvoke` hook as well:
const { data, errors, execute, loading } = useWeb3ApiInvoke(
  client.eth.query.importedMethod({
    arg: "hey"
  }).config()
);

More conversation here:
https://forum.polywrap.io/t/web3apiclient-dev-experience/228/7

NOTE: the above developer experience is out-dated, and needs a refresh.

The application bindings are being updated here: https://github.com/polywrap/wrap-abi-bindgen/pull/40


Update e2e tests to Pipelines v0.49.

Changes

Adds v0.48, v0.49 as Pipeline server versions to test against, removes v0.46.
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/lgtm


how to debug step machine issues

On my specific yocto/poky platform, when using omxh264enc with kvssink the stream "curl" connectivity works (I see valid stream info in the logs).
But after apparently starting the stream it just ends abruptly with a weird "Dropping frame with flag" debug message from kvssink and some "DEBUG - stepStateMachine()" plain message.
And finally the whole pipeline crashes with a "Bus error (core dumped)" most likely coming from omx.
How can I debug such a stream?
Do you think this is purely related to the omx encoder (which works fine when encoding for example to a matroskamux .mkv file sink)? Or could it be related to the encoding (NV12 instead of I420)?
Could it be some inline-headers messing up the buffer hex content?
Note that on this platform video and audio encoding works fine (when not using kvssink), including rtp and rtsp.
Anything pointer would help me here, thanks!
0:00:00.000304637 3622 0x8560b600 INFO                GST_INIT gst.c:507:init_pre: Initializing GStreamer Core Library version 1.12.2
0:00:00.000694274 3622 0x8560b600 INFO                GST_INIT gst.c:508:init_pre: Using library installed in /usr/lib
0:00:00.000761826 3622 0x8560b600 INFO                GST_INIT gst.c:528:init_pre: Linux 3.18.71 #1 SMP PREEMPT Tue Apr 21 19:07:42 UTC 2020 armv7l
0:00:00.002251103 3622 0x8560b600 INFO                GST_INIT gstmessage.c:127:_priv_gst_message_initialize: init messages
0:00:00.005634450 3622 0x8560b600 INFO                GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
0:00:00.010468116 3622 0x8560b600 INFO                GST_INIT gst.c:727:init_post: GLib runtime version: 2.52.3
0:00:00.010534887 3622 0x8560b600 INFO                GST_INIT gst.c:729:init_post: GLib headers version: 2.52.3
0:00:00.010586033 3622 0x8560b600 INFO                GST_INIT gst.c:730:init_post: initialized GStreamer successfully
0:00:00.430674938 3622 0x8560b600 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstkvssink.so" loaded
0:00:00.995548551 3622 0x8560b600 INFO      GST_PLUGIN_LOADING gstplugin.c:843:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstomx.so" loaded
INFO - createKinesisVideoClient(): Creating Kinesis Video Client
2020-04-22 11:11:39 [2822303072] INFO - heapInitialize(): Initializing native heap with limit size 134217728, spill ratio 0% and flags 0x00000001
2020-04-22 11:11:39 [2822303072] INFO - heapInitialize(): Creating AIV heap.
2020-04-22 11:11:39 [2822303072] INFO - heapInitialize(): Heap is initialized OK
2020-04-22 11:11:39 [2822303072] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2020-04-22 11:11:39 [2822303072] DEBUG - getSecurityTokenHandler invoked
2020-04-22 11:11:39 [2822303072] DEBUG - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER>776076936 Expiration: 0
2020-04-22 11:11:39 [2822303072] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000010
2020-04-22 11:11:39 [2822303072] INFO - createDeviceResultEvent(): Create device result event.
2020-04-22 11:11:39 [2822303072] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2020-04-22 11:11:39 [2822303072] DEBUG - clientReadyHandler invoked
2020-04-22 11:11:39 [2822303072] INFO - try creating stream
2020-04-22 11:11:39 [2822303072] INFO - Creating Kinesis Video Stream demo-camera
2020-04-22 11:11:39 [2822303072] INFO - createKinesisVideoStream(): Creating Kinesis Video Stream.
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): Kinesis Video Stream Info
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Stream name: demo-camera
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Streaming type: STREAMING_TYPE_REALTIME
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Content type: video/h264
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Max latency (100ns): 600000000
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Fragment duration (100ns): 20000000
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Key frame fragmentation: Yes
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Use frame timecode: Yes
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Absolute frame timecode: Yes
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Nal adaptation flags: 0
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Average bandwith (bps): 4194304
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Framerate: 25
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Buffer duration (100ns):<PHONE_NUMBER>
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Replay duration (100ns): 400000000
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Connection Staleness duration (100ns): 600000000
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Store Pressure Policy: 1
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	View Overflow Policy: 1
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Segment UUID: NULL
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Frame ordering mode: 0
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): Track list
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Track id: 1
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Track name: kinesis_video
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Codec id: V_MPEG4/ISO/AVC
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Track type: TRACK_INFO_TYPE_VIDEO
2020-04-22 11:11:39 [2822303072] DEBUG - logStreamInfo(): 	Track cpd: NULL
2020-04-22 11:11:39 [2822303072] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2020-04-22 11:11:39 [2822303072] INFO - writeHeaderCallback(): RequestId: 187a92c1-88f5-4c44-91db-52dcefcb7101
2020-04-22 11:11:40 [2666673248] DEBUG - describeStreamCurlHandler(): DescribeStream API response: {"StreamInfo":{"CreationTime":1.582809285215E9,"DataRetentionInHours":1,"DeviceName":null,"KmsKeyId":"arn:aws:kms:us-east-1:123456789012:alias/aws/kinesisvideo","MediaType":null,"Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:us-east-1:123456789012:stream/demo-camera/1234567890123","StreamName":"demo-camera","Version":"vRfiDhdCDNN8Z1eu7jDx"}}
2020-04-22 11:11:40 [2666673248] INFO - describeStreamResultEvent(): Describe stream result event.
2020-04-22 11:11:40 [2666673248] WARN - describeStreamResult(): Retention period returned from the DescribeStream call doesn't match the one specified in the StreamInfo
2020-04-22 11:11:40 [2666673248] WARN - describeStreamResult(): Content type returned from the DescribeStream call doesn't match the one specified in the StreamInfo
2020-04-22 11:11:40 [2666673248] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000020
2020-04-22 11:11:40 [2666673248] INFO - writeHeaderCallback(): RequestId: 1e8321bc-8e4f-48be-bf83-01dee5a77ec2
2020-04-22 11:11:40 [2657088608] DEBUG - getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"https://s-12345678.kinesisvideo.us-east-1.amazonaws.com"}
2020-04-22 11:11:40 [2657088608] INFO - getStreamingEndpointResultEvent(): Get streaming endpoint result event.
2020-04-22 11:11:40 [2657088608] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000010
2020-04-22 11:11:40 [2657088608] DEBUG - getStreamingTokenHandler invoked
2020-04-22 11:11:40 [2657088608] DEBUG - Refreshing credentials. Force refreshing: 1 Now time is:<PHONE_NUMBER>453578092 Expiration:<PHONE_NUMBER>3709551615
2020-04-22 11:11:40 [2657088608] INFO - getStreamingTokenResultEvent(): Get streaming token result event.
2020-04-22 11:11:40 [2657088608] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
2020-04-22 11:11:40 [2657088608] DEBUG - streamReadyHandler invoked
2020-04-22 11:11:40 [2657088608] Stream is ready
0:00:04.610516356  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<kvssink0> completed state change to READY
0:00:04.610771774  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<kvssink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:04.610995733  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'kvssink0' changed state to 2(READY) successfully
0:00:04.611129640  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<h264parse0> current NULL pending VOID_PENDING, desired next READY
0:00:04.611235578  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<h264parse0> completed state change to READY
0:00:04.611311047  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:04.611417193  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 2(READY) successfully
0:00:04.611525995  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<omxh264enc-omxh264enc0> current NULL pending VOID_PENDING, desired next READY
0:00:04.672098899  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<omxh264enc-omxh264enc0> completed state change to READY
0:00:04.672217181  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<omxh264enc-omxh264enc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:04.672344265  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'omxh264enc-omxh264enc0' changed state to 2(READY) successfully
0:00:04.672445984  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<capsfilter0> current NULL pending VOID_PENDING, desired next READY
0:00:04.672613276  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:04.672672183  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:04.672773694  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) successfully
0:00:06.024545889  3621 0x84187800 INFO              GST_STATES gstelement.c:2442:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:06.024616670  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:06.024864380  3621 0x84187800 INFO              GST_STATES gstelement.c:2449:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:06.025040005  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<kvssink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.025257298  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<kvssink0> completed state change to PAUSED
0:00:06.025324434  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<kvssink0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.025421778  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'kvssink0' changed state to 3(PAUSED) successfully
0:00:06.025507403  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<h264parse0> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.027429026  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<h264parse0> completed state change to PAUSED
0:00:06.027644652  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.027755694  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 3(PAUSED) successfully
0:00:06.027857100  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<omxh264enc-omxh264enc0> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.027965330  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<omxh264enc-omxh264enc0> completed state change to PAUSED
0:00:06.028020174  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<omxh264enc-omxh264enc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.028102726  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'omxh264enc-omxh264enc0' changed state to 3(PAUSED) successfully
0:00:06.028177883  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<capsfilter0> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.028270071  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:06.028320904  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.028399498  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) successfully
0:00:06.029648045  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<pipeline0> completed state change to PAUSED
0:00:06.029894713  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
OMXCORE API - OMX_Init
OMXCORE API :  GetHandle 0x84192e48 OMX.qcom.video.encoder.avc 0x84192e40
OMXCORE API :  GetHandle 0x84192e48 OMX.qcom.video.encoder.avc 0x84192e40
before get_cmp_index **********-1
before get_cmp_index **********34
before get_cmp_index **********34
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.avc ,count = 0
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.avc ,count = 0
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.file.muxer ,count = 1
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.file.muxer ,count = 1
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.hevc ,count = 2
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.hevc ,count = 2
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.vp8 ,count = 3
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.decoder.vp8 ,count = 3
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.encoder.avc ,count = 4
get_cmp_index: cmp_name = OMX.qcom.video.encoder.avc , core[i].name = OMX.qcom.video.encoder.avc ,count = 4
returning index 4
getting fn pointer
getting fn pointer
Dynamically Loading the library : libOmxVenc.so
OMXCORE: qc_omx_component_init 0x84441374
OMXCORE: qc_omx_component_set_callbacks 0x84441374, 0xa7541018 , 0x84192e40
free handle slot exists 0
Component 0x84441374 Successfully created
OMXCORE: qc_omx_component_set_parameter 0x84441374, 0xbefc2584 , 16777239
OMXCORE: qc_omx_component_get_state 0x84441374
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0xbefc25ac , 33554433
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0xbefc25ac , 33554433
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:06.035042911  3621 0x84187800 INFO               GST_EVENT gstevent.c:1383:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:06.035179526  3621 0x84187800 INFO        GST_ELEMENT_PADS gstelement.c:1612:gst_element_default_send_event: can't send latency event on element kvssink0
0:00:06.035302391  3621 0x84187800 WARN                     bin gstbin.c:2772:gst_bin_do_latency_func:<pipeline0> did not really configure latency of 0:00:00.000000000
0:00:06.035651143  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<kvssink0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:06.035926508  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<kvssink0> completed state change to PLAYING
0:00:06.035997186  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<kvssink0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:06.036099322  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'kvssink0' changed state to 4(PLAYING) successfully
0:00:06.036180676  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<h264parse0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:06.036247864  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<h264parse0> completed state change to PLAYING
0:00:06.036395625  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<h264parse0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:06.036618803  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'h264parse0' changed state to 4(PLAYING) successfully
0:00:06.036697553  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<omxh264enc-omxh264enc0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:06.036800314  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<omxh264enc-omxh264enc0> completed state change to PLAYING
0:00:06.037111930  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<omxh264enc-omxh264enc0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:06.037208076  3621 0x84187800 INFO              GST_STATES gstbin.c:2939:gst_bin_change_state_func:<pipeline0> child 'omxh264enc-omxh264enc0' changed state to 4(PLAYING) successfully
0:00:06.037347035  3621 0x84187800 INFO              GST_STATES gstbin.c:2491:gst_bin_element_set_state:<capsfilter0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:06.037418285  3621 0x84187800 INFO              GST_STATES gstelement.c:2467:gst_element_continue_state:<capsfilter0> completed state change to PLAYING
0:00:06.037494431  3621 0x84187800 INFO              GST_STATES gstelement.c:2372:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)

0:00:06.544849215  3621 0x9e6b2cf0 INFO               GST_EVENT gstevent.c:890:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:06.545836979  3621 0x9e6b2cf0 INFO               baseparse gstbaseparse.c:3986:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.033333333, 0:00:00.033333333
0:00:06.546139272  3621 0x9e6b2cf0 INFO               GST_EVENT gstevent.c:809:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)baseline, level=(string)5.2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, parsed=(boolean)true, codec_data=(buffer)01428034ffe1000e67428034e900a00b740368509a8001000468ce06e2
0:00:06.546622295  3621 0x9e6b2cf0 INFO                 kvssink gstkvssink.cpp:902:gst_kvs_sink_handle_sink_event: structure is video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)baseline, level=(string)5.2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-site=(string)mpeg2, parsed=(boolean)true, codec_data=(buffer)01428034ffe1000e67428034e900a00b740368509a8001000468ce06e2;
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x9b96f870 , 100663297
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x9b96f5b0 , 100663297
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x9b96f388 , 100663297
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x9b96f5a0 , 33554433
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x9b96f520 , 100663297
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x844068bc , 33554433
OMXCORE: qc_omx_component_set_parameter 0x84441374, 0x9b96f4c0 , 100663312
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x844068bc , 33554433
OMXCORE: qc_omx_component_send_command 0x84441374, 0 , 2
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a6c24 , 0
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a6c0c , 0
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a69c4 , 0
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a69ac , 0
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a697c , 1
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a6964 , 1
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a694c , 1
OMXCORE: qc_omx_component_allocate_buffer 0x84441374, 0x841a6934 , 1
OMXCORE: qc_omx_component_send_command 0x84441374, 0 , 3
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x84406824 , 33554433
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x844068bc , 33554433
OMXCORE: qc_omx_component_get_parameter 0x84441374, 0x99bfed2c , 100663312
OMXCORE: qc_omx_component_fill_this_buffer 0x84441374, 0x9e6abcf0
OMXCORE: qc_omx_component_fill_this_buffer 0x84441374, 0x9e6abd40
OMXCORE: qc_omx_component_fill_this_buffer 0x84441374, 0x9e6abd90
OMXCORE: qc_omx_component_fill_this_buffer 0x84441374, 0x9e6abde0
OMXCORE: qc_omx_component_empty_this_buffer 0x84441374, 0x9e60a900
OMXCORE: qc_omx_component_empty_this_buffer 0x84441374, 0x9e60a950
OMXCORE: qc_omx_component_fill_this_buffer 0x84441374, 0x9e6abcf0
INFO - kinesisVideoStreamFormatChanged(): Stream format changed.
2020-04-22 11:11:42 [2579493984] DEBUG - Dropping frame with flag %u9280
2020-04-22 11:11:42 [2579493984] DEBUG - pts:<PHONE_NUMBER>3934983, dts: 4043679, duration: 0, size: 48535, trackId: 1, isKey: 1
2020-04-22 11:11:42 [2579493984] DEBUG - stepStateMachine(): State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080
2020-04-22 11:11:42 [2579493984] INFO - putStreamResultEvent(): Put stream result event. New upload handle 0
2020-04-22 11:11:42 [2579493984] DEBUG - stepStateMachine()
0:00:06.561665638 3621 0x9e6b2cf0 ERROR                    omx gstomx.c:1438:gst_omx_port_release_buffer:<omxh264enc-omxh264enc0> Releasing buffer 0x841a6960 (0x99fe4000) to avc port 1
0:00:06.564906172 3621 0x8437d7b0 ERROR                    omx gstomx.c:1438:gst_omx_port_release_buffer:<omxh264enc-omxh264enc0> Releasing buffer 0x841a69c0 (0x9a3e6000) to avc port 0
0:00:06.574035011 3621 0x97401c60 ERROR                    omx gstomx.c:675:FillBufferDone:<omxh264enc-omxh264enc0> avc port 1 filled buffer 0x841a6978 (0x9a136000), nAllocLen(1382400), nOffset(0), nFilledLen(23299), nSize(80)
0:00:06.575140901 3621 0x9e6b2cf0 ERROR                    omx gstomx.c:1438:gst_omx_port_release_buffer:<omxh264enc-omxh264enc0> Releasing buffer 0x841a6978 (0x9a136000) to avc port 1
0:00:06.602868254 3621 0x8437d7b0 ERROR                    omx gstomx.c:1438:gst_omx_port_release_buffer:<omxh264enc-omxh264enc0> Releasing buffer 0x841a69a8 (0x9a288000) to avc port 0
0:00:06.604877064 3621 0x97401c60 ERROR                    omx gstomx.c:675:FillBufferDone:<omxh264enc-omxh264enc0> avc port 1 filled buffer 0x841a6960 (0x99fe4000), nAllocLen(1382400), nOffset(0), nFilledLen(21979), nSize(80)
0:00:06.605998892 3621 0x9e6b2cf0 ERROR                    omx gstomx.c:1438:gst_omx_port_release_buffer:<omxh264enc-omxh264enc0> Releasing buffer 0x841a6960 (0x99fe4000) to avc port 1
0:00:06.635105573 3621 0x97401c60 ERROR                    omx gstomx.c:675:FillBufferDone:<omxh264enc-omxh264enc0> avc port 1 filled buffer 0x841a6978 (0x9a136000), nAllocLen(1382400), nOffset(0), nFilledLen(19958), nSize(80)
Bus error (core dumped)

Some extra logs here, from dmesg I get:
[ 1406.155585] msm_vidc:  err: State not recognized
[ 1406.159291] msm_vidc:  err: Failed to move from state: 16 to 13
[ 1406.165476] msm_vidc:  err: Failed to move inst: d5fd2000, cap = 9 to state: 15
[ 1406.172605] msm_vidc: info: Closed video instance: d5fd2000
[ 1406.231794] ------------[ cut here ]------------
[ 1406.235394] WARNING: CPU: 2 PID: 3691 at kernel-source/drivers/media/v4l2-core/videobuf2-core.c:2124 __vb2_queue_cancel+0x44/0x130()

@rgroleau it seems that something in gstreamer pipeline is crashing in your case. I would recommend replacing kvs plugin with fakesink in the exact same pipeline and try it over again.
The dropped frame happens at the source - this is likely the first few frames which don't contain frame info. GStreamer pipeline could push samples with no frame data - those could be codec private data, etc... The code that handles it is here:
https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/f99eba5f764102e8b63cde696512c2a426e407dc/src/gstreamer/gstkvssink.cpp#L1073
BTW, there is a bug in the printout that uses C++ streams with C printf style parameterization. You are welcome to submit a PR to fix the formatting :)
Regarding the states. The PIC (core business logic that C++ wraps) has an FSA which drives the formal state machine states. The states are somewhat described in the code so you can see but in general, there is new -> describe -> (opt create) -> get endpoint -> ready (pause until the first frame is produced) -> stream -> streaming state.
https://github.com/awslabs/amazon-kinesis-video-streams-pic/blob/bffd345c4a66fa9a8faf1dd15be15e99d5b67b72/src/client/src/Stream.h#L24-L34

Thanks for the pointers, it really helped! So I first tried the fakesink that you suggested, this works perfectly, no bug, no problem (just as I expected since the capture source and the omxh264enc plugins work perfectly fine when for instance I capture and save a video to a filesink such as matroskamux .mkv or even the jpeg single frame capture plugins work fine too, all using the exact same pipeline specifications, format, etc.).
So this really looks like something original (clearly in the "good plugin" category of course) that kvssink is doing by pausing/stopping/restarting the stream at some unexpected places (unexpected only from the capture source and omxh264enc plugins point of view of course, this seems very legit).
Right now the states that I see are an "uninit" state sent/caused by kvssink through the whole pipeline when "pausing" until the first frame is produced. I will see if I can hack the capture source and omxh264enc plugins to support going from state 9 (start_done) straight to 16 (uninit) and then back to 15 (stop_done) by forcing going again through state 2 and 3 (init and init_done) everytime the "normal" states flow is circumvented.
I don't get why an "uninit" is sent though. Maybe I would be better to just remove the uninit state sent/caused by kvssink in the first place? Maybe I could do that by just "not pausing" until the first frame is produced? Don't we loose some frames by not capturing for a few milliseconds anyway, shouldn't we just go ahead and capture/encode/encapsulate/upload those few milliseconds too?
Note that the device I am working on "starts capturing video" when motion is detected, so those first few frames are the most important thing there is for our product (since this is usually where/when we see the thing/car/human/animal/movement/whatever that caused the streaming event anyways), so in any case dropping them by pausing for an additional delay is maybe less optimal for us. I realize "not pausing" is most likely creating a latency issue here when we start uploading already-late frames right out of the gate, but like I said, if it is the case, I might want those frames anyways for their very-important/most-significant content in our situation.
I will continue trying a few things and I will keep you updated, thanks again for your help! This does not look like a real bug from kvssink right now anyways, just an unexpected-from-my-specific-plugins-perspective behavior.

@rgroleau I am still not sure what's causing this. kvssink doesn't uninit the pipeline. It can generate an error though that will tear down the pipeline.
Can we get debug logs for the kvssink? Also, try to enable the GST debug logs by specifying GST_DEBUG=4 env variable (I think you are doing that already). Let's capture some longer logs and attach it to the issue.

So I found it: kvssink causes an alignment trap on my platform. Which forces the various plugins to uninit, and then of course going from uninit to any other state is a no go for them. I will try compiling with various switches to try and find which pointer access is causing this alignment trap (starting with debug compilation, then -fsanitize=address and -fsanitize=undefined) or maybe just to a -Wall and go through all the warnings one by one, whatever gets me faster to it. Most likely something like a pointer to a double that is not a multiple of 8 or a attribute((packed)) missing on some struct somewhere.

Oh NICE!!! OK, here is what you can do. Specify ALIGNED_MEMORY_MODEL compile variable and re-compile PIC.
https://github.com/awslabs/amazon-kinesis-video-streams-pic#note-on-alignment
The rest should be aligned.

That was it! That parameter fixed it! Thanks @MushMal for all your help!


PENV-464: fix race detection on jetDropRegister

- What I did
fix memory leak during unmarshal
- How I did it
delete github.com/ugorji/go/codec
using another one
- How to verify it
run gbe for 1 hr. the maximum of mem allocation was 8Gb, now 300Mb
compare new and old  library and the new one is faster by benchmark.
- Description for the changelog

Codecov Report

Merging #102 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
- Coverage   74.70%   74.68%   -0.03%
==========================================
  Files          46       46
  Lines        2926     2923       -3
==========================================
- Hits         2186     2183       -3
  Misses        595      595
  Partials      145      145

Impacted Files
Coverage Δ

etl/transformer/transformer.go
81.52% <100.00%> (-0.30%)
: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 ab72cca...bcc51af. Read the comment docs.

tests did not run


Markdownlint list fixes

Just re-ran the lint after the other PRs landed and found a few leftovers

@jaimeo @dansimp @Mir0sh The housekeeping PR that performs a few lint checks is available for review. Thanks.