Proposal to change source of kubectl

Hello @rpadovani ,
Would it be ok to change the kubectl provider to alekc/kubectl.
gavinbunney fork seems to have been abandoned and is also not working properly with K8s 1.27+ as can be seen here
Current versions.tf
terraform {
  required_providers {
    kubectl = {
      source = "gavinbunney/kubectl"
    }
  }
}

Proposed versions.tf
terraform {
  required_providers {
    kubectl = {
      source = "alekc/kubectl"
    }
  }
}

Thank you so much in advance.

Hi @nmofonseca, thanks for opening the issue, and for the information about the provider.
I think this is a good idea, however it will recreate all the CRDs, and that is a huge change. I think I will have to bump the major version to mark this change, and hopefully we are not going to break anything. I will work on it this week

Hello @rpadovani ,
Thanks for replying and accepting the change. I can also do some testing to confirm it will actually recreate everything.
Will let you know my findings


pull request for e2e test at 11/11/2016 09:15:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


C++ code for issue #1416

What have you Changed(must)
Added C++ Code for 876. Middle of the Linked List
Issue no.(must) - #1416
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@SSKale1 Please merge this.


GlobalCupertinoLocalizations class is included in two package

in the Internationalizing Flutter apps tutorial
https://flutter.dev/docs/development/accessibility-and-localization/internationalization
two libs are imported
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_cupertino_localizations/flutter_cupertino_localizations.dart';
but they both have GlobalCupertinoLocalizations
flutter version
[✓] Flutter (Channel stable, v1.9.1+hotfix.4)
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_cupertino_localizations/flutter_cupertino_localizations.dart';

MaterialApp(
 localizationsDelegates: [
   // ... app-specific localization delegate[s] here
   GlobalMaterialLocalizations.delegate,
   GlobalWidgetsLocalizations.delegate,
   GlobalCupertinoLocalizations.delegate,  //class conflict here

 ],
 supportedLocales: [
    const Locale('en'), // English
    const Locale('he'), // Hebrew
    const Locale.fromSubtags(languageCode: 'zh'), // Chinese *See Advanced Locales below*
    // ... other locales the app supports
  ],
  // ...
)

same problem

I get this error:

The name 'GlobalCupertinoLocalizations' is defined in the libraries 'package:flutter_cupertino_localizations/src/cupertino_localizations.dart (via package:flutter_cupertino_localizations/flutter_cupertino_localizations.dart)' and 'package:flutter_localizations/src/cupertino_localizations.dart (via package:flutter_localizations/flutter_localizations.dart)'.
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.

Hi @yuzhihang
The tutorial you mentioned is now updated and now you just need to import on file:
import 'package:flutter_localizations/flutter_localizations.dart';
This file will give you all required localization delegates to use in your app:
import 'package:flutter_localizations/flutter_localizations.dart';

MaterialApp(
 localizationsDelegates: [
   // ... app-specific localization delegate[s] here
   GlobalMaterialLocalizations.delegate,
   GlobalWidgetsLocalizations.delegate,
   GlobalCupertinoLocalizations.delegate,
 ],
 supportedLocales: [
    const Locale('en'), // English
    const Locale('he'), // Hebrew
    const Locale.fromSubtags(languageCode: 'zh'), // Chinese *See Advanced Locales below*
    // ... other locales the app supports
  ],
  // ...
)

Closing this as fixed. If you disagree please feel free to write a comment bellow and I will reopen it.
Thank you


Fixed DXCC2-Summary at Add QSO-Window (bottom)

Seems like the Window at bottom of the QSL-Form (behind the "+") was really the only one with problems.
@phl0 would be nice if you can cnfm

Tested working. This PR fixes Quick Lookup as well (since it's the same component).


Error from open ai: "slow down"

Why I receive this error, am I  making requests to the API too quickly, exceeding the rate limits?

Probably yes. But this happened to me on first few times. But then it did not occur.

See this issue: https://github.com/SawyerHood/draw-a-ui/issues/8
I think this is open ai doing rate limiting to mitigate DDOS attacks.


New sbi.analysis package; sensitivity analysis

This PR makes two main changes:

It prepares the move of pairplot, conditional_pairplot(), eval_conditional_density, and conditional_corrcoeff() to the sbi.analysis module.
Active subspaces. See below.

Implements active subspaces (Constantine 2015) to identify directions of sensitivity (or sloppiness) in the posterior distribution.
Say you have some property, e.g. spike count. You want to investigate which parameters most influence the spike count.

Sample from posterior -> theta
Obtain spike count for each of these theta (by simulating)
Train regression net theta -> spike count. From now on denoted by f(theta).
Analyse the regression net: Compute M = E[\nabla_theta(f(theta)^T \nabla_theta(f(theta)]
Then do an eigenvalue decomposition M = Q-1 \Lambda Q

Steps 1)2)3) can be dropped when the investigated properties are the exact summary statistics that the posterior was trained on. One can then just use the posterior log_prob(theta) as f(theta).
Question
Were should such analysis modules live? Still in sbi? Or in a separate repo called sbi_posterior_analysis? Or only in the repo I'm using for my own work?
API
When using the posterior probability as the property to be investigated:
from sbi.analysis import ActiveSubspace
sensitivity = ActiveSubspace(posterior.set_default_x(x_o))
e_vals, e_vecs = sensitivity.find_active(posterior_log_prob_as_property=True)
projected_data = sensitivity.project(theta_project, num_dimensions=1)

When using some other property (it might also be one of the summary statistics):
sensitivity = ActiveSubspace(posterior.set_default_x(x_o))
theta = posterior.sample((10000,), x=x_o)
property = simulator_for_my_property(theta)
_ = sensitivity.add_property(theta, property).train()
e_vals, e_vecs = sensitivity.find_active()
projected_data = sensitivity.project(theta_project, num_dimensions=1)

Were should such analysis modules live? Still in sbi? Or in a separate repo called sbi_posterior_analysis? Or only in the repo I'm using for my own work?

I think it would be great to have this as part of sbi. How about introducing a module called sbi.analysis (or similar) in which it lives?

I agree, I would move all the code for this analysis to a new analysis module.
Later we could add SBC there as well (or have yet another module for it).
To me the API and names of the methods are not 100% clear yet. I would suggest a Zoom meeting to talk about it. I am available until Wed, and then next week again.

Codecov Report

Merging #394 (57ce1b1) into main (ab42a3c) will decrease coverage by 3.05%.
The diff coverage is 29.89%.

@@            Coverage Diff             @@
##             main     #394      +/-   ##
==========================================
- Coverage   82.77%   79.71%   -3.06%
==========================================
  Files          50       54       +4
  Lines        3187     3377     +190
==========================================
+ Hits         2638     2692      +54
- Misses        549      685     +136

Flag
Coverage Δ

