primordic/IssueDupesLite huggingface dataset:
Repository: navidrome/navidrome

Issue #491: Support for Lyrics - Web UI
Created: 2020-09-10T02:54:00Z
It would be nice to support lyric display feature

Duplicate issue #504: about lyrics and songs display way
Created: 2020-09-16T08:36:41Z
We hope to add the function of lyrics display. Moreover, for songs stored in different folders, we can directly display all songs. Click to play instead of browsing the folder

Closing comment (2020-09-16T13:05:55Z): Lyrics support is being tracked by #491.
For your second request, this is how Navidrome works, it ignores folders and group songs by artists/albums. Is that what you mean?
Repository: navidrome/navidrome

Issue #643: [WebUI] utilize Sort Order tags
Created: 2020-11-19T13:15:02Z
Navidrome reads and stores Sort Order id3/Vorbis tags (Artist, Composer, Album, Song), but the Web UI doesn't use any of them when sorting by album or song title.
Proposal:

always use Sort Order tags for Album and Song titles
optionally use Sort Order tags for Artist/Composer: since MusicBrainz uses this field to store persons as "Lastname, Firstname", and many users prefer to see "Rick Astley" sorted under R, not A.

Duplicate issue #2691: [Bug]: About sorting artists with Chinese names (or non-English? )
Created: 2023-12-07T05:33:28Z
I confirm that:

 I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
 I'm using the latest version (your issue may have been fixed already)

Version
0.50.1 (f69c27d)
Current Behavior
For me, this situation occurred with artists with Chinese names, on the artist page of the website.
The Chinese artist sorting is neither based on Mandarin Pinyin nor artistsort-tag.
It seems to be sorted based on the Unicode encoding:

(I'm not sure about if it's a bug or it could be due to my mishandling)
Expected Behavior
If it can be sorted by the tag, that would be great.
Steps To Reproduce
Open the web and click on the artist page.
Environment
Win 10 Navidrome service
Chrome 119.0.6045.200
How Navidrome is installed?
Package
Configuration
No response
Relevant log output
No response
Anything else?
#643
#2188
Code of Conduct

 I agree to follow Navidrome's Code of Conduct

Closing comment (2023-12-10T02:32:48Z): The solution is to use Sort tags, which makes this a duplicate of #643. Closing now and please follow that issue for updates.
Repository: navidrome/navidrome

Issue #1893: Can't scroll play queue on mobile web
Created: 2022-09-27T14:19:42Z
Description
The play queue allows the user to reorder the songs.  This is great in the desktop web, where a scroll can be accomplished with a mouse wheel or touch pad gesture or grabbing the scroll bar, but in the mobile web, each swipe picks up a track and moves it rather than scrolling the play queue's view. On Chrome the scroll bar seems impossible to grab, and on Firefox the scroll bar is not visible.
Expected Behaviour
Allow up/down swipes to scroll the play queue's view. Tap & hold would enable reordering the held-on track.
Steps to reproduce

Open the web client on a mobile device.
Add sufficient tracks to the play queue such that the play queue's view should be scrollable.
Attempt to scroll the play queue's view.
See that the track that was touched is moved instead of the view being scrolled.

Platform information

Navidrome version: 0.47.5 (86fe1e3)
Browser and version: Chrome 105.0.5195.136, Firefox 97.1.0
Operating System: Android 12 (LG Velvet)

Duplicate issue #2470: [Bug]: cannot scroll the playing queue on mobile
Created: 2023-08-07T15:36:26Z
I confirm that:

 I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
 I'm using the latest version (your issue may have been fixed already)

Version
0.49.3 (8b93962)
Current Behavior
Trying to scroll the playing queue by sliding a finger over it on mobile phone web ui moves elements within the queue instead of scrolling.
As a consequences, there are no means for a user to scroll the playing queue on mobile phone web ui.
Expected Behavior
I would expect that sliding a finger quickly over the queue would scroll and moving elements would only occur when linging long enough over a particular item.
Steps To Reproduce
Using the a mobile phone with Firefox for android.
Create a long playing queue and open it (it shouldn't fit within the screen).
Try to scroll the queue by sliding a finger over it.
It moves elements within the queue instead of scrolling.
Environment
- OS: official Docker image
- Browser: Firefox
- Client: Android + Firefox
How Navidrome is installed?
Docker
Configuration
docker run -d \
   --name navidrome \
   --restart=unless-stopped \
   --user $(id -u):$(id -g) \
   -v /path/to/music:/music \
   -v /path/to/data:/data \
   -p 4533:4533 \
   -e ND_LOGLEVEL=info \
   deluan/navidrome:latest
Relevant log output
No response
Anything else?
Note: on a computer's Firefox a scroll bar does appear and it is possible to scroll the queue.
Code of Conduct

 I agree to follow Navidrome's Code of Conduct

Closing comment (2023-08-07T15:41:59Z): My bad another search in the closed issue showed this is a duplicate of #1893
Repository: navidrome/navidrome

Issue #92: Prebuilt Raspberry Pi Docker images 
Created: 2020-03-12T23:21:56Z
I know this is already on the roadmap, but I wanted a way to vote for it, so I created this issue :)
As far as I'm concerned, either a binary or a Docker image that works on Raspberry Pi (Raspbian Buster) would be great!

Duplicate issue #136: ARM Docker Images
Created: 2020-04-01T23:02:15Z
Please add ARMHF and ARM64 docker images.
Looking forward to trying this out.

Closing comment (2020-04-02T17:03:27Z): Thanks for opening this request. This is already being tracked by #92.
I can assure you this is coming, probably after the next release (hopefully this weekend). I'll close this now, as it is a duplicate, but please subscribe to issue #92 to be notified of any progress on this.
Repository: navidrome/navidrome

Issue #1592: Can't play .wma
Created: 2022-01-26T23:09:36Z
Already checked for other issues concerning .wma. https://github.com/navidrome/navidrome/issues?q=is%3Aissue+wma , no specific issue for that exists.
Description
I added .wma tracks which can't be played. The same album contains .mp3 files that can be played.
Expected Behaviour
.wma tracks should be playable like .mp3 tracks.
Steps to reproduce

Open the start page
Click on an album with .wma tracks
Click on a .wma track
See Play/Pause icon keeps loading and the track does not start playing

Platform information

Navidrome version: 0.47.0 (8c7d95c1)
Browser and version: Windows's Chrome 97.0.4692.99 (Official Build) (64-bit), Android's Firefox 96.2.0.
Operating System: Docker image deluan/navidrome:0.47.0

Additional information
When I download such a .wma file on Windows over the Navidrome GUI, I can play that downloaded .wma file on Windows.

Duplicate issue #2530: [Bug]: some times some song stuck,mostly wma file
Created: 2023-09-19T18:20:02Z
I confirm that:

 I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
 I'm using the latest version (your issue may have been fixed already)

Version
Version: 0.49.3 (8b93962)
docker image: 589cdcd5bc90
Current Behavior
navidrome version:
deluan/navidrome                                                              latest    589cdcd5bc90   7 months ago    153MB

started with docker compose
version: "3"
services:
  navidrome:
    image: deluan/navidrome:latest
    user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info  
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
      ND_COVERARTPRIORITY: cover.*, folder.*, front.*, embedded
    volumes:
      - "/data2/navidrome_data:/data"
      - "/data2/music:/music:ro"


Problem:
Most song works fine,but some song stuck there, mostly wma file, could not find any error in server log while this happen, looks like a client issue, for a working flow, after rest/stream call there should be a api/song/  call, but for the stuck one, there is no api/song/xxx call.

Expected Behavior
song should not stuck, a better way would be even if a song is stuck, skip it play next song, otherwise the playlist is useless.
Steps To Reproduce
No response
Environment
- OS:
- Browser:
- Client:
How Navidrome is installed?
Docker
Configuration
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

 I agree to follow Navidrome's Code of Conduct

Closing comment (2023-09-20T07:05:38Z): Related / duplicate #1592 #2393
Since wma isnt supported by browsers, you need to either:

use a client that supports wma (F.e. Sonixd/feishin)
enable transcoding for the webui Client
wait until navidrome can detect which Formats are playable by a client #2051
convert wma files to something universal supported (not very desireable I agree)
Repository: navidrome/navidrome

Issue #369: add Release Type field
Created: 2020-06-23T16:05:50Z
Every online metadata resource (discogs, RYM, musicbrainz, allmusic) has some form of Release Type field: Album, Single/EP, Live, Compilation, DJ Mix, Audiobook, etc. Sooner or later people are going to ask for this to be implemented (pretty much every forum/reddit for every music server/player has threads on this), so it's probably at least a good idea to prepare for it. Implement it well, and navidrome is ahead of pretty much everyone out there.
So we'd be looking at adding a Release Type field in:

 the navidrome DB structure
 the WebUI design (grouping by release type, like how for example RYM and Discogs display artist discographies)
 possible extensions to the subsonic API, to push this field to clients

For info: here's how Musicbrainz implements it in their DB: https://musicbrainz.org/doc/Release_Group/Type  . MZB Picard writes these tags: RELEASETYPE (Vorbis/FLAC) and TXXX:MusicBrainz Album Type (custom tag in id3v2.4).
Update Jan 2023:
I am experimenting with an implementation of this now, I see a few ways to do Release Type:

the easy/lazy way: how Plex does it. Read the Release Type tag, condense it down to one value. So "album;live" -> "Live". "single;live" -> "Singles/EPs". "album;compilation;soundtrack" -> "Soundtracks". Advantage: very easy to implement, only requires one extra field in the DB & API. Plex users are used to it. Disadvantage: no way to allow for releases with multiple types, for example if you filter/smart playlist for "live" it will exclude live singles, since those are stored only as "single".
the slightly more elaborate way: store a boolean per defined MBZ Release Type: typeAlbum = true/false, typeSingle = true/false, typeSoundtrack = true/false, typeAudiobook = true/false. Advantage: allows for multiple types. Disadvantage: 20+ new fields in the DB, and we would need to create a new Type column each time that MusicBrainz adds a new Type too (although, that doesn't seem happen too often)
a hybrid of the above: assign an album one release type from the MBZ list of types like "Album", "Single", "EP", "Soundtrack", "Demo", "Mixtape", "Audiobook", "Broadcast", "Interview" but also extract and store a few true/false attributes like "Live", "Compilation", "DJ Mix" and "Remix". Advantage: easy implementation, only four new fields needed in the DB and API, as one boolean (Compilation) already exists in ND.
the hard way: like Genres, create a many-to-many DB structure with separate tables, JOINs etc. Advantage: allows for complete freedom to use custom release types, we don't have to stick to the MBZ-defined types. Disadvantage: complex implementation, possibly impacts performance

Duplicate issue #1853: Group different release types together in artist profile page
Created: 2022-08-29T11:48:54Z
Right now all different release types in artist page are mixed together like that

Should be in groups as albums, compilations, singles etc.

Closing comment (2022-10-12T14:24:03Z): Duplicate of #369
Repository: navidrome/navidrome

Issue #489: Support multiple releases of the same album
Created: 2020-09-08T06:29:20Z
Many albums have slightly different variants depending on where (and when) they're released.
Case-in-point:
$ ls -1
'Oceanborn [74321 70359 2]'
'Oceanborn [SPI67CD]'
'Oceanborn [SPI67SP]'
'Oceanborn [TFCK-87179]'
'Oceanborn [UICN-15002]'

Currently Navidrome merges these under the same album in the Web UI (see attached image). Would it be possible to disambiguate these somehow? I'm not sure if there's any MusicBrainz integration, but perhaps songs could be grouped by the embedded "MUSICBRAINZ_ALBUMID" tag (if it exists) as well as the album name itself?

Duplicate issue #1555: Group albums not only by album tag
Created: 2022-01-03T09:25:40Z
Sometimes there is more than one release with the same name. For example the artist "Pershing Boys" has a demo tape calles "Pershing Boys" and an album called "Pershing Boys" (see https://musicbrainz.org/artist/0c8e3043-7b42-4a97-9917-a57e9116cf6f)
Or there are 2 different releases of the album with different tracks or versions of the tracks (see for example https://musicbrainz.org/release-group/1f6f0de1-cba7-351a-9e22-d65e4ab759a9).
In the two cases navidrome lists all titles under one "album". This is not really correct as there are different releases.
I dont really want to change the tags because I use MusicBrainz for tagging.
Maybe its possible to group only if album AND year tag is the same?

Closing comment (2022-01-06T06:37:38Z): I just noticed this is a duplicate of #489
Repository: navidrome/navidrome

Issue #1186: Large album completely freezes the app in the browser
Created: 2021-06-17T11:15:16Z
Description
I have a (custom) album that consists of roughly 300 songs and when I open it in Navidrome, after a moment the UI freezes and the only solution is closing the tab or even a browser.
Expected Behaviour
Opening an album with large amount of songs doesn't freeze the UI.
Steps to reproduce

Open an album with a lot of songs (I have 272).
Wait or scroll around.
UI slows down and eventually freezes.

Platform information

Navidrome version: 0.43.0 (d9f2682)
Browser and version: 89.0 (64-bit)
Operating System: openSUSE Tumblweed, Navidrome is running in Docker on a Debian (OpenMediaVault) machine

Additional information
Any other information that may be relevant or give context to the problem.
The tab is frozen:

I don't think there's anything in the logs but I set them to trace and uploaded them here anyway:
_navidrome_logs(1).txt

Duplicate issue #2083: having an extremely large album breaks the webui/player
Created: 2023-01-12T19:56:29Z
Description
having a massive folder (>500? >800? ~914 in my case) that all gets shown under a single album in the webui (so every track is displayed as an entry on the single album page) breaks the website entirely (can't click on anything, etc). sometimes a few entries load, sometimes not. sometimes lets you navigate to another page for a bit, but overall it's just kinda really broken
this is quite a rare case (not sure if any actual albums of so many entries exist), but i ran into this by downloading a "compilation" of something that all grouped it under the same name so it got indexed as a single album, then opened it.
Expected Behaviour
normal operation
Steps to reproduce
have a huge music folder all with the same album name so they are grouped into one album (i guess?)
Platform information

Navidrome version: 0.48.0
Browser and version: Firefox 108.2, Chromium 109.0.5414.74
Operating System: built from source

Closing comment (2023-01-12T21:23:16Z): Seems similar to #1186
Tried it with my biggest album 432 songs on 38 discs and though it struggled, it got there fairly quickly. Not smooth, but not unbearable
Navidrome: 0.48 via docker on a NUC
Browser: Firefox 108.2 (64bits
OS: Windows 10 on a 12 year old potato PC
Edit: spoke too soon, it eventually froze the tab. Still, this is issue 1186
Repository: neovim/neovim

Issue #17867: Mapping <c-[>, <c-m> or <c-i> no longer works
Created: 2022-03-26T03:34:49Z
Neovim version (nvim -v)
NVIM v0.7.0-dev+1327-ga70b39965
Vim (not Nvim) behaves the same?
no, vim 8.2.4464
Operating system/version
Arch Linux
Terminal name/version
kitty 0.24.4 or alacritty 0.10.1
$TERM environment variable
xterm-kitty or alacritty
Installation
neovim-git from AUR
How to reproduce the issue
nvim --clean
Type :nnoremap <c-[> :echo 'ctrl-sb'<cr> and hit enter
Now press ctrl-[ or Esc on your keyboard. Nothing will happen.
Now type :nnoremap <esc> :echo 'esc'<cr> and hit enter
Now pressing either Esc or ctrl-[ on your keyboard will echo 'esc'.
Expected behavior
I'm guessing this is caused by #17825 or one of the follow ups.
I assume my terminal emulator doesn't support distinguishing the keys (I've tried kitty and alacritty). In that case I would expect the old behaviour i.e. :nnoremap <c-[> works as if you had done :nnoremap <esc>.
Actual behavior
Currently, mapping <c-[>, <c-m> and <c-i> seems to do nothing.
Mapping <esc>, <cr> and <tab> does work and both keys will trigger the mapping. Of course this means I could just change my mappings to use <esc> instead of <c-[> but I would rather not because in the future I might switch to a terminal emulator which can distinguish between these keys and then I would have to change the mappings back again.

Duplicate issue #20192: <C-i>zz does not work
Created: 2022-09-13T16:56:40Z
Neovim version (nvim -v)
0.7.2
Vim (not Nvim) behaves the same?
no, 8.2.2681
Operating system/version
macOS 12.4
Terminal name/version
Tabby 1.0.183
$TERM environment variable
xterm-256color
Installation
homebrew
How to reproduce the issue
:nnoremap <C-i> <C-i>zz<CR>
:h<CR>
:only<CR>
/bars<CR>
CTRL-]
CTRL-o
CTRL-i

Expected behavior
The line containing the definition of |bars| is centered.
vim:

neovim:

Actual behavior
The line is not centered.

Closing comment (2022-09-13T22:40:01Z): Duplicate of #17867
Repository: neovim/neovim

Issue #31987: Use `vim.ui.select` for `:tselect` & friends
Created: 2025-01-13T04:48:37Z
Problem
When selecting a ctag which has multiple matches, those matches are printed sequentially on the console, prompting the user to select one by entering its number.
Expected behavior
The vim.ui.select API is used for selecting from the multiple ctags matches, when present.  Like #25814, it would mean that user selections would follow a consistent interface.

Duplicate issue #32606: defaults(lsp): remaining mappings
Created: 2025-02-24T07:06:26Z
Problem
From my lsp config two mappings has remained undecided for being in defaults:

vim.lsp.codelens.run()
vim.diagnostic.setqflist() or vim.diagnostic.setloclist()

Expected behavior
For vim.diagnostic.setqflist() the current trend is <space>q and grl is a good candidate for vim.lsp.codelens.run()

Closing comment (2025-03-07T16:44:29Z): gS for vim.lsp.buf.workspace_symbol()

That likely fits in gr/, but I guess there will be objections until we have a builtin "fuzzy finder / picker".

Note that :ts / :tj use workspace symbols under the hood via the tagfunc.
(With UI improvements tracked in #31987)
That's same amount of characters to type as gr/ and you can immediately provide the query term.

Is there something else that grq is good for? The reason for this mapping is to help users discover the diagnostics list, even if it's not perfectly flexible that is valuable.

Possibly - finding good keymaps is already a challenge, using up more and more makes it harder for plugins - there's a opportunity cost here.
How do keymaps help with discoverability? It's not like they're more visible? If discoverability is the goal I'd think usercommands would be even better suited, due to the completion functionality of the cmdline.
Repository: neovim/neovim

Issue #19711: version `GLIBC_2.29' not found with latest appimage
Created: 2022-08-11T08:13:35Z
Neovim version (nvim -v)
NVIM v0.8.0-dev-809-gb4b22318a
Vim (not Nvim) behaves the same?
no
Operating system/version
Ubuntu 18
Terminal name/version
gnome
$TERM environment variable
xterm-kitty
Installation
AppImage
How to reproduce the issue
Run nvim
Expected behavior
The issue doesn't appear with the AppImage NVIM v0.8.0-dev-805-g512e0441f.
Actual behavior

/tmp/.mount_nvimVl4CSF/usr/bin/nvim: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_nvimVl4CSF/usr/bin/nvim)

Duplicate issue #20113: can't run on ubuntu 18.04
Created: 2022-09-08T00:57:02Z
Neovim version (nvim -v)
0.8 nightly release
Vim (not Nvim) behaves the same?
no
Operating system/version
ubuntu 18.04
Terminal name/version
--
$TERM environment variable
--
Installation
appimage
How to reproduce the issue
./nvim.appimage

Expected behavior
run without error
Actual behavior
/tmp/.mount_nvim.aLnLzcF/usr/bin/nvim: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_nvim.aLnLzcF/usr/bin/nvim)
/tmp/.mount_nvim.aLnLzcF/usr/bin/nvim: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_nvim.aLnLzcF/usr/bin/nvim)

Closing comment (2022-09-08T00:58:53Z): Duplicate of #19711
Repository: neovim/neovim

Issue #12374: Prevent cursor from moving after using an operator
Created: 2020-05-24T14:47:46Z
nvim --version: v0.4.3
vim -u DEFAULTS (version: ) behaves differently? vim behaves the same (all version I'm aware of)
Operating system/version: Ubuntu 19.10
Terminal name/version: yakuake
$TERM: xterm-256color

Steps to reproduce using nvim -u NORC
nvim -u NORC

Copy the following paragraph in a buffer and position the cursor somewhere on line2:
line1
line2

Type yip to copy the whole paragraph in the unnamed register.
Actual behaviour
cursor moves to line1
Desired behaviour
cursor should stay in the same position it was typing yip
Above is only an example for yank. This behaviour is the same for other operators as well and it would be ideal to have an global option or flag to prevent the cursor from moving.
Further info
Having asked a question on stackexchange, it turns out this feature is not available in (n)vim. It's a behaviour that has annoyed me for quite some time.

Duplicate issue #22467: Cursor is moving when yanking left or up (`yh` / `yk`)
Created: 2023-03-01T15:17:29Z
Problem
In normal mode: [count]y[count]h / [count]y[count]k, also moves the cursor (whereas j / l doesn't).
Steps to reproduce
nvim --clean
:edit foo
10i 1234567890 <Enter> <Esc> 10yk $ 10yh

Expected behavior
The characters should be yanked without moving the cursor.
Neovim version (nvim -v)
NVIM v0.8.3, NVIM v0.9.0-dev-1086+gaa840ab56
Vim (not Nvim) behaves the same?
yes, vim 9.0.1302
Operating system/version
Arch Linux, Alpine Linux, Windows Server 2022 22H1, Windows 11 Pro 22H2
Terminal name/version
vt, alacritty 0.11.0, foot 1.13.1, tmux 3.3a, ConEmu 221218, Windows Terminal 1.17.1023
$TERM environment variable
linux, alacritty, foot, tmux-256color
Installation
Arch/Alpine repo, github appimage/zip

Closing comment (2023-03-01T15:20:48Z): Duplicate of #12374
Repository: neovim/neovim

Issue #21299: Assertion in `rbuffer_consumed_compact` tripped
Created: 2022-12-05T14:52:31Z
Neovim version (nvim -v)
v0.9.0-dev-447+g6c285a6e49 (Also experienced crashes with v0.8, but may be different cause)
Vim (not Nvim) behaves the same?
no, this function is nvim-only I think
Operating system/version
ArchLinux
Terminal name/version
konsole
$TERM environment variable
xterm-256color
Installation
Arch neovim-git (also experience crashes with official neovim v0.8 package)
How to reproduce the issue
Not exactly sure how to repro. I've been experiencing neovim crashes lately. I don't know exactly what triggers it, but some file types (typescript and markdown) seem to trigger it more often than others. Sometimes it crashes soon after opening many times in a row, sometimes I can go many days between crashes. It seems to happen most often when saving, but sometimes it happens just when moving the cursor around.
I typically use neovim-gtk, but recently tried running plain neovim in a terminal to see if that helped. It still crashes, but now I get a helpful message out (although it leaves my terminal in a trashed state).
nvim: /home/mstearn/.cache/yay/neovim-git/src/neovim-git/src/nvim/rbuffer.c:168: rbuffer_consumed_compact: Assertion `(size_t)(buf->read_ptr - buf->write_ptr) == buf->size' failed.
zsh: IOT instruction  nvim

The failing assert is on this line. That function is only called from one place, and both were introduced in this commit. While I don't have a repro, I am hoping that something near one of those lines will jump out at someone who knows this code (possibly @bfredl who committed it) as obviously incorrect.
Expected behavior
I'd really like my editor not to crash :)
Actual behavior
neovim crashes

Duplicate issue #21708: Random crash
Created: 2023-01-09T16:38:13Z
Describe the bug
Crash with the following message:
Assertion failed: ((size_t)(buf->read_ptr - buf->write_ptr) == buf->size), function rbuffer_consumed_compact, file rbuffer.c, line 168

Steps to reproduce
n/a
Expected behavior
n/a
Neovim version (nvim -v)
NVIM v0.9.0-dev-642+g50f03773f
Vim (not Nvim) behaves the same?
n/a
Operating system/version
macOS 16.2
Terminal name/version
iTerm
$TERM environment variable
xterm-color256
Installation
n/a

Closing comment (2023-01-09T16:40:42Z): Duplicate of #21299
Repository: neovim/neovim

Issue #8648: API: nvim_buf_lines_event after checktime ?
Created: 2018-06-26T17:17:51Z
nvim --version: NVIM v0.3.1-96-g883858269
Vim (version: ) behaves differently? No
Operating system/version: MacOS
Terminal name/version: ITerm2
$TERM: xterm-256color

Steps to reproduce using nvim -u NORC
async function setup(nvim) {
  let id = await nvim.channelId
  let buffer = await nvim.buffer
  let lines = await buffer.lines
  let cb = (buf, tick, firstline, lastline, linedata, more) => {
    console.error('----------')
    console.error('result:', tick, firstline, lastline, linedata, more)
  }
  buffer.listen('lines', cb)
  buffer.listen('detach', buf => {
    console.error('detached')
  })
}

module.exports = (plugin) => {
  let {nvim} = plugin
  plugin.registerAutocmd('VimEnter', setup.bind(null, nvim), {pattern: '*'})
}
Open a file and change the file outside vim and run :checktime, the new content is loaded, but no nvim_buf_detach_event is fired,  the nvim_buf_detach_event is fired when I use :edit.
Actual behaviour
No nvim_buf_detach_event fired.
Expected behaviour
Should have nvim_buf_detach_event fired.

Duplicate issue #10987: Not sending buffer change notification when modify files outside of vim 
Created: 2019-09-10T08:06:24Z
nvim --version: v0.4.0-1459-g3cf4b0d5e
vim -u DEFAULTS (version: ) behaves differently? N/A
Operating system/version: MacOS
Terminal name/version: iTerm2

Steps to reproduce using nvim -u NORC
Create $XDG_CONFIG_HOME/nvim/rplugin/node/notify.js with content:
function bindBuffer(buffer) {
  let cb = (buf, tick, firstline, lastline, linedata, more) => {
    console.error('----------')
    console.error('result:', tick, firstline, lastline, linedata, more)
  }
  buffer.listen('lines', cb)
  buffer.listen('detach', buf => {
    console.error('detached')
  })
}

async function setup(nvim) {
  let buffers = await nvim.buffers
  for (let buf of buffers) {
    let valid = await buf.valid
    console.error('valid ' + valid)
    bindBuffer(buf)
  }
}

module.exports = (plugin) => {
  let {nvim} = plugin
  setup(nvim)
}
npm install -g neovim
mkdir foo && cd foo && git init
echo "test" > bar.js
nvim -u NORC bar.js
# Run command `set autoread`.
# Use `dd` to delete first lint then use `git stash` to revert the change.
# checkout log of node-client.

Actual behaviour
No buffer change event send to remote host when buffer is reloaded.
Expected behaviour
Send buffer change event.

Closing comment (2019-09-23T03:05:27Z): Nothing happens after :checktime, it's duplicate of #8648
Repository: nestjs/nest

Issue #1776: No way to get client IP in gRPC microservice
Created: 2019-03-19T11:49:22Z
I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

There is no way to get client's IP from gRPC method handler in controller.
Expected behavior

There should be a way get client's IP address. It can be done with call.getPeer(), but there is no access to call from handler.
What is the motivation / use case for changing the behavior?
This will be useful when building public microservice.
Environment
Nest version: 6.0.1

Duplicate issue #4065: [gRPC Microservice] How to know client ip by using microservice(gRPC)?
Created: 2020-02-14T00:18:56Z
I'm submitting a...
[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior
I use microservice(gRPC). and i want to get client ip for logging.
Expected behavior
How can i get client ip?
Environment
Nest version: 6.5.0

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Closing comment (2020-02-14T07:57:53Z): Duplicate of #1776
Repository: nestjs/nest

Issue #7772: NATS Client-Proxy logging pings to console
Created: 2021-08-05T22:13:48Z
Bug Report
Current behavior
Currently every 2 minutes (default ping time) the logger will log the ping message to the console.
Input Code
Minimum reproduction:
https://github.com/Flusinerd/nestjs-nats-ping
Expected behavior
This type of message should not be logged when running without verbose or debug to decrease clutter in production logs.
Possible Solution
The relevant part in the NATS client is:
https://github.com/nestjs/nest/blob/master/packages/microservices/client/client-nats.ts#L57
One simple solution would be to check if status.type === 'pingTimer'.
Environment

Nest version: 8.0.6

 
For Tooling issues:
- Node version: v14.15.4  
- Platform: Windows, Mac and Alpine Linux 

Others:

Duplicate issue #7846: NATS server and client fill logs with pingTimers
Created: 2021-08-13T09:15:27Z
Bug Report
Current behavior
I have two services: "rpc" and "worker" communicating using NATS. Rpc calls send on NatsClientProxy and awaits response. Worker is a microservice implemented per documentation and it has @MessagePattern handlers.
What I'm observing is a lot of log lines written by both apps.
Rpc says:
[2021-08-13 09:14:09.592 +0000] INFO (messaging-rpc/4077 on MacBook-Pro-Konstantin.local): NatsStatus: type: "pingTimer", data: "1".
    context: "ClientProxy"
    reqId: "e8fd7f8ed0be42cb80e8e639392ef237"
[2021-08-13 09:16:09.593 +0000] INFO (messaging-rpc/4077 on MacBook-Pro-Konstantin.local): NatsStatus: type: "pingTimer", data: "1".
    context: "ClientProxy"
    reqId: "e8fd7f8ed0be42cb80e8e639392ef237"

Worker says:
[2021-08-13 09:12:49.280 +0000] INFO (messaging-worker/4087 on MacBook-Pro-Konstantin.local): NatsStatus: type: "pingTimer", data: "1".
    context: "Server"
[2021-08-13 09:14:49.282 +0000] INFO (messaging-worker/4087 on MacBook-Pro-Konstantin.local): NatsStatus: type: "pingTimer", data: "1".
    context: "Server"

I'm using custom logger built on pino and pino-pretty. Also I use ALS to add request ids to the log lines, and I trace stack to obtain call-context.
Interesting detail – that thingy that posts "pingTimer"-s on client-side is created in the context of the very first request to the rpc app.
Expected behavior
No log output  when everything operates normally.
Possible Solution
Filter out "pingTimer" messages in the NatsClient and NatsServer logger.
Environment

Nest version: 8.0.6
 
For Tooling issues:
- Node version: v14.17.3
- Platform:  Mac

Closing comment (2021-08-13T09:21:38Z): Duplicate #7772 - read for more details. This will be fixed very shortly
Repository: nestjs/nest

Issue #5694: deserialize RpcException
Created: 2020-11-13T07:26:49Z
Feature Request
Is your feature request related to a problem? Please describe.
RpcException class is lost when passing exception around
Describe the solution you'd like
Make ProxyClient.send method deserialize RpcException from json object.
Make deserialization extensible so developer can pass more than just error message (error code for example)
Teachability, Documentation, Adoption, Migration Strategy
for now I have to manually re-throw exception
return this.client.send(MESSAGE, { payload })
      .toPromise()
      .catch(error => {
        throw new HttpException(error.message, 500)
      })
or handle it in ExceptionFilter
export class ExtendedRpcExceptionsFilter extends BaseExceptionFilter implements ExceptionFilter {
  catch(exception: unknown, host: ArgumentsHost): void {
    if (exception instanceof HttpException) {
      return super.catch(exception, host);
    } else { // pure json object
      // RpcException
      // @ts-ignore
      return super.catch(new HttpException(exception.message, 500), host);
    }
  }
}
What is the motivation / use case for changing the behavior?
1 I'm unable to filter incoming exceptions using @catch decorator
2 current solution is not extensible, I can't pass error code together with error message
3 first workaround introduces huge code overhead
4 if I have custom exceptions my second workaround does not really work

Duplicate issue #5615: GRPC exception filter always sends UNKNOWN status code
Created: 2020-10-28T00:44:43Z
Bug Report
Current behavior
RpcException does not work as expected when it's being used in the RpcExceptionFilter
Input Code
// Works correctly - client is receiving error with status 5 (NOT_FOUND)
@Controller()
class HeroController {
    @GrpcMethod('HeroService', 'FindHero')
    public async refreshToken(data: FindHeroRequest): Promise<FindHeroResponse> {
      throw new RpcException({ code: 5, message: 'test'});
    }
}
// Does not work as expected - Client is receiving error with code 2 (UNKNOWN)
@UseFilters(HeroExceptionFilter)
@Controller()
class HeroController {
@GrpcMethod('HeroService', 'FindHero')
  public async refreshToken(data: FindHeroRequest): Promise<FindHeroResponse> {
    throw new HeroException();
  }
}

@Catch(HeroException)
export class HeroExceptionFilter implements RpcExceptionFilter {
  public catch(exception: HeroException | Error, host: ArgumentsHost): Observable<unknown> {
    return throwError(new RpcException({
      code: 5,
      message: "test",
    }));
  }
}
Expected behavior
RpcException thrown in exception filter should behave the same as being thrown in controller
From what I can see message property is passed correctly while code is not
Possible Solution

Environment

Nest version: 7.4.4

 
For Tooling issues:
- Node version: 14.13.1
- Platform:  Linux

Others:

Closing comment (2020-11-16T22:32:54Z): Related to #5694
Repository: nestjs/nest

Issue #779: Middleware runs more than once
Created: 2018-06-11T12:49:02Z
I'm submitting a...

[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior
Logger middleware called more than once per request
Expected behavior
Middleware is called once for a request
Minimal reproduction of the problem with instructions

Using the latest cats sample, with the cats.module.ts applying the logger middleware
// logger middleware
@Injectable()
export class LoggerMiddleware implements NestMiddleware {
  resolve(context: string): MiddlewareFunction {
    return (req, res, next) => {
      console.log(`[${context}] [${req.method}] [${req.baseUrl}] Request...`);
      next();
    };
  }
}
// cats module
export class CatsModule implements NestModule {
  configure(consumer: MiddlewareConsumer) {
    consumer.apply(LoggerMiddleware)
      .with('CatsModule')
      .forRoutes(CatsController);
  }
}
After curl http://localhost:3000/cats/12 the server outputs
[CatsModule] [GET] [/cats] Request...
[CatsModule] [GET] [/cats/12] Request...
Before...
After... 0ms

Note that if I use .forRoutes('/cats') (instead of the controller class), or apply the middleware in main.ts with app.use(...),  I get the expected behaviour.
Environment

Nest version: 5.0.1

 
For Tooling issues:
- Node version: 8.9.4  
- Platform: Mac 

Others:

Duplicate issue #791: Middleware applied on all routes
Created: 2018-06-18T15:18:05Z
I'm submitting a...


[ ] Regression 
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

A middleware is applied to all routes under a controller even after stating specific route to be applied to.
Expected behavior

Only the specified path should be affected by the middleware.
Minimal reproduction of the problem with instructions

As in this example, all routes under the users controller will be blocked by the middleware instead of only the users/:userId route.

...
consumer.apply(AuthMiddleware).forRoutes(
            'users/:userId'
        );
...

What is the motivation / use case for changing the behavior?

Environment

Nest version: 5.2.0

 
For Tooling issues:
- Node version: v9.11.1  
- Platform:  Mac 

Others:

Closing comment (2018-06-21T13:49:33Z): Actually, it's a duplicate of #779
Repository: nestjs/nest

Issue #5427: Transient custom provider not injected into middleware
Created: 2020-09-15T15:05:32Z
Bug Report
Current behavior
When trying to inject a custom provider with Transient scope into a global middleware configured in the configure() method of the AppModule, the dependency is not passed into the constructor - instead null is passed in.
Interestingly if the custom provider has scope REQUEST, everything works fine and the service is passed in.
Input Code
Minimal reproduction:
https://codesandbox.io/s/nest-forked-jud6p?file=/src/app.module.ts
Expected behavior
I would expect a new instance to be passed into the middleware constructor, unique to the middleware (because of the transient scope)
Environment
Nest version: 7.4.4

Duplicate issue #5884: Transient services are not instantiated (constructor is not called) when injected to middleware constructor
Created: 2020-12-08T09:27:33Z
Bug Report
Current behavior
If a service has a Scope.TRANSIENT injection scope, its constructor is not called when the service is injected into a middleware.
However, the instance is created with a proper prototype, so it must mean that either it's created with Object.create, or cloned from an existing instance. I haven't done any further investigation.
Input Code
https://github.com/mrnateriver/nestjs-transient-service-middleware
Run, take a look at the output:
[Nest] 9852   - 08/12/2020, 16:20:57   [NestFactory] Starting Nest application...
[Nest] 9852   - 08/12/2020, 16:20:57   TestService c-tor +21ms
[Nest] 9852   - 08/12/2020, 16:20:57   AppController c-tor, test.privateField: hello there +0ms
[Nest] 9852   - 08/12/2020, 16:20:57   [InstanceLoader] AppModule dependencies initialized +1ms
[Nest] 9852   - 08/12/2020, 16:23:18   Middleware c-tor, test.privateField: undefined +0ms
[Nest] 9852   - 08/12/2020, 16:23:18   [RoutesResolver] AppController {}: +2ms
[Nest] 9852   - 08/12/2020, 16:23:18   [RouterExplorer] Mapped {, GET} route +15ms
[Nest] 9852   - 08/12/2020, 16:23:18   [NestApplication] Nest application successfully started +135ms

Note that TestService constructor is called only once (for the controller), and private field inside the service is undefined when logged from the middleware constructor.
Expected behavior
TestService constructor should be called each time it's injected to a consumer.
Environment
Nest version: 7.5.5
 
For Tooling issues:
- Node version: 13.9.0
- Platform:  Windows 10

Closing comment (2020-12-08T09:35:25Z): This looks like a duplicate of #5427. Thanks for providing the repository though! It will surely help us in solving this issue asap
Repository: netz98/n98-magerun

Issue #337: extension remove feature
Created: 2014-05-25T01:51:40Z
good extension.
extension:remove             Remove magento-connect package
magerun extension:remove SomeExtension
It would be great if we can remove a extension !

Duplicate issue #385: extension uninstall?
Created: 2014-08-26T07:37:25Z
just out of curiosity, is there a reason, why we can download and install extensions, but not uninstall them with n98?

Closing comment (2014-08-26T14:23:36Z): Duplicate of #337
Repository: netz98/n98-magerun

Issue #890: db:import | flag to not initialize Magento
Created: 2017-01-31T09:41:50Z
When setting up a new environment with an existing database dump, we want to use n98-magerun db:import to import the dump. But at that point, the database is empty so Magento cannot be initialized and the dump cannot be imported. A nice feature would be something like --no-initialize to just do an import, maybe querying database credentials from the user instead of reading them from the Magento configuration (or reading app/etc/local.xml beforehand).

Duplicate issue #883: db:dump - set connection name (so not only default_setup)
Created: 2016-12-14T14:49:32Z
Can be usefull to dump from slave or dump not only main DB if used more than 1 db in project
So when getting connection we can pass connection name to N98\Magento\DbSettings.php  and use it instead of default, same time default must be default_setup + it as predefined param in constructor. Such way we'll not broke anything and we adding ability to dump stripped any DB used in project

Closing comment (2017-02-17T08:10:54Z): This is also related to #890 in regard to command-line parameters.
Repository: netz98/n98-magerun

Issue #1115: MySQL 8 Compatibility
Created: 2020-10-05T07:56:13Z
There is an issue if you are running magerun on MySQL 8.0.21:
If you are trying to run a cron by sys:cron:run you get this error:
SQLSTATE[HY000]: General error: 1525 Incorrect TIMESTAMP value: '', query was: SELECT main_table.* FROM cron_schedule AS main_table WHERE (status = 'pending') AND (job_code = 'sitemap_generate') AND (scheduled_at =
'')
General error: 1525 Incorrect TIMESTAMP value: ''
On MySQL 8.0.21 empty string comparisons like scheduled_at =   '' are not allowed and throw an exception.

Duplicate issue #1116: Magerun issue with MySQL 8.0.21
Created: 2020-10-05T07:56:45Z
There is an issue if you are running magerun on MySQL 8.0.21:
If you are trying to run a cron by sys:cron:run you get this error:
SQLSTATE[HY000]: General error: 1525 Incorrect TIMESTAMP value: '', query was: SELECT main_table.* FROM cron_schedule AS main_table WHERE (status = 'pending') AND (job_code = 'sitemap_generate') AND (scheduled_at =
'')
General error: 1525 Incorrect TIMESTAMP value: ''
On MySQL 8.0.21 empty string comparisons like scheduled_at =   '' are not allowed and throw an exception.

Closing comment (2020-10-05T09:06:18Z): Duplicate of #1115
Repository: netz98/n98-magerun

Issue #86: Anonymizing Customer Info
Created: 2013-02-22T03:13:56Z
I'm working on a customer:anonymize command.  I checked out this module:
http://www.magentocommerce.com/magento-connect/anonymizer-9081.html
And it looks good but it's a bit slow probably b/c it uses native models and keeps the email address for a customer in sync across the various tables (customer_entity, sales_flat_order, etc.).
I generally like to just use a quick SQL query to set emails to a random test string for my local development at least.
Let me know if you'd like me to contribute that.

Duplicate issue #184: db:dump - omit/scramble data during export
Created: 2013-07-26T13:19:28Z
By german law we can't copy some data from client server to our development pc, for example customer information, orders, etc.. At the time we want to have all customers and orders on the development pc to test code on db with production size. That's why db:dump should have possibility to omit/scramble data in some tables.

Closing comment (2013-07-27T16:59:28Z): Scramling data is a duplicate of #86
@Zyava can we close this one?
Repository: netz98/n98-magerun

Issue #177: Install command missing?
Created: 2013-07-16T13:50:00Z
$ n98-magerun.phar install brings me an error:
[InvalidArgumentException]
Command "install" is not definded.
It is also not listet under availbale commands.
Is there anything i have to do before i can use this?

Duplicate issue #193: Has the Install function been removed?
Created: 2013-08-16T16:51:46Z
I have downloaded the latest version and do not have access to the install function. Attached is a screen cap of my setup with version and start of the list function.
I run:
php n98-magerun.phar install
I get:

Closing comment (2013-08-16T18:25:19Z): This is also a duplicate of #177.
Repository: netz98/n98-magerun

Issue #276: which: no pv in
Created: 2013-12-16T16:24:02Z
is this oK? which: no pv in ....
Message:
Created database dev_test
Import MySQL Database
which: no pv in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/dev/bin)
Importing SQL dump /home/dev/domains/domain.nl/dbbackup.sql to database dev_test

Duplicate issue #143: n98-magerun 1.68.0 -- db:import error "sh: pv: not found"
Created: 2013-05-20T03:38:18Z
Encountered the following db:import error with n98-magerun v1.68.0
> n98-magerun.phar db:import my_dump.sql 


  Import MySQL Database  


Importing SQL dump my_dump.sql to database my_database
sh: pv: not found
Finished

Closing comment (2014-03-12T17:43:32Z): Yup, downloaded latest, double checked with update command.
It was popping up until I downloaded pv.
Although, my issues was the same as #276, not exactly this one
which: no pv in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/dev/bin)
Repository: netz98/n98-magerun

Issue #492: Exporting magento module
Created: 2015-02-18T06:49:42Z
Hi, i would like to know if it's possible to export module via magerun? I can see this custom module in admin > system > configuration > advanced > advanced
This module is custom and was not installed via magento connect

Duplicate issue #566: Package an extension
Created: 2015-05-26T12:09:15Z
I'm searching for a CLI tool to be able to package an extension. Ideally, it would be Modman compatible.
I don't think that they is a way to do it with magerun now, am I right ?
Would you consider that functionality to be part of magerun ?

Closing comment (2015-05-26T23:42:43Z): Possible duplicate: #492
Repository: netz98/n98-magerun

Issue #707: Magerun should self-test required PHP settings
Created: 2015-10-12T21:51:24Z
There are some PHP settings that should be checked by magerun before starting up:

register_argc_argv must be enabled (required by symfony console input) - Reported in #703
STDIN is only available in PHP CLI (required by symfony console input) - Reported in #761
zend.detect_unicode / detect_unicode (5.3) must be disabled if zend.multibyte  zend.multibyte is enabled - Reported in #706
APC enabled in CLI can cause problems; apc.enable_cli / apc.enabled; see #655, #314, #181 and #153 and comment below.
Memory limit and fatal error handling; see #365

For starters I had the idea to do that within the phar stub to exit early on error.

Duplicate issue #365: Magento CE Installation 1.9.0.1 not working
Created: 2014-07-08T09:20:15Z
When I try to install the current 1.9.0.1 Version of Magento CE the installation seems to work but I only get a _n98_magerun_download folder with a single .gz file inside.
I already cleared the composer cache without any changes. Installation of 1.8.1.0 works fine. The cache files in composer are in the same format (.tar) and the 1.9.0.1-.tar files is not damaged. We are working on OSX 10.9 with the latest versions of composer and magerun.
Any hints what to do?

Closing comment (2016-12-15T12:39:58Z): Since fc84c8a these errors are not hidden any longer.
General PHP settings requirements are tracked in #707.
No traction since longer also signal that current version is not so prone to this error any longer.