text:
Bug? Variable np.searchsorted side argument

[x] I am using the latest released version of Numba (0.49.1, current asof May 7, 2020)
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

The following works:
def ixof(arr, val, closed=False):
    if closed:
        return np.searchsorted(arr, val, "left")
    else:
        return np.searchsorted(arr, val, "right")

ixof(np.arange(100), 10) # returns 11
njit(ixof)(np.arange(100), 10) # returns 11

The following fails:
def ixof(arr, val, closed=False):
    side = "left" if closed else "right"
    return np.searchsorted(arr, val, side)

ixof(np.arange(100), 10) # returns 11
njit(ixof)(np.arange(100), 10) # error

With error:
Invalid use of Function(<function searchsorted at 0x7fc32c79b550>) with argument(s) of type(s): (array(int64, 1d, C), int64, unicode_type)
 * parameterized
In definition 0:
    ValueError: Invalid value given for 'side': unicode_type
    raised from /home/mtartre/.miniconda/envs/scratch/lib/python3.8/site-packages/numba/np/arraymath.py:3375
In definition 1:
    ValueError: Invalid value given for 'side': unicode_type
    raised from /home/mtartre/.miniconda/envs/scratch/lib/python3.8/site-packages/numba/np/arraymath.py:3375
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function searchsorted at 0x7fc32c79b550>)
[2] During: typing of call at <ipython-input-17-29612a757df6> (3)

File "<ipython-input-17-29612a757df6>", line 3:
def ixof(arr, val, closed=False):
    <source elided>
    side = "left" if closed else "right"
    return np.searchsorted(arr, val, side)
    ^

My reading of the current implementation (https://github.com/numba/numba/blob/master/numba/np/arraymath.py#L3368) is that this might only work if the variable is defined at compile time? The above is a fine fix for me for now, but it seems considerably less than ideal.
Related PR: https://github.com/numba/numba/pull/2821

This is an known limitation of the current implementation, which I guess is written before general string support. With string support, we can make it choose dynamically.

authors: quantology sklam

repo: numba/numba


text:
Compile times are nontrivally higher in 0.50 vs 0.46

Feature request
Hi there! We've noted nontrivial slowdown in @cuda.jit compilation. It's not the easiest to replicate, as it seems to only show up in large kernels- the below should do it, on my sys >2x slower. Profiling, it seems to be related to this commit: https://github.com/numba/numba/pull/5351/commits/76b606ddfde801b8ea833120fc6c3d6691bda0e6
Any thoughts/advice? I know the example below is somewhat contrived, but it demos the issue pretty well.
from numba import cuda
import time
import numpy as np
from numpy import float64, int32, uint64, bool_
import numba

PDTYPE = [('pvar67', float64, (30,)), ('pvar72', float64, (210,))]
P_NP_DTYPE = np.dtype(PDTYPE, align=True)
P_NB_DTYPE = numba.from_dtype(P_NP_DTYPE)

INT_64_TYPE = [("uint64_1", uint64, (121, 47,)),
               ("uint64_2", uint64, (16, 31,))]
SV_TYPE = [("svvar1", float64, (121, 31, )),  ("svvar2", float64, (30, 31, )), ("svvar6", float64, (210, 31, )), ("svvar9", float64, (210, 31,))]

STYPE = [("svar9", float64, (161, 41, )), ("svar10", SV_TYPE)]
S_NP_TYPE = np.dtype(STYPE, align=True)
S_NB_TYPE = numba.from_dtype(S_NP_TYPE)

COTPYE13 = [('co13var1', bool_),
            ('co13var2', bool_),
            ('co13var3', bool_),
            ('co13var4', int32)]

COTYPE = [('covar13', COTPYE13)]
CO_NP_TYPE = np.dtype(COTYPE, align=True)
CO_NB_TYPE = numba.from_dtype(CO_NP_TYPE)

def load_kernel_2():
    @cuda.jit(argtypes=[P_NB_DTYPE[::1], CO_NB_TYPE[::1], S_NB_TYPE[::1]])
    def kernel_2(p_group, c_group, s_group):
        lane = cuda.blockDim.x * cuda.blockIdx.x + cuda.threadIdx.x
        pn = 1
        s_float = s_group[32].svar9
        s_vec = s_group[25].svar10
        c_s = c_group[0].covar13

        s_vec.svvar1[:, lane] = 0.0
### Copy/Paste Below ~100x
        for fi in range(0, 10):
            s_vec.svvar6[fi][lane] = s_vec.svvar9[fi][lane] + 1
            for index in range(0, 7):
                idx = fi * 7 + index
                if c_s.co13var4:
                    s_vec.svvar9[idx][lane] = p_group[pn].pvar72[fi]
                else:
                    s_vec.svvar9[idx][lane] = 0 if s_vec.svvar6[fi][lane] < 0 else s_vec.svvar6[fi][lane] / s_float[11][lane]
                    s_vec.svvar6[fi][lane] += s_vec.svvar9[idx][lane]
                s_vec.svvar1[idx][lane] = p_group[pn].pvar67[idx]
    return kernel_2

def main():
    begin = time.time()
    load_kernel_2()
    print('total time 1', time.time() - begin)

if __name__ == '__main__':
    main()

There's a related gitter thread starting at: https://gitter.im/numba/numba?at=5f36c1ec22a7e979dbdf6e3a

Dumping some data:
0.48 does this:
total time 19.03354549407959
[('18_nopython_backend', 14.400799010996707),
 ('13_nopython_type_inference', 0.9372242539975559),
 ('6_generic_rewrites', 0.6153244379893295),
 ('7_inline_closure_likes', 0.5352205469898763),
 ('16_nopython_rewrites', 0.4969588339954498),
 ('17_ir_legalization', 0.4620937929939828),
 ('0_translate_bytecode', 0.45751662400289206),
 ('3_with_lifting', 0.4355984980065841),
 ('2_ir_processing', 0.4096418179979082),
 ('10_dead_branch_prune', 0.08617717400193214),
 ('5_dead_branch_prune', 0.07707564900920261),
 ('15_inline_overloads', 0.010967884998535737),
 ('4_rewrite_semantic_constants', 0.004538285989838187),
 ('9_inline_inlinables', 0.0034364270104561),
 ('11_find_literally', 0.0028799229985452257),
 ('8_make_function_op_code_to_jit_function', 0.002804909003316425),
 ('12_literal_unroll', 0.002387796004768461),
 ('14_annotate_types', 4.2118001147173345e-05),
 ('19_dump_parfor_diagnostics', 1.548000000184402e-05),
 ('1_fixup_args', 1.097700442187488e-05)]

0.51 does this:
total time 33.92240238189697
[('20_nopython_backend', 16.67088437399798),
 ('13_reconstruct_ssa', 8.04999349200807),
 ('14_nopython_type_inference', 1.506562948001374),
 ('7_inline_closure_likes', 1.3121618410004885),
 ('18_nopython_rewrites', 1.2904103030014085),
 ('6_generic_rewrites', 1.036173433996737),
 ('19_ir_legalization', 0.6457480310054962),
 ('16_strip_phis', 0.6445920070036664),
 ('3_with_lifting', 0.6094680530004553),
 ('15_annotate_types', 0.6074441259916057),
 ('0_translate_bytecode', 0.5605414890014799),
 ('2_ir_processing', 0.5302879919981933),
 ('5_dead_branch_prune', 0.12433454499114305),
 ('10_dead_branch_prune', 0.12118224400182953),
 ('17_inline_overloads', 0.013697410009626765),
 ('4_rewrite_semantic_constants', 0.005118879998917691),
 ('9_inline_inlinables', 0.0043564580046222545),
 ('11_find_literally', 0.0034362839942332357),
 ('12_literal_unroll', 0.002521170004911255),
 ('8_make_function_op_code_to_jit_function', 0.0024468509946018457),
 ('21_dump_parfor_diagnostics', 1.5155004803091288e-05),
 ('1_fixup_args', 1.0121992090716958e-05)]

Reconstruct SSA is obviously adding a lot to the work, but also the passes which do CFG rebuilds a lot are contributing.

Here's an alternative reproducer that only use the CPU:
import numpy as np
import numba

body = """
    for fi in range(0, 10):
        data[fi] += 1
        for index in range(0, 7):
            idx = index
            if idx % 2 == 0:
                data[idx] += fi
            else:
                data[idx] += 1 if data[idx] < 3 else 2
                data[idx] += 1
            data[idx] += 1
"""

wrapper = """
def kernel(data):
    {}
"""

source = wrapper.format(body * 100)
glbs = {}
exec(source, glbs)

arg = np.zeros(100)
argtypes = (numba.typeof(arg),)

kernel = numba.njit(argtypes)(glbs['kernel'])

# 0.48.0 takes 24sec
# 0.51.0 takes 1min13sec

I am removing the CUDA label because this is not specific to CUDA but a problem of the core compiler.

I found an old branch that tries to address this problem but I was not able to find a case that it made an significant impact. However, applying it for this case has a huge impact. See https://github.com/numba/numba/pull/6146

Numbers:
0.48.0 (total time: real    0m35.833s):
$ python test_6146.py
18_nopython_backend                      18.9
7_inline_closure_likes                   2.4
6_generic_rewrites                       2.16
16_nopython_rewrites                     2.01
3_with_lifting                           1.98
17_ir_legalization                       1.95
2_ir_processing                          1.92
13_nopython_type_inference               1.49
0_translate_bytecode                     1.34
5_dead_branch_prune                      0.594
10_dead_branch_prune                     0.467
15_inline_overloads                      0.00835
9_inline_inlinables                      0.00818
4_rewrite_semantic_constants             0.00763
8_make_function_op_code_to_jit_function  0.00523
11_find_literally                        0.00516
12_literal_unroll                        0.00488
14_annotate_types                        5.9e-05
19_dump_parfor_diagnostics               1.43e-05
1_fixup_args                             9.65e-06

0.51.0 (total time: real    2m19.956s [139.956s]):
$ python test_6146.py
13_reconstruct_ssa                       81.8
20_nopython_backend                      25.3
7_inline_closure_likes                   5.52
18_nopython_rewrites                     5.36
15_annotate_types                        2.73
16_strip_phis                            2.62
19_ir_legalization                       2.62
6_generic_rewrites                       2.55
2_ir_processing                          2.42
3_with_lifting                           2.34
14_nopython_type_inference               2.25
0_translate_bytecode                     1.65
10_dead_branch_prune                     0.666
5_dead_branch_prune                      0.655
17_inline_overloads                      0.0132
9_inline_inlinables                      0.0104
4_rewrite_semantic_constants             0.00807
11_find_literally                        0.00695
12_literal_unroll                        0.00534
8_make_function_op_code_to_jit_function  0.00482
21_dump_parfor_diagnostics               1.48e-05
1_fixup_args                             1.27e-05

0.51.1 (total time: real    0m56.379s):
$ python test_6146.py
20_nopython_backend                      23.2
13_reconstruct_ssa                       14.1
18_nopython_rewrites                     2.95
7_inline_closure_likes                   2.42
14_nopython_type_inference               2.28
3_with_lifting                           1.77
15_annotate_types                        1.52
19_ir_legalization                       1.36
16_strip_phis                            1.3
0_translate_bytecode                     1.26
6_generic_rewrites                       1.25
2_ir_processing                          1.1
5_dead_branch_prune                      0.0342
10_dead_branch_prune                     0.0177
17_inline_overloads                      0.017
9_inline_inlinables                      0.011
4_rewrite_semantic_constants             0.00848
11_find_literally                        0.00691
12_literal_unroll                        0.00534
8_make_function_op_code_to_jit_function  0.00497
21_dump_parfor_diagnostics               1.57e-05
1_fixup_args                             1.12e-05

@sklam's patch in #6146 massively reduced the SSA cost. The reason the closure inliner and nopython rewrites are taking a load more time now is because the IR is by default ir.Del free, but some legacy algorithms rely on analysis of dels and so the postprocessor has to be run on the IR to regenerate them (and CFG rebuild is hit), the alg is then run and then the IR stripped of dels again.

Closing this issue as it seems to be resolved. If this is not the case please re-open with a comment about any item that appears to be unresolved. Many thanks.

source: gharchive/issue

authors: c200chromebook sklam stuartarchibald

license_type: permissive

license_source: bigquery


text:
"Numba requires at least version 0.31.0 of llvmlite."

I am using numba version 0.47.0 in a conda environment for use with Python2.7.
In python:
from numba import jit
results in
"ImportError: No module named numba"
When I type
numba -version
I get the following error:
"ImportError: Numba requires at least version 0.31.0 of llvmlite.
Installed version is 0.28.0.
Please update llvmlite."
I have tried
conda install -n myenv llvmlite==0.31.0
And when I look at
conda list
I see the llvmlite version as 0.31.0, but the "numba -version" command results still shows the same result.

@melrows thanks for asking about this on the Numba issue tracker. It sounds like your Python installation and/or environment is somehow corrupted. I would suggest setting this up again from scratch.

@melrows just following up here, did you have any luck re-creating the environments?

Partially. I uninstalled and reinstalled conda and still had the same issue. I eventually determined that while conda had the correct version of both numba and llvmlite installed in my conda directory , I had multiple versions of numba and llvmlite installed in my user directory instead of my conda directory. The user directory version was what was called when running numba. I used which numba and which llvmlite to see which version was being used. I renamed/removed those directories and ran the which codes again to make sure that the version in my conda environment were being run, and was able to successfully run the code.

@melrows excellent, glad to hear it! If you hit any more snags, please don't hesitate to open a new issue or start a discussion on our discourse.

authors: esc melrows


text:
Fixes array analysis for inplace binary operators.

As title. The expr.fn is now the inplace operator in the case
of an "inplace_binop" expr node. Adds test in array analysis to
ensure that empty slices hold equivalent (it works correctly without
this change but it may catch future problems). Adds a test to parfors
slice tests that checks the issue, that binary operators were
failing array analysis.
Fixes #3461 , Fixes #3554

This is ready once the comments are resolved.

Codecov Report

Merging #3558 into master will decrease coverage by 0.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #3558      +/-   ##
==========================================
- Coverage   80.69%   80.67%   -0.02%
==========================================
  Files         393      393
  Lines       80425    80287     -138
  Branches     9160     9146      -14
==========================================
- Hits        64896    64775     -121
+ Misses      14109    14095      -14
+ Partials     1420     1417       -3

There's a conflict.

RE https://github.com/numba/numba/pull/3558#issuecomment-446685473, thanks, merged and patched up.

This looks ready to merge.

source: gharchive/pull-request

authors: codecov-io seibert sklam stuartarchibald


text:
Eliminate references to type annotation in compile_ptx

Eliminate use of type annotation when referencing filenumber and line number of a python function. This issue partially addresses issue 7710

gpuci run tests

gpuci run tests


text:
DO NOT MERGE. debugging ci timeout

Copy of #8241 which is failing on the 32bit tests, but with the -v flag added at test time to try and identify the test(s) that is/are stuck!


text:
Recognising equivalent forms of trigonometric powers

I have an issue with a quiz answer:
sec^2(theta) // Correct answer

I tried:
1. sec(theta)^2 // Marked incorrect

which was incorrect, but I understand writing a power like that is ambiguous, so I tried:
2. (sec(theta))^2 // Marked incorrect even though it should be correct

instead, which was surprisingly also marked as incorrect.
Does the parser not recognise that the second form is equivalent to the correct answer?

Hi, Numbas doesn't recognise the sec^2(theta) notation as equivalent to sec(theta)^2, by design. It's inconsistent with other uses of superscripts. Numbas interprets sec^2(theta) as sec^2 * theta.
We have an open issue at #478 about whether to allow this notation as an option.
There's a page describing the problems with the notation at https://whystartat.xyz/wiki/Powers_of_trigonometric_functions.

Thanks @christianp so do you recommend only using (sin(theta))^2 from here onwards?

@Tarang74 yes, that's what I'd use.

repo: numbas/Numbas

license_source: github-api


text:
Ex 2 Level 3

Hi, I'm a little confused about how the lazy evaluation will be carried out for Level 3 of Ex 2. Does this level expect me to edit the rest of the code as well? The issue i'm facing is that the beep will still be printed, which means it isnt a lazy evaluation. Thank you! :)
Test case:
jshell> Str.of(() -> { System.out.print("beep..."); return "$0 ==> ";}).
...> join(new Point(1.0, 1.0).toStr())
$.. ==> Str@...
My code:
public static Str of(Supplier supplier) {
return new Str.of(supplier.get());
}
My output:
beep...$12 ==> Str@4ccabbaa