unittests
79.71% <29.89%> (-3.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sbi/analysis/sensitivity_analysis.py
15.48% <15.48%> (ø)

sbi/analysis/plot.py
80.00% <80.00%> (ø)

sbi/utils/plot.py
64.72% <85.71%> (+0.16%)
:arrow_up:

sbi/analysis/conditional_density.py
87.50% <87.50%> (ø)

sbi/analysis/__init__.py
100.00% <100.00%> (ø)

sbi/inference/snpe/snpe_c.py
95.33% <100.00%> (ø)

sbi/utils/conditional_density.py
100.00% <100.00%> (ø)

... and 1 more

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 f6dd229...57ce1b1. Read the comment docs.

Codecov Report

Merging #394 (57ce1b1) into main (ab42a3c) will decrease coverage by 3.05%.
The diff coverage is 29.89%.

@@            Coverage Diff             @@
##             main     #394      +/-   ##
==========================================
- Coverage   82.77%   79.71%   -3.06%
==========================================
  Files          50       54       +4
  Lines        3187     3377     +190
==========================================
+ Hits         2638     2692      +54
- Misses        549      685     +136

Flag
Coverage Δ

unittests
79.71% <29.89%> (-3.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sbi/analysis/sensitivity_analysis.py
15.48% <15.48%> (ø)

sbi/analysis/plot.py
80.00% <80.00%> (ø)

sbi/utils/plot.py
64.72% <85.71%> (+0.16%)
:arrow_up:

sbi/analysis/conditional_density.py
87.50% <87.50%> (ø)

sbi/analysis/__init__.py
100.00% <100.00%> (ø)

sbi/inference/snpe/snpe_c.py
95.33% <100.00%> (ø)

sbi/utils/conditional_density.py
100.00% <100.00%> (ø)

... and 1 more

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 f6dd229...57ce1b1. Read the comment docs.


Add grunt effect and envelope

Upload 2 new sounds. (eating and drinking)
Load 'actionFiles' and 'voicePack name' in voice-pack-voicer.js so that we can access actionFiles and voicepack name from localPlayer.
Add a function call 'playGrunt' in character-sfx.js, it would load the voice from 'localPlayer.voicePack.actionFiles', and play the voice pack by 'localPlayer.voicePack.audioBuffer'. So in totum app, we could play the grunt like this localPlayer.characterSfx.playGrunt('angry', index);
Add jump grunt and gasp grunt in character-sfx.js by using exponential falloff selection
This is the jump result (each character has 6 jump grunt)

https://user-images.githubusercontent.com/60634884/162553640-2e5027c7-2a35-4965-ad16-ef88b667b135.mp4
This is the gasp result (each character has 7  gasp grunt, but shishi just has 2 now)
https://user-images.githubusercontent.com/60634884/162553739-b24a6091-13a2-41db-8690-7b4c1ffb8fd7.mp4

Add envelope in avatar.js. By default, if we connect the sounds to the character's mouth, it will move the mouth based on the audio volume. If we set the envelope like this this.player.avatar.envelope(attack, decay, sustain, release);, It would move the mouth according to the envelope
moving mouth when eating and drinking in character-sfx.js by using envelope. This is the result:

https://user-images.githubusercontent.com/60634884/162554380-7c866843-07fe-41de-80b8-f5d69e019282.mp4

2 of the gulp samples have a click at the end, I don't know if this is a sample or coding issue

If the samples do not have this issue then it's a sound compilation bug which should be debugged.

Who is driving this? Can we close it?

Closing since nobody seems to be working on this.


Enable React StrictMode

As a developer, I want React StrictMode enabled for the app so that I can identify issues early in the development cycle.

If this requires a lot of changes, we can bump it


Prepare to release 0.25.0 of write-fonts.

Suggest commenting why, e.g. what is it you need released to use where.


merge package template from Kronos-Tools/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(npm): delete config

Codecov Report

Merging #94 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   84.61%   84.61%
=======================================
  Files           1        1
  Lines          13       13
=======================================
  Hits           11       11
  Misses          2        2

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 2932340...28c4f66. Read the comment docs.


Inline-Search show firstname

I think it would be useful to display the firstname as well during ajax-inline search on creating a rental. During my shift I already had the problem that I typed "Lastname" and several people with "lastname" popped up, but I had no idea which one is my customer, as no firstname was displayed.

edit: accidentially branched from the other PR, sorry!
edit2: whoop, seems like Visual Studio Code alters the formatting - not sure if I like that 😒 . I'm quite new to VSCode, also something with the versioning went wrong. Seems like it can stay in a different branch than set with TurtoiseGit.
my changes only start at line 360:
https://github.com/leih-lokal/LeihLokalVerwaltung/pull/102/files#diff-c986a48b16a11890468575dc7fd73530d85861368254e860c675e454142e0cdfR360-R380

@daniel17903 let men know if I should do a new PR without the style changes by VSCode. Either that, or we establish the automatic styling with VSCode/Svelte as a new default? What do you think?

@daniel17903 let men know if I should do a new PR without the style changes by VSCode. Either that, or we establish the automatic styling with VSCode/Svelte as a new default? What do you think?

@daniel17903 let men know if I should do a new PR without the style changes by VSCode. Either that, or we establish the automatic styling with VSCode/Svelte as a new default? What do you think?

Your styling is fine. This should already be the default, accidentally forgot it in some files.

@daniel17903 let men know if I should do a new PR without the style changes by VSCode. Either that, or we establish the automatic styling with VSCode/Svelte as a new default? What do you think?

Your styling is fine. This should already be the default, accidentally forgot it in some files.


Build failure: following tasks did not complete: vscode-reh-darwin-x64-min-ci

Build: https://dev.azure.com/monacotools/a6d41577-0fa3-498e-af22-257312ff0545/_build/results?buildId=214785
Failure: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=214785&view=logs&j=260a512b-e5ca-5cf1-3f8e-20c0fa41efc9&t=ffb884bb-7609-5d1e-3434-a70e531948ad&l=19
Changes: https://github.com/Microsoft/vscode/compare/1236c13...3e4ed47

Looks like @aeschli will also fix this one via https://github.com/microsoft/vscode/pull/182629

Hello! I'd like to work on this issue! :)

This is about node not being downloaded.
It's not directly related to the change I made to https://github.com/microsoft/vscode/pull/182629
Let's mark it as dup of https://github.com/microsoft/vscode/issues/182951


Fix field to show links for User relations

Users do not have a title, just firstName and lastName.
The check for hasUris() was too limited. It checks if the entry has a public URL, while in this context we just need to get a CP URL (which every entry should have..)

@Nav33d Did you get to have a look at this? Thanks.

Couple of things here:

User's first and last name is optional field and in quite a lot of cases not filled in so I have used the username instead.
Assets don't have CP urls so I have updated the condition to check if it has CP url instead of hasUris

I have made the above changes in 1.0.3. Thank you for the pull request :)

Thanks!


Read data from Terabee TOF sensor

Main Changes
Evo_single_point_display_range_py3.py can be used to detect and read data from Terabee TOF sensor
Tests
This has been tested and works well at 15m and 60m one.

@jamie-54 can you help Siyuan with this?

yea

@Yuanbwcx @jamie-54 How is it going guys? Has this stagnated?

In this PR we should probably do the save as in #137.

@jamie-54 Why was this PR closed?


Fixed typos and clarified some explanation

Fixed typos.
Called out that cssFloat is still around.
Changed the text that implied that the error handler did not exist at some point, since every shipped version of RTCPeerConnection, from the beginning, had both of the handlers as parameters.
Removed a meaningless and partial quote.

Great. Thanks.  This should be going live in our Monday push


Problem occur while installing the tool

github.com/michenriksen/gitrob/core
go-workspace/src/github.com/michenriksen/gitrob/core/router.go:41:54: too few values in assetfs.AssetFS literal

@sargarpramod430 i too having the same problem

os: windows 10

same problem @michenriksen please help

@0nk4r I had to set some go variable first and then use this command.
It may be somewhere in docs if you read that.
It was something like GO=111
And you have to enter it in your terminal just like the command.
Hope this helps you.


Apply LDAPCONF & LDAPRC from environment

cf. #350

Codecov Report

Merging #361 (0539df5) into master (fe03865) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #361   +/-   ##
=======================================
  Coverage   99.61%   99.61%
=======================================
  Files          13       13
  Lines        2052     2054    +2
=======================================
+ Hits         2044     2046    +2
  Misses          8        8

Impacted Files
Coverage Δ

ldap2pg/ldap.py
99.58% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Customer getAdresses() redundant nullable

Description
We have to check if getAddresses() output is not null.
Possible solution
I think it should return empty collection rather then returning null.
Additional context
https://github.com/shopware/platform/blob/master/src/Core/Checkout/Customer/CustomerEntity.php#L705

Hey @bystro,
thanks for raising this issue.
The Customer::getAddresses() has to return null because a null value indicates that the addresses association on the customer entity was not loaded.
If this happens you have to include the associaton in the criteria that is used to fetch the customers, like $criteria->addAssociation('addresses');.
An empty collection indicates that the addresses were loaded but the user currently has no addresses.
So there is a different meaning for Customer::getAddresses() returning null or an empty collection.
I hope this clarifies your question.
Kind regards
Jonas

Thank you @keulinho
I'm not sure if we should allow a situation that customer doesn't have at least one address.

The validation of the AccountRegistrationService checks that if a new customer is registered it has at least a valid billing address.
Nevertheless the business rule if the customer has to have at least one address does not affect the data model as it is still possible that the addresses of the customer are not loaded the null value is still valid from a technical perspective.

Closing this due to inactivity.
If you still have trouble or something is not clear don't hesitate to reopen this issue or create a new one.
Kind regards
Jonas


support more timestamp formats

I have 2023/12/03 02:30:18 in my nginx log
and   [Fri Dec 01 00:00:25.933177 2023] in my apache log.
Could those be support ed by default?  Or can I add support via the --timestamp_format option?
Otherwise, it looks like a very useful nice tool.

The nginx log timestamp looks pretty standard. Is the Apache log format also a standard/default format, or something your site has customized?

Apache log format was added in 0.10.0 - closing.


fix windows tests

closes: https://github.com/prometheus/tsdb/pull/420
Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

still green even after 10 re-triggers.

@gouthamve 	I have reverted the removed tests and disabled these for windows // +build !windows.
I think there is an actual bug in the old WAL, but this is as far as my motivation to fix this goes.


User MqttClient in Greengrass Lambda

Hi all,
How can I use the MqttClient inside a GG Lambda function? More specifically, I want to use jobs inside my Lambda functions, and currently don't see anything suitable in the GG API itself.
I can find some examples where JS is used. But nothing for Java.
Also, the JS example relies on the environment for the certificate etc, is this possible with the current java client as well?

It looks to me that you could follow the same pattern the JS stack overflow example is using, but you would need to pull the access key, secret access key yourself.  I am uncertain that putting those values in the Lambda environment is a good idea from a security standpoint but you could certainly do it.  For the actual client/connection there's a constructor that would work for this case:
public AWSIotMqttClient(String clientEndpoint, String clientId, String awsAccessKeyId, String awsSecretAccessKey)


Cannot find module 'request'

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When I run Jest, it fails immediately with Cannot find module 'request', but I don't require request myself, it's part of the Jest dependency tree.
λ npm test -- --no-cache

><EMAIL_ADDRESS>test C:\Users\E\Documents\GitHub\nima
> jest "--no-cache"

 FAIL  src\__tests__\modules\calc.js
  ● Test suite failed to run

    Cannot find module 'request'

      at node_modules/request-promise-native/lib/rp.js:8:12
      at module.exports (node_modules/stealthy-require/lib/index.js:62:23)
      at Object.<anonymous> (node_modules/request-promise-native/lib/rp.js:7:15)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.238s
Ran all test suites.
npm ERR! Test failed.  See above for more details.

If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can yarn install and yarn test.
I've pushed a branch named wtf-jest to a branch that you can test it out on: https://github.com/denizdogan/nima/tree/wtf-jest
git clone -b wtf-jest https://github.com/denizdogan/nima
cd nima
yarn i
yarn test

What is the expected behavior?
I expect Jest to run my test suites.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
NPM 5.6.0
Node.js 9.4.0
Jest 22.1.4
Windows 10 (64-bit)

I had the same problem. npm list request said UNMET PEER DEPENDENCY<EMAIL_ADDRESS>Calling npm i -D jest fixed the issue


make check in skeletons fails to build on Mac

macOS 10.12.6, Xcode 9.0. make check fails in the skeletons dir on the master branch.
ar cru works on libasn1cskeletons_c89.a but then fails on libasn1cskeletons_c89_32.a because no archive members are specified.
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=c89 -Wpedantic -Wno-long-long  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize
-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -g -O2 -Wall -Wcast-qual -W
char-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99   -o libasn1cskel
etons_c89.la  libasn1cskeletons_c89_la-ANY.lo libasn1cskeletons_c89_la-BIT_STRING.lo libasn1cskeletons_c89_la-BIT_STRING_oer.lo libasn1cskeletons_c89_la-BMPString.lo libasn1cskeletons_c8
9_la-BOOLEAN.lo libasn1cskeletons_c89_la-ENUMERATED.lo libasn1cskeletons_c89_la-GeneralString.lo libasn1cskeletons_c89_la-GeneralizedTime.lo libasn1cskeletons_c89_la-GraphicString.lo lib
asn1cskeletons_c89_la-IA5String.lo libasn1cskeletons_c89_la-INTEGER.lo libasn1cskeletons_c89_la-INTEGER_oer.lo libasn1cskeletons_c89_la-ISO646String.lo libasn1cskeletons_c89_la-NULL.lo l
ibasn1cskeletons_c89_la-NativeEnumerated.lo libasn1cskeletons_c89_la-NativeEnumerated_oer.lo libasn1cskeletons_c89_la-NativeInteger.lo libasn1cskeletons_c89_la-NativeInteger_oer.lo libas
n1cskeletons_c89_la-NativeReal.lo libasn1cskeletons_c89_la-NumericString.lo libasn1cskeletons_c89_la-OBJECT_IDENTIFIER.lo libasn1cskeletons_c89_la-OCTET_STRING.lo libasn1cskeletons_c89_l
a-OCTET_STRING_oer.lo libasn1cskeletons_c89_la-OPEN_TYPE.lo libasn1cskeletons_c89_la-OPEN_TYPE_oer.lo libasn1cskeletons_c89_la-ObjectDescriptor.lo libasn1cskeletons_c89_la-PrintableStrin
g.lo libasn1cskeletons_c89_la-REAL.lo libasn1cskeletons_c89_la-RELATIVE-OID.lo libasn1cskeletons_c89_la-T61String.lo libasn1cskeletons_c89_la-TeletexString.lo libasn1cskeletons_c89_la-UT
CTime.lo libasn1cskeletons_c89_la-UTF8String.lo libasn1cskeletons_c89_la-UniversalString.lo libasn1cskeletons_c89_la-VideotexString.lo libasn1cskeletons_c89_la-VisibleString.lo libasn1cs
keletons_c89_la-asn_SEQUENCE_OF.lo libasn1cskeletons_c89_la-asn_SET_OF.lo libasn1cskeletons_c89_la-asn_application.lo libasn1cskeletons_c89_la-asn_codecs_prim.lo libasn1cskeletons_c89_la
-asn_internal.lo libasn1cskeletons_c89_la-asn_bit_data.lo libasn1cskeletons_c89_la-asn_random_fill.lo libasn1cskeletons_c89_la-ber_decoder.lo libasn1cskeletons_c89_la-ber_tlv_length.lo l
ibasn1cskeletons_c89_la-ber_tlv_tag.lo libasn1cskeletons_c89_la-constr_CHOICE.lo libasn1cskeletons_c89_la-constr_CHOICE_oer.lo libasn1cskeletons_c89_la-constr_SEQUENCE.lo libasn1cskeleto
ns_c89_la-constr_SEQUENCE_oer.lo libasn1cskeletons_c89_la-constr_SEQUENCE_OF.lo libasn1cskeletons_c89_la-constr_SET.lo libasn1cskeletons_c89_la-constr_SET_OF.lo libasn1cskeletons_c89_la-
constr_SET_OF_oer.lo libasn1cskeletons_c89_la-constr_TYPE.lo libasn1cskeletons_c89_la-constraints.lo libasn1cskeletons_c89_la-der_encoder.lo libasn1cskeletons_c89_la-oer_decoder.lo libas
n1cskeletons_c89_la-oer_encoder.lo libasn1cskeletons_c89_la-oer_support.lo libasn1cskeletons_c89_la-per_decoder.lo libasn1cskeletons_c89_la-per_encoder.lo libasn1cskeletons_c89_la-per_op
entype.lo libasn1cskeletons_c89_la-per_support.lo libasn1cskeletons_c89_la-xer_decoder.lo libasn1cskeletons_c89_la-xer_encoder.lo libasn1cskeletons_c89_la-xer_support.lo
libtool: link: ar cru .libs/libasn1cskeletons_c89.a .libs/libasn1cskeletons_c89_la-ANY.o .libs/libasn1cskeletons_c89_la-BIT_STRING.o .libs/libasn1cskeletons_c89_la-BIT_STRING_oer.o .libs/libasn1cskeletons_c89_la-BMPString.o .libs/libasn1cskeletons_c89_la-BOOLEAN.o .libs/libasn1cskeletons_c89_la-ENUMERATED.o .libs/libasn1cskeletons_c89_la-GeneralString.o .libs/libasn1cskeletons_c89_la-GeneralizedTime.o .libs/libasn1cskeletons_c89_la-GraphicString.o .libs/libasn1cskeletons_c89_la-IA5String.o .libs/libasn1cskeletons_c89_la-INTEGER.o .libs/libasn1cskeletons_c89_la-INTEGER_oer.o .libs/libasn1cskeletons_c89_la-ISO646String.o .libs/libasn1cskeletons_c89_la-NULL.o .libs/libasn1cskeletons_c89_la-NativeEnumerated.o .libs/libasn1cskeletons_c89_la-NativeEnumerated_oer.o .libs/libasn1cskeletons_c89_la-NativeInteger.o .libs/libasn1cskeletons_c89_la-NativeInteger_oer.o .libs/libasn1cskeletons_c89_la-NativeReal.o .libs/libasn1cskeletons_c89_la-NumericString.o .libs/libasn1cskeletons_c89_la-OBJECT_IDENTIFIER.o .libs/libasn1cskeletons_c89_la-OCTET_STRING.o .libs/libasn1cskeletons_c89_la-OCTET_STRING_oer.o .libs/libasn1cskeletons_c89_la-OPEN_TYPE.o .libs/libasn1cskeletons_c89_la-OPEN_TYPE_oer.o .libs/libasn1cskeletons_c89_la-ObjectDescriptor.o .libs/libasn1cskeletons_c89_la-PrintableString.o .libs/libasn1cskeletons_c89_la-REAL.o .libs/libasn1cskeletons_c89_la-RELATIVE-OID.o .libs/libasn1cskeletons_c89_la-T61String.o .libs/libasn1cskeletons_c89_la-TeletexString.o .libs/libasn1cskeletons_c89_la-UTCTime.o .libs/libasn1cskeletons_c89_la-UTF8String.o .libs/libasn1cskeletons_c89_la-UniversalString.o .libs/libasn1cskeletons_c89_la-VideotexString.o .libs/libasn1cskeletons_c89_la-VisibleString.o .libs/libasn1cskeletons_c89_la-asn_SEQUENCE_OF.o .libs/libasn1cskeletons_c89_la-asn_SET_OF.o .libs/libasn1cskeletons_c89_la-asn_application.o .libs/libasn1cskeletons_c89_la-asn_codecs_prim.o .libs/libasn1cskeletons_c89_la-asn_internal.o .libs/libasn1cskeletons_c89_la-asn_bit_data.o .libs/libasn1cskeletons_c89_la-asn_random_fill.o .libs/libasn1cskeletons_c89_la-ber_decoder.o .libs/libasn1cskeletons_c89_la-ber_tlv_length.o .libs/libasn1cskeletons_c89_la-ber_tlv_tag.o .libs/libasn1cskeletons_c89_la-constr_CHOICE.o .libs/libasn1cskeletons_c89_la-constr_CHOICE_oer.o .libs/libasn1cskeletons_c89_la-constr_SEQUENCE.o .libs/libasn1cskeletons_c89_la-constr_SEQUENCE_oer.o .libs/libasn1cskeletons_c89_la-constr_SEQUENCE_OF.o .libs/libasn1cskeletons_c89_la-constr_SET.o .libs/libasn1cskeletons_c89_la-constr_SET_OF.o .libs/libasn1cskeletons_c89_la-constr_SET_OF_oer.o .libs/libasn1cskeletons_c89_la-constr_TYPE.o .libs/libasn1cskeletons_c89_la-constraints.o .libs/libasn1cskeletons_c89_la-der_encoder.o .libs/libasn1cskeletons_c89_la-oer_decoder.o .libs/libasn1cskeletons_c89_la-oer_encoder.o .libs/libasn1cskeletons_c89_la-oer_support.o .libs/libasn1cskeletons_c89_la-per_decoder.o .libs/libasn1cskeletons_c89_la-per_encoder.o .libs/libasn1cskeletons_c89_la-per_opentype.o .libs/libasn1cskeletons_c89_la-per_support.o .libs/libasn1cskeletons_c89_la-xer_decoder.o .libs/libasn1cskeletons_c89_la-xer_encoder.o .libs/libasn1cskeletons_c89_la-xer_support.o
libtool: link: ranlib .libs/libasn1cskeletons_c89.a
libtool: link: ( cd ".libs" && rm -f "libasn1cskeletons_c89.la" && ln -s "../libasn1cskeletons_c89.la" "libasn1cskeletons_c89.la" )
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99   -o libasn1cskeletons_c89_32.la
libtool: link: ar cru .libs/libasn1cskeletons_c89_32.a
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
        ar -m [-abiTLsv] position archive file ...
        ar -p [-TLsv] archive [file ...]
        ar -q [-cTLsv] archive file ...
        ar -r [-cuTLsv] archive file ...
        ar -r [-cuTLsv] archive file ...
        ar -r [-abciuTLsv] position archive file ...
        ar -t [-TLsv] archive [file ...]
        ar -x [-ouTLsv] archive [file ...]
make[1]: *** [libasn1cskeletons_c89_32.la] Error 1
make: *** [check-am] Error 2

This works in v0.9.28.

Hi @craig65535,
Apply this patch and try to configure with and without --disable-test-32bit
skeletons_32bit.txt

@velichkov with the patch applied, it works with and without passing --disable-test-32bit to configure.

@velichkov did you want to make a PR for that patch, or should I do it?

Thanks @velichkov

I've tried the current master with and without #229, with and without --disable-test-32bit. Two tests inevitably fail:
. . . . .
============================================================================
Testsuite summary for asn1c 0.9.29
============================================================================
# TOTAL: 40
# PASS:  40
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in tests-randomized
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-bundles.sh
make[3]: Nothing to be done for `check-bundles.sh'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
PASS: bundles/00-NULL-bundle.txt
PASS: bundles/01-BOOLEAN-bundle.txt
PASS: bundles/02-INTEGER-bundle.txt
PASS: bundles/03-ENUMERATED-bundle.txt
PASS: bundles/04-REAL-bundle.txt
PASS: bundles/05-BIT-STRING-bundle.txt
PASS: bundles/06-OCTET-STRING-bundle.txt
PASS: bundles/07-VisibleString-bundle.txt
PASS: bundles/08-OBJECT-IDENTIFIER-bundle.txt
PASS: bundles/09-RELATIVE-OID-bundle.txt
PASS: bundles/10-UTF8String-bundle.txt
PASS: bundles/11-BMPString-bundle.txt
PASS: bundles/12-UniversalString-bundle.txt
PASS: bundles/13-UTCTime-bundle.txt
PASS: bundles/14-GeneralizedTime-bundle.txt
PASS: bundles/15-CHOICE-bundle.txt
PASS: bundles/16-SEQUENCE-bundle.txt
FAIL: bundles/17-SEQUENCE-OF-bundle.txt
FAIL: bundles/19-SET-OF-bundle.txt
============================================================================
Testsuite summary for asn1c 0.9.29
============================================================================
# TOTAL: 19
# PASS:  17
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/tests-randomized/test-suite.log
Please report to<EMAIL_ADDRESS>============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Here's the tests/tests-randomized/test-suite.log file:
randomized-test-suite.log.txt

@mouse07410

I've tried the current master with and without #229, with and without --disable-test-32bit

Which versions of MacOS, XCode and ar are you testing with?

Here's the tests/tests-randomized/test-suite.log file:

Same failures as in the TravisCI, could you try with my latest commit 18ee1fb3b24369478359ca9fc2017e49f9aeb729?

Which versions of MacOS, XCode and ar are you testing with?

MacOS 10.12.6 Sierra, Xcode-9.0.1. I didn't install any special ar, so whatever came with macOS+Xcode is it.

Same failures as in the TravisCI,

I feel like I'm in a good company. ;-)

could you try with my latest commit 18ee1fb?

Sure, will try tomorrow.

@vlm please re-open. The problem remains:
. . . . .
============================================================================
Testsuite summary for asn1c 0.9.29
============================================================================
# TOTAL: 40
# PASS:  40
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in tests-randomized
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-bundles.sh
make[3]: Nothing to be done for `check-bundles.sh'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
PASS: bundles/00-NULL-bundle.txt
PASS: bundles/01-BOOLEAN-bundle.txt
PASS: bundles/02-INTEGER-bundle.txt
PASS: bundles/03-ENUMERATED-bundle.txt
PASS: bundles/04-REAL-bundle.txt
PASS: bundles/05-BIT-STRING-bundle.txt
PASS: bundles/06-OCTET-STRING-bundle.txt
PASS: bundles/07-VisibleString-bundle.txt
PASS: bundles/08-OBJECT-IDENTIFIER-bundle.txt
PASS: bundles/09-RELATIVE-OID-bundle.txt
PASS: bundles/10-UTF8String-bundle.txt
PASS: bundles/11-BMPString-bundle.txt
PASS: bundles/12-UniversalString-bundle.txt
PASS: bundles/13-UTCTime-bundle.txt
PASS: bundles/14-GeneralizedTime-bundle.txt
PASS: bundles/15-CHOICE-bundle.txt
PASS: bundles/16-SEQUENCE-bundle.txt
FAIL: bundles/17-SEQUENCE-OF-bundle.txt
FAIL: bundles/19-SET-OF-bundle.txt
============================================================================
Testsuite summary for asn1c 0.9.29
============================================================================
# TOTAL: 19
# PASS:  17
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/tests-randomized/test-suite.log
Please report to<EMAIL_ADDRESS>============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

randomized-test-suite.log.txt

@mouse07410 that was failing for me and now works. Silly question but did you start fresh (git clean and autoreconf)?

Did it fail for you the same way (aka in the same place) as in my example?

I always start with autoreconf, but I did not do git clean.

I remember it failing towards the end of tests-randomized, on both my Mac and a CentOS 7 VM, for the past few weeks. #229 seems to have fixed it.
Since this was build-related, I started fresh after pulling from master (git checkout -- . && git clean -f -x -d -- . && autoreconf -i)

Funny. I tried on a different machine (that also exhibited this problem), and the tests passed. Thanks for bringing up git clean.

make clean usually works for me, no git clean or autoreconf is needed in most cases.
Does this problem remain or is it fixed?

make clean usually works for me, no git clean or autoreconf is needed in most cases.

I concur, and never tried git clean before. With asn1c I usually do make distclean and/or autoreconf, to make sure no artifacts from prior builds could interfere.

Does this problem remain or is it fixed?

@vlm On one of the two machines I'm running this, your master branch passed all the tests. On the other machine the problem remains. Both machines run macOS 10.12.6 with Xcode-9.0.1.

What does tests/tests-randomized/test-suite.log say about it? The last 50 lines should help.

Last 50 lines of test-suite.log say
$ tail -50 ~/Downloads/randomized-test-suite.log.txt
    WWSEOLXNWZCBGSUMCACUBISZHXLWGTZOGFXNFEQ
    BFZTBZZAYOBYHFKGNYECAOKXRABYRAMNEBZCLWSKAZAAUYEVPAUYBBZZVQQJFAODRUZJKHGXEIAZQPXIQK
    EWZZAYJHBYUQBRYMKOMAZZJJYCJZQBSYWWCA
    RYYZFBRUAMARZYMZTBYPNVLFWPZAZZIFADCKUBEQYYZX
    RDLZBBBVSHAMKZZKBUVKAYPLRYCVCMCSJQLCHAIHYAMNMGSYXJOKZEXCOPAAGLVW
    YZYYAYOEPJNBDLRYVYITEVUPYBPTYANYKQZBCMPGAVBZZBTVRBJYQMQARZBBZGQNOFFDCFBRVZZHBLYBCLHAOSAZBY
    CZASRYABDUBJADANXDYSVBYQSMIYFYDP
    GABRIQJAAZRTDFPYINAAETGGAKGBBAEEJBDISSSRKZBIXYSCZPKFTUEASGUOHJXBASDBBKLGMJTRYLYHADQM
    YANBTBZSPUBVYCYVCAZYCUVBPJZVMMFACBPANEZBYZZBBYCBMKRABHAKZAKYMZICYWRRYFAIBABUZYJARPBSMROYZHAV
    DBIYVADYYZZNCKAGYBBZBDXYSBAIJXSMVDAUAULAJSAEABAYBDSEIBFBBZBKIBAYUOZEFEHTRRVABYMYAZIOZYYAPFIQNEBYUKLATSGZBPBM
    TYYJMINYLZZVYPYJNPCKZYAASESLLBVZZTYABMBYBTOYUHHBBZMMGBBBNVSPRAZFBAABLAZUFBUSYVOVGTUVAXPWYETAV
    ZEYYBADCAUYUCBBWAJNOVSMZVMAZECPUCLCYABWWBEBZBDKZFPQPOBSMAOASLZIAAZPZAGYCOZAJBDFCYRXADXCYY
    ZQADHGMADSYBXYOLMBRLHBAYEGJTATBBOXKAYZMDCMRLRBYSBDXZDBVYYFTQWQVAASZAPQDZFJPNKGVQXOOEYTXKQTZJTAZJZBOYQGDNWEOOX
    GZMJXZYDYTCAABDCAVGAHBEDBIRSHUMHAFSPKHPAHDGNEUZAFIJYJFQMKAYYEYRBBZVPBLQ
    GZSAHFIS
    AEYLUJAYMBETDGYZEARZKLBUYBLMUVYAAAJERAWTZWQEXPIHZBYTHXXBVFKIOVOAYJMABXOXPYMPBN
    SZOTERZONAHJDYEEZXATWZCABXPJMHHYHLVMKABOBSSABLSEOBPPABNA
    WWAOQZBTYJNYEBQHVMXYABALDAZBEZNBEPHYMYBNLRQUJARJFGQYRDYYFYYBYZBZJURAHCZHZBCSZAZLULXZQWWPUZRSJDNWCBYWLUZWTZBQIFOBQNUPXZYMQN
    BGNTEMIGDVQAALYARMUPVTGLRBYZRGABCWWJKAZAZRTFYZJOFXNPYZZKBDYW
    SBCYGEUGSZPBBZQAILPGXZZIFNYXKMXZANZCOESBBOYPKYXRRZGJAD
    KRYWZOYBGABKGFRIVGAMZJVGYYZLQVKWTHZZ
    AOXKZKJBYMSKVFXVDXAHYYXRLFAAAYWPOWXAZGASTCZBRDUAZTOLYYAOERZAUDKEKJVOIMZAZPFPJZNDDFFGS
    EITBNKYUYORNQQZXKWNXASPRWZYWCFADZJPTQHSOBHWKIABYVCSAAZHOMIBTEBEDYA
    OTHMJOAERBVBBGYBPBSUWZBQPNDRTFAAYHZABPFNPDDJAZZSSGYDXBKVHHCRBXAHAZUTDSSYJOZAMIPFJQEROP
    PBBZGJHZGFMXIRJUBIPOPUEKGZZBYMJFYBKKASLPBGEMPTCIAUBYQIFRBIFZGHYZIYV
    XLMGIPZZZKPYEHJZAZTCSJYYALETIAOLIJBFDPAMBZSZAYKTOSAQEYHAJJVVYGOAYAZSVBBZBCYNZSQJTOOUPWZHSKAHHFCAOIJB
    UBQZHCAPQYZMFCROTSLAQAAIVAACIXYRMUKJCUQZHNBJZHTOZGZAZAATVYYEFJAFZYPPYUDBYZVZSJLABFMZBEHNTOIIQYBXINLOYRTXJAAYTB
    DBPYOYOVAZJZZUBRYOEYWSTPZZGZBUZYKHAWZCLGZBBURPPBYFFZYKEQBZARJYUYMKYFYBDZZKIODZZYAOJJVXYVNYKBBZDGZNWQXNMZPXPQKVZBZGOZCNQHFTKMOTYBZMSDZYAHQDPBZAUAYRIHNXAFYETMDSSZVZQZJHZQDDNVDRZX
    PSYYBBJAXHGDOUYYBXZOJGGUNZDZKYAABNYKKAUNAJHBMBYZTKVRXZKCWJXOGGATKAHPQIARACEKYQZLOAVAOKWGPNOZRDPWPKUPTZBZYKAXYZZTZQHYAZSVCSYYPUHMGYEURZDBQSSJKYHKTYYYAXANZBLSTC
    LVXTPIAFQLOGYLZNZOXNYYOZHIPXGVBFTCBZNFZGDAVKKFAPIXKEBJALITAHXASNYCEEQ

    DLABALBYRZUANBDZJSVZPAMNHBNAZAUGSAZBKIJTNKDGWADOQDFCEAMBBJYUSZIBTTPFBMVUIKMFYNAYWZLDSSUALTYTJVMKBCZNMQGDBGTTBDKDLTSBSDOMSYSBOBZALBXFLURFKBYAXDBHIZUUECYCBXGYTZQBVFUDUZYZKYCBFBWZEZAIUHZAWSLBHVEGABTZIIBBZQPAEMBGMLXYX
    ARKZYMYASYNZJFBBFWWEAGCLBGIZBHZXEAYZNABAWPIZDRLYZYYPVYFXEQOYAOBUURGFMYXIPKJBLZZZGVTWDAJIZXRVZEPDYYQAXHSXAKVVWHEBSAVWHBMBYSBJEZTAHFFMKXKPXBHBKMVUYAPQZPRIRBZFZZFNUHGNUCIBYLBTZYARSDGBYRBAZADHGZPYFTEPCY
    ZXVNGSQXQYZZYHWX
}
+ echo RETRY:
RETRY:
+ cat .test-reproduce
(cd ".tmp.17-SEQUENCE-OF-bundle" && CC=clang CFLAGS="-std=gnu99 -Wno-error=unused-variable  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdrnd -mrdseed -Os -Ofast -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99" /Applications/Xcode.app/Contents/Developer/usr/bin/make &&  ./random-test-driver -s 70000  -c)
+ return 3
++ expr 0 + 1
+ tests_failed=1
+ echo 'FAIL [T ::= SEQUENCE OF BOOLEAN -- RMAX=70000] in ./bundles/17-SEQUENCE-OF-bundle.txt 31'
FAIL [T ::= SEQUENCE OF BOOLEAN -- RMAX=70000] in ./bundles/17-SEQUENCE-OF-bundle.txt 31
+ '[' 1 = 1 ']'
+ echo 'STOP after 1 failures, OK 25'
STOP after 1 failures, OK 25
+ exit 1
FAIL bundles/17-SEQUENCE-OF-bundle.txt (exit status: 1)

$

And this text in the log was preceded by:
+ short_asn='SEQUENCE OF BOOLEAN'
+ test '!' -f Makefile.am
+ asn1c_invoke test.asn1 'T ::= SEQUENCE OF BOOLEAN -- RMAX=70000' 'in ./bundles/17-SEQUENCE-OF-bundle.txt 31' -flink-skeletons
+ tmpfile=test.asn1
+ asn='T ::= SEQUENCE OF BOOLEAN -- RMAX=70000'
+ where='in ./bundles/17-SEQUENCE-OF-bundle.txt 31'
+ shift 3
+ echo 'Test DEFINITIONS ::= BEGIN T ::= SEQUENCE OF BOOLEAN -- RMAX=70000'
+ echo '-- in ./bundles/17-SEQUENCE-OF-bundle.txt 31'
+ echo END
+ echo '/Users/ur20980/src/asn1c-vlm/asn1c/asn1c -S /Users/ur20980/src/asn1c-vlm/skeletons'
/Users/ur20980/src/asn1c-vlm/asn1c/asn1c -S /Users/ur20980/src/asn1c-vlm/skeletons
+ /Users/ur20980/src/asn1c-vlm/asn1c/asn1c -S /Users/ur20980/src/asn1c-vlm/skeletons -gen-OER -gen-PER -flink-skeletons test.asn1
Compiled T.c
Compiled T.h
File /Users/ur20980/src/asn1c-vlm/skeletons/BOOLEAN.h is already here as BOOLEAN.h
File /Users/ur20980/src/asn1c-vlm/skeletons/BOOLEAN.c is already here as BOOLEAN.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_SEQUENCE_OF.h is already here as asn_SEQUENCE_OF.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_SEQUENCE_OF.c is already here as asn_SEQUENCE_OF.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_SET_OF.h is already here as asn_SET_OF.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_SET_OF.c is already here as asn_SET_OF.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SEQUENCE_OF.h is already here as constr_SEQUENCE_OF.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SEQUENCE_OF.c is already here as constr_SEQUENCE_OF.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SET_OF.h is already here as constr_SET_OF.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SET_OF.c is already here as constr_SET_OF.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_application.h is already here as asn_application.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_application.c is already here as asn_application.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_ioc.h is already here as asn_ioc.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_system.h is already here as asn_system.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_codecs.h is already here as asn_codecs.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_internal.h is already here as asn_internal.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_internal.c is already here as asn_internal.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_random_fill.h is already here as asn_random_fill.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_random_fill.c is already here as asn_random_fill.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_bit_data.h is already here as asn_bit_data.h
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_bit_data.c is already here as asn_bit_data.c
File /Users/ur20980/src/asn1c-vlm/skeletons/OCTET_STRING.h is already here as OCTET_STRING.h
File /Users/ur20980/src/asn1c-vlm/skeletons/OCTET_STRING.c is already here as OCTET_STRING.c
File /Users/ur20980/src/asn1c-vlm/skeletons/BIT_STRING.h is already here as BIT_STRING.h
File /Users/ur20980/src/asn1c-vlm/skeletons/BIT_STRING.c is already here as BIT_STRING.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_codecs_prim.c is already here as asn_codecs_prim.c
File /Users/ur20980/src/asn1c-vlm/skeletons/asn_codecs_prim.h is already here as asn_codecs_prim.h
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_tlv_length.h is already here as ber_tlv_length.h
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_tlv_length.c is already here as ber_tlv_length.c
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_tlv_tag.h is already here as ber_tlv_tag.h
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_tlv_tag.c is already here as ber_tlv_tag.c
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_decoder.h is already here as ber_decoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/ber_decoder.c is already here as ber_decoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/der_encoder.h is already here as der_encoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/der_encoder.c is already here as der_encoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_TYPE.h is already here as constr_TYPE.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_TYPE.c is already here as constr_TYPE.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constraints.h is already here as constraints.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constraints.c is already here as constraints.c
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_support.h is already here as xer_support.h
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_support.c is already here as xer_support.c
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_decoder.h is already here as xer_decoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_decoder.c is already here as xer_decoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_encoder.h is already here as xer_encoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/xer_encoder.c is already here as xer_encoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/per_support.h is already here as per_support.h
File /Users/ur20980/src/asn1c-vlm/skeletons/per_support.c is already here as per_support.c
File /Users/ur20980/src/asn1c-vlm/skeletons/per_decoder.h is already here as per_decoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/per_decoder.c is already here as per_decoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/per_encoder.h is already here as per_encoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/per_encoder.c is already here as per_encoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/per_opentype.h is already here as per_opentype.h
File /Users/ur20980/src/asn1c-vlm/skeletons/per_opentype.c is already here as per_opentype.c
Symlinked /Users/ur20980/src/asn1c-vlm/skeletons/converter-example.c	-> converter-example.c
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_decoder.h is already here as oer_decoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_decoder.c is already here as oer_decoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/OPEN_TYPE.h is already here as OPEN_TYPE.h
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_encoder.h is already here as oer_encoder.h
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_encoder.c is already here as oer_encoder.c
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_support.h is already here as oer_support.h
File /Users/ur20980/src/asn1c-vlm/skeletons/oer_support.c is already here as oer_support.c
File /Users/ur20980/src/asn1c-vlm/skeletons/OPEN_TYPE_oer.c is already here as OPEN_TYPE_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_CHOICE.h is already here as constr_CHOICE.h
File /Users/ur20980/src/asn1c-vlm/skeletons/INTEGER_oer.c is already here as INTEGER_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/INTEGER.h is already here as INTEGER.h
File /Users/ur20980/src/asn1c-vlm/skeletons/OCTET_STRING_oer.c is already here as OCTET_STRING_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/NativeInteger_oer.c is already here as NativeInteger_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/NativeInteger.h is already here as NativeInteger.h
File /Users/ur20980/src/asn1c-vlm/skeletons/NativeEnumerated_oer.c is already here as NativeEnumerated_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/NativeEnumerated.h is already here as NativeEnumerated.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SEQUENCE_oer.c is already here as constr_SEQUENCE_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SEQUENCE.h is already here as constr_SEQUENCE.h
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_CHOICE_oer.c is already here as constr_CHOICE_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/constr_SET_OF_oer.c is already here as constr_SET_OF_oer.c
File /Users/ur20980/src/asn1c-vlm/skeletons/BIT_STRING_oer.c is already here as BIT_STRING_oer.c
Generated Makefile.am.targets
Generated Makefile.am.example
+ echo 'ASN.1 compiled OK'
ASN.1 compiled OK
+ '[' 0 '!=' 0 ']'
+ rm -f converter-example.c
+ ln -sf .././random-test-driver.c
+ echo 'CFLAGS+= -DASN1_TEXT='\''SEQUENCE OF BOOLEAN'\'''
+ echo 'ASN_PROGRAM = random-test-driver'
+ echo 'ASN_PROGRAM_SOURCES = random-test-driver.c'
+ echo
+ echo 'include Makefile.am.example'
+ echo
+ echo 'all-tests-succeeded: /Users/ur20980/src/asn1c-vlm/asn1c/asn1c $(ASN_PROGRAM_SOURCES) $(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)'
+ echo '	@rm -f $@'
+ echo '	@echo Previous try did not go correctly. To reproduce:'
+ echo '	@cat .test-reproduce'
+ echo '	@exit 1'
+ echo
+ echo 'Makefile.am.example -> Makefile'
Makefile.am.example -> Makefile
+ '[' 0 -ne 0 ']'
+ rm -f random-test-driver.o
+ rm -f random-test-driver
+ CFLAGS='-std=gnu99 -Wno-error=unused-variable  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdrnd -mrdseed -Os -Ofast -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99'
+ Make
+ /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 1
clang -std=gnu99 -Wno-error=unused-variable  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdrnd -mrdseed -Os -Ofast -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99 -DASN1_TEXT='SEQUENCE OF BOOLEAN'  -I. -o random-test-driver.o -c random-test-driver.c
clang -std=gnu99 -Wno-error=unused-variable  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdrnd -mrdseed -Os -Ofast -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99 -DASN1_TEXT='SEQUENCE OF BOOLEAN'  -I.  -o random-test-driver random-test-driver.o  libasncodec.a -lm
+ '[' 0 -ne 0 ']'
++ get_param RMAX 128 'T ::= SEQUENCE OF BOOLEAN -- RMAX=70000'
++ param=RMAX
++ default=128
++ asn='T ::= SEQUENCE OF BOOLEAN -- RMAX=70000'
++ nawk ''
++ AWK=awk
++ echo 'T ::= SEQUENCE OF BOOLEAN -- RMAX=70000'
++ awk 'BEGIN{FS="[^RMAX=0-9]+"};/RMAX=/{for(i=1;i<=NF;i++)if(substr($i,0,length("RMAX="))=="RMAX=")PARAM=substr($i,length("RMAX=")+1)}END{if(PARAM)print PARAM;else print "128";}'
+ rmax=70000
+ '[' 070000 -lt 1 ']'
+ echo 'Checking random data encode-decode'
Checking random data encode-decode
+ round_trip_check_cmd=' ./random-test-driver -s 70000  -c'
+ echo '(cd ".tmp.17-SEQUENCE-OF-bundle" && CC=clang CFLAGS="-std=gnu99 -Wno-error=unused-variable  -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow -fsanitize=nullability -fno-sanitize-recover=nullability -fno-omit-frame-pointer -fsanitize=address -fno-omit-frame-pointer -maes -mpclmul -msse2 -mssse3 -msse4 -msse4.2 -mrdrnd -mrdseed -Os -Ofast -Wall -Wcast-qual -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-error=attributes -Wno-error=cast-align -Wno-error=visibility -Wno-error=parentheses-equality -std=gnu99" /Applications/Xcode.app/Contents/Developer/usr/bin/make &&  ./random-test-driver -s 70000  -c)'
+ eval ' ./random-test-driver -s 70000  -c'
++ ./random-test-driver -s 70000 -c
Testing 100 iterations of round-trip for DER
[000] round-trip in 2 bytes OK
[001] round-trip in 37333 bytes OK
[002] round-trip in 69114 bytes OK
[003] round-trip in 65103 bytes OK
[004] round-trip in 104980 bytes OK
... and so on
OK 100 iterations of round-trip for DER
Testing 100 iterations of round-trip for OER
[000] round-trip in 2 bytes OK
[001] round-trip in 2 bytes OK
[002] round-trip in 44370 bytes OK
[003] round-trip in 2 bytes OK
[004] round-trip in 78934 bytes OK
... and so on
OK 100 iterations of round-trip for OER
Testing 100 iterations of round-trip for UPER
Decoding 64530 bytes of T yielded RC_FAIL after byte 0
Original random structure:
T ::= {

    PGU
    VRT

t.log.txt

asn1c regenerates T.c in a way that the change is invisible to the make. Therefore make doesn't recompile T.o, libasncodec.a, and the program itself.
Likely fixed in https://github.com/vlm/asn1c/commit/f22184d31ca3bc808cc156b47fd5320658623c66, please enjoy!

@vlm I'm afraid it's still a problem.
PASS: bundles/16-SEQUENCE-bundle.txt
FAIL: bundles/17-SEQUENCE-OF-bundle.txt
FAIL: bundles/19-SET-OF-bundle.txt
============================================================================
Testsuite summary for asn1c 0.9.29
============================================================================
# TOTAL: 19
# PASS:  17
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/tests-randomized/test-suite.log
Please report to<EMAIL_ADDRESS>============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2

Currently doing a "perfectly-clean" test-run (wiped out everything, fresh-cloned your master, started from scratch).

###Update 2
Ont he slowest machine it appears to work. On the fastest machine it still fails two last randomized tests consistently. On a moderately fast machine (on which I originally reported this) it just passed all the tests.

Hi @mouse07410,
https://github.com/vlm/asn1c/blob/f22184d31ca3bc808cc156b47fd5320658623c66/tests/tests-randomized/check-bundles.sh#L61
It seems that removing the T object file was not enough, change it to rm -f T.* || :  and try again.
Do you have ccache installed and do you use it?
If yes try to disable it with export CCACHE_DISABLE=1
P.S.
When you edit a comment the github does not send email notifications so the updates may pass unnoticed.

Hi, folks,
On my laptop, Ubuntu 17.10 run on i7-6700HQ, make check fails at test FAIL: bundles/05-BIT-STRING-bundle.txt.
The last lines of tests-suite.log before failure message :  https://gist.github.com/brchiu/c5d0309fbc0c54d49979daf15f7b1404
For your information.

It seems that removing the T object file was not enough, change it to rm -f T.* || : and try again.

@velichkov thank you - all tests passed on the fastest machine. Tomorrow will check on the other one.

@brchiu

On my laptop, Ubuntu 17.10 run on i7-6700HQ, make check fails at test FAIL: bundles/05-BIT-STRING-bundle.txt.

It seems awk substr is not fully compatible between various versions of awk, nawk, makw, gawk ...
Could you try with the following patch applied?
diff --git a/tests/tests-randomized/check-bundles.sh b/tests/tests-randomized/check-bundles.sh
index d3c7247b..ed05a922 100755
--- a/tests/tests-randomized/check-bundles.sh
+++ b/tests/tests-randomized/check-bundles.sh
@@ -146,7 +146,7 @@ get_param() {
         AWK=awk
     fi

-    echo "$asn" | ${AWK} "BEGIN{FS=\"[^${param}=0-9]+\"};/$param=/{for(i=1;i<=NF;i++)if(substr(\$i,0,length(\"${param}=\"))==\"${param}=\")PARAM=substr(\$i,length(\"${param}=\")+1)}END{if(PARAM)print PARAM;else print \"${default}\";}"
+    echo "$asn" | ${AWK} "BEGIN{FS=\"[^${param}=0-9]+\"};/$param=/{for(i=1;i<=NF;i++)if(substr(\$i,1,length(\"${param}=\"))==\"${param}=\")PARAM=substr(\$i,length(\"${param}=\")+1)}END{if(PARAM)print PARAM;else print \"${default}\";}"
 }

 # compile_and_test "<text>" "<where found>"

@mouse07410

thank you - all tests passed on the fastest machine. Tomorrow will check on the other one.

Great, but what about ccache?

@velichkov ,
Great ! After applying your patch, the very first time all these 19 randomized test cases pass on my laptop.
I check my system by update-alternative --list awk and it shows /usr/bin/mawk is used.
Thank you very much !   :smiley:

Great, but what about ccache?

Not used.
On the "main" macOS machine, it failed this morning. Same two last tests in the "randomized" bundle. I applied your AWK patch, and restarted.

On the "main" macOS machine, it failed this morning. Same two last tests in the "randomized" bundle. I applied your AWK patch, and restarted.
After restart, one last test fails:

Maybe we need to remove the libasncodec.a together with the T.* files because the T.o is actually added in the static lib. Could you try it?

Or better try to remove only the T.o and libasncodec.a because after removing the T.[ch] the code coverage decreased a little compared to the current master. https://coveralls.io/jobs/30766132/source_files/1958903183#L386

"Main" machine: tests pass successfully. Consistently. One more machine to go.

On the fastest machine: everything's fine. All tests pass successfully.
I think your fix is complete now.

Fixed, thank you!

Fix confirmed. Thanks!


add system alternatives evaluation

closes #95

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

#76  👈
#75
#73
#74
#70
#69
#67
main

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

Join @dyc3 and the rest of your teammates on  Graphite

Merge activity

May 11, 3:02 PM EDT: @dyc3 started a stack merge that includes this pull request via Graphite.


pip install mysql-python without installing complete mariadb package

mysql-python relies on mysql_config for its installation. Trying to pip install it without the complete mariadb package (where mysql_config is found https://pkgs.alpinelinux.org/contents?file=mysql_config&path=&name=&branch=edge&repo=main&arch=armhf), results on an error:
/app # pip install mysql-python
Collecting mysql-python
  Downloading MySQL-python-1.2.5.zip (108kB)
    100% |████████████████████████████████| 110kB 729kB/s
    Complete output from command python setup.py egg_info:
    sh: mysql_config: not found
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-GEIJC6/mysql-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GEIJC6/mysql-python

After installing mariadb-dev package (with mariadb as a dependency) it can find mysql_config and succesfully install mysql-python.
On other distros (debian based) its enought to install libmysqlclient-dev. I suggest to rethink the mariadb related package to allow the installation of python modules without the need to install the entire server. Thanks a lot!

Since this issue deals with packaging I think the alpinelinux irc channel or mailing list would be more helpful. You can find them at http://alpinelinux.org/community/.

Thanks, I have send an email to the devel mailing list.

apk add py-mysqldb

Thanks, I have send an email to the devel mailing list.

I searched this and for reference: http://lists.alpinelinux.org/alpine-devel/5358.html

Any updates on this ? looks like sill there's no way to get mysql-config without entire maria db ? I want to have an alpine image so that i can run django.. but i am unable to install mysqlclient package because it can not fund mysql-config

any new on this? still not able to install the mysql-client package without the full maria-db dependencies (500mb!!!).
furthermore, the apk --update add py-mysqldb before the pip requirement installation does not help me either.
thanks in advance

solution:
https://stackoverflow.com/questions/25682408/docker-setup-with-a-mysql-container-for-a-python-app
in 2 words:
Add apt-get install -y libmysqlclient-dev to your Dockerfile

@Bonus05 that does not work in Alpine.
@keyban I was able to work around it by doing something like this:
RUN apk --no-cache add --virtual build-dependencies \
      build-base \
      py-mysqldb \
      gcc \
      libc-dev \
      libffi-dev \
      mariadb-dev \
      && pip install -qq -r requirements.txt \
      && rm -rf .cache/pip \
      && apk del build-dependencies

RUN apk -q --no-cache add mariadb-client-libs

In the first step I install all the requirements I need for native python deps, then remove them. In the second step I install just mariadb-client-libs which has the files necessary for pip install mysql-python to work.

In Alpine 3.7, I found this was all I needed:
FROM python:3.6-alpine3.7

RUN apk add --no-cache mariadb-dev build-base

which brings in:
(1/26) Installing binutils-libs (2.28-r3)
(2/26) Installing binutils (2.28-r3)
(3/26) Installing gmp (6.1.2-r1)
(4/26) Installing isl (0.18-r0)
(5/26) Installing libgomp (6.4.0-r5)
(6/26) Installing libatomic (6.4.0-r5)
(7/26) Installing pkgconf (1.3.10-r0)
(8/26) Installing libgcc (6.4.0-r5)
(9/26) Installing mpfr3 (3.1.5-r1)
(10/26) Installing mpc1 (1.0.3-r1)
(11/26) Installing libstdc++ (6.4.0-r5)
(12/26) Installing gcc (6.4.0-r5)
(13/26) Installing musl-dev (1.1.18-r2)
(14/26) Installing libc-dev (0.7.1-r0)
(15/26) Installing g++ (6.4.0-r5)
(16/26) Installing make (4.2.1-r0)
(17/26) Installing fortify-headers (0.9-r0)
(18/26) Installing build-base (0.5-r0)
(19/26) Installing libressl2.6-libtls (2.6.3-r0)
(20/26) Installing libressl-dev (2.6.3-r0)
(21/26) Installing zlib-dev (1.2.11-r1)
(22/26) Installing mariadb-common (10.1.28-r1)
(23/26) Installing mariadb-client-libs (10.1.28-r1)
(24/26) Installing libaio (0.3.110-r1)
(25/26) Installing mariadb-libs (10.1.28-r1)
(26/26) Installing mariadb-dev (10.1.28-r1)

sudo apt install default-libmysqlclient-dev
this single line helped me only 5mb was used @lumberj @jhourlad

mariadb-client-libs doesn't do the trick anymore, but py-mysqldb does.

The command '/bin/sh -c apk --no-cache add --virtual build-dependencies       build-base       py-mysqldb       gcc       libc-dev       libffi-dev       mariadb-dev       && cd /webserver       && pip install --index-url  https://pypi.douban.com/simple -qq -r requirements.txt       && apk add --virtual .runtime-deps mariadb-client-libs       && apk del .build-deps' returned a non-zero code: 1

@M2shad0w use  3.4 <= alpine <= 3.7，there is no  “mariadb-client-libs" at apline 3.3 or 3.8
https://pkgs.alpinelinux.org/packages?name=mariadb-client-libs&branch=v3.7&arch=x86_64

for alpine v3.8
RUN apk add --no-cache mariadb-connector-c-dev ;\
    apk add --no-cache --virtual .build-deps \
        build-base \
        mariadb-dev ;\
    pip install mysqlclient;\
    apk del .build-deps

good


Migrate apps from default-apps-aws to cluster-aws chart

Motivation
In order to match the target state of our defined release framework we need to remove the use of the default-apps charts from all providers. Only then can we realise the single entrypoint to apply changes to a cluster for customers and reduce complexity in how and where our apps are managed.
Todo

[ ] Move all relevant, provider specific apps from default-apps-aws into the cluster-aws chart
[ ] Prepare the tests for this change - the change might/will be a breaking change for the test environment
[ ] Remove all migrated apps from default-apps-aws so that they are only used from cluster-aws chart
[ ] Clearify with Team Phoenix how to roll out the change on all CAPA Installations

Outcome

The complexity of where and how apps are managed is reduced since we now have all provider specific apps in just the cluster-aws chart

Closing this as we made it part of the "provider-independent apps in cluster-aws" PR, so this will get merged and releases together with the provider-independent part.


Feature request: Support for curtain switch _TZ3000_8kzqqzu4 TS130F

I'd like to see support for the curtain module _TZ3000_8kzqqzu4 / TS130F. (https://nl.aliexpress.com/item/4001190275372.html?spm=a2g0s.90423<IP_ADDRESS>424c4dAZyNS4)
I will also try to add support myself and open a PR if it works, however I might not succeed since I'm not a software engineer by any means :)
Output of the interview:
   "ids": {     "modelId": "TS130F",     "manufacturerName": "_TZ3000_8kzqqzu4"   },   "endpoints": {     "endpointDescriptors": [       {         "endpointId": 1,         "applicationProfileId": 260,         "applicationDeviceId": 514,         "applicationDeviceVersion": 0,         "_reserved1": 1,         "inputClusters": [           0,           10,           4,           5,           6,           258         ],         "outputClusters": [           25         ]       }     ],     "endpoints": {       "1": {         "clusters": {           "basic": {             "attributes": [               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 0,                 "name": "zclVersion",                 "value": 3               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 1,                 "name": "appVersion",                 "value": 68               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 2,                 "name": "stackVersion",                 "value": 0               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 3,                 "name": "hwVersion",                 "value": 1               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 4,                 "name": "manufacturerName",                 "value": "_TZ3000_8kzqqzu4"               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 5,                 "name": "modelId",                 "value": "TS130F"               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 6,                 "name": "dateCode",                 "value": ""               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 7,                 "name": "powerSource",                 "value": "mains"               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 65502               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65533,                 "name": "clusterRevision",                 "value": 1               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65534,                 "name": "attributeReportingStatus",                 "value": "PENDING"               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65504               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65505               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65506               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65507               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           },           "time": {             "attributes": [               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 7               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           },           "groups": {             "attributes": [               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 0,                 "name": "nameSupport",                 "value": {                   "type": "Buffer",                   "data": [                     0                   ]                 }               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65533,                 "name": "clusterRevision",                 "value": 1               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           },           "scenes": {             "attributes": [               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 0               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 1               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 2               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 3               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 4               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 65533,                 "name": "clusterRevision",                 "value": 1               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           },           "onOff": {             "attributes": [               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 20480               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 32769               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 16385,                 "name": "onTime",                 "value": 0               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 16386,                 "name": "offWaitTime",                 "value": 0               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           },           "windowCovering": {             "attributes": [               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 8,                 "name": "currentPositionLiftPercentage",                 "value": 3               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 61440               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 61441               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 61442               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 61443               },               {                 "acl": [                   "readable",                   "writable",                   "reportable"                 ],                 "id": 32768               }             ],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           }         },         "bindings": {           "ota": {             "attributes": [],             "commandsGenerated": "UNSUP_GENERAL_COMMAND",             "commandsReceived": "UNSUP_GENERAL_COMMAND"           }         }       }     }   }

PR's are always welcome, and don't be stressed about being new to this, if you try and don't get it 100% I'm still happy for any help! :)

Added to next release.


Handle tablets that have a hosting goal of never and WALs

If tablets have a hosting goal of never and also have write ahead logs, it could cause problems as outlined in the following comment.
https://github.com/apache/accumulo/issues/3844#issuecomment-1775767859

Is this somewhat of a duplicate of #3663  ?

Closed this because it was a duplicate of #3663


Error Installing Nvidia Apex

Processing /work/pi_adrozdov_umass_edu/akshatchhabr_umass_edu/TransCoder_Test/CodeGen/apex
  Running command python setup.py egg_info
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/work/pi_adrozdov_umass_edu/akshatchhabr_umass_edu/TransCoder_Test/CodeGen/apex/setup.py", line 130, in <module>
      _, bare_metal_version = get_cuda_bare_metal_version(CUDA_HOME)
    File "/work/pi_adrozdov_umass_edu/akshatchhabr_umass_edu/TransCoder_Test/CodeGen/apex/setup.py", line 17, in get_cuda_bare_metal_version
      raw_output = subprocess.check_output([cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True)
  TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

  torch.__version__  = 1.9.0+cu102

  Preparing metadata (setup.py) ... error
WARNING: Discarding file:///work/pi_adrozdov_umass_edu/akshatchhabr_umass_edu/TransCoder_Test/CodeGen/apex. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

After this error was resolved by using the cuda from unity, another issue occurred with gcc version
In file included from /modules/apps/cuda/10.1.243/include/cuda_runtime.h:83,
from :
/modules/apps/cuda/10.1.243/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
| ^~~~~
error: command '/modules/apps/cuda/10.1.243/bin/nvcc' failed with exit status 1

Finally, the errors got resolved by installing newer versions of pytorch, cuda and using Python 3.7.6 as mentioned in https://github.com/NVIDIA/apex/issues/1598#issuecomment-1445893243
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117
And using the below commands for apex installation worked
git clone https://github.com/NVIDIA/apex
cd apex
python setup.py install --cuda_ext


Another crosslinking and database partitioning issue?

Hi, I've noticed that when you adjust the database partition size, the number of identified inter and intra-protein crosslinks, above 1% FDR, increase 5-10 fold. My protein databases are fairly small, between 100-250 proteins, depending on the search. When using a database partition size of 1, the results are lackluster. Increasing the partition size to 2 brings the results closer in line with pLink2 and XlinkX. Increasing the partition size further doesn't have a significant impact on results when compared to a partition size of 2, until you get up to higher partitions like 25-50, which then results in a drop in crosslinks identified above 1% FDR.
For example, with an unenriched crosslink file, with all other parameters held constant (parameters aren't very stringent - 20 ppm precursor and product tolerance, 2 miss cleavages allowed, 2 variable mods, etc) I see the following:
Database partition  -  Inter  -    Intra     -   single -    loop -   deadend
1                         0             2         10150         72        822
2                       418         48         10067         77        814
3                       295         57         10094         79         819
5                       229         59         10112         81         836
25                        70         62         10208         107       845
With an enriched crosslink sample, the results are also very dramatic:
Database partition  -  Inter  -    Intra     -   single -    loop -   deadend
1                       8            846           101         781      2612
2                     1092      1300           91          803       2622
I appreciate any advise as to whether the results achieved with the increased partition size can be trusted based on q-value/score or if there is a bug that is artificially causing high scoring crosslinked peptide ids.

Thanks for providing the details of the issue. We are aware of the issue (#2039). We have a new update here which will solve this problem (#2084) in theory.
Still, your information is very valuable and I need to run some analysis to confirm it. I didn't expect the difference of database partition to cause such a big change of ids.
Please wait for more information and the update.

to clarify:

you get a different result now compared to earlier
now, when you change partitions, you get the same result each time. (I think this is the desired result, correct?)

Hi, yes, the results now are different than prior to the update.
Regarding question #2 - yes, the result stays the same when the partition is changed. However, this raises another question - were the prior results correct or are the current results correct or were they both correct? With the massive difference of 3,889 vs 38 inter-peptide crosslinks for just 1 experiment between the two updates, this seems like an important answer to know.

The results of our test case are also different from the results obtained with the previous version. However, they are not very different like yours.
I have no idea what happened. Do you mind sharing part of your data for us to analyze? It could help us to figure out a potential bug.

Sure. Is there an email that I can send a google drive link to?

Thank you very much! Please email to<EMAIL_ADDRESS>Please also include the .toml files you used for the current and previous versions.

Hi, I just wanted to double check that you were able to access the google drive files I sent. Please let me know if there are any other files that I can share to help with this issue!


RotatedMarker should use iconAnchor as transformOrigin

Hi! Sorry for the long wait, and thanks a lot for your contribution :)
You're right, it makes more sense to use iconAnchor as default for rotation origin.
Actually, it's been some time that I wanted to use my RotatedMarker lib as a dependency for PolylineDecorator. It already had support for custom rotation origin, and I've already improved it by porting your idea to it.
But it needs more work to be used here. So I'll merge your PR first to put your fix in master.

Great, thanks for merging :)


[WIP] PAPAG and SB3 benchmark against the same environment component

WIP, some notes:

I pinned the gym[atari]==0.19.0 requirement because later gym versions moved the Atari ROMs out of the package and into subordinate packages.  This complicates selecting a particular class to make into an environment component, so I'm just sidestepping this for now by requiring an earlier gym version.

I had to copy over some chunks of PAPAG code in example_agents/papag/agent.py and then modify it so that it would play nice with PCS.  That code is fairly complicated and I had to jump through some extra hoops to make serialization work as PAPAG expected.

SB3 is not fully ported yet, but PAPAG can play either Pong:

agentos run agent --entry-point learn --arg-set-file a2c_pong_args.yaml

or CartPole:
agentos run agent --entry-point learn --arg-set-file a2c_cartpole_args.yaml

Tests are broken because SB3 is not ported yet.

@andyk FYI, here's the work in progress for SB3 and PAPAG running against the same environment (Pong) component.  This should be working now, for PAPAG:
agentos run agent --entry-point learn --arg-set-file ppo_pong_args.yaml
agentos run agent --entry-point evaluate --arg-set-file ppo_pong_args.yaml

and for SB3
agentos run sb3_agent --entry-point learn
agentos run sb3_agent --entry-point evaluate

Closing; new WIP branch is nj_ilya_bench3


(HTTP code 400) bad parameter - Client sent an HTTP request to an HTTPS server.

I always run into this error when running npm run test
(HTTP code 400) bad parameter - Client sent an HTTP request to an HTTPS server.

      at node_modules/docker-modem/lib/modem.js:257:17
      at getCause (node_modules/docker-modem/lib/modem.js:287:7)
      at Modem.Object.<anonymous>.Modem.buildPayload (node_modules/docker-modem/lib/modem.js:256:5)
      at IncomingMessage.<anonymous> (node_modules/docker-modem/lib/modem.js:232:14)

I totally have no idea why.
a few info that may help
node: v10.16.1
Docker version 18.09.3, build 774a1f4eee -- using docker toolbox instead of desktop
cheers!

Hi @narraressan
Could you share some code which reproduces the issue? Are you able to start containers via the docker CLI? Also the stack trace is from docker modem, why is it an issue for testcontainers?


Hover Text component

Created hover text component: When the cursor is in the region of text, the cursor changes into a 'help' cursor (does not appear on screenshot below) and an additional text appears
Corrected a typo in an event emitted by Dropdown Text Box component

Hi Darren, summary of the comments from earlier.
I think it would be better to remove your dropdownText prop and replace with a named slot, because then the user can input whatever html they like in the the dropdown (or even markdown 👀 👀 )
Also would be nice to add a prop to control the delay between when the user mouse goes off the text to when the hover text begins to fade out.
Finally, worth checking if any mobile touch API events are worth listening to and geting some feedback from the rest of @Imperial-visualizations/core to ensure that they like the interaction on a mobile device?

Update:

Slots (named and unnamed) have been used where suitable
HoverText content follows cursor (see attached screenshots) - I would like anyone has the time to play with it to see if it truly follows your cursor without offset
All components that I have created, except HoverText, work well on my phone through local playground server

Looks good although I would remove the hoverreposition event since I don't think this would ever be useful.

Thanks for the feedback, Rob! I agree with you and have therefore removed the hoverrepostion event emitter.

Great work Darren!
There is only one small problem. When my cusor hovering on the hover element, a small question mark always appears next to it. Did you deliberately make this feature or it is some default settings?

Hey Freya,
Yes, the 'help' cursor is done on purpose since the component is meant to be explaining the main text. I thought that changing the cursor will make it more obvious that the extra text is an optional text.

Great work Darren!
There is only one small problem. When my cusor hovering on the hover element, a small question mark always appears next to it. Did you deliberately make this feature or it is some default settings?

Hey Freya,
Yes, the 'help' cursor is done on purpose since the component is meant to be explaining the main text. I thought that changing the cursor will make it more obvious that the extra text is an optional text.

I really like the idea of the 'help' cursor. However it is a bit confusing to show a question mark next to the cursor. Maybe you could make the change on the cursor itself, e.g. make its outer edge glow when hovering over the hover element? But this is more of a style thing, which we could always change it later.

The help cursor and event emitter have been removed


Fix Gen Class Without Any Properties

Change fix generate class without  Any Properties
syntax = "proto3";

message Hello {
  enum Type {
    UNKNOWN = 0;
    KNOWN = 1;
  }
  message SubHello {
    message HelloExtend {
      optional Type type = 1;
    }
    optional SubHello subHello = 1;
  }
}

Result
package testgen

import kotlinx.serialization.Serializable
import kotlinx.serialization.protobuf.ProtoNumber

@Serializable
public class Hello {
  @Serializable
  public data class SubHello(
    @ProtoNumber(number = 1)
    public var subHello: SubHello? = null,
  ) {
    @Serializable
    public data class HelloExtend(
      @ProtoNumber(number = 1)
      public var type: Type? = null,
    )
  }

  @Serializable
  public enum class Type {
    @ProtoNumber(number = 0)
    UNKNOWN,
    @ProtoNumber(number = 1)
    KNOWN,
  }
}

@Dogacel please help to take a look at my PR and let me know your thought!!
Thanks

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

@tamnguyenhuy
I have added some additional checks to make sure we generate the code. Also updated codecov to show coverage info.
I had to merge latest main into your PR to see those. Don't forget to fetch remote 😉


fix(apps/prod/tibuild): add tibuild in kustomization.yaml

It's wrong in #461: not enable in top kustomization.yaml file

/review default

/approve


Debian + MT + partial static linking

Bug Report
Crystal 1.5.0 [994c70b10] (2022-07-06) / LLVM: 10.0.0 Default target: x86_64-unknown-linux-gnu
I'm trying to link a C library (libxdo) statically, but keep the remaining ones dynamic. Specifying --static for this does not work because then the compiler forces static mode on all other C bindings and because I have no static builds for those, it fails. I think this is contrary to what the docs say.
However, I got it to work just fine by distinguishing with -Bstatic and -Bdynamic as follows, on Arch Linux:
CRYSTAL_LIBRARY_PATH="$PWD/static" shards build -Dpreview_mt --link-flags="-Wl,-Bstatic -lxdo -Wl,-Bdynamic -lxkbcommon -lXinerama -lXtst"

However, this fails pretty badly on Debian (using Docker):
Dependencies are satisfied
Building: ahk_x11
Error target ahk_x11 failed to compile:
/usr/bin/ld: G-C-.o: in function `set_stackbottom':
/usr/share/crystal/src/gc/boehm.cr:274: undefined reference to `GC_set_stackbottom'
/usr/bin/ld: G-C-.o: in function `current_thread_stack_bottom':
/usr/share/crystal/src/gc/boehm.cr:265: undefined reference to `GC_get_my_stackbottom'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /b/ahk_x11/bin/ahk_x11 -Wl,-Bstatic -lxdo -Wl,-Bdynamic -lxkbcommon -lXinerama -lXtst -lXi -rdynamic -L/b/ahk_x11/static -lxdo -lX11 -lgtk-3 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lpcre -lm -lgc -lpthread -levent_pthreads -levent -levent -lrt -lpthread -ldl`

Adding those link flags also required me to install libgc-dev for some reason.
Am I doing something wrong? This stack trace makes me assume it's not my fault. Thanks!
Edit: Due to the nature of this problem this can't be reproduced in a few seconds. If necessary, I can build a small setup bash script?

Looks like you're linking against an older version of libgc that doesn't have GC_set_stackbottom. That's a relatively new addition, pushed forward specifically for Crystal's use case. The library in our distribution packages usually includes that function.
In order to link a library statically, you just need to have a static version of the library available and tell the linker to prefer that over the dynamic one. If both are on the same directory, ld prefers the dynamic lib.
An easy way to achieve that is to put attic libraries in a dedicated path and prepend that to the library path lookup.
Then the linker should pick the static libraries before even looking at the dynamic ones.

Oh that's interesting. Indeed, it works, with a more recent gc version.
Thanks for your help regarding linking, you're right, -Bstatic and -Bdynamic wasn't actually necessary. libxdo.a is in static, so it would be enough to run CRYSTAL_LIBRARY_PATH="$PWD/static" shards build -Dpreview_mt.
However, as libxdo has dependencies too and these should be dynamically linked (xinerama,xkbcommon,xst,xi), I needed to specify them too, by adding the link-flags. And this
 CRYSTAL_LIBRARY_PATH="$PWD/static" shards build -Dpreview_mt --link-flags="-lxdo -lXinerama -lxkbcommon -lXtst -lXi"

still fails with the GC_set_stackbottom error from above, so apparently those link flags mess up the shipped Crystal GC function linking? 🤔
I have been able to work around this by statically linking a custom local build of libgc.a as well. Is this the right approach?

With overwriting CRYSTAL_LIBRARY_PATH the linker can't find the bundled version of libgc. This path is baked into the compiler's default value for that variable (cf crystal env CRYSTAL_LIBRARY_PATH).
So now the linker just looks in your regular lib paths and only finds some older version of the library.
In stead of overwriting CRYSTAL_LIBRARY_PATH you probably want to just pass another path to the linker with --link-flags="-L$PWD/static".

Neat, that works! Should we briefly document the danger of overwriting CRYSTAL_LIBRARY_PATH in guides/static_linking.html? I can send in a short PR if you want.
Either way, thanks again for your help :-)


media_player.play_media for Plex broken (again)

Home Assistant release with the issue:

0.103.4
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io
Integration:

https://www.home-assistant.io/integrations/plex/

Description of problem:
Calling media_player.play_media with any plex entity:
{
  "entity_id": "media_player.plex_living_room",
  "media_content_id": "{\"libary_name\":\"Music\",\"artist_name\":\"Zomby\",\"shuffle\":\"0\",\"album_name\":\"Dedication\",\"track_name\":\"Witch Hunt\"}",
  "media_content_type": "MUSIC"
}

Expected result: plays or gives a helpful error
Actual result:

Call-service API error. Error Message: 'NoneType' object has no attribute 'lower'

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
(Used integrations UI in the Configuration section of HA)
NOTE: Yes, the lovelace media player cards work as expected showing currently playing and are able to play/pause/etc.
Traceback (if applicable):
2019-12-26 20:35:08 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2972171472] 'NoneType' object has no attribute 'lower'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 360, in _handle_service_platform_call
    await func(entity, data)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/plex/media_player.py", line 600, in play_media
    media = self._get_music_media(library, src)
  File "/usr/src/homeassistant/homeassistant/components/plex/media_player.py", line 630, in _get_music_media
    artist = self.plex_server.library.section(library_name).get(artist_name)
  File "/usr/local/lib/python3.7/site-packages/plexapi/library.py", line 53, in section
    if section.title.lower() == title.lower():
AttributeError: 'NoneType' object has no attribute 'lower'

Additional information:

If the media_content_id is as you pasted it, the "library_name" key was misspelled as "libary_name".

Wow that looks like it.
Can I feature request to be able to send actual JSON as the media_content_id value, have it verified, then stringified before sending to Plex? That would help avoid this really cryptic error.

Yes, improving this call (and its documentation) is towards the top of my list of things to improve with the integration.
As a minor stopgap for now, you can enclose the media_content_id JSON payload in single quotes to avoid the need to escape the double quotes. Makes it marginally easier to read.


Implement Visual Feedback Mechanisms for Long-Running Operations in finesse-frontend

In scenarios where users encounter long-running operations (like extensive document searches or data processing tasks), there's a need for effective visual feedback mechanisms. This issue aims to address this by introducing visual indicators that inform users of ongoing processes, enhancing the overall user experience.
Objective

To provide clear and immediate visual cues to users during long-running operations.
To prevent confusion or the perception that the application has become unresponsive.

Suggestions

Loading Indicators: Implement a general-purpose loading indicator (such as a spinner or progress bar) that can be activated during any long-running operation.

Context-Specific Animations: Use subtle animations or graphics that are specific to the operation being performed (e.g., a magnifying glass animation for searches).

Placeholder Content: Use skeleton screens or placeholder content to give an impression of the forthcoming data or results.

Expected Outcome
With the implementation of these visual feedback mechanisms, users should feel more informed and comfortable during waiting periods, leading to a better perception of the application's performance and responsiveness.

just note that ultimately, @melanie-fressard needs to get the search query to complete in less than half a second (for at least 10 results). same requirement across the board for any user interaction. So I'm not keen on implementing mechanism to have wait. With public search engine, search is instantaneous.


Letcode workspace - Frame automation

Automation testing for the following url: https://letcode.in/frame
Tasks for this page:

[ ] Enter full name
[ ] Enter email


Skipping X messages

Hello. Thank you for your hard work on developing this. i have a Question, How can i delete all messages with no Skipped messages?
i mean i don't want to skip any message but it says the skipped messages number must be higher than 3. and when i write no number(after that coma) it automatically skip 10 last messages.
i'll be happy if you give me the code to unsend all the messages and Don't skip a single one

If you dont want to skip any recent messages, not even 3 then do write 4 into that,
And start unsending.
After everything completes, you can skip 4 messages manually with human hands, that is not a big task.
But, good news is I am working on this to allow 0 messaages also to be skipped, but that would take couple of weeks, because its tough to maintain something for free so I work in my leisure time only on this.


Play all from search results doesn't do anything

Hi there!
If I click "Play all" from the search results playlist is being cleared and nothing being played. "Add to queue" and "Shuffle & Play All" works correctly.

Hi,
Thanks again for the bug report.
I just released v0.0.17 with that fix and some other small stuff.

Hi! Thanks! fixed!