Preset dropdown has white text on white background

I wasn't able to quickly find it in the code base -- but if it isn't resolved by tomorrow I'll submit a PR. However, the preset menu color is the same as the background color. Images below. I would recommend color: #212224; or something similar to the menu color.
Original:

Recommendation:

Hey
That is an issue that comes from https://github.com/pmndrs/leva that's why you couldn't find it in the code.

I use leva in personal projects and don't have this issue. This is how it looks in the leva storybook:

I imagine there is something in the market implementation causing this?

seems to be resolved with #86

This issue is not resolved on my end, tested on that preview deploy as well as the main URL in Firefox and Edge. Still white text on white background.

Ahhh my bad, I did not test those browsers.. thanks for the catch!
It might be tailwind messing with leva, I'll investigate it


Support SSL_OP_CLEANSE_PLAINTEXT on QUIC streams

Checklist

[x] documentation is added or updated
[x] tests are added or updated

Fixes openssl/project#46

@paulidale one more fixup was needed.

Merged after resolving trivial conflict in quic_impl.c. Thank you for the reviews.


TypeError: useRef$1 is not a function

Description of the bug
I get that error whenever I put a  component in my code. I do not get the error then that component is not there.
Screenshots

what's your react version? is your react support hooks? 16.8

My react version is 16.6.3.
Should I upgrade it to 16.8?

https://github.com/kesne/with-react-hooks
I've tried to make it support hooks with that but it does not seem to work

@JonathanStefanov yeah I think you need to upgrade your React to 16.8
otherwise, you can use the older version 2.x

going to close this issue, feel free to reopen if you still have questions around it.


WP-CLI server issues

Submit a feature request or bug report

[x] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[x] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and followed them (if applicable)

Replace any X with your information.

What is the current behavior?
When running the site locally via WP-CLI server (i.e.: wp server --host=localhost --port=8080 --config=wp-cli.yml) all paths and links are broken.
What is the expected or desired behavior?
In typical Wordpress installs the wp server enables you to serve Wordpress locally without touching your vhost or apache.

Bug report
(delete this section if not applicable)
Please provide steps to reproduce, including full log output:

With WP-CLI installed setup your Bedrock project all the way to step three

You'll need to set WP_HOME to http://localhost:8080
Also us WP-CLI to install Wordpress like so: wp core install --url=localhost --title=Site --admin_user=YOURADMIN --admin_password=YOURPASS<EMAIL_ADDRESS>

Instead of setting your site vhost, as you would do in step 4, run wp server

The site should run with all links broke (screenshot attached).
Please describe your local environment:
Bedrock version: latest
WordPress version: 4.8.0
PHP version: 7.0.2
OS: Mac OS Sierra
Where did the bug happen? Development or remote servers?
Development
Is there a related Discourse thread or were any utilized (please link them)?
None

Other relevant information:
WP-CLI documentation: https://developer.wordpress.org/cli/commands/server/

Ha! It looks like you can get WP-CLI working if you update the path in your wp-cli.yml file. When I set my path to path: web then run wp server everything works.

I could PR this if you want.

Bedrock requires it as web/wp for other contexts as far as I'm aware. Unless WP-CLI got smarter about it?

Like swalkinshaw pointed out, path needs to be set to the WP folder. Perhaps try adding --docroot=web to the wp server command

I can confirm that --docroot=web resolves this issue.

Being on this issue today I'd like to share that wp-cli.yml could be configured like
path: web/wp

server:
  docroot: web

and this way you can invoke a clean wp server command w/o other worries.
Since my dev workflow requires me to lay in the theme directory, I've put on a tricky but functional way: inside theme's folder I have another wp-cli.yml like this:
server:
  docroot: ../../../ # this is the web/ directory

_:
  merge: true
  inherit: ../../../../wp-cli.yml # This is bedrock's root wp-cli.yml

Awful but solid.


Streaming support?

Are there plans to support streaming responses from the API?

I've heard there are plans, but I don't have a concrete timeline.

Ack, I'll let you know if I hear anything concrete.

My 2 cents: Since OpenAI supports streaming and now ElevenLabs supports streaming audio I think this feature is needed.

+1 on this we're trying to add Palm to LiteLLM

Any news?

Implemented with Gemini - see package version 0.3.0.


Refactor CompletionCondition

This issue is listed under #4.
CompletionCondition is intended to enable decision-making based on the relative likelihoods of a set of possible text completions. This is supposed to be a kind of natural language branching.
Right now, CompletionCondition performs two logically-distinguishable tasks: It takes as input a prefix and possible completions, computes probabilities, and then uses those probabilities as input to a "success function" that decides how to branch.
With the new HFLM backend, the first task currently performed by CompletionCondition can be handled by the node that performs the loglikelihood operation. The CompletionCondition node should be simplified and refactored to focus on performing the "multiple choice" selection operation.

Closed by #20.


Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set

Description
Lots more work in here than originally planned:

Update how we manage dynamic properties, moving away from the topic/payload structure we'd previously defined whereby topic had to be ui-property:<property> - this was limiting to a single property each message, and prevented the use of topic for other functionality.
Updated all documentation to reflect the widgets that support dynamic classes, for both online docs and in-editor docs
Fix dynamic classes on all layouts for all widgets
Ensure the statestore is properly updated when dynamic properties are set, and that the returned .state object in a Widget is accurate, and not a hardcoded set of defaults
Update in-Editor help tooltip for dynamic class
Add in tests (and ensure support) for dynamic disabled/enabled widget states

Related Issue(s)
Closes #259
Closes #352
Checklist

[x] I have read the contribution guidelines
[x] Suitable unit/system level tests have been added and they pass

This update seems to have broken things and I can't make the dynamic properties work either :-(
Broken:
I was using a number of Vuetify widgets, now almost all do not display

This is how it looks now

Unfortunately I do not have a before image so I have to describe -
At the bottom of each group should be a vuetify text box for entering a date and time with a 'Clear' icon to the left and a 'Search' icon to the right. Now all we see is the 'Clear' icon. The rest appears to be awol, not just hiding, as I cannot find the associated text in the html while I can find the text for the 'Clear icon'
The ASP usage group should display a vuetify circular progress bar. Now all we see is the numeric component of this - '72'
The html for this group is below, in the image for the text field properties

Trying to make the new control work
A text field, with dynamic properties, that was previously displaying correctly.

I changed the code to set msg.class instead of msg.payload and msg.topic
The code appears to be working because I see my class 'nr-metric-RED' in the HTML after other class names
But the text is not red
Here is what I see in the inspect window

Thanks for your help
Colin

Hi @colin-grierson - so sorry for the inconvenience. I'm not working today, but at least wanted to do some information gathering before I work on this properly tomorrow.
Were the ui-template elements ever driven by dynamic visibility from your code at all?
For the dynamic class, am I right in saying that the CSS class is being added, but your custom CSS definitions are not being loaded at all?
These do have a common feature... the ui-template node.

DO you see anything in the "Console" Tab of the developer tools, or in the Node-RED logs when you first start Node-RED?

A quick test flow for the dynamic classes that's working for me in a new NR instance and with 0.11.6:
[
    {
        "id": "217f5470279801a8",
        "type": "ui-template",
        "z": "9392247661c4fd86",
        "group": "",
        "page": "",
        "ui": "ac76fc604d0aa66e",
        "name": "",
        "order": 0,
        "width": 0,
        "height": 0,
        "head": "",
        "format": ".test-class .nrdb-ui-text {\n    color: red;\n}",
        "storeOutMessages": true,
        "passthru": true,
        "resendOnRefresh": true,
        "templateScope": "site:style",
        "className": "",
        "x": 140,
        "y": 60,
        "wires": [
            []
        ]
    },
    {
        "id": "81e6cfc8ef2f900e",
        "type": "ui-text",
        "z": "9392247661c4fd86",
        "group": "913bf6dec8b2a204",
        "order": 0,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "text",
        "format": "{{msg.payload}}",
        "layout": "row-spread",
        "style": false,
        "font": "",
        "fontSize": 16,
        "color": "#717171",
        "className": "",
        "x": 310,
        "y": 140,
        "wires": []
    },
    {
        "id": "593c64c94aeae2f2",
        "type": "inject",
        "z": "9392247661c4fd86",
        "name": "",
        "props": [
            {
                "p": "class",
                "v": "test-class",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 130,
        "y": 140,
        "wires": [
            [
                "81e6cfc8ef2f900e"
            ]
        ]
    },
    {
        "id": "913bf6dec8b2a204",
        "type": "ui-group",
        "name": "Dynamic Class on UI Text",
        "page": "b06261546cb829cb",
        "width": "6",
        "height": "1",
        "order": -1,
        "showTitle": true,
        "className": "",
        "visible": "true",
        "disabled": "false"
    }
]

can you import that and try it out please? You will need to assign the group to a page within your Dashboard

Hi Joe
Don’t stress about this on my behalf, for me this is a research and learning project when I have time available. Not mission critical.
Was I using dynamic properties before – yes, controlling the colour of text elements. I was waiting for the fix to dynamic properties on buttons so I could replace my text boxes with buttons and gain an extra control function without taking more space.
… customer CSS definitions not loaded at all?  Correct, at least I tried but could not find them – it’s possible I did not know where to look.
Thanks again
Colin
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Monday, January 22, 2024 9:21 PM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
Hi @colin-griersonhttps://github.com/colin-grierson - so sorry for the inconvenience. I'm not working today, but at least wanted to do some information gathering before I work on this properly tomorrow.
Were the ui-template elements ever driven by dynamic visibility from your code at all?
For the dynamic class, am I right in saying that the CSS class is being added, but your custom CSS definitions are not being loaded at all?
These do have a common feature... the ui-template node.
—
Reply to this email directly, view it on GitHubhttps://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1903471376, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3QPHNZVASMFESVTMVNTITYPYOQBAVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGQ3TCMZXGY.
You are receiving this because you were mentioned.Message ID: @.***>

The console messages appeared normal. I did not look in the “Console” tab of the developer tools… If you want me to do this please tell me where it is.
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Monday, January 22, 2024 9:25 PM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
DO you see anything in the "Console" Tab of the developer tools, or in the Node-RED logs when you first start Node-RED?
—
Reply to this email directly, view it on GitHubhttps://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1903476654, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3QPHMQDXRVEHGPU4KZKHLYPYO5LAVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGQ3TMNRVGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Will do when I am at work tomorrow. 1am and bedtime here now – your messages are worth staying up a bit later for 😊
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Monday, January 22, 2024 9:37 PM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
A quick test flow for the dynamic classes that's working for me in a new NR instance and with 0.11.6:
[
{

    "id": "217f5470279801a8",

    "type": "ui-template",

    "z": "9392247661c4fd86",

    "group": "",

    "page": "",

    "ui": "ac76fc604d0aa66e",

    "name": "",

    "order": 0,

    "width": 0,

    "height": 0,

    "head": "",

    "format": ".test-class .nrdb-ui-text {\n    color: red;\n}",

    "storeOutMessages": true,

    "passthru": true,

    "resendOnRefresh": true,

    "templateScope": "site:style",

    "className": "",

    "x": 140,

    "y": 60,

    "wires": [

        []

    ]

},

{

    "id": "81e6cfc8ef2f900e",

    "type": "ui-text",

    "z": "9392247661c4fd86",

    "group": "913bf6dec8b2a204",

    "order": 0,

    "width": 0,

    "height": 0,

    "name": "",

    "label": "text",

    "format": "{{msg.payload}}",

    "layout": "row-spread",

    "style": false,

    "font": "",

    "fontSize": 16,

    "color": "#717171",

    "className": "",

    "x": 310,

    "y": 140,

    "wires": []

},

{

    "id": "593c64c94aeae2f2",

    "type": "inject",

    "z": "9392247661c4fd86",

    "name": "",

    "props": [

        {

            "p": "class",

            "v": "test-class",

            "vt": "str"

        }

    ],

    "repeat": "",

    "crontab": "",

    "once": false,

    "onceDelay": 0.1,

    "topic": "",

    "x": 130,

    "y": 140,

    "wires": [

        [

            "81e6cfc8ef2f900e"

        ]

    ]

},

{

    "id": "913bf6dec8b2a204",

    "type": "ui-group",

    "name": "Dynamic Class on UI Text",

    "page": "b06261546cb829cb",

    "width": "6",

    "height": "1",

    "order": -1,

    "showTitle": true,

    "className": "",

    "visible": "true",

    "disabled": "false"

}

]
can you import that and try it out please? You will need to assign the group to a page within your Dashboard
—
Reply to this email directly, view it on GitHubhttps://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1903493827, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3QPHMOXGM43ZR6IPAF6WDYPYQJ5AVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGQ4TGOBSG4.
You are receiving this because you were mentioned.Message ID: @.***>

Which version of Node-RED are you using @colin-grierson?
Can you try a method I've proposed here please: https://discourse.nodered.org/t/dashboard-2-ui-template-config-error/84785/4?u=joepavitt
Appreciate it'll be a pain with lots of ui-template nodes, but want to check if that is the same issue.

Hi Joe
Sorry I was not quicker to get to do this.

     Your example works

     Your template has been loaded into the heading section of the html – I do not see my template there

     Why does the class definition in the template have two names – ‘.test-class’ and ‘.nrdb-ui-text’?

My class definitions have just one name, for example ‘.nr-metric-RED’

     ‘nrdb-ui-text’ appears in the html for each text widget?

I changed my style template to have two class names as in your example, deployed and now see colour :-)

     My template is now present in the HTML

     This seems to mean we may have to define a style multiple times, once for every widget type it is used on. Not elegant – but certainly can be lived with.

The vuetify widgets still do not appear – moving to your second email now
Cheers, Colin
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Monday, January 22, 2024 9:37 PM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
A quick test flow for the dynamic classes that's working for me in a new NR instance and with 0.11.6:
[
{

    "id": "217f5470279801a8",

    "type": "ui-template",

    "z": "9392247661c4fd86",

    "group": "",

    "page": "",

    "ui": "ac76fc604d0aa66e",

    "name": "",

    "order": 0,

    "width": 0,
    "height": 0,

    "head": "",

    "format": ".test-class .nrdb-ui-text {\n    color: red;\n}",

    "storeOutMessages": true,

    "passthru": true,

    "resendOnRefresh": true,

    "templateScope": "site:style",

    "className": "",

    "x": 140,

    "y": 60,

    "wires": [

        []

    ]

},

{

    "id": "81e6cfc8ef2f900e",

    "type": "ui-text",

    "z": "9392247661c4fd86",

    "group": "913bf6dec8b2a204",

    "order": 0,

    "width": 0,

    "height": 0,

    "name": "",

    "label": "text",

    "format": "{{msg.payload}}",

    "layout": "row-spread",

    "style": false,

    "font": "",

    "fontSize": 16,

    "color": "#717171",

    "className": "",

    "x": 310,

    "y": 140,

    "wires": []

},

{

    "id": "593c64c94aeae2f2",

    "type": "inject",

    "z": "9392247661c4fd86",

    "name": "",

    "props": [

        {

            "p": "class",

            "v": "test-class",

            "vt": "str"

        }

    ],

    "repeat": "",

    "crontab": "",

    "once": false,

    "onceDelay": 0.1,

    "topic": "",

    "x": 130,

    "y": 140,

    "wires": [

        [

            "81e6cfc8ef2f900e"

        ]

    ]

},

{

    "id": "913bf6dec8b2a204",

    "type": "ui-group",

    "name": "Dynamic Class on UI Text",

    "page": "b06261546cb829cb",

    "width": "6",

    "height": "1",

    "order": -1,

    "showTitle": true,

    "className": "",

    "visible": "true",

    "disabled": "false"

}

]
can you import that and try it out please? You will need to assign the group to a page within your Dashboard
—
Reply to this email directly, view it on GitHubhttps://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1903493827, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3QPHMOXGM43ZR6IPAF6WDYPYQJ5AVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGQ4TGOBSG4.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Joe
Dashboard V2 version? I loaded the latest version on Monday, 0.11.6
Can you try a method I've proposed here?

Alas, still no widget … actually not true – a small part of the widget appears
Here is the definition of the circular progress bar

This is what makes it to the HTML, just a grid and the numeric value  - 72%

     <div data-v-fc34581d="" id="nrdb-ui-widget-50df2acad2995251" class="nrdb-ui-widget nrdb-ui-template" style="display: grid; grid-template-rows: repeat(5, minmax(45px, auto)); grid-column-end: span 5;">72 % </div>

Here is the definition of my response widget, which should have: A reset button, An ignore until date/time entry box and An investigate button. Only the reset button appears on the dashboard now.

This is what I see in the HTML

v-tooltip-114 is defined later as ‘Clear status’
I’m guessing that whatever prevented my template from being loaded when the widget class name was not present is also preventing the vuetify templates from loading properly
You say “I'm needing to over-define the scope with: .test-class .nrdb-ui-text { ... } so that it overrides the underlying Vuetify class… so shouldn't have been different”  But what I seem to be seeing is without the widget class name the template is not being copied to the HTML at all
Regards, Colin
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Wednesday, January 24, 2024 12:26 AM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
Which version of Node-RED are you using @colin-griersonhttps://github.com/colin-grierson?
Can you try a method I've proposed here please: https://discourse.nodered.org/t/dashboard-2-ui-template-config-error/84785/4?u=joepavitt
Appreciate it'll be a pain with lots of ui-template nodes, but want to check if that is the same issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1905840802, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3QPHKPSXMGTECHFUOIWXDYP6M5NAVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBVHA2DAOBQGI.
You are receiving this because you were mentioned.Message ID: @.***>

Dashboard V2 version? I loaded the latest version on Monday, 0.11.6

Hoping to find out which version of Node-RED you're running actually, was chatting with Nick yesterday about these ui-template problems, and there seems to be a verification bug in 3.1.3 that is causing us some grief.

Here is the definition of the circular progress bar

Very odd indeed, I copied that example exactly, and tried it out:

Wait, no I didn't copy it exactly, I surrounded it in <template><!-- your content here --></template> which is prescribed in the docs
If I remove the <template/> then I see the exact same behaviour as you do.
Not sure which version you were updating from? I think we used to support it without <template> back in 0.9.x, but when I introduced the new ui-template structure, and the ability to define a full Vue component, it required the <template>, although I have to confess I thought it should have still worked without.

To address this too:

Why does the class definition in the template have two names – ‘.test-class’ and ‘.nrdb-ui-text’? My class definitions have just one name, for example ‘.nr-metric-RED’. I changed my style template to have two class names as in your example, deployed and now see colour :-)

In CSS you can define different layers of style, for example:
.my-class p {
   color: blue;
}```

would apply to all `<p>` elements inside your `.my-class`. Because it has two layers of depth to it's definition, if any styles clash, for example there was also a:

```css
p {
   color: red;
}

Then the "most defined" class wins - in this case, the paragraphs would render blue.
Vuetify, the library we are using to render a lot of our components provides a base set of styles and definitions, when we inject our own classes, we are actually injecting them into the parents of the widgets, not the widgets themselves, hence to need to "over define".
The more I think about it though, even though this will be more painful from a development effort, having to over-define is not intuitive at all, and will undoubtedly cause more headaches in the future for others. I'll see if I can fix that today.

Hi Joe
Thanks again for your help. I agree with your decision on the CSS class names, much better not having to add a magic ingredient. I also see ui-control is now available – cool! I’d been waiting for this :-)

I added  to my templates and now the widgets display :-)
Should is add  to my style templates?

     Appears not, the editor shows an error and if I implement anyway – it is weird. My RED text class does not work – but subsequent classes do??? Sometimes not all classes in the template get found…

I am using N-R v 3.1.0

I want to highlight things that require attention on my dashboard. Ideally this would be a dynamic control affecting the group name for the group displaying the particular attribute but we don’t have dynamic controls for this – or do we?

     When I display the manual for ui-group I see “If a Class is specified, it will be added to the parent card. This way you can style the card and the elements inside it with custom CSS. The Class can be set at runtime by setting a msg.className string property.” But there is no dynamic class icon and the help on your website (https://dashboard.flowfuse.com/nodes/config/ui-group.html) does not mention dynamic classes. Which is correct?

I have text widgets as my group headings as I can highlight them when required. I want a button to provide a reload function. It may as well also be the heading to reduce the number of items displayed and size required. But the Dynamic CSS that works for text widgets is not working for Buttons. Everything seems to be okay to me, but our class does not appear in the inheritance list for the button text properties.
In my template I have:
.nr-metric-RED .nrdb-ui-text {
color: Black !important;

background-color:Tomato !important;

font-size: 1.25rem;

nr-metric-RED .nrdb-ui-button {
color: Black !important;

background-color:Tomato !important;

font-size: 1.25rem;

This works for the text widgets but not the buttons. Inspecting the HTML I see

     The template

/* Red, Orange and "Green" styles for highlighting where an issue exists - text widgets */
.nr-metric-RED .nrdb-ui-text {
color: Black !important;

background-color:Tomato !important;

font-size: 1.25rem;

}
.nr-metric-ORANGE .nrdb-ui-text {
color: Black !important;

background-color:Orange !important;

font-size: 0.75rem;

}
.nr-metric-NORMAL .nrdb-ui-text {
background-color:White !important;

}
/* Red, Orange and "Green" styles for highlighting where an issue exists - buttons */
.nr-metric-RED .nrdb-ui-button {
color: Black !important;

background-color:Tomato !important;

font-size: 1.25rem;

}
.nr-metric-ORANGE .nrdb-ui-button {
color: Black !important;

background-color:Orange !important;

}
.nr-metric-NORMAL .nrdb-ui-button {
background-color:White !important;

}

     For my text widget

ASP Usage

     For my button much the same

Jobs Waiting on Message Reply
Looking at the attribute inheritance for the Text widget text I see our class
.nr-metric-RED .nrdb-ui-text {
color: Black !important;

background-color: Tomato !important;

font-size: 1.25rem;

}
Looking at the attribute inheritance for the button text - our classes are not in the list

Getting even further into CSS. Tell me to RTFM if you want.
Specifying a custom class for the button works – but only partly… I don’t seem to be able to control text size.

o   .nr-metric-button-heading {
justify-self: left;

font-size: 1.25rem !important;

}
Looking at the inheritance I see
o   .nr-metric-button-heading {
justify-self: left;

font-size: 1.25rem !important;

}
Justify takes effect but font-size does not. Earlier in the inheritance chain I see

       .v-btn--size-default {

--v-btn-size: .875rem;
--v-btn-height: 36px;
font-size: var(--v-btn-size);
min-width: 64px;
padding: 0 16px;

}
The –v-btn-size spec here takes precedence – even though this is only a ‘default’. Specifying -v-btn-size in my class does not help either, not even with !important. If in the browser styles I disable .v-btn--size-default { --v-btn-size: .875rem;  then I see my control take effect, so the problem is precedence not that my control is faulty.

Problem with UI-Control
… Nope, my problem. I loath case sensitive systems – why make it so easy to make hard to spot errors? Took me 20 minutes :-( It seems a very bad decision to me. You don’t need to answer this one!
I want to automatically switch to a new page if a user clicks the ‘Investigate’ button. On the new page I have a button to return to the front page. The first worked, the second did not. Investigate…

       This two line function works

msg.payload = {"page":"IBMi Status Dashboard"};
return [msg];

       This button does not

@.***

       Debug 50 is from the button – and does not work. Debug 52 is from the function – and does work

@.***
Sorry to be a pain
Cheers, Colin
Colin Grierson | Development & Integration Consultant
Systems Advisory Services
520 Great South Road, Greenlane, Auckland, New Zealand | PO Box 17‑268 Greenlane
Phone +64 9 525 7353
| DDI  +64 9 580 8745
| Email  @.***| Web  www.sasit.co.nz
We develop, integrate and manage mission critical systems
From: Joe Pavitt @.>
Sent: Wednesday, January 24, 2024 8:37 PM
To: FlowFuse/node-red-dashboard @.>
Cc: Colin Grierson @.>; Mention @.>
Subject: Re: [FlowFuse/node-red-dashboard] Dynamic Properties - Ensure consistency on how dynamic classes (and other props) are set (PR #497)
To address this too:
Why does the class definition in the template have two names – ‘.test-class’ and ‘.nrdb-ui-text’? My class definitions have just one name, for example ‘.nr-metric-RED’. I changed my style template to have two class names as in your example, deployed and now see colour :-)
In CSS you can define different layers of style, for example:
.my-class p {
color: blue;
}```
would apply to all <p> elements inside your .my-class. Because it has two layers of depth to it's definition, if any styles clash, for example there was also a:

p {

   color: red;

}

Then the "most defined" class wins - in this case, the paragraphs would render blue.

Vuetify, the library we are using to render a lot of our components provides a base set of styles and definitions, when we inject our own classes, we are actually injecting them into the parents of the widgets, not the widgets themselves, hence to need to "over define".

The more I think about it though, even though this will be more painful from a development effort, having to over-define is not intuitive at all, and will undoubtedly cause more headaches in the future for others. I'll see if I can fix that today.

—
Reply to this email directly, view it on GitHub<https://github.com/FlowFuse/node-red-dashboard/pull/497#issuecomment-1907561039>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ3QPHKPBWJTEHL5GF5XPOLYQC2YZAVCNFSM6AAAAABCAVAQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGU3DCMBTHE>.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Could I be a pain and ask you to open some posts onto https://discourse.nodered.org/tag/dashboard-2 please for each of the topics? That way, each topic can be focussed into a thread, and it puts it into a public forums where others can see the problems if they're facing similar issues.
The only thing I will quickly points out, but this may just be a copy+paste error, is that you're missing a closing } after your .nr-metric-RED .nrdb-ui-text class declaration, but before the nr-metric-RED .nrdb-ui-button, which may be why the latter is not loaded into the declarations.


Change Release for Electron and replace leftover Franz reference

Description
Simply replace "Release" with Electron for more clarity.
AND
replace leftover of franz link in the ? menu
Motivation and Context

Its not about a problem but more about for a clarity. Because if a new user go in the About Ferdi and see this
Version: 5.3.4-beta.4
Release: 6.0.10 / win32 / x64

it will be confusing about and be like "Why is there two version about Ferdi?"
AND
The leftover about Franz is still in Ferdi. And it was discussed 9 days ago but the build are still not changing the branding.

"Learn more" links to https://meetfranz.com/ and not https://getferdi.com,
"Changelog" links to https://github.com/meetfranz/franz/blob/master/CHANGELOG.md and not https://github.com/getferdi/ferdi/blob/master/CHANGELOG.md,
"Support" links to https://meetfranz.com/support and not https://getferdi.com/contact,
"Terms of service" links to https://meetfranz.com/terms and not https://getferdi.com/terms,
"Privacy Statement" links to https://meetfranz.com/privacy and not https://getferdi.com/privacy.

How Has This Been Tested?

I did the test from the Appveyor build and it is working.
Screenshots (if appropriate):

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My code follows the code style of this project (run $ yarn lint).

See #80 (comment)

@all-contributors Please add @Makazzz for bug, code

Thanks a lot for your reply @vantezzen. I made the change and I will test the appveyor build when ready.

I fixed the remaining errors in the termsBase generation with 4fde59b and merged your changed into master.
Thank you for your contribution.

Thanks you so much for this I was going nowhere with this fix.


Bug fix exchange of tablet shuffle send block error (#44102)

cherry-pick from master (#44102)

run buildall


Sign assembly

Hi. It would be nice if the dll would have a strong name.

That would indeed be awesome as it would save us having to sign it ourselves

Done.  And sorry, I should have done this a long time ago!

Great!
On Sun, 12 Jun 2016, 17:49 jcachat<EMAIL_ADDRESS>wrote:

Done. And sorry, I should have done this a long time ago!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jcachat/EntityFramework.DynamicFilters/issues/4#issuecomment-225444576,
or mute the thread
https://github.com/notifications/unsubscribe/ADm1xvtBUhBI1AFUUab1zWqOql8mK24Kks5qLCqDgaJpZM4C1-8x
.


Add a way to inspect room members

As mentioned by @ara4n, it would be good to have a way to click on an avatar/name from the timeline to open up their profile in the right-panel (see what their MXID is).

Dev notes

We probably need https://github.com/vector-im/hydrogen-web/issues/677 to be in place in order to change the member link URL in the messages

Added a way to disambiguate via the native tooltip that pops up when you hover the avatar/name on any message (via https://github.com/vector-im/hydrogen-web/pull/917)

Related #242

If I view the timeline of a room and I click on the user avatar, it leads to the following URL:

https://archive.matrix.org/member/@bkil:matrix.org

Containing the following error message:
<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot GET /member/@bkil:matrix.org

If it is due to the respective backend feature not being implemented, all such links should be removed from the user interface.


Accessing models across reducers

I use orm reducer which calls Model.reducer on each action. However I have another reducer that maintains UI state and one of actions is to select item in UI which is later should be fetched from orm reducer and being copied for editing. Is there any way to access orm's state from other reducers? Or how does one query models outside of orm's reducer?
I really enjoy having reducers in models for basic actions. It's great for validation too. But I don't see any way how to access models from other parts of the app.

Three thoughts:

First, I'll again point you to the articles I wrote that discuss my own approaches for using Redux-ORM, including writing my own separate reducers instead of part of the Model classes: http://blog.isquaredsoftware.com/2016/10/practical-redux-part-1-redux-orm-basics/ and http://blog.isquaredsoftware.com/2016/10/practical-redux-part-2-redux-orm-concepts-and-techniques/
Second, if you define a reducer as part of a Model class, the fourth argument to that reducer is the current Session instance.  You can retrieve references to the other Model classes as part of that Session:

static reducer(state, action, ThisModelClass, session) {
    const {SomeOtherModelClass} = session;

    // do something with the other model class here
}

Third, you may also want to read through the Redux FAQ entry on "sharing data between reducers" in general: http://redux.js.org/docs/faq/Reducers.html#reducers-share-state

Thanks! I noticed that you have separate reducer. I read all of three blog posts. Redux FAQ and some googling brought me to rereduce which I successfully used to share orm's state with reducer used for UI editing.


Add support for serializing std::time::Duration and

chrono::Duration to Interval
We add only a ToSql implementation because it is possible to map
every instance to a Interval. FromSql is not added because it is
not possible to represent every instance of as on of this two
Duration types.
Normally we only support types that allows us to implement ToSql and
FromSql, but in this case we make a exception to make it possible to
use the Duration types in a context like now() - Duration::minutes(42)

You might want to give a better motivating example since the one you gave will be 1 hour off from what you expect in most time zones for roughly half the year. :)

Are we ever going to add chrono::Duration support? Currently the built-in support is only available for chrono::DateTime, which sounds a bit strange.

@McDic This kind of question is highly discouraged on old stale PR's like this one. I'm closing this PR now as it's heavily outdated and has merge conflicts. I do not plan to continue working on this feature anytime soon.
You are welcome to submit a new PR that implements this feature and adds the necessary tests + documentation.


Y Axis line disapears in 3D Editor when resizing side docks

Godot version
d2fa379f2bcdaccd447fc92ad79c9e100fc93fcc
System information
Windows 10
Issue description
Y axis line sometimes disapears when resizing side docks.

Steps to reproduce
Open the 3D editor.
Resize the left or right dock.
Minimal reproduction project
Not needed.

I think it is the same issue as https://github.com/godotengine/godot/issues/37016

Yes, it's definitively looks as a duplicate. Sorry for that.


ruby buildpack fails when pushed from Windows machine

Reported by Matt Stine (@mstine)

clone and open this application:  https://github.com/mstine/2016_CloudNativeAppArchWorkshop/tree/master/labs/pact_broker
cf push from an OS X host
cf push from a Windows host

On OS X, the Ruby buildpack is detected automatically and works as expected. When pushing from a Windows host, automatic detection fails. (application builds correctly if specified with "-b ruby_buildpack".

Hi Steve, Matt,
I was unable to reproduce it on Windows, auto-detection worked fine.

Can you provide more info? Can you reproduce it with the latest cf CLI version?
Does it always fail on Windows or intermittently? Specific to one machine or any?
Is the behaviour different between an initial push or a re-push after a file update?
Can you provide us with the full command line used to push it?
What is the full command output? Can you attach the logs?
What are the file permissions of the files you are pushing?

Cheers,
Dies Koper
CF CLI PM

Closing as we have not enough information to proceed. Feel free to reopen or submit a new issue when you have more details.
Dies Koper
CF CLI PM


Genome-wide alternative splicing training v.2.0

This version allows to include new identified isoforms in the analysis. Main changes are:

Replaced FASTQ files by sub-sampled versions (planned for previous version but it was not included by mistake)

Includes rnaQUAST analysis.

The former version used StingTie in reference-only mode. This update allows to quantify also new identified isoforms.

IsoformSwitchAnalyzeR bug fixes. Now the violin plot shows all variants. Volcanoplot and scatterplot correctly generated and included.

IsoformSwitchAnalyeR settings: short aminoacid sequences and isoforms with new STOP codons included.

This version doesn't require to provide both transcriptome, protein coding sequences and lncRNA sequences as input. It is generated during the training by using the GTF generated by StringTie and GFFread.

STAR step has been modified in order to include new identified splicing sites, according STAR developer recommendations. In addition, min and max intron size parameters are pre-computed during run-time.

Include plots with additional information.

pyGenomeTrack uses the splicing junction annotation generated by StringTie. It allows to visualize new isoforms.

Training v.1.0

Training v.2.0

Hi @lldelisle, I almost finished the update. Do you think you could have a look at the changes? Thanks!


Error 403: org_internal

Hi, I'm using GYB for the first time.
Trying a backup mail from a Google Workspace account to my new gmail.com account. The backup appears to have completed successfully. However, when I ran :
gyb --email<EMAIL_ADDRESS>--action restore --local-folder<EMAIL_ADDRESS>substituting<EMAIL_ADDRESS>and<EMAIL_ADDRESS>with the actual addresses, a browser page opened, prompted for address and password, and then displayed:
Authorisation Error
Error 403: org_internal
This client is restricted to users within its organization.
Request Details
The content in this section has been provided by the app developer. This content has not been reviewed or verified by Google.
If you’re the app developer, make sure that these request details comply with Google policies.
access_type: offline
login_hint<EMAIL_ADDRESS>response_type: code
redirect_uri: http://<IP_ADDRESS>:8080/
state: tyKDfh2Elb8AGbynPYqsvM7i0Wacoc
code_challenge_method: S256
client_id: *****************************
code_challenge: *********************************
scope: https://www.googleapis.com/auth/userinfo.email https://mail.google.com/ https://www.googleapis.com/auth/apps.groups.migration https://www.googleapis.com/auth/drive.appdata openid
Any tips on how best to proceed are much appreciated  :)

You need to set up GYB for your private Gmail account separately.
Remember to first move/backup your JSON files from the Workspace setup!

Thank you! :) I'll try that and report back here
On Mon, 4 Jul 2022, 11:07 Kim Nilsson, @.***> wrote:

You need to set up GYB for your private Gmail account separately.
Remember to first move/backup your JSON files from the Workspace setup!
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/got-your-back/issues/389#issuecomment-1173623064,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASNCFWRG2KKKXWRLL3DBAZLVSKZUXANCNFSM52RDMJRQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Interact with Windows systems, part 1

The Exec primitive itself assumes SSH for VMs, and the tools we've built that run commands over Exec - list filesystems and processes - all assume POSIX environments. We should expand this to work with Windows VMs.

[x] Add WinRM support to boltwash (https://github.com/puppetlabs/boltwash/pull/3)
[ ] Provide a way to identify whether a target accepts PowerShell or POSIX Shell (i.e. bash/ash/busybox) everywhere we run shell commands, and provide Powershell equivalents to current behavior
[ ] Update boltwash to identify WinRM targets as using Powershell (https://github.com/puppetlabs/boltwash/pull/4)

Moving support for WinRM on core plugins to another issue because we need to define how to provide credentials and configuration, and add an implementation of WinRM. With SSH we had SSH config. With WinRM we could use Kerberos for authentication (although not everyone has that setup) but we also need to be able to specify if the ports have changed.


crd have moved to istio-system namespace since #909

istio-config-default namespace no longer exists in the standard kube install manifests
referenced PR: https://github.com/istio/istio/pull/909

Jenkins job istio.github.io/presubmit passed

@douglas-reid are these changes valid?

Jenkins job istio.github.io/presubmit passed


multiple connection instance

One might like to have connection to multiple host at a time

I have thought about it.
For now there is a workaround, you can run multiple instances of mysqlweb listening on different HTTP port using CLI options.
Check https://github.com/sosedoff/pgweb/wiki/Usage for more detail

@migomhmi I have a solution for this, using way you can have multiple open connections to different hosts, but you will need to open them in different browsers ;)

@migomhmi I have a solution as WIP. Hopefully by this weekend it will be ready. :)


General information regarding the platform

Currently, general information pertaining to Origin, as well as information on other repos, resides in this repository's readme. I noticed that Orbit (https://github.com/orbitdb/orbit) has a "home page" repo where they link to the individual repos.
In the future, a repo that serves as a landing page of sorts could be helpful for developers new to the platform (linking to docs, bridge server, demo dapp, SDKs, etc)

I think that the current intent is to consolidate the READMEs by pointing to the docs and/or a developer landing page.


NIT table from scratch

Hi,
I hope someone can help me with this problem:

I'm getting some SPTS from two sources types: tuners, so they come with all PSI tables; and from HLS sources, without DVB PSI tables. The idea is to create one MPTS with all programs and modulate it.

The problem is when "filtering" and "generating" the PSI tables.

The Input has only one program from a MPTS without all not needed pids (pid filtering active in the tuner).
So, with this chain I set my channel id to "10001", with the TS-id "100", in the Network "65000". And the output is correct even with the EIT data.
What's the problem? The missing NIT table!
I know that with TSDuck some tools exist for compile PSI tables from XML files. However, I miss some options in the plugins for generating simple tables.
For example, with the -P pat -u the NIT table is removed. And I really need to remove any present in the input stream. However, with -P tsrename --add-nit I expect to create an empty NIT table. So, with the -P nit the idea is to add info for this table.
However, neither the tsrename nor the nit can create new NIT table and complete data for it.
My objective is processing in the same way inputs with and without PSI tables. And create only a minimal version of them... without the need of store files, but using only processing filters.
This can be achived? Any  idea of how to do it?
Thank you to all!

For example, with the -P pat -u the NIT table is removed.

The pat plugin only modifies the PAT. The option --remove-nit (why did I used -u as short form, can't remember, really) removes the NIT entry in the PAT, not the NIT itself. To remove the NIT, you should simply filter out PID 16.
If you remove the NIT entry from the PAT, the resulting stream is no longer DVB-compliant (although I doubt that this will change anything in receivers).
What I would suggest is the following (in order of plugins) :

Filter out PID 16 to get rid of a previous NIT (it this is what you want) and replace it with stuffing to preserve bitrate.
Force the presence of the NIT PID 16 in the PAT (instead of removing it).
Inject a basic empty NIT from a fixed XML file.
Then all subsequent plugins will add stuff in your basic empty NIT

But if you want to keep an existing NIT and inject a new one only if the previous one did not exist, then it won't work.

Hi @lelegard ,
Thank you! Good explanation. :wink:
However, one question:

It's possible to create a simple NIT without injecting a basic NIT from a fixed XML?

The idea is do all stuff running a large command line, instead of mixing files and binaries.

If your constraint is to provide one single script file and not some complicated package, you can do something like this:
NITFILE=/tmp/nit.$$.xml

cat >$NITFILE <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <NIT network_id="0"/>
</tsduck>
EOF

tsp ...
However, note that only for setting the network id in the NIT table, we need to:

Use scripting shell.
Generate one XML file.
Insert it in the tsp chain.

What you think about this "simple" enhancement of the nit plugin?

-P nit -c | --create value: It adds a new NIT table every value milliseconds.

Then using -P tsrename -o 65000 we can set the original-network-id.
You agree?

Hi @lelegard ,
What you think about this idea?

Include inside the source code of the TSDuck one simple version of each DVB PSI tables in XML format. And provide to filters like nit, pat, etc. a parameter to insert one of such tables at some interval.

The objective is to remove the requirement of external files when modifiying some input stream to be DVB compilant. So using only plugins the stream can be adapted with just the minimal info to pass the specifications.
Do you think it's useful?

Hi @lelegard ,
Please, help me with this "simple" problem!
When using your suggestion of -P inject from the XML file, I found a problem: The incoming stream doesn't have any NIT table. Futhermore, it doesn't have any padding. So the idea of "filter" the pid 16 to obtain null packets and then replace the null packets with NIT tables doesn't work!
What's the most effective solution to insert new NIT packets to any VBR stream without padding?
Thank you in advance!

If the input bitrate does not matter, I would suggest to use the global option --add-input-stuffing to insert an arbitrary amount of stuffing at input level, interspersed with the actual input. You can use that stuffing to insert whatever you want. And a final filter plugin can remove the remaining stuffing if you like.
If the input is CBR and this bitrate matters, you must delete something, typically a service or a data PID and replace it with stuffing.

However, quite brute as I need to add N nulls every M packets.

Brutal but efficient. I use it all the time in my scripts. At least the injection plugins can find stuffing packets to replace quite often.

And regarding the idea of "simple hardcoded XML tables"... What you think?

Concerning the format, no need for "hardcoded XML". All tables and descriptors are C++ classes. XML is just an external representation of C++ objects. Declaring an object of the appropriate class using the default constructor is enough.
Concerning the feature, yes, it can be added in the future.

Hi @lelegard ,

Brutal but efficient.

I don't doubt it! TSDuck is an impresive project! :+1:

Concerning the feature, yes, it can be added in the future.

OK.

This creates an "empty" TS with basic tables (despite the bug of tables interval described at #94; and the non-portable run because the use of the time command as script commented at #96).
The content of these "basic tables" are in this case:

PAT.XML:

<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <PAT transport_stream_id="0"/>
</tsduck>

NIT.XML:

<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <NIT network_id="0"/>
</tsduck>

SDT.XML:

<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <SDT original_network_id="0" transport_stream_id="0"/>
</tsduck>

TDT.XML:

<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <TDT UTC_time="1970-01-01 00:00:00"/>
</tsduck>

TOT.XML:

<?xml version="1.0" encoding="UTF-8"?>
<tsduck>
  <TOT UTC_time="1970-01-01 00:00:00"/>
</tsduck>

And even though it works, it seems rather cumbersome to me.
 The use of ":" at the start indicates the use of a hardcoded value, instead of loading a file. This will simplifies the process without the need of any external file.
What you think about this simplification?

For consistency with the plugin cat, the options  --create, --create-after, --bitrate and --inter-packet were just added to plugins pat, pmt, bat, sdt, nit.

Version 3.14 is out, including the new options creating empty tables if they do not exist on input. Closing this issue.

Thank you @lelegard !
This simplifies a lot. :smile:


Fix threading

Coverage increased (+1.3%) to 94.742% when pulling b635cc13a33c5126c3f18836a2347c4c7b29d1af on fix-threading into 30e82a39b8ebeb721f0da3c814cd927d5ec7e62d on master.


Is it possible to train multiple languages on a one model file ?

Yes, but each script should be in a separate line.

For mix scripts in the same line see this paper:
https://www.researchgate.net/publication/280777013_A_Sequence_Learning_Approach_for_Multiple_Script_Identification

Does CLSTM support this (mixed scripts in the same line) ?

It's not supported out-of-the-box. but you can implement what's described in that paper with clstm.

Thank you @amitdo for replying and this great project too. Okay, going to close this issue

As a note there is a model for doing the script identification exactly as described in the article (arrived upon independently) at kraken-models. It is able to differentiate between Arabic, Syriac, Cyrillic, Greek, Latin, and Fraktur.


Missing NodesValidation Resource and Mapper classes

There is validation element nodes: {} for RichText even without any added validation which is not represented by any existing class and pulling content types from management API results in exception.

Found out that EnabledNodeTypesValidation is also missing.

Thank you for your PR.  https://github.com/contentful/contentful-management.php/pull/135 . We will review.

So is EnabledMarksValidation.

Any progress here?

Thanks @emsyzz and sorry for the so long response time. We have just released version 2.2.1 with your PR, slightly changed for coding standards and test coverage.


[AIC-py][eval] fix the types pt 1

[AIC-py][eval] fix the types pt 1

Stack created with Sapling. Best reviewed with ReviewStack.

#539
-> #523
#522
#513

I don't fully understand all of this, but approving to unblock. Would love to get an in-person overview of this from you sometime this week

Any time


output in console scenario outline with example title

Hello,
It adds in the console output the case from the example to avoid duplicated scenario outline title.
Should fix the #19
As I'm not familiar with TypeScript, I did the change first in my local node_module.
Tell me if I need to change something.
Thanks for that great plugin!

Yes! It's just for the output in console.
It can't run the jest because it don't find babel-jest.
Le jeu. 30 août 2018 à 16:20, Ben Compton<EMAIL_ADDRESS>a
écrit :

Hi @romuleald https://github.com/romuleald,
Thanks for the PR! From what I can tell, it looks like your changes allow
specifying a title column in a scenario outline example table, and then
that title column gets appended to the end of the scenario title at
runtime? Is that right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bencompton/jest-cucumber/pull/21#issuecomment-417336682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIz92FZ75c5VK8A77vYVHUyNUI_Dsbsks5uV_SdgaJpZM4WTZQ-
.

I ran into that problem earlier, and it looks like npm installing babel-jest fixes that.
I would really prefer to see the more general solution like #19 shows where any column from the table can be inserted into the title, rather than depending on a column in the examples table to have a very specific name. For instance, this solution might cause some confusion if someone has an example table with a title column that is intended for a purpose other than the scenario title.

You're right, I see that SpecFlow does work this way. From my tests, it looks like it is looking at the first column and appending that value to the title, but it actually doesn't seem to care what the first column is named.
What are your thoughts about making just take the first column and not care about the name? If you're good with that and have some time, it should be a pretty simple change. Otherwise, I can try to find some time in the next couple of days to work on it.
It should just be a matter of passing the example table in addition to the specific example row from parseScenarioOutlineExampleSet into parseScenarioOutlineExample. From there it can look at the table and figure out what the first column is called to pull it from the example row instead of assuming title is the name of the first column.

I will try to take a look this weekend!
I see that SpecFlow and Cucumber diverge on the way to render, I'll give a
try to manage this by options!
Le ven. 31 août 2018 à 15:33, Ben Compton<EMAIL_ADDRESS>a
écrit :

You're right, I see that SpecFlow does work this way. From my tests, it
looks like it is looking at the first column and appending that value to
the title, but it actually doesn't seem to care what the first column is
named.
What are your thoughts about making just take the first column and not
care about the name? If you're good with that and have some time, it should
be a pretty simple change. Otherwise, I can try to find some time in the
next couple of days to work on it.
It should just be a matter of passing the example table in addition to the
specific example row from parseScenarioOutlineExampleSet into
parseScenarioOutlineExample. From there it can look at the table and
figure out what the first column is called to pull it from the example row
instead of assuming title is the name of the first column.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bencompton/jest-cucumber/pull/21#issuecomment-417665335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIz93LYbnMsqd6OU8UXhXcILYLxbAHQks5uWTsbgaJpZM4WTZQ-
.

I made the change, cucumber suggest to have a <anyKey> in the scenario outline so I match if it exist then remplace it with the anyKey column!
What do you think about this?
Also added:

babel-jest because I had the same problem in local for running test
npm run jest to run jest --verbose

Ah, so now it works just like #19. I see you even updated the appropriate example--perfect!

Your change is now published in v1.0.9. Thanks for your contribution!

Oh great!
Thanks for accepting this, we'll be super happy at work :)

How can i get cucumber scenario variables in title?
I am having issue with my scenario name. I am expecting this should generate scenario name as "Residency as under 1 year" ..... But actual it's generating as
"ResidencyasUKResidiency("Under 1 year","Supplied")"
Can some one please help me to solve this
Scenario Outline: Residency as
Given I have built a policy with the following details
Then I verify UK Residence Parameter ''
Examples:
| UkResidency    | UkResidence |
| Under 1 Year   | Supplied    |


Add support for Postgresql

With Sonar 7.9 removing support for MySQL it is time to allow Postgresql as a replacement.

I found a better solution for this, closing.


Code Lens on Windows

Code Lens is not working correctly under Windows. After pressing crtl+e it looks like the picture below.  When i try to collapse the Code it stays small until i change something.
Specs:

Win11 x64
Intel Core Xeon E-2274G
NVIDIA GTX 1050 Ti

Is that version 0.1.3

yes

This should be fixed in 0.2.0


added a conda-forge package

I have added our molecular featurization backend as a package to conda-forge, meaning that we can finally put astartes on there as well! I have made the documentation updates here, and once https://github.com/conda-forge/staged-recipes/pull/23700 is merged we can merge this.

@kspieks the conda-forge package is live and this PR should be good to go!


Typescript route path

Hi,
I am trying to create a multipath routes using typescript, but when I use the structure mentioned in the docs, I'm getting an error for the path type

code:
import makeMatcher from "wouter/matcher";

const defaultMatcher = makeMatcher();

/*
 * A custom routing matcher function that supports multipath routes
 */
const multipathMatcher = (patterns, path) => {
  for (let pattern of [patterns].flat()) {
    const [match, params] = defaultMatcher(pattern, path);
    if (match) return [match, params];
  }

  return [false, null];
};

const App = () => (
  <Router matcher={multipathMatcher}>
    <Route path={["/app", "/home"]}>...</Route>
  </Router>
);

Am I missing something?
thanks in advance.

hi, type declaration of Route component:
export interface RouteProps<T extends DefaultParams = DefaultParams> {
  children?: ((params: Params<T>) => ReactNode) | ReactNode;
  path?: Path;
  component?: ComponentType<RouteComponentProps<T>>;
}

about the Path:
export type Path = string;

so, i think you can make a custom Route component to resolve this problem:
import { useRoute } from "wouter"
const  MultipathRoute = ({ paths, match, component, children }) => {
  const useRouteMatch = useRoute(paths);
  // ...
}

hope it's useful.

@cbbfcd Hi,
thank you for responding.
It is a good idea, but useRoute receives a Path type too.

Hi, here are some workrounds I thought of:

keep the path as string, use a special separator what you like to split the path string

<Route path='/foo&/bar'/>

then you can split it in your custom matcher, I did not actually run it, but it should be feasible.

custom your own Route

import { useLocation } from "wouter"
export const MultipathRoute = ({ path, match, component, children }) => {
  const useRouteMatch = yourMatchrt(path, useLocation()[0]);
  // ...
};

override the type declaration

Got it, gonna try like that : )
thank you for your help


write points fail and report [shard 90] short buffer?

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

write point use java client
client report

com.influxdb.exceptions.InternalServerErrorException: unexpected error writing points to database: [shard 90] short buffer
	at com.influxdb.internal.AbstractRestClient.responseToError(AbstractRestClient.java:118) ~[influxdb-client-core-3.4.0.jar!/:3.4.0]
	at com.influxdb.internal.AbstractRestClient.execute(AbstractRestClient.java:81) ~[influxdb-client-core-3.4.0.jar!/:3.4.0]
	at com.influxdb.client.internal.AbstractWriteBlockingClient.write(AbstractWriteBlockingClient.java:85) ~[influxdb-client-java-3.4.0.jar!/:3.4.0]
	at com.influxdb.client.internal.WriteApiBlockingImpl.lambda$writePoints$1(WriteApiBlockingImpl.java:137) ~[influxdb-client-java-3.4.0.jar!/:3.4.0]

influxdb logs error too ,and only when write some data trigger this error

Environment info:
docker
influx 2.1.1
Logs:
Include snippet of errors in log.
2021-12-01T06:25:36.585734Z	info	Reading file	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "service": "cacheloader", "path": "/var/lib/influxdb2/engine/wal/cb8da52d13f762fb/autogen/96/_00001.wal", "size": 5712}
2021-12-01T06:25:36.591886Z	info	Opened file	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb2/engine/data/cb8da52d13f762fb/autogen/94/000000001-000000001.tsm", "id": 0, "duration": "7.343ms"}
2021-12-01T06:25:36.611728Z	info	Opened file	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "service": "filestore", "path": "/var/lib/influxdb2/engine/data/cb8da52d13f762fb/autogen/89/000000003-000000002.tsm", "id": 0, "duration": "0.596ms"}
2021-12-01T06:25:43.419126Z	error	Failed to open shard	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "store", "op_name": "tsdb_open", "db_shard_id": 90, "error": "[shard 90] short buffer"}
2021-12-01T06:25:44.798705Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-01T06:25:44.808490Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-01T06:25:44.810225Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-01T06:25:44.851809Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-01T06:25:44.862204Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}

2021-12-01T07:00:56.567977Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:05:56.869878Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:03.029356Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:10.678191Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:10.694187Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:19.697167Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:19.706261Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:28.065021Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:28.074078Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:36.696444Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:36.705558Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:42.150872Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:42.159537Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:48.998667Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:49.007475Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:56.541653Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:08:56.550789Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:04.432700Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:04.441095Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:13.482655Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:13.492085Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:21.475071Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:21.483124Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-01T07:09:29.106772Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}

2021-12-02T02:55:50.189347Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-02T02:56:46.791163Z	info	Retention policy deletion check (start)	{"log_id": "0Y9AZ_e0000", "service": "retention", "op_name": "retention_delete_check", "op_event": "start"}
2021-12-02T02:56:46.791346Z	info	Retention policy deletion check (end)	{"log_id": "0Y9AZ_e0000", "service": "retention", "op_name": "retention_delete_check", "op_event": "end", "op_elapsed": "0.206ms"}
2021-12-02T02:58:51.197395Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-02T03:00:50.281280Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-02T03:03:44.792549Z	info	Cache snapshot (start)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "start"}
2021-12-02T03:03:44.824314Z	info	Snapshot for path written	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "path": "/var/lib/influxdb2/engine/data/d985752f6c791b5b/autogen/20", "duration": "31.791ms"}
2021-12-02T03:03:44.824357Z	info	Cache snapshot (end)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "end", "op_elapsed": "31.833ms"}
2021-12-02T03:03:49.558056Z	info	Cache snapshot (start)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "start"}
2021-12-02T03:03:49.588914Z	info	Snapshot for path written	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "path": "/var/lib/influxdb2/engine/data/592474454cfee085/autogen/99", "duration": "30.889ms"}
2021-12-02T03:03:49.588946Z	info	Cache snapshot (end)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "end", "op_elapsed": "30.919ms"}
2021-12-02T03:03:53.616409Z	info	Cache snapshot (start)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "start"}
2021-12-02T03:03:53.648065Z	info	Snapshot for path written	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "path": "/var/lib/influxdb2/engine/data/e801bb6a29638f3e/autogen/100", "duration": "31.674ms"}
2021-12-02T03:03:53.648100Z	info	Cache snapshot (end)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "end", "op_elapsed": "31.709ms"}
2021-12-02T03:04:25.317616Z	info	Unauthorized	{"log_id": "0Y9AZ_e0000", "error": "token required"}
2021-12-02T03:04:55.852016Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 776506 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc00f43eed0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc0587a6540}, 0xc0617efbd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc0587a6540}, 0xc00f43e7b0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc01c044180, 0x61a837d7)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc00fa53860, {0x40a6b18, 0xc0587a6540}, {0x406f510, 0xc01c044180}, 0xc016b2c0b0)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc00fa53860, {0x40a6b18, 0xc0587a6540})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc00fa53860, {0x40a6b18, 0xc0587a6540})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc00fa53860})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:04:57.479246Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 776589 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc01d85f710})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc015cda100}, 0xc01758fbd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc015cda100}, 0xc01d85f020)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc01d839380, 0x61a837d9)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc00b639a00, {0x40a6b18, 0xc015cda100}, {0x406f510, 0xc01d839380}, 0xc03c8df0e0)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc00b639a00, {0x40a6b18, 0xc015cda100})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc00b639a00, {0x40a6b18, 0xc015cda100})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc00b639a00})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:04:59.934067Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 776621 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc01e71b800})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc0138f7340}, 0xc03d883bd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc0138f7340}, 0xc01e71b110)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc01e70d100, 0x61a837db)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc0181f2d00, {0x40a6b18, 0xc0138f7340}, {0x406f510, 0xc01e70d100}, 0xc07acbf840)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc0181f2d00, {0x40a6b18, 0xc0138f7340})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc0181f2d00, {0x40a6b18, 0xc0138f7340})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc0181f2d00})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:05:50.338055Z	info	Write failed	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "service": "write", "shard": 90, "error": "[shard 90] short buffer"}
2021-12-02T03:08:09.183024Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-02T03:08:09.183373Z	info	Reindexing TSM data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 101}
2021-12-02T03:08:09.183392Z	info	Reindexing WAL data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 101}
2021-12-02T03:09:00.159441Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-02T03:09:00.159977Z	info	Reindexing TSM data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 102}
2021-12-02T03:09:00.159995Z	info	Reindexing WAL data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 102}
2021-12-02T03:09:54.759458Z	info	index opened with 8 partitions	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "index": "tsi"}
2021-12-02T03:09:54.759771Z	info	Reindexing TSM data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 103}
2021-12-02T03:09:54.759784Z	info	Reindexing WAL data	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "db_shard_id": 103}
2021-12-02T03:14:03.878068Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 903477 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc00b13f740})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc01c242cc0}, 0xc028b75bd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc01c242cc0}, 0xc00b13f5f0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc00257e380, 0x61a839fb)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc031c8c410, {0x40a6b18, 0xc01c242cc0}, {0x406f510, 0xc00257e380}, 0xc0d402d520)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc031c8c410, {0x40a6b18, 0xc01c242cc0})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc031c8c410, {0x40a6b18, 0xc01c242cc0})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc031c8c410})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:14:07.591332Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 903622 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc01c3ea150})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc01cf75240}, 0xc016bf8bd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc01cf75240}, 0xc01c3ea000)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc01b72c400, 0x61a839ff)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc031c8cc30, {0x40a6b18, 0xc01cf75240}, {0x406f510, 0xc01b72c400}, 0xc0116b95b0)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc031c8cc30, {0x40a6b18, 0xc01cf75240})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc031c8cc30, {0x40a6b18, 0xc01cf75240})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc031c8cc30})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:14:14.450359Z	info	Execute source panic	{"log_id": "0Y9AZ_e0000", "service": "storage-reads", "error": "panic: runtime error: invalid memory address or nil pointer dereference"}
goroutine 904050 [running]:
runtime/debug.Stack()
	/home/circleci/.tools/go/src/runtime/debug/stack.go:24 +0x65
github.com/influxdata/flux/execute.(*executionState).do.func1.1()
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:286 +0x205
panic({0x3c52600, 0x53e34d0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields.func1()
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:546 +0x1c
panic({0x3c7bc60, 0xc01d8e8db0})
	/home/circleci/.tools/go/src/runtime/panic.go:1038 +0x215
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).measurementFields(0xc011caaba0, {0x40a6b18, 0xc01daf9340}, 0xc002a4abd0)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:549 +0x33f
github.com/influxdata/influxdb/v2/v1/services/storage.(*Store).TagValues(0x4079ad0, {0x40a6b18, 0xc01daf9340}, 0xc01d8e8c60)
	/home/circleci/go/src/github.com/influxdata/influxdb/v1/services/storage/store.go:406 +0x390
github.com/influxdata/influxdb/v2/storage/flux.(*tagValuesIterator).Do(0xc01d496800, 0x61a83a06)
	/home/circleci/go/src/github.com/influxdata/influxdb/storage/flux/reader.go:970 +0x1c6
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).processTables(0xc0173ff040, {0x40a6b18, 0xc01daf9340}, {0x406f510, 0xc01d496800}, 0xc02bd34880)
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:76 +0xbf
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*readTagValuesSource).run(0xc0173ff040, {0x40a6b18, 0xc01daf9340})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:492 +0x114
github.com/influxdata/influxdb/v2/query/stdlib/influxdata/influxdb.(*Source).Run(0xc0173ff040, {0x40a6b18, 0xc01daf9340})
	/home/circleci/go/src/github.com/influxdata/influxdb/query/stdlib/influxdata/influxdb/source.go:56 +0x168
github.com/influxdata/flux/execute.(*executionState).do.func1({0x40a86e0, 0xc0173ff040})
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:291 +0x20e
created by github.com/influxdata/flux/execute.(*executionState).do
	/home/circleci/go/pkg/mod/github.com/influxdata/flux@v0.139.0/execute/executor.go:261 +0x228
2021-12-02T03:15:51.054091Z	info	Cache snapshot (start)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "start"}
2021-12-02T03:15:51.057282Z	info	Snapshot for path written	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "path": "/var/lib/influxdb2/engine/data/cb8da52d13f762fb/autogen/98", "duration": "3.215ms"}
2021-12-02T03:15:51.057308Z	info	Cache snapshot (end)	{"log_id": "0Y9AZ_e0000", "service": "storage-engine", "engine": "tsm1", "op_name": "tsm1_cache_snapshot", "op_event": "end", "op_elapsed": "3.238ms"}
2021-12-02T03:17:16.205704Z	warn	internal error not returned to client	{"log_id": "0Y9AZ_e0000", "handler": "error_logger", "error": "context canceled"}
2021-12-02T03:26:46.791140Z	info	Retention policy deletion check (start)	{"log_id": "0Y9AZ_e0000", "service": "retention", "op_name": "retention_delete_check", "op_event": "start"}
2021-12-02T03:26:46.791292Z	info	Retention policy deletion check (end)	{"log_id": "0Y9AZ_e0000", "service": "retention", "op_name": "retention_delete_check", "op_event": "end", "op_elapsed": "0.164ms"}

FYI, we are seeing this as well. InfluxDB v2.1.1, Python client. Writing a large number of rows, we first see the issue on row 14995. The error definitely appears to be data-dependent. From skimming the InfluxDB source, this comes from extracting an array of strings from a compressed sequence of bytes. Apparently something becomes corrupt and the decoder expects to find more bytes of string than are actually present.
Going to see if I can downgrade to an earlier InfluxDB and check against that.

In our case, this appears to be caused by corruption in the bucket we're writing to. I've confirmed that writing to a new bucket in a different org works, and even a new bucket in the same org. But writing to this particular bucket/org fails every time, regardless of whether that particular measurement has been purged or not.

@abelletti You're right, I can fix this issue by create a new bucket, thanks. Hope IInfluxdata can add some feature to fix corrupted data in bucket.

We have seen this when a disk fills up. That can cause corrupt files which persist after a disk resize or move to a larger disk.


Can't login with a "live:name" account.

(I'm not running 0.2.0 because of the issues I had, so maybe this is already fixed)
If you have an "live:name" account, you can't login (yes, the user is using "live:name", not the email).
If I could I would share more info, but the account isn't mine and I don't have a Skype account with the "live:" prefix.

I had the same issue. You have only microsoft account, Add Skype account
https://secure.skype.com/account/personal/change-password

@labotsky Hello. Can you tell me please how had you resolved this issue. It seems like there's no way to create a skype username now, they all linked up with live.com. Any workarounds?

iirc if you have an old ios app you can create non live accounts

lol I forgot about this issue until now.
Sadly it seems Skype4J is abandoned (because @samczsun is busy with real life) and sadly there isn't any good Skype API for Java (Skype4J is the only one that works, the rest is broken or buggy)

abandoned is the wrong word

@sponges so what would be a better word? Unmaintained?

Hi there, dont know if you solved it yet,
I found out that it is because skype4j use https://api.skype.com/login/skypetoken api, which you can find here: https://github.com/msndevs/protocol-docs/wiki/Authentication
My solution is i extends FullClient class and Override login() method. So that i dont have to use that api to get token.
public class MyFullClient extends FullClient {
public MyFullClient(String username, String password, Set<String> resources, Logger customLogger, List<ErrorHandler> errorHandlers) {
    super(username, password, resources, customLogger, errorHandlers);
}

@Override
public void login() throws InvalidCredentialsException, ConnectionException {
    this.setSkypeToken("eyJhbGciOiJSUzI1NiIsImtpZCI6IjEzIiwidHlwIjoi....."); //Here is your skype token
    List<UncheckedRunnable> tasks = new ArrayList<>();
    tasks.add(() -> {
        HttpURLConnection asmResponse = getAsmToken();
        String[] setCookie = asmResponse.getHeaderField("Set-Cookie").split(";")[0].split("=");
        this.cookies.put(setCookie[0], setCookie[1]);
    });
    tasks.add(this::loadAllContacts);
    tasks.add(() -> this.getContactRequests(false));
    tasks.add(() -> {
        try {
            this.registerWebSocket();
        } catch (Exception e) {
            handleError(ErrorSource.REGISTERING_WEBSOCKET, e, false);
        }
    });
    tasks.add(this::registerEndpoint);

    try {
        ExecutorService executorService = Executors.newFixedThreadPool(5);
        tasks.forEach(executorService::submit);
        executorService.shutdown();
        executorService.awaitTermination(1, TimeUnit.DAYS);
    } catch (InterruptedException e) {
        throw new RuntimeException(e);
    }
}

}
as you can see:  this.setSkypeToken("a long token string");, this is where you insert your skypetoken, which you can get from another api: https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-connector-authentication (which you can login with email or phone number)
Then create a custom SkypeBuilder class
public class KadSkypeBuilder {
private final String username;
private final String password;
private Set<String> resources = new HashSet<>();
private List<ErrorHandler> errorHandlers = new ArrayList<>();
private Logger customLogger;
private String chatId;

/**
 * Construct a KadSkypeBuilder with the given username and password
 *
 * @param username The username
 * @param password The password
 */
public KadSkypeBuilder(String username, String password) {
    this.username = username;
    this.password = password;
}

/**
 * Construct a KadSkypeBuilder using the given guest username
 *
 * @param username The guest username (Can be anything)
 */
public KadSkypeBuilder(String username) {
    this.username = username;
    this.password = null;
}

/**
 * Subscribe to all known resources
 *
 * @return The same KadSkypeBuilder
 */
public KadSkypeBuilder withAllResources() {
    resources.addAll(Arrays.asList("/v1/users/ME/conversations/ALL/properties", "/v1/users/ME/conversations/ALL/messages", "/v1/users/ME/contacts/ALL", "/v1/threads/ALL"));
    return this;
}

/**
 * Subscribe to a resource which has not been added into the API
 *
 * @param resource The resource to subscribe to
 * @return The same KadSkypeBuilder
 */
public KadSkypeBuilder withResource(String resource) {
    resources.add(resource);
    return this;
}

/**
 * Use a custom logger for this Skype instance
 *
 * @param logger The custom logger to use
 * @return The same KadSkypeBuilder
 */
public KadSkypeBuilder withLogger(Logger logger) {
    this.customLogger = logger;
    return this;
}

/**
 * Add an exception handler to handle exceptions
 *
 * @param errorHandler The exception handler
 * @return The same KadSkypeBuilder
 */
public KadSkypeBuilder withExceptionHandler(ErrorHandler errorHandler) {
    this.errorHandlers.add(errorHandler);
    return this;
}

/**
 * Join a particular chat as a guest. Will have no effect if a password is specified
 *
 * @param id The chat id
 * @return The same KadSkypeBuilder
 */
public KadSkypeBuilder withChat(String id) {
    if (!id.startsWith("19:")) throw new IllegalArgumentException("Invalid chat id");
    if (password != null) throw new IllegalArgumentException("Not guest account");
    this.chatId = id;
    return this;
}

/**
 * Build the Skype instance!
 *
 * @return The Skype instance
 */
public Skype build() {
    if (resources.isEmpty()) {
        throw new IllegalArgumentException("No resources selected");
    }
    if (password != null) {
        return new MyFullClient(username, password, resources, customLogger, errorHandlers);
    } else if (chatId != null) {
        return new MyFullClient(username, chatId, resources, customLogger, errorHandlers);
    } else {
        throw new IllegalArgumentException("No chat specified");
    }
}

}
finally, using custom KadSkypeBuilder
public static void main(String[] args) throws ConnectionException, InvalidCredentialsException, NotParticipatingException {
    Skype skype = new KadSkypeBuilder("username", "pass").withAllResources().build();
    skype.login();
    skype.getEventDispatcher().registerListener(new Listener() {
        @EventHandler
        public void onMessage(MessageReceivedEvent e) throws ConnectionException {
            if (e.getMessage().getContent().asPlaintext().equals("time")) {
                e.getChat().sendMessage("Test");
            }
            System.out.println("Got message: " + e.getMessage().getContent());
        }
    });
    skype.subscribe();
}

Hope this help