What I did was to create a Str constructor that takes in a supplier and pass in the supplier as a property of the Str object, and apply lazy evaluation in the methods that require it using lambda expressions, (join, map, flatmap etc.) hope this helps!

hi! you can refer to lecture 7 slide 9 for an example of how to use supplier to lazily evaluate. then only call the .get() in places where you want it to eagerly evaluate

hi i think you can try modify your constructor where Str can be initiated using Supplier and modify all other methods accordingly

ooh i got it thank you all :)

license: MIT


text:
[W6.4b][T09-B4] Lim Yong Song

Do the exercise in [Addressbook-Level3: LO-NFR].
Add NFR to developerguide

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.

authors: limyongsong ngsikai


text:
[W6.1e][W10-B4]Joshua Lee Kai Sheng]

-LO JUnit

Thanks. Acknowledged and closed.


text:
Move the clear screen/Ctrl-L logic inside the line editor engine

We currently handle the Ctrl-L screen clearing command by exiting the read_line() method with the Signal::CtrlL and keeping the line buffer state as is. This requires the read_line() method to respect the previous state of Reedline and collaboration from the side of the consumer.
This might be less than optimal. We might consider moving the Ctrl-L handling into the Reedline engine with a call to the painter and maybe provide the Option to disable this. A public method to clear from the side of the consumer is already existing.

https://github.com/jntrnr/reedline/issues/132
I noted some strange behavior with Ctrl-L in the above issue...

Unfortunately, this did not fix it...
I am seeing the same exact issue on my Macbook as before...
When you hit command K it clears the screen buffer, but on the next
key stroke it takes you back to the bottom of the screen which you don't
want.
When you hit Ctrl - L it does not clear the screen buffer....
The famous @fdncred ansi command still works like a charm 👍

For reference here is my version of the @fdncred command
alias cls = $"(ansi cls)(ansi clsb)(ansi reset)(ansi home)"

@stormasm I think if you look at the keybindings default | find clear you'll see that ctrl+l is mapped to ClearScreen but there is a new command called ClearScrollback. So, I'm speculating here that you may need to define a new keybinding to do both clearscreen and clearscrollback.
Or maybe just clearscrollback - this is what it does but i'd have to lookup those cleartypes to understand exactly what it's doing.
    pub(crate) fn clear_scrollback(&mut self) -> Result<()> {
        self.stdout
            .queue(crossterm::terminal::Clear(ClearType::Purge))?
            .queue(crossterm::terminal::Clear(ClearType::All))?
            .queue(cursor::MoveTo(0, 0))?
            .flush()?;
        self.initialize_prompt_position()

I just added this keybinding to nushell and it works to clear the screen and clear the scrollback, BUT you have to hit it twice. This test was in windows.
    {
        name: clear_everything
        modifier: control
        keycode: char_l
        mode: emacs
        event: { send: clearscrollback }
    }

So here is my (strong) opinion on this matter (and I am speaking for all of our Macbook users who use this terminal)...
We should have a way to solve this problem out of the box for our users.
They should not have to do anything....
Currently the @fdncred solution works for me with my alias...
It is a fine solution / but its not part of nushell...
Ideally some keystroke should be builtin to nushell for all the
other users who don't have this alias defined...
Or just bake this alias into the default script / or some keystroke
into nushell that is well known and documented.
Preferably CMD-k or Ctrl-L
Until it works that way IMHO its not fixed... 👍

so, if i understand you right @stormasm, you want to clear the screen and clear the scrollback buffer all at once, correct? is that the normal thing on linux and mac with the clear command?  it seems to work that way with nushell's clear command.

Ideally I would like it to work the exact same way as the @fdncred command / alias works which I think is to do both ?

Ideally I would like it to work the exact same way as the @fdncred command / alias works which I think is to do both ?

but if this is just a preference, i'm not sure we should do it. if it's a standard, we definitely should do it. that's what i'm trying to get at.

Cmd-K does both...

it's interesting that Apple's documentation for terminal keybindings is a little vague, imo. I wouldn't guess that cmd-k and cmd-l work the way you say after looking at the docs.

description
shortcut

Clear to start
Command-K

Clear to previous mark
Command-L

https://support.apple.com/en-asia/guide/terminal/trmlshtcts/2.12/mac/11.0

Clear to start       Command-K

I am assuming that "Clear to start" means "clear the screen buffer"

agreed, now that we've tested that and can see evidence of that, but the documentation doesn't spell that out.

in general the apple / mac documentation "has lots of room for improvement" 😄

To solve this there are three separate issues:

Command-K and Command-L (If I understand correctly it uses those special marks similar to kitty) are special sauce in Macs terminal. Here the terminal emulator takes care of clearing but we are not able to detect the keypress. If the line editor is basically just working with the Save and Restore cursor position commands of VTwhatever ANSI this is not much of an issue . If you basically only restore the cursor. For the fancier display we want to be able to know in absolute terms where we are on the screen for the menu stuff etc. Thus we keep the cursor position stored (polling it is expensive) and lacking some kind of event the result is a borked screen where the prompt is where it was before pressing Command-k. Solution to this is probably hidden somewhere in how zsh/fish get everything to work on the mac after pressing Command-k
Doing the proper clear for the scrollback buffer. On Linux (gnome-terminal, kitty, alacritty, vscode terminal) I was able to resolve that by reordering the current screen clear before the scrollback purge (using the same crossterm commands) (basically @stormasm 's version of the nushell command sequence minus the style reset)

For reference here is my version of the @fdncred command
alias cls = $"(ansi cls)(ansi clsb)(ansi reset)(ansi home)"

In @fdncred 's full terminal reset command https://github.com/nushell/nushell/issues/5089#issuecomment-1087932140 there are additional features that are hard to get absolutely crossplatform. The extra reset ESC c (https://en.wikipedia.org/wiki/ANSI_escape_code#Fs_Escape_sequences) is probably not really defined for older Windows terminals? At least it is currently not covered by crossterm

this works for me with the latest reedline changes (not in nushell yet).
    {
        name: clear_backbuffer
        modifier: control
        keycode: char_l
        mode: emacs
        event: { send: ClearScrollback }
    }

Its working !!  Yeh !!
I am closing this issue...
https://github.com/nushell/nushell/pull/5405

authors: fdncred sholderbach stormasm

repo: nushell/reedline


text:
GTM URL has changed, please update the default options

The new URL for GTM is: https://www.googletagmanager.com/gtag/js and the previous URL throws a 404 error

URL mới cho GTM là: https://www.googletagmanager.com/gtag/js và URL trước đó gây ra lỗi 404

thanks

Perhaps Google changed something, but the old URL still works for me:
% curl -s https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX

// Copyright 2012 Google Inc. All rights reserved.
(function(){

var data = {
"resource": {
  "version":"1",

  "macros":[{
      "function":"__u",

The new URL referred to above also works.

Anyone have more information on this, yet the m/gtm.js? seems to give 400 , but seems to still work.
Should I change my url to the gtag/js?

Where are you? Does it work if you just use curl? Are you sure you're using the right GTM ID?
I note that if I don't use a GTM ID I get a 400 error:
% curl -I https://www.googletagmanager.com/gtm.js
HTTP/2 400

but if I use a valid ID it works (status 200):
% curl -I https://www.googletagmanager.com/gtm.js?id=GTM-TDWXYZW
HTTP/2 200

authors: datlechin esorribas garyo hoektoe

repo: nuxt-community/gtm-module


text:
Dynamic alternate urls

Hi all,
I have a project in which certain routes are collected from a rest api. This is an example of a route:
ES: /camino-frances-sarria-grupo/
EN: /en/french-way-from-sarria-in-group/
IT: /it/cammino-francese-da-sarria-in-gruppo/
I have created a component that collects all the root routes [slug].vue since in the same root route there can be different types of content. I know it is not a good practice but I do not have the decisive power to change this.
The route as seen is the same since only the language code is placed before it but the slugchanges depending on the language
<template>
    <component
        :is="component.component"
        v-for="(component, index) in components"
        v-once
        v-bind="component.payload"
        :key="index"
    />
</template>

<script setup lang="ts">
    import { defineAsyncComponent } from 'vue'
    import { useCms } from '@/modules/calltek/cms'

    const route = useRoute()
    const i18n = useI18n()
    const cms = useCms()
    const components: any[] = []

    try {
        const slug = route.params.slug.toString()
        const currentLang = i18n.locale.value

        const result = await cms.get(currentLang, ['ROUTE', 'PRODUCT'], slug)

        // alternate slugs
        const alernateUrls: Record<string, string> = {}
        result.data.slug.forEach((slug) => {
            alernateUrls[slug.code] = `/${slug.text}`
        })

        defineI18nRoute({
            paths: alernateUrls
        })

        components.push({
            component: defineAsyncComponent(
                () =>
                    import(`../partials/${result.type.toLowerCase()}/index.vue`)
            ),
            payload: {
                data: result.data,
                lang: result.locale
            }
        })
    } catch (error) {
        throw createError({
            statusCode: 404,
            statusMessage: 'Página no encontrada',
            fatal: true
        })
    }
</script>

<style scoped lang="scss"></style>

From what I see defineI18nRoute does not work with dynamic routes. How can I address this?

I try to do a hack like this:
route.params.slug_en = 'example-slug-en'
route.params.slug_it = 'example-slug-it'

defineI18nRoute({
    paths: {
        es: '/[slug]',
        en: '/[slug_en]',
        it: '/[slug_it]'
    }
})

But didn't work

@kazupon
in my opinion it would be great to have a composable or compiler macro to define custom paths for ALL dynamic routes at once, that can be called, e.g. at the start of app.vue.
e.g.:
defineI18nRoutes({
    paths: {
      about: {
        fr: '/a-propos',
      },
      me: {
        fr: '/je',
      },
      services: {
        fr: '/offres',
      },
      'services/advanced': {
        fr: '/offres/avancee',
      }
    }
})

this is practically a necessity with headless CMS, which are getting major traction and are a perfect fit for Nuxt.
this way, one could fetch all routes incl. their translated paths from the CMS and tell the i18n-module about it.
this would also enable linking to other pages using the useLocalePath cmposable, since i18n now has info about all the translated paths.

I'm facing a similar issue with wrong alternate dynamic routes when using static generation with nuxi generate and using the strategy prefix_except_default.
The generated routes and translations seem fine but when trying to navigate via useSwitchLocalePath() from let's say the english page en/test-page to it's default route in german test-seite, nuxt tries to fetch the json payload that still includes the old locale /en/test-seite/_payload.json and fails because it doesn't exist. It should load test-seite/_payload.json without the en prefix.
On SSR this works fine, only facing this issue when generated staticly. It looks like the locale is not being updated fast enough only after nuxt is handling the GET for the payload.json file.
Thanks for any help in advance!

In my case I currently perform a predefined query to my backend in the paths /:slug and /:parent_slug/:slug
It happens that by hierarchy inherited from the old project i have different entities in those routes and I need to make a mandatory query to the backend so that it tells me which entity is the one I'm visiting and give me the data. The backend also returns me the routes of the alternative languages.
To probe all the routes at the beginning of the call would not be efficient in my case and at the moment I have a problem to generate the alternative links since as I commented previously I believe that it is not possible to define them in a dynamic way.

This is an issue, how can we define alternative routes for dynamic parameter when loading data from an API?
Using defineI18nRoutes cannot solve this issue since it's compile time micro.

This is an issue, how can we define alternative routes for dynamic parameter when loading data from an API? Using defineI18nRoutes cannot solve this issue since it's compile time macro.

I think that right now the only method is to delegate the route management to nitro or another backend.

This is an issue, how can we define alternative routes for dynamic parameter when loading data from an API? Using defineI18nRoutes cannot solve this issue since it's compile time macro.

Did you ever find a solution to this? I'm getting my routes from an API and the alternate tags are wrong. I'm using
const setI18nParams = useSetI18nParams();
setI18nParams({
  en: {
   slug: data.en.slug
  },
  nl: {
    slug: data.nl.slug
})

To dynamically set the route slugs, but I suppose the alternate tags have already been set by the time this runs?

@notflip
You're using setI18nParams correctly, please open a new issue with a minimal reproduction so we can take a closer look at your issue!
This issue should have been closed by https://github.com/nuxt-modules/i18n/pull/2580, so I'll be closing and locking it now (to prevent pinging the other participants in this and other very similar closed issues).

authors: 50l3r BobbieGoede FabianEllenberger Pezhvak codeflorist notflip


text:
Is it possible to use runtime config for runtimeCacheStorage?

Hello currently I set runtime cache storage as so:
ogImage: {
    runtimeCacheStorage: {
      driver: 'redis',
      host: process.env.NUXT_REDIS_HOST,
      port: 6379,
      ttlSeconds: 60 * 60 * 24 * 3,
      base: 'best-og',
      password: process.env.NUXT_REDIS_PASSWORD,
    },
  }

I also have a nitro plugin to register redis storage (Independent of og:image config)
export default defineNitroPlugin(() => {
  const storage = useStorage()
  const config = useRuntimeConfig()

  const driver = redisDriver({
    base: config.redis.base,
    host: config.redis.host,
    port: 6379,
    ttl: 60 * 60 * 24 * 3, // 3 days
    password: config.redis.password,
  })

  // Mount driver
  storage.mount('redis', driver)

  // https://nitro.unjs.io/guide/cache
  // Use redis on cache instead of memory
  await storage.unmount('cache')
  storage.mount('cache', driver)
})

Module works fine with above config however I was wondering if there is a better way of doing it.

Hi, thanks for the issue (sorry for the delay). This is a great question.
Technically you should just be able to do storage.mount('/cache/nuxt-og-image', driver) (the default cache path) within your runtime config and omit runtimeCacheStorage if you want to configure it like that.
Is there any particular reason you're creating the driver yourself instead of just doing it in the config though?

Hello, thanks for the answer.
The reason is the same actually, to get the runtime config when creating the driver. Here is the reference: https://nitro.unjs.io/guide/storage#runtime-configuration

authors: harlan-zw tberk

repo: nuxt-modules/og-image


text:
bridge: The requested module does not provide an export named 'createDefu'

Environment

Operating System: Darwin
Node Version:     v14.16.0
Nuxt Version:     2.16.0-27358576.777a4b7f
Package Manager:  npm@6.14.11
Builder:          webpack
User Config:      telemetry, hooks, mode, target, head, css, plugins, components, modules, build, srcDir, server, loading, render, publicRuntimeConfig, privateRuntimeConfig, proxy, serverMiddleware, router, bridge, buildModules
Runtime Modules:  @nuxtjs/proxy@2.1.0, @nuxt/http@0.5.13, @nuxtjs/device@1.2.7, @nuxtjs/svg@0.1.12
Build Modules:    @nuxt/bridge@3.0.0-27545203.75e046f

Reproduction
I use "@nuxt/bridge": "npm:@nuxt/bridge-edge@^3.0.0-27454252.7bf338d" to upgrade nuxt2 to nuxt/bridge version
Need some helps when i use npm run dev run dev environment get The above error, thanks ~
Describe the bug
use npm i install packages and npm run dev run dev environment:
error logs:
 ERROR  [worker reload] [worker init] The requested module 'file:///Users/w/workspace/node_modules/defu/dist/defu.mjs' does not provide an export named 'createDefu'

  import { createDefu } from 'node_modules/defu/dist/defu.mjs';
  ^^^^^^^^^^
  SyntaxError: The requested module 'node_modules/defu/dist/defu.mjs' does not provide an export named 'createDefu'
  at ModuleJob._instantiate (internal/modules/esm/module_job.js:104:21)
  at async ModuleJob.run (internal/modules/esm/module_job.js:149:5)
  at async Loader.import (internal/modules/esm/loader.js:166:24)
  at async Object.loadESM (internal/process/esm_loader.js:68:5)

and use npm why defu :
✦ ❯ npm-why defu
  Who required defu:
  web > @nuxt/bridge > unplugin-vue2-script-setup > defu@5.0.1
  web > nuxt-edge > @nuxt/cli-edge > @nuxt/config-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/cli-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/config-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/core-edge > @nuxt/config-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/core-edge > @nuxt/server-edge > @nuxt/vue-renderer-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/core-edge > @nuxt/server-edge > serve-placeholder > defu@5.0.1
  web > nuxt-edge > @nuxt/generator-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/loading-screen > defu@5.0.1
  web > nuxt-edge > @nuxt/server-edge > @nuxt/vue-renderer-edge > defu@5.0.1
  web > nuxt-edge > @nuxt/server-edge > serve-placeholder > defu@5.0.1
  web > nuxt-edge > @nuxt/telemetry > defu@5.0.1
  web > nuxt-edge > @nuxt/vue-renderer-edge > defu@5.0.1

Additional context
No response
Logs
No response

Just got this running. Either you install the package defu manually to the devDependencies or you delete the package-lock.json file, delete all node_modules and run npm i again.

Just got this running. Either you install the package defu manually to the devDependencies or you delete the package-lock.json file, delete all node_modules and run npm i again.

@felix-berlin thanks, but I don't think is a good idea to installing it manually，It is referenced by some other package

Had the same issue... per @MelvinSnijders comment, adding defu worked!
yarn add defu --dev

For now, manually adding defu to your package.json is the right way to solve this.

how can I add defu to my package.json?

same issue

repo: nuxt/bridge


text:
Manually triggering asyncData

Greetings.
I have a page which content I fetch with asyncData and I need to fetch that content again once a sign-in event happens:
export default {
  async asyncData ({ params }) {
    const res = await http.get(`/api/workshop/${params.id}/`)
    return {workshop: res.data.response}
  },
  computed: {
    ...mapGetters(['isAuthenticated'])
  },
  watch: {
    isAuthenticated () {
      // trigger asyncData again   <-----------
    }
  },

Redirecting to the same page after a successful sign-in would also work for me but something like
this.$router.replace(this.$router.currentRoute.path)

also doesn't work for me.
Can someone guide me what should I do (what am I going wrong) ?

Hi, @pkucmus!
You can put your fetch method outside the component logic, like:
function myFetchMethod () {...}

export default {
  async asyncData () {
    return myFetchMethod()
  },
  computed: {
    ...mapGetters(['isAuthenticated'])
  },
  watch: {
    isAuthenticated () {
      myFetchMethod()
    }
  }
}

Thank you very much. I was looking for something fancy like "re-triggering" of some sort of the asyncData with all the cool features around it (loading bar to be accurate). This will work, thanks again!

authors: KonstantinVlasov pkucmus


text:
fix(vue-app): pass vm also as arg to support arrow fns

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Fixes: #6466
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #6473 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #6473   +/-   ##
=======================================
  Coverage   95.65%   95.65%
=======================================
  Files          79       79
  Lines        2692     2692
  Branches      696      696
=======================================
  Hits         2575     2575
  Misses        101      101
  Partials       16       16

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.7% <ø> (ø)
:arrow_up:

#unit
92.34% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io pimlie


text:
<NuxtLoadingIndicator> is not taking middleware into account

Environment
Nuxi 3.2.3
RootDir: /home/projects/github-dsgmts
Nuxt project info:

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.2.3
Nitro Version:    2.2.3
Package Manager:  npm@7.17.0
Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
Here's a minimal reproduction: https://stackblitz.com/edit/github-dsgmts
Describe the bug
Clicking on the About links triggers the about middleware, which waits for 2 seconds before resolving. This 2 second-delay is not reflected on the <NuxtLoadingIndicator>, which only shows and hide after the middleware's delay.
Additional context
Current "fix"
I created a global middleware triggering a custom hook:
// middleware/before.global.ts
export default defineNuxtRouteMiddleware(async (to, from) => {
    await useNuxtApp().callHook('custom:before-middleware')
})

I then copied https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/components/nuxt-loading-indicator.ts and simply replaced nuxtApp.hook('page:start', indicator.start) with nuxtApp.hook('custom:before-middleware', indicator.start).
TypeScript is not happy with this because TS2345: Argument of type '"custom:before-middleware"' is not assignable to parameter of type 'HookKeys<RuntimeNuxtHooks>'. but it works as expected (and it does not break pages without middleware).
My suggestion
Maybe Nuxt could call a new hook before a page is loaded (and before a potentially middleware is invoked)?
If so, this hook could be used by nuxt-loading-indicator.ts in place of page:start?
Logs
No response

This makes sense to me - this is a good suggestion. A PR would be very welcome. 🙏

I'm currently getting around this by just adding the page:start to the middleware. Not sure if it's fine to do it this way, but it looks like it's working properly.
export default defineNuxtRouteMiddleware(async (to, from) => {
  await useNuxtApp().callHook('page:start')
  // rest of middleware
})

its not working on client side when keep the same route with different query params. The Loading Indicator get stuck. Please Reopen

Could you provide a reproduction?

Could you provide a reproduction?

https://stackblitz.com/edit/nuxt-issue-19528

authors: c-schwan danielroe itzaks quentint

repo: nuxt/nuxt


text:
Allow globalName include non english characters

What problem does this feature solve?
It will allow you to specify any name for app you want to.
What does the proposed changes look like?

Disable regex in https://github.com/nuxt/nuxt.js/blob/0bdc71c8d8c884a350c5b1b40fb74974a6b1d96a/packages/config/src/options.js#L64
Replace templates from

obj.<%= template %>

to
obj["<%- template.replace(/"/g, '\\"') %>"]

Need additional logic for HTML ID handling, e.g. replace any non-valid characters with their Unicode point (like u0000).

This feature request is available on Nuxt community (#c10688)

We do not plan to support this.

authors: Zekfad danielroe


text:
docs: put comment on right line

🔗 Linked issue

Just a docs issue
📚 Description

Comment was on the wrong place since following change was added: https://github.com/nuxt/nuxt/pull/27029/files#diff-5e083470b457ea806258cab809ae6fe30eae38cdd7a1e8ba98e86969e5476226

I also think the comment is on the right line, (given the new default directory structure) ☺

My bad I thought the comment was for default values!

authors: edimitchel manniL


text:
Tailwind custom colors are not working

Description
Description
Per the documentation I have my app.config.ts file setup as follows:
 /* app.config.ts */ export default defineAppConfig({   ui: {     primary: 'mintcream',     gray: 'cool',   }} )
And my corresponding tailwind.config.js file is setup as follows:
 /* tailwind.config.js */ /** @type {import('tailwindcss').Config} */ module.exports = {   content: [     "./components/**/*.{js,vue,ts}",     "./layouts/**/*.vue",     "./pages/**/*.vue",     "./plugins/**/*.{js,ts}",     "./nuxt.config.{js,ts}",     "./app.vue",   ],   theme: {     extend: {       fontFamily: {         'raleway': ['Raleway', 'sans-serif']       },       fontWeight: {         '100': '100',         '200': '200',         '300': '300',       },       colors: {         mintcream: '#e8f3e6',         'efeffd': '#efeffd',         softgray: '#fafafc',         forestgreen: '#197D4B',         doublemint: '#72b666',         bluey: '#e1e9f2',         pinky: '#e0cee0',         darkpinky: '#c29fc2',         cafe: '#e0d1c6',       },     },   },   plugins: [], }
Tailwind works fine for my project otherwise but doesn't work if I specify my existing registered tailwind colors.  I've also tried updating primary to primary: '#e8f3e6'  as well with no luck.  Any idea how to fix?
Nuxi info as well:
- Operating System: Darwin`

Node Version:     v18.12.1
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    2.6.3
Package Manager:  npm@9.6.4
Builder:          -
User Config:      components, devtools, css, modules, googleFonts, postcss
Runtime Modules:  @nuxtjs/google-fonts@3.0.2, @pinia/nuxt@0.4.11, @pinia-plugin-persistedstate/nuxt@1.1.1, @nuxt/ui@2.9.0
Build Modules:    -
`

You have to use shades from 50 to 900 for each color like the default Tailwind CSS color palette. You can use a tool such as https://uicolors.app/create to do so.

Ah thank you - I was able to update my files accordingly and it's working as expected now.  In my app config I noticed if I did something like primary: green-Adding my config in case anyone else encounters the same question:
/** @type {import('tailwindcss').Config} */ module.exports = {   content: [     "./components/**/*.{js,vue,ts}",     "./layouts/**/*.vue",     "./pages/**/*.vue",     "./plugins/**/*.{js,ts}",     "./nuxt.config.{js,ts}",     "./app.vue",   ],   theme: {     extend: {       fontFamily: {         'raleway': ['Raleway', 'sans-serif']       },       fontWeight: {         '100': '100',         '200': '200',         '300': '300',       },       colors: {         mintcream: '#e8f3e6',         'efeffd': '#efeffd',         softgray: '#fafafc',         forestgreen: '#197D4B',         doublemint: '#72b666',         bluey: '#e1e9f2',         pinky: '#e0cee0',         darkpinky: '#c29fc2',         cafe: '#e0d1c6',         green: {  DEFAULT: '#E8F3E6',  50: '#FFFFFF',  100: '#FFFFFF',  200: '#FFFFFF',  300: '#FFFFFF',  400: '#FFFFFF',  500: '#E8F3E6',  600: '#C5E1C0',  700: '#A2CF9A',  800: '#7FBC74',  900: '#5EA851'},         fruitsalad: {  DEFAULT: '#5DA950',  50: '#CFE6CA',  100: '#C2E0BD',  200: '#A8D2A1',  300: '#8FC585',  400: '#75B86A',  500: '#5DA950',  600: '#48833E',  700: '#335D2C',  800: '#1E371A',  900: '#091108',  950: '#000000'}       },     },   },   plugins: [], }
and app.config.js:
export default defineAppConfig({   ui: {     primary: 'fruitsalad',     gray: 'slate',   }} )

repo: nuxt/ui


text:
feat(templates): improve welcome screen luminance effect

Make the logo aware of the luminance effect as well:
Before:
https://user-images.githubusercontent.com/11247099/179776050-3a52dde4-09e8-4769-aac0-2e2f939d2f53.mp4
After:
https://user-images.githubusercontent.com/11247099/179775519-389585c7-49b2-425b-9333-8e5afb82d33f.mp4

In light mode, the "3" is not very readable when the teal background, I would suggest changing it to black, or at least making it darker in light mode. However, the SVG is merged with the mountain so I can't change it separately. Might need help from who has the source file of the logo.
To improve the "physics" even further, I would suggest we move the loading bar to the top or bottom of the screen, otherwise it's a bit less natural that the bar does not light up the logo.

/cc @Flosciante @Atinux

Thank you @antfu
The main issue I have is the color contrast here:

Happy for you to try with the navbar at the top, also something I wanted to explore: https://codepen.io/Chokcoco/pen/dypaobm
Happy for you to give an update?

@Atinux Yes I am aware of it but I can't modify it as the "3" is blended with the mountain. Need some help here:

In light mode, the "3" is not very readable when the teal background, I would suggest changing it to black, or at least making it darker in light mode. However, the SVG is merged with the mountain so I can't change it separately. Might need help from who has the source file of the logo.

I wanted to explore: codepen.io/Chokcoco/pen/dypaobm

Do you mean by replacing the loading bar to be like the demo? It looks great and sure I can give it a spin

I have tried two styles, in two commits:
Conic fa1ddce3a1f0918a1e692df0244bcc2c84d4d650
(from https://codepen.io/Chokcoco/pen/dypaobm)
https://user-images.githubusercontent.com/11247099/182845140-8e0a3049-08d8-46d2-aa00-35fb63b5ba16.mp4
Blurred Progress d2f84f14ab9c45e560d1e8ebbeb427b5b745a3f5
https://user-images.githubusercontent.com/11247099/182845201-c2a8eae8-7c69-4a5c-8dc1-17379716390d.mp4
What do you think?

Sorry for the delay of my answer.
I love the Blurred Progress @antfu (damn I wish to have answer before the RC8).

Do I need to make a manual release @pi0 ?

Released as patch (@nuxt/ui-templates@0.3.2)

authors: Atinux antfu pi0


text:
🛑 Kubeflow ML Platform is down

In 6fad374, Kubeflow ML Platform (https://kubeflow.lab.novaglobal.com.sg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kubeflow ML Platform is back up in 0be936a.

repo: nvgsg/lab-upptime


text:
🛑 Kubeflow ML Platform is down

In 9e4337a, Kubeflow ML Platform (https://kubeflow.lab.novaglobal.com.sg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kubeflow ML Platform is back up in 82df5c0.


text:
🛑 NVIDIA AI Enterprise Hub is down

In 0f47b78, NVIDIA AI Enterprise Hub (https://nvaie.lab.novaglobal.com.sg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NVIDIA AI Enterprise Hub is back up in 593b3c0.


text:
🛑 PufferAI HPC Portal is down

In c332361, PufferAI HPC Portal (https://hpc.lab.novaglobal.com.sg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PufferAI HPC Portal is back up in ea483ce.


text:
Bug: 'buffers`` and 'tabs'` padding not applied per element

Self Checks

[x] I'm using the latest lualine.
[x] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

Using config provided in minimal config section
Expected behaviour
Each buffer element would have padding applied on both side. For example, when there's one buffer/tab, left and right sides are equally padded

Actual behaviour
I'm not sure if this is by design but setting padding = n  adds padding on the extremities of the section, rather than per buffer/tab elements

Minimal config to reproduce the issue

Config
require('lualine').setup{
  options = {
    component_separators = { left = '', right = '' },
    section_separators = { left = '', right = '' },
  },
  tabline = {
    lualine_a = {
      { 'buffers', padding = 5 }
    },
    lualine_b = {},
    lualine_c = {},
    lualine_x = {},
    lualine_y = {},
    lualine_z = {
     { 'tabs', padding = 5 }
    }
  },
}

Aditional information
If this is by design, could there be an option added to allow per element padding?

You're right currently padding isn't handled per buffer/tab basis .
Currently I don't have time . It'll probably take a while for me to get hands on it . You're welcome to send a pr it should be farely easy :)

authors: ourigen shadmansaleh


text:
slash in windows makes invalid path

Discussed in https://github.com/nvim-neo-tree/neo-tree.nvim/discussions/1103

Originally posted by hf-xz August 16, 2023
What am i using

Windows 11
git-bash
lazyvim

What i met
a. when i use <leader> e, which means Explorer NeoTree (root dir), it comes out with no item.
b. when i use <leader> E, which means Explorer NeoTree (cwd), it works normally.
What i found

in case A, the path show on top of the explorer is D:/Develop/back-end, linux slash style, this doesn't work.
in case B, the path is D:\Develop\back-end, windows slash style, this work!

What i want
could there be any method to set the slash style? or some other way to solve the problem?

Tagging @hf-xz- as this was originally their issue

@miversen33, sorry i just came home, and the issue is on my working computer, so i can't give the screenshot until Monday. But i can say that i didn't customize my neo-tree configuration before the problem.
The D:\Develop\back-end is a django project, you may pick any random project from GitHub like this for test.
In my opinion, the git-bash in Windows may be the root of the problem, i have got some other issue about slash with git-bash in Windows in my daily use.
Maybe neo-tree get the root dir from pwd command or something, and the git-bash in Windows gives the linux slash style path, which can't be recognized by Windows.

I am fine waiting over the weekend. It doesn't make a lot of sense to me to try and guess at what your filestructure would look like in order to recreate the issue when as it stands I cannot recreate the issue lol. Come monday if you could get as simple as possible a screencap of a filestructure that reproduces your error, I will get something put together to recreate it and we can move forward from there :)

Hi, i'm back, and here is my screenshot:
environment
In git-bash:

In PowerShell:

problem
Case A - root dir:

Case B - cwd:

@hf-xz I am unable to get neovim to even load in gitbash. Mind filling me in on how you have neovim setup for gitbash? A config I can use would be fantastic :)

First, I use scoop to install my git-bash and neovim, like this:
[~] where nvim bash | rg scoop
/c/Users/Administrator/scoop/shims/nvim
/c/Users/Administrator/scoop/shims/bash

[~] scoop list | rg neovim
neovim      0.9.1        main   2023-07-07 14:55:04

[~] scoop list | rg git
git         2.41.0.3     main   2023-07-17 15:58:58

In Windows Terminal, I set the startup command like this: C:\Users\Administrator\scoop\shims\bash.exe --login -i
Then in terminal, you will get this:
[~] echo $SHELL
/usr/bin/bash

However, if you go into /usr/bin and open in explorer(cd /usr/bin && explorer .), you will find the /usr/bin is actually C:\Users\Administrator\scoop\apps\git\2.41.0.3\usr\bin
Now, since nvim.exe is available in /c/Users/Administrator/scoop/shims, just make sure it is in your $PATH, you can do this by either add export PATH=$PATH:/c/Users/Administrator/scoop/shims to your ~/.zshrc or ~/.bashrc or use Windows like way (use control panel)
Using this process, with no more config, you should be able to run neovim in gitbash.
As for LazyVim, I followed the Official guide, but make sure to use powershell and follow the Windows section.
With LazyVim, I start nvim and it automatically install plugins, including neo-tree.

Getting Neovim up and running in git bash is the important thing. I appreciate you, thank you!


text:
fix: handle reveal_force_cwd correctly when cwd doesn't need to change

This PR fixes a bug where the tree will not open if reveal_force_cwd is given but the cwd doesn't need to change. i.e. the cwd is already a parent of the file being revealed. As you can see from the changes, the bug was just caused by an if branch being taken and then not doing anything.
I've added a unit test for this case and also tested manually.

Thanks!

authors: cseickel marcuscaisey


text:
Bind extension to function?

As the title says, I am trying to bind frecency as a function to pass in dynamic config.   The default way documented works but i can't seem to invoke this extension as I am  able to invoke other telescope extensions. I instead get the error unable to find frecency.
`
vim.keymap.set("n", "fr", function()
require("telescope").extensions.frecency({})
end)
`

[Solved] Of course I find a soluton right after posting.
`
vim.keymap.set("n", "fr", function()
require("telescope").extensions.frecency.frecency({})
end)
`

Yes, it lacks info about such way. I added a note to launch frecency via Lua function.

authors: delphinus phortonssf


text:
ENTER to read selected pack doc

When selecting a package, nothing happens.
Ideally I think it would be better to open the github repo but I don't know how to do it.
Meanwhile, I've made it open the readme files.

This is very practical.
But why no one merge it?

I havent seen the original author in months. Sorry i should have merged it none the less.
PR looks good to me. Thanks :)


text:
perf: change debounce to throttle

After using it somewhat, I don't think a debounce provides the best experience. Since we're not throttling, I've doubled the timer to 200ms.
@folke what do you think?

Yeah, you're right. A throttle is good as well and probably better for user experience.
You can simplify the code to this:
local function throttle(fn, ms)
  ms = ms or 200
  local timer = vim.loop.new_timer()
  local waiting = 0
  return function()
    if timer:is_active() then
      waiting = waiting + 1
    else
      waiting = 0
      fn() -- first call, execute immediately
      timer:start(ms, 0, function()
        if waiting > 1 then
          vim.schedule(fn) -- only execute if there are calls waiting
        end
      end)
    end
  end
end

This acts as a throttle and will also execute a trailing update when needed.

Sweet!

repo: nvim-treesitter/nvim-treesitter-context


text:
Rename not work

Describe the bug
Rename does nothing. I've tried with typescript
Steps to reproduce

:Lspsaga rename
replace name
<CR>
Float closes but nothing happens

I tried :lua vim.lsp.buf.rename() but it works properly.
Expected behavior
Module name properly changed.
Neovim version (nvim -v)
v0.10.0-dev-653+gfbeef0d4e-Homebrew
lspsaga commit
20eef6
Terminal name/version
alacrittty 0.12.2

same for me.
Neovim version (latest)
v0.9.1
LSPSaga (latest commit)
Languages used
Typescript, Typescript React
Terminal used
Alacritty 0.12.2

Same for me
:lua vim.lsp.buf.rename() work fine, but after command :Lspsaga rename stop working.
Neovim version (latest)
v0.9.1
LSPSaga (latest commit)
Languages used
Lua
Nvim-Qt

@glepnir Thanks! it works!

I'm on the latest commit https://github.com/nvimdev/lspsaga.nvim/commit/96d001721f5d4c47a6c5ed54124e3b604b7bbca8 and  :Lspsaga rename not working with typescript, but works with python
Neovim version (latest)
v0.9.1
LSPSaga (latest commit)
https://github.com/nvimdev/lspsaga.nvim/commit/96d001721f5d4c47a6c5ed54124e3b604b7bbca8
Languages used
Typescript, Typescript React, python
Terminal used
kitty 0.28.1

can't reproduce. ts react works fine .

@glepnir when I try to rename I get this stack traceback after I press enter
Error executing vim.schedule lua callback: ...share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename/init.lua:176: attempt to index local 'result' (a nil value) stack traceback:         ...share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename/init.lua:176: in function 'handler'         /usr/share/nvim/runtime/lua/vim/lsp/buf.lua:321: in function 'handler'         /usr/share/nvim/runtime/lua/vim/lsp.lua:1394: in function ''         vim/_editor.lua: in function <vim/_editor.lua:0>
config

how to reproduce . could you provide an example code  I can't reproduce it on ts or react .

@glepnir It's working now after updating, thank you

Has anyone tried it in Java, because it doesn't work for me :(
:lua vim.lsp.buf.rename() working
:Lspsaga rename not working
Neovim version (latest)
v0.9.5
LSPSaga (latest commit - 0e2e116)
Languages used
Java
Terminal used
Alacritty 0.13.2

authors: body20002 duongapollo glepnir gusallc johnny-mh yorik1984


text:
feat(diagnotics): added diagnostics for terragrunt(hcl) files

Creates a diagnostics for terragrunt(HCL) files, using the terragurnt hclvalidate command line tool.

I am testing this in local and it's not working.
I am seeing this in the logs. which means. diagnostic is able to parse the json. however,  it's not showing any diagnostic.
[TRACE Wed 24 Jul 20:10:37 2024] /Users/xxx/.local/share/nvim/lazy/none-ls.nvim/lua/null-ls/diagnostics.lua:185: received diagnostics from source 9
[TRACE Wed 24 Jul 20:10:37 2024] /Users/xxx/.local/share/nvim/lazy/none-ls.nvim/lua/null-ls/diagnostics.lua:186: { {
    bufnr = 5,
    col = 8,
    end_col = 9,
    end_lnum = 0,
    end_row = 1,
    filename = "/Users/xxx/Documents/git/terraform-google-cloudfunctions/examples/env/dev/cloudstorage_func/Users/xxx/Documents/git/terraform-google-cloudfunctions/examples/env/dev/cloudstorage_func/terragrunt.hcl",
    lnum = 0,
    message = "Missing name for include - All include blocks must have 1 labels (name).",
    row = 1,
    severity = 1,
    source = "terraform validate"
  } }

can you add tests for the terragrunt builtins?

I have already added a test for diagnostic,  check this file.  let me know if it needs any more tests.
https://github.com/nvimtools/none-ls.nvim/pull/168/files#diff-c2c076648e1b1e04ff69ac1030444a8ffbfda480d12fe8771b719a77cba92d7f

Thank you!

license: Unlicense


text:
updating .bashrc, bash_profile ect.... did not work for me. But I copied these lines into my zshrc and got it to work

Operating system and version:
nvm debug output:

nvm ls output:

How did you install nvm?

What steps did you perform?
What happened?
What did you expect to happen?
Is there anything in any of your profile files that modifies the PATH?

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

Closing in favor of #2196.

authors: jjhiggz ljharb

repo: nvm-sh/nvm


text:
Unable to download nvm install.sh via curl on Mac.

Operating system and version:
macOS Ventura 13.2
nvm debug output:

zsh: command not found: nvm
nvm not installed, error occurs while trying to install via cURL

nvm ls output:

zsh: command not found: nvm
nvm not installed, error occurs while trying to install via cURL

How did you install nvm?

Trying to install nvm via the cURL command in the nvm install steps
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

Output from cURL:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15916  100 15916    0     0   305k      0 --:--:-- --:--:-- --:--:--  345k
=> Downloading nvm from git to '/Users/mbeirne/.nvm'
=> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Failed to clone nvm repo. Please report this!

#### What steps did you perform?
What happened?
What did you expect to happen?
Is there anything in any of your profile files that modifies the PATH?

No

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

*   Trying [2606:4700:10::6814:172e]:443...
* Connected to nodejs.org (2606:4700:10::6814:172e) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.nodejs.org
*  start date: Feb  3 00:00:00 2023 GMT
*  expire date: Mar  5 23:59:59 2024 GMT
*  subjectAltName: host "nodejs.org" matched cert's "nodejs.org"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: HEAD]
* h2h3 [:path: /dist/]
* h2h3 [:scheme: https]
* h2h3 [:authority: nodejs.org]
* h2h3 [user-agent: curl/7.86.0]
* h2h3 [accept: */*]
* h2h3 [accept-encoding: deflate, gzip]
* Using Stream ID: 1 (easy handle 0x12a00a800)
> HEAD /dist/ HTTP/2
> Host: nodejs.org
> user-agent: curl/7.86.0
> accept: */*
> accept-encoding: deflate, gzip
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200
HTTP/2 200
< date: Thu, 16 Feb 2023 10:16:23 GMT
date: Thu, 16 Feb 2023 10:16:23 GMT
< content-type: text/html
content-type: text/html
< last-modified: Thu, 16 Feb 2023 07:06:22 GMT
last-modified: Thu, 16 Feb 2023 07:06:22 GMT
< cache-control: max-age=14400
cache-control: max-age=14400
< cf-cache-status: HIT
cf-cache-status: HIT
< age: 10336
age: 10336
< vary: Accept-Encoding
vary: Accept-Encoding
< strict-transport-security: max-age=31536000; includeSubDomains; preload
strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
x-content-type-options: nosniff
< server: cloudflare
server: cloudflare
< cf-ray: 79a5870b3f7960f2-DUB
cf-ray: 79a5870b3f7960f2-DUB
< content-encoding: gzip
content-encoding: gzip

Looks like perhaps git isn't set up properly. What happens if you run git -v?

@PramodToleti some countries block github via DNS. If you set your DNs server to 1.1.1.1, what happens?

@ljharb It worked brother! Thank you

authors: PramodToleti ljharb marcusbeirne


text:
🛑 TS Portal is down

In 1ae840f, TS Portal ($TS_URL/Account/Login) was down:

HTTP code: 502
Response time: 19113 ms

Resolved: TS Portal is back up in ece3bbb.

repo: nvpmodem/uptime


text:
--failonany option?

I noticed there are --failoninfo --failonwarning and --failonerror but they cannot be used together.
--failoninfo also doesn't seem to include warnings or errors (it's not an error level selector, which would make sense to some extent). The help documentation also seems to have a copy-paste issue as error and info have the same help text.
--failonerror               Fails if at least one error is found
--failonwarning             Fails if at least one warning is found
--failoninfo                Fails if at least one error is found
Is there a way to configure this to return 1 if the report is not 100% clean. It's not clear from the help how that can be accomplished.
Tested with
npm-groovy-lint version 5.1.1
Embeds:

CodeNarc version 1.5
Groovy version 3.0.3 (superlite)

This was indeed messy :)
About to replace by a failon option :)

Published in v5.3.0 :)

authors: nvuillam unitysipu

repo: nvuillam/npm-groovy-lint


text:
🛑 Harmony Bot Website is down

In 292d3c4, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 82567bf.

repo: nxvvvv/uptime


text:
Adjacent links to the same CC URL

At the bottom of the page there are two links two CC links, "Creative Commons CC0 1.0 Universal Public Domain" and "Creative Commons CC0 1.0 Universal Public Domain Dedication" that both go to  https://creativecommons.org/publicdomain/zero/1.0/. This creates a lot of redundancy for screen readers and, apart from that, I can't really divine the difference between the designation and the dedication. Should be rewritten so that there is only one link.

Updated Footer language. We can now use the following footers:
The data produced through this project is covered by a Creative Commons CC0 1.0 Universal Public Domain dedication. By participating in this project, you agree that any copyrightable content you submit shall be subject this Creative Commons CC0 1.0 Universal Public Domain dedication.

authors: seanredmond wlla


text:
License?

I'm sorry if I missed it, but I couldn't find licensing information for kibana-vega-vis. Could you please include the ususal LICENSE.md (or similar) file, and/or licensing information in source code files (I checked some of them randomly, but I couldn't find any).

@jgbarah thanks for the ping, it was specified inside the package.json. I added the LICENSE file.

Thanks!!!

authors: jgbarah nyurik

repo: nyurik/kibana-vega-vis


text:
Script error

Hi, I got this following text when running uploadr.py
Traceback (most recent call last):
File "./uploadr.py", line 235, in
TOKEN_CACHE = eval(config.get('Config', 'TOKEN_CACHE'))
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'token_cache' in section: 'Config'
I don't know anything about coding so I don't know what was wrong.

Will check...

The template uploadr.ini file was wrong. Please load up the new uploadr.ini and reconfigure. You can use version 2.4.3 4eb1742 (on this link). Sorry!

Thanks, I'll try it tonight and see how it goes.

Bummer. I'm sorry about that!
First things first:

I have made further updates and included a small debug to check which python version your're using. Please test out  version is 2.5.5 (4b2e353).
Before running uploadr.py make sure you run the command below:

To avoid running this command exerytime you log-in into your system, follow the notes on this link to edit file ~/.bashrc and place this command there.
Side note: will improve install instructions.
$  export PYTHONPATH=~/apps/Python/lib/python2.7/site-packages $ ./uploadr.py -v

The Issue

The issue has to do with a "simple" import of a module "xml" which seems to be failing or not the correct one on your system. Don't quite know the reason why.
Please rerun with version 2.5.5(4b2e353)  with and without the Workaround mentioned below and let me know the results, namely the python version you're using.

Workaround

Please edit uploadr.ini file and at the end, change LOGGING_LEVEL to 40 which is for uploadr.py to provide only ERROR and CRITICAL messages. As xml.etree is never called  40
LOGGING_LEVEL = 40
To remove the workaround change it back to 30
LOGGING_LEVEL = 30

Sorry for this!

Sorry @ziegwald , yet another remark, if you can you should cleanup all your flickr photo (you can use organiser) and remove the local database file flickrdb just to make sure everything's cleaned up.
$ rm flickrdb

@oPromessa I've rerun the script (2.5.5) with and without the workaround but the error still stay the same. I'm using python 2.7.

Version 2.5.6 now available with fixes and improvements!

Great news! Excellent you managed to find that out. Will put a line in the code for that so that people can uncomment it if they need it.

I also use international (but western not eastern) characters and I had to force the following on the Task Scheduler... Although it states en_US with the utf8 added to it allows mine to work.

You could try with this setting...
or maybe try the Korean.UTF-8 setting: LANG=ko_KR.UTF-8 Check out "Notes on UTF-8 and locales"

export LC_ALL=en_US.utf8
export LANG=en_US.utf8

I will also attach an upload.cron file that I use for Task Scheduler.
Thanks!

Version 2.5.7 now available with fixes and improvements!

V2.5.9 available

from my testing it is much better!

V2.6.3 available

authors: oPromessa ziegwald

repo: oPromessa/flickr-uploader


text:
Add test specifically for document publish idempotency

There's a cryptic test that fails if you don't have your etherpad config text set to empty. This is a more descriptive test to fail in that case.

Changes Unknown when pulling fb3c13f96127ef8107495a4ddfa663aa617419b6 on mrvisser:test-idempotent-publish into ** on oaeproject:master**.

authors: coveralls mrvisser

repo: oaeproject/Hilary


text:
Update strategies.js for Preventing modification of the name and mail for CAS and Shibb

Preventing modification of the name and mail for CAS and Shibb

Coverage decreased (-0.0%) to 90.02% when pulling 7268ac1ec9b7aa991972137440a524f281a85b7c on dooremont:patch-18 into 92a85a1713d84e9a3edb454d086df4820d41c93e on oaeproject:master.

Left a question for @dooremont

Normally in our operation that we check to IT then sends out the information into the administrators can prevent changes

do you think added this modification for the next release ?
Left a question for @nicolaasmatthijs

replace by  #1313

authors: coveralls dooremont nicolaasmatthijs


text:
REPL Freezes Randomly

I haven't tracked down a for sure way to consistently reproduce this; but sometimes when using Run with REPL , after hitting return on a line, the line turns gray (syntax coloring on numbers, etc goes away); but nothing happens and the cursor stays on the end of the line.  If you hit backspace to erase a character, the character erases then pops back in.  You can hold backspace to delete more; but it all pops back in when you release the backspace key.

Yeah, similar REPL freezing issue with standalone nightcode-2.3.2 in ubuntu16.04 and nightcode-2.3.2.jar.
In my case, click "Run with REPL" with a .clj file, any typing and return in repl, seeing web browser for a few minutes, typing some code in the .clj file, click "Reload Selection" with the code typed, then freeze REPL and yeild below error messages. I collected it in the terminal session which ran nightcode-2.3.2.jar with "java -jar Nightcode-2.3.2.jar".
xception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774)
	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Node.fireEvent(Node.java:8413)
	at javafx.scene.control.Button.fire(Button.java:185)
	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
	at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
	at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:381)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:417)
	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:416)
	at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
	at com.sun.glass.ui.View.notifyMouse(View.java:937)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)
	... 56 more
Caused by: java.lang.NullPointerException
	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:26)
	at nightcode.controller$reload_selection_BANG_.invokeStatic(controller.clj:312)
	at nightcode.controller$reload_selection_BANG_.invoke(controller.clj:306)
	at nightcode.controller$_onReloadSelection.invokeStatic(controller.clj:315)
	at nightcode.controller$_onReloadSelection.invoke(controller.clj:314)
	at nightcode.controller.onReloadSelection(Unknown Source)
	... 66 more

Can you try it with the latest commit? You can build a new jar with boot build. It seems like it wasn't able to find the editor when you pressed the reload selection button.

I've cloned this repo one minutes ago and tried boot build. But it fail with below messages.
(Retrieving all success)...
Compiling 1/2 nightcode.core...
                                       java.lang.Thread.run                  Thread.java:  745
         java.util.concurrent.ThreadPoolExecutor$Worker.run      ThreadPoolExecutor.java:  617
          java.util.concurrent.ThreadPoolExecutor.runWorker      ThreadPoolExecutor.java: 1142
                        java.util.concurrent.FutureTask.run              FutureTask.java:  266
                                                        ...
                        clojure.core/binding-conveyor-fn/fn                     core.clj: 2020
                                          boot.core/boot/fn                     core.clj: 1029
                                        boot.core/run-tasks                     core.clj: 1019
                             boot.task.built-in/fn/fn/fn/fn                 built_in.clj:  742
                                          boot.pod/eval-in*                      pod.clj:  471
                                                        ...
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  102
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  109
                                                        ...
                                          boot.pod/eval-in*                      pod.clj:  468
                                          clojure.core/eval                     core.clj: 3187
                                                        ...
                                          pod$eval33.invoke                NO_SOURCE_FILE
                                    pod$eval33.invokeStatic                NO_SOURCE_FILE
                                       clojure.core/compile                     core.clj: 6018
                                    clojure.core/compile/fn                     core.clj: 6018
                                      clojure.core/load-one                     core.clj: 5812
                                                        ...
                                          clojure.core/load                     core.clj: 5991
                                          clojure.core/load                     core.clj: 6007
                                       clojure.core/load/fn                     core.clj: 6008
                                                        ...
                                     clojure.core/gen-class                 genclass.clj:  507
                                     clojure.core/gen-class                 genclass.clj:  635
                                clojure.core/generate-class                 genclass.clj:  132
                                     clojure.core/the-class                 genclass.clj:  109
                                                        ...
                                    java.lang.Class.forName                   Class.java:  348
                                   java.lang.Class.forName0                    Class.java
                            java.lang.ClassLoader.loadClass             ClassLoader.java:  357
                                                        ...
                            java.lang.ClassLoader.loadClass             ClassLoader.java:  424
                                                        ...
                          java.net.URLClassLoader.findClass          URLClassLoader.java:  381
       java.lang.ClassNotFoundException: javafx.application.Application
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: javafx.application.Application, compiling:(nightcode/core.clj:1:1)
             clojure.lang.ExceptionInfo: java.lang.ClassNotFoundException: javafx.application.Application, compiling:(nightcode/core.clj:1:1)
    file: "/tmp/boot.user8750979137486630278.clj"
    line: 19

Ah, if you're on Ubuntu I think you need to install the openjfx package.

Ok, I installed openjfx and retry boot build. But totally same error message reproduced.

Hmm, OK, you probably need the Oracle JDK 8 installed to build it. To avoid that, I built a JAR for you:
https://drive.google.com/file/d/0B0KYqUFfcen1OEpIUUJDajlsMEk/view?usp=sharing

It's weired. I've already installed Oracle JDK 8. Did you mean open-jdk-8 need openjfx? Anyway, thanks for built JAR. But it occured same freezing without any error message in terminal.

OK I'll look into it further.

@soulawaker Do you have a project I can reproduce this with?

Yeah, I will use workaround that stop REPL and re-Run with REPL for sometimes.
I cloned a project from https://github.com/ClojureBridge/welcometoclojurebridge.git.
And I used to run REPL in its walk.clj.

We are seeing this at the boston clojure bridge meetup.   At least myself and 1 student.   Both on OS X, both on jdk downloaded today 122.   Nightcode from site, 2.3.2
When choosing "Reload File" ...  nothing happens but stacktrace on console.    Doesnt all ways happen for me... only after going away and coming back.   student seems to always get error.
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774)
at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Node.fireEvent(Node.java:8413)
at javafx.scene.control.Button.fire(Button.java:185)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:381)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:417)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:416)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)
... 53 more
Caused by: java.lang.NullPointerException
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:26)
at nightcode.controller$reload_file_BANG_.invokeStatic(controller.clj:299)
at nightcode.controller$reload_file_BANG_.invoke(controller.clj:293)
at nightcode.controller$_onReloadFile.invokeStatic(controller.clj:302)
at nightcode.controller$_onReloadFile.invoke(controller.clj:301)
at nightcode.controller.onReloadFile(Unknown Source)
... 63 more

Found the problem. I'll be making a new release shortly.

I released 2.3.3, which I believe fixes this problem. Please let me know if you still notice it with that version.

Just installed JDK 1.8.0_131-b11 on Windows 10 (10.0.14393) on VirtualBox.
When I run the latest NightCode 2.3.3 from the bundled .exe, I still experience occasional freeze.
How ever, when I tun NightCode from .jar I have not experienced any problems so far.

@jarppe Interesting, perhaps bundling update 131 would fix that issue then. If you'd like me to cut a release today that bundles 131, to use in your class, I'm happy to do so. Let me know.

authors: NathanSmutz bherrmann7 jarppe oakes soulawaker

repo: oakes/Nightcode

license: unlicense


text:
chore(deps): update next, eslint

Update deps to deal with Dependabot PRs.
To test: this includes an update to Next itself, so worth a general shake down. It also updates a little code around pagination, so probably good to check pages using that.

thanks both!

:tada: This PR is included in version 1.185.16 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: jimCresswell oak-machine-user

repo: oaknational/Oak-Web-Application


text:
Fix cue parameter

get annotations traitdefinitions
 kubectl get  -n vela-system traitdefinitions.core.oam.dev  annotations -oyaml

see
status:
  conditions:
  - lastTransitionTime: "2021-04-22T09:04:25Z"
    message: 'cannot store capability annotations in ConfigMap: cannot generate OpenAPI
      v3 JSON schema for capability annotations: capability annotations doesn''t contain
      section `parameter`'
    reason: ReconcileError

cause：
#annotations.cue kubevela/hack/vela-templates/cue/annotations.cue
patch: {
	spec: template: metadata: annotations: {
		for k, v in parameter {
			"\(k)": v
		}
	}
}
parameter: [string]: string

after change to
patch: {
	spec: template: metadata: annotations: {
		for k, v in parameter.annotations {
			"\(k)": v
		}
	}
}
parameter:{
	annotations: [string]: string
}

status：
#### status:
  configMapRef: schema-annotations

comfigmap store success
test case
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: website
spec:
  components:
    - name: frontend
      type: webservice
      properties:
        image: nginx
      traits:
        - type: labels
          properties:
            labels:
               bbb: bb
        - type: annotations
          properties:
            annotations:
               aaa: aaa

We should not fix an error by change the User Interface, can we fix it while keep the same way as parameter: [string]: string?

this problem was fixed in controller, please refer to https://github.com/oam-dev/kubevela/pull/1689. Thanks for your contribution. We will be very grateful if you continue to contribute code and report bug

authors: lxd5866 wonderflow yangsoon

repo: oam-dev/kubevela


text:
jq command not found for Canonical ubuntu image 20.04

/home/ubuntu/anaconda3/envs/cloudtik_py37/lib/python3.7/site-packages/cloudtik/runtime/spark/scripts/configure.sh: line 116: jq: command not found
cat: write error: Broken pipe
/home/ubuntu/anaconda3/envs/cloudtik_py37/lib/python3.7/site-packages/cloudtik/runtime/spark/scripts/configure.sh: line 117: jq: command not found
cat: write error: Broken pipe
/home/ubuntu/anaconda3/envs/cloudtik_py37/lib/python3.7/site-packages/cloudtik/runtime/spark/scripts/configure.sh: line 118: jq: command not found
cat: write error: Broken pipe
/home/ubuntu/anaconda3/envs/cloudtik_py37/lib/python3.7/site-packages/cloudtik/runtime/spark/scripts/configure.sh: line 119: jq: command not found
cat: write error: Broken pipe

Fixed #60

repo: oap-project/cloudtik


text:
Adding a guide to help user correctly enable Gazelle on GCP Dataproc 2.0

We have provided user guide and scripts to help users easily run TPC-DS and TPC-H with Gazelle enabled on oap-tools  and we also need introduce it on Gazelle docs to refer.

Make sure to mention to use the profile "-Pdataproc-2.0" during the maven compile for GCP Dataproc 2.0 support.

Make sure to mention to use the profile "-Pdataproc-2.0" during the maven compile for GCP Dataproc 2.0 support.

Have added this info in the README cloud section. As for the final delivery of jars with -Pdataproc-2.0  to users, we will make it more clear in the guide after discussion.

closed in #407

authors: HongW2019 weiting-chen zhouyuan


text:
[VL] Use uncompressed size for "dataSize" metrics in shuffle

Some AQE test failed due to this change:
gluten Exchange reuse
gluten Avoid changing merge join to broadcast join if too many empty partitions on build plan
Separate GlutenAdaptiveQueryExecSuite for different backends and modified above test cases.

@zzcclp We discussed offline that we agree on separating AQE tests for backends because they produce different shuffle statistics. Please kindly review. Thanks!

/Benchmark Velox

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4428_time.csv
log/native_master_01_17_2024_6e070aee2_time.csv
difference
percentage

q1
35.07
32.53
-2.534
92.77%

q2
24.23
25.15
0.922
103.81%

q3
38.26
35.63
-2.625
93.14%

q4
36.25
39.47
3.227
108.90%

q5
71.74
69.91
-1.829
97.45%

q6
7.87
7.16
-0.708
91.01%

q7
84.94
83.43
-1.516
98.22%

q8
84.87
86.98
2.109
102.49%

q9
123.42
125.57
2.148
101.74%

q10
45.13
42.09
-3.040
93.26%

q11
20.85
20.23
-0.629
96.98%

q12
27.44
27.47
0.025
100.09%

q13
46.36
44.85
-1.508
96.75%

q14
17.57
17.86
0.285
101.62%

q15
30.01
29.77
-0.239
99.20%

q16
14.64
13.95
-0.685
95.32%

q17
101.34
100.92
-0.412
99.59%

q18
148.46
146.37
-2.095
98.59%

q19
13.30
13.91
0.613
104.61%

q20
25.87
26.50
0.633
102.45%

q21
224.86
226.25
1.390
100.62%

q22
13.84
13.71
-0.133
99.04%

total
1236.32
1229.72
-6.601
99.47%

authors: GlutenPerfBot marin-ma

repo: oap-project/gluten


text:
Update required properties in SDOs

Related to issue #68

Codecov Report

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

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   94.83%   94.83%
=======================================
  Files          53       53
  Lines        4705     4705
=======================================
  Hits         4462     4462
  Misses        243      243

Impacted Files
Coverage Δ

stix2/test/test_indicator.py
100% <ø> (ø)
:arrow_up:

stix2/sdo.py
100% <ø> (ø)
:arrow_up:

stix2/test/test_bundle.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks, @emmanvg!

authors: clenk codecov-io emmanvg


text:
update Oasis SDK

we'd like to have the cross-account deposit/withdraw feature to start developing wallet support

Done in #15, pending testnet upgrade.

authors: kostko pro-wh

repo: oasisprotocol/cipher-paratime


text:
More configuration options for paratimes

This PR adds support for:

Using special names for paratimes
Using special paths for paratimes
Using special themes for paratimes
Skipping the opening graph if not needed

Here is an example of using some of these features: https://github.com/oasisprotocol/explorer/pull/1355/commits/b3f4ce9c4ab741134d38bc69f1cbce3112df9ccc#diff-c3095d5010e65c52737a98a5d618ea24049ebe90c8470752426081d70ed6e012.
(The resulting behavior can be seen at  https://github.com/oasisprotocol/explorer/pull/1355)

Since there are multiple, loosely connected things, I suggest reviewing commit by commit.

repo: oasisprotocol/explorer


text:
Add playwright

Part of https://github.com/oasisprotocol/oasis-wallet-web/pull/975
Part of https://github.com/oasisprotocol/oasis-wallet-web/issues/1061

Merging this despite failed CI, because it accurately shows that production build on master is broken

repo: oasisprotocol/oasis-wallet-web


text:
404 https://oauth2-proxy.github.io/manifests

Hi,
I am getting a 404 status code when trying to access https://oauth2-proxy.github.io/manifests. Is it temporary?

I am getting this too. Seems like it is related to :
https://github.com/oauth2-proxy/manifests/actions/runs/11794657444/job/32852738030

it seems that the gh-pages branch is deleted therefore the registry is not available anymore

I tried to reenable it, but I don't know if this is the expected result. 😢

@erkannt @JoelSpeed, could you please take a look?

This repository works: oci://ghcr.io/oauth2-proxy/charts

Error: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Aoauth2-proxy%2Fcharts%3Apull&service=ghcr.io: 403 Forbidden]
But it does not seem public?

Using oci://ghcr.io/oauth2-proxy/charts as a workaround does not for me using the latest available Helm (v3.16.2):
Error: looks like "oci://ghcr.io/oauth2-proxy/charts" is not a valid chart repository or cannot be reached: object required

Theres a bug in the updated README.md file: https://github.com/oauth2-proxy/manifests/actions/runs/11795337858/job/32854843699#step:4:13
     Liquid Warning: Liquid syntax error (line 296): [:dot, "."] is not a valid expression in "{{ .Values.tplValue }}" in helm/oauth2-proxy/README.md
    Liquid Warning: Liquid syntax error (line 334): [:dot, "."] is not a valid expression in "{{.StatusCode}}" in helm/oauth2-proxy/README.md```

The pipeline should have probably failed.

I am having same issue.

The OCI registry works just fine
helm template oauth2proxy-test oci://ghcr.io/oauth2-proxy/charts/oauth2-proxy --version 7.7.29

The OCI registry works just fine
helm template oauth2proxy-test oci://ghcr.io/oauth2-proxy/charts/oauth2-proxy --version 7.7.29

This won't necessarily work for everyone, people using older versions of helm in their pipelines/tools may have issues querying for OCI tags.

I'm looking into now.

Issue has been resolved!

authors: HotThoughts Moglum jaakkom kaufmo khartahk krisero neilharris123 pierluigilenoci swbsf tuunit user-45-20 viallikavoo