primordic/IssueDupesLite huggingface dataset:
Repository: charlesbel/Microsoft-Rewards-Farmer

Issue #81: [BUG] ModuleNotFoundError: No module named 'ipapi'
Created: 2022-03-29T05:21:14Z
Trying to run the script. Not sure what's going on here. Running ubuntu.. I've been trying to google this issue and have been having a hard time so I figured I'd ask for help here?
Error Log

alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (2019.11.28)
Requirement already satisfied: chardet in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (3.0.4)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (2.8)
Requirement already satisfied: requests in /home/alex/.local/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (2.25.1)
Requirement already satisfied: selenium in /home/alex/.local/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (3.141.0)
Requirement already satisfied: urllib3 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 6)) (1.25.8)
Collecting ipapi
Using cached ipapi-1.0.4-py3-none-any.whl
Installing collected packages: ipapi
Successfully installed ipapi-1.0.4


alex@Ubuntu-Plex:~/Desktop/Microsoft-Rewards-Farmer-master$ python3 ms_rewards_farmer.py
Traceback (most recent call last):
File "ms_rewards_farmer.py", line 7, in 
import ipapi
ModuleNotFoundError: No module named 'ipapi'

Screenshot of the page

Source code of dashboard
not relevant because I don't get that far.

Duplicate issue #241: getting an error 
Created: 2023-08-06T20:14:06Z
not sure if its on my end or with ipapi but cant get this one or your older version to run keep getting this
Traceback (most recent call last):
File "C:\Users\Bubba\Desktop\Microsoft-Rewards-Farmer-master\main.py", line 6, in 
import ipapi
ModuleNotFoundError: No module named 'ipapi'
and ive double checked i do have ipapi

Closing comment (2023-08-07T21:02:21Z): Duplicate of #81
Make sure you run main.py with "python main.py", not "pip main.py"
Repository: charmbracelet/bubbletea

Issue #63: Why WithOutput accept *os.File type
Created: 2021-03-08T07:02:13Z
We have WithOutput(output *os.File), but Program.output is io.Writer, is this on purpose?

Duplicate issue #66: WithOutput should receive an io.Writer
Created: 2021-03-11T01:42:17Z
Currently, WithOutput receives an *os.File which makes it harder to write tests.
I do not see any reason for this not to be changed, as the output field in Program is already an io.Writer.
PS: I'm loving this library! ❤️

Closing comment (2021-03-11T01:48:21Z): Thank you for the kind words! And yep, you're totally right. @kiyonlin just flagged this one the other day and is planning on fixing it. We can track progress and move discussion over there.
(Duplicate of #63)
Repository: charmbracelet/bubbletea

Issue #79: Node-based rendering
Created: 2021-04-05T13:27:18Z
Hello, I am trying to make a complex TUI application but unfortunately the single view model that bubbletea offers is severely limiting and only allows for the creation of linear CLI apps. Manipulating a string to add a popup window to the view has proven to be very difficult and inefficient. My proposed solution is to add child views.

Duplicate issue #642: Support for modals, overlapping windows
Created: 2023-01-23T14:20:16Z
I was looking for a way to add a small modal window to show a confirmation window in bubbletea app, I looked for something similar but couldn't find any exact feature like it, the best bubbletea compatible option I found is https://github.com/erikgeiser/promptkit#confirmation-prompt
It is somewhat similar but doesn't achieve the same feature that I need, if there is an existing option please let me know.
for reference, I am listing some similar options
from github.com/jesseduffield/gocui

from https://github.com/rivo/tview

Closing comment (2023-01-23T14:46:07Z): Hi! Compositing is still a work in progress, however for now there's a PR in Lip Gloss that may get you most of the way there: charmbracelet/lipgloss#102. See also this note on how we recommend implementing it on your end.
Otherwise, please follow #79 for updates.
(Duplicate of #79)
Repository: charmbracelet/bubbletea

Issue #304: Force newline after rendering the final View
Created: 2022-04-26T19:44:34Z
If the final call to View() (after emitting tea.Quit) does not end with a newline it is immediately overwritten by the shell prompt or by any other output. This can be a bit surprising and it's hard to debug if you don't know what happens.
It can be avoided by appending a newline to the result of the final call to View() if this result is not empty.

Duplicate issue #1004: Part of the screen is not rendering when the view is exactly the size of the screen
Created: 2024-05-07T10:00:33Z
Describe the bug
When the View method returns a string that has as many lines as the terminal, only the first lines of the screen will be redrawn.
It seems to only happen when using a strings.Builder and goes away when there are more lines than the height of the terminal
Setup
Please complete the following information along with version numbers, if applicable.

OS macOs
Shell zsh
Terminal Emulator default macos terminal
Terminal Multiplexer none

To Reproduce
Here is a minimal version of the code I use
package main

import (
	"os"
	"strings"

	tea "github.com/charmbracelet/bubbletea"
)

type model struct {
	screenWidth  int
	screenHeight int
	screenStart  int

	content []string
}

func (m *model) Init() tea.Cmd {
	return nil
}

// this one works
func (m *model) View2() string {
	out := m.content[m.screenStart : m.screenStart+m.screenHeight]
	return strings.Join(out, "\n")
}

// this one does not work
func (m *model) View() string {
	var sb strings.Builder

	// uncommenting this line fixes the bug
	// sb.WriteRune('\n')

	for i, line := range m.content {
		if i >= m.screenStart && i < m.screenStart+m.screenHeight {
			sb.WriteString(line)
			sb.WriteRune('\n')
		}
	}
	return sb.String()
}

func (m *model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.KeyMsg:
		switch msg.String() {
		case "ctrl+c", "q":
			return m, tea.Quit
		case "up":
			m.screenStart -= 1
			if m.screenStart < 0 {
				m.screenStart = 0
			}
		case "down":
			m.screenStart += 1
			if m.screenStart > len(m.content)-m.screenHeight {
				m.screenStart = len(m.content) - m.screenHeight
			}
		}
	case tea.WindowSizeMsg:
		m.screenHeight = msg.Height
		m.screenWidth = msg.Width
	}
	return m, nil
}

func main() {
	bytes, err := os.ReadFile("lorem_ipsum.txt")
	if err != nil {
		panic(err.Error())
	}
	lorem := string(bytes)
	model := model{
		content: strings.Split(lorem, "\n"),
	}
	p := tea.NewProgram(
		&model,
		tea.WithAltScreen(),
	)
	if _, err := p.Run(); err != nil {
		panic(err.Error())
	}
}
Scrolling the screen down works perfectly but when scrolling up it only redraws the first line.
Source Code
https://github.com/Art-S-D/test-bubbletea
Expected behavior
The entire screen should render.
Screenshots

Closing comment (2024-05-09T14:16:49Z): Hi! This is a dup of #304 (which we should re-examine). If you feel it's not a dupe please reopen this issue.
Repository: charmbracelet/bubbletea

Issue #1148: Validation example broken
Created: 2024-09-16T14:59:35Z
Per #1146, the validation example in Bubble Tea doesn't
We should also change it to not be a credit card example as it can lead users down the road of accepting credit card numbers via SSH, which presents an attack vector.

Duplicate issue #1150: Credit card form example - validation not working
Created: 2024-09-16T17:20:11Z
Discussed in #1146

Originally posted by jasonlotz September 15, 2024
I'm working with the credit card form example to play with the validation of text inputs.  Unless I'm doing something very wrong, the example's text input validation is not working at all.  I added logging to check that the validate functions are getting called and returning errors, but I do not see any errors on the TUI.  I have never seen an example of validation on textinputs in action, so I'm not 100% sure how it should look on the screen, but nothing happens at all.  Has anyone else noticed this or am I missing something?

Closing comment (2024-09-16T17:21:42Z): Closing as duplicate of #1148.
Repository: charmbracelet/bubbletea

Issue #297: Rendering lines taller than the window height causes mis-renders
Created: 2022-04-14T01:15:57Z
Currently, if you send more lines than the height of the window Bubble Tea rendering flips out. For cases like this we should probably drop lines from the top and keep only the bottom ones.
Thanks to @fiws for flagging this and @maaslalani for reminding us about it.

Duplicate issue #377: TextArea resize issue
Created: 2022-07-20T05:19:21Z
OS: macOS Big Sur 11.6.5
This is an issue with the new textarea bubble. Unsure if this is a Mac specific issue, but the screen capture is attached.
After resizing the window in the chat example, the input prompt continuously prints and fills up the remainder of the screen.
Thank you!
cc @maaslalani

  
    
    

    Screen.Recording.2022-07-19.at.6.23.02.PM.mov
    
  

  

  


.

Closing comment (2022-08-09T05:01:39Z): This is a dup of #297
Repository: charmbracelet/bubbletea

Issue #408: Windows use `window.getConsoleMode` results is not expected
Created: 2022-08-19T15:54:37Z
On Windows run tea.program use  windows.GetConsoleMode  -> 992
but default mode is 503, so after running, the input direction key will be recognized as [[A

code:
package main

import (
	"fmt"
	"golang.org/x/sys/windows"
	"unicode/utf16"
)

var fileShareValidFlags uint32 = 0x00000007

func main() {
	var originalMode uint32

	handle, _ := windows.CreateFile(
		&(utf16.Encode([]rune("CONIN$\x00"))[0]), windows.GENERIC_READ|windows.GENERIC_WRITE,
		fileShareValidFlags, nil, windows.OPEN_EXISTING, windows.FILE_FLAG_OVERLAPPED, 0)

	_ = windows.GetConsoleMode(handle, &originalMode)

    // 503
	fmt.Println(originalMode)

	// problematic mode
	//windows.SetConsoleMode(handle, 992)
}
最初由 fzdwx 在 #393 (comment) 发布

Duplicate issue #563: Windows Terminal stops respond on input after bubbletea app quit
Created: 2022-10-20T05:14:39Z
Step to reproduce
With following simple code built into foo.exe:
func main() {
	fmt.Printf(`> `)
	var input string
	fmt.Scanf("%s", &input)
	fmt.Printf("Read: %s\n", input)
}
Then run the app defined in https://github.com/charmbracelet/bubbletea/tree/a7067fbfa2ed2cb89b3eeff1bde9ccd1870765aa/examples/simple. After this quits and foo.exe runs again, when the terminal is waiting for user's input, the cursor doesn't respond, and also any input doesn't show:

Closing comment (2022-10-20T05:20:04Z): Might be related to #408.
Repository: charmbracelet/bubbletea

Issue #351: README for the examples page
Created: 2022-06-21T10:02:56Z
Hello all,
First, I want to say how cool this package is! From the community to the actual library and ecosystem. I'm very excited to crack on and make some TUIs!
This issue pertains to the suggestion in the documentation.
Do you think it will be beneficial to have a README.MD for the examples page and have videos demonstrating each example?
I'm happy to contribute. It helps me learn the various features of bubbletea.
Thanks in advance.

Duplicate issue #468: Consider adding working GIFs for each example
Created: 2022-09-29T13:18:45Z
It would be great to have working GIFs for each example in the ./example folder. 😍

Closing comment (2022-09-29T13:23:29Z): Hey, thanks so much for opening this ticket.
We are working on this and will have some recorded GIFs for all of the examples very soon.
However, I will close this ticket as it is a duplicate of #351
Repository: charmbracelet/bubbletea

Issue #179: Allow unmanaged console output
Created: 2021-12-31T21:53:42Z
Using bubbletea, I would like to have a progress bar similar to apt's:

Progress bar is updated and the above text does not get cleared. I could not achieve this in bubbletea. The closest attempt I got resulted in an unexpected error (see this cast. the code is a modification of examples/spinners/main.go).
I have also tried using bubbletea.ScrollDown() but it instantly clears the screen. Any ideas ?

Duplicate issue #267: accessing Stdout
Created: 2022-03-25T21:59:48Z
For an application that is not using AltScreen, is it safe to have a tea.Cmd that writes stuff to Stdout, or could it break the display somehow with some unfortunate concurrent access?

Closing comment (2022-03-26T19:49:51Z): (Also closing as this is a dup of #179.)
Repository: charmbracelet/bubbletea

Issue #304: Force newline after rendering the final View
Created: 2022-04-26T19:44:34Z
If the final call to View() (after emitting tea.Quit) does not end with a newline it is immediately overwritten by the shell prompt or by any other output. This can be a bit surprising and it's hard to debug if you don't know what happens.
It can be avoided by appending a newline to the result of the final call to View() if this result is not empty.

Duplicate issue #827: Last line truncated from the output when sending the `tea.Quit` command
Created: 2023-09-23T07:09:05Z
First off, thanks for this awesome library! I had a ton of fun creating a small CLI app with it.
Describe the bug
When a tea.Quit message is triggered from the Update() method, the last line defined in the View() method gets truncated.
Setup
Please complete the following information along with version numbers, if applicable.

OS: macOS
Shell: tried on both zsh & fish
Terminal Emulator: tried on both iTerm and Terminal.app
Terminal Multiplexer: none

To Reproduce
I've created a minimal reproduction here: https://gist.github.com/praagyajoshi/1244e79a44e308e4ebd43a844d159d5c
This is a simple program which updates the model with a string message on any keypress.
You can comment line 30 and uncomment line 32 to see the bug in action.
Expected behavior
The last line of the string returned by Output()  should always be displayed.
Screenshots
Initial run

On any key press

Closing comment (2023-09-23T13:29:22Z): Hi! So what's happening is that your prompt is overwriting the final line printed by Bubble Tea. There are some pros and cons to changing this behavior, which we've discussed here and there (see #304). For now, I'd simply add a final newline to the end of of your views on quit (most of the inline examples work this way).
If you have more thoughts on this mind following up in #304?
(Dup of #304)
Repository: charmbracelet/glow

Issue #182: Open in editor
Created: 2020-10-19T05:04:16Z
When viewing a file with less, one can press v to open the file in the editor. Adding this feature to glow would be great.

Duplicate issue #309: Option to quickly open file in $EDITOR
Created: 2021-12-06T07:40:22Z
I wanted to edit the files as I go read them in glow, anyway I can quickly switch to and from my editor?

Closing comment (2022-01-19T10:13:47Z): This issue is actually a dup of #182 I think
Repository: charmbracelet/glow

Issue #237: Feature: Support OSC8 escape codes for real hyperlinks
Created: 2021-01-22T21:26:40Z
iTerm2 supports OSC8 hyperlinks, allowing you to have Cmd+Click'able links with separate display text.
I'm not sure how it would look in go, but in Python it looks like this:
url = ...
text_displayed = ...
f'\x1b]8;;{url}\x07{text_displayed}\x1b]8;;\x07'

For terminals that do not support OSC8, there is no change in the visible rendering as best I know.

Duplicate issue #352: Follow links
Created: 2022-06-20T08:46:38Z
Hello Devs
Please make it possible to follow both filesystem links (/foo/bar) and weblinks. It would make the experience feel more
complete. For example the TuxDocs project. Being able to follow the links inside the terminal would be awesome!

Closing comment (2022-10-12T00:04:14Z): If I understand you correctly, this looks like a dupe of #237. We're working on some improvements!
Repository: charmbracelet/glow

Issue #545: Table formatting breaks if output is piped
Created: 2023-11-28T16:55:48Z
Describe the bug
Table formatting breaks when stdout is piped to a file or a program. glow seems to detect if stdout is connected to a tty, and leaves out some table formatting if it's not.
I would like to pipe glow output to tools like grep and fzf and still have the correct table formatting.
Setup
Please complete the following information along with version numbers, if applicable.

OS [e.g. Ubuntu, macOS]: Ubuntu 22.04
Shell [e.g. zsh, fish]: zsh
Terminal Emulator [e.g. kitty, iterm]: kitty
Terminal Multiplexer [e.g. tmux]: Bug reproduces both with and without tmux
Locale [e.g. en_US.UTF-8, zh_CN.UTF-8, etc.]: en_US.UTF-8

To Reproduce
Steps to reproduce the behavior:
$ glow test.md                                     

                                                                                                                    
    FIRST COLUMN │ SECOND COLUMN                                                                                      
  ───────────────┼────────────────                                                                                    
    Foo          │ Bar                                                                                                
                 │ Baz                                                                                                

$ glow test.md | cat                               


FIRST COLUMN │ SECOND COLUMN
───────────────┼────────────────
Foo          │ Bar
│ Baz

$ socat - EXEC:'glow test.md',pty,setsid,ctty | cat

                                                                            
    FIRST COLUMN │ SECOND COLUMN                                              
  ───────────────┼────────────────                                            
    Foo          │ Bar                                                        
                 │ Baz                                                        


Source Code
Please include source code if needed to reproduce the behavior.
| First column | Second column |
|--------------|---------------|
| Foo          | Bar           |
|              | Baz           |
Expected behavior
Table formatting should be maintained regardless of TTY presence.
Screenshots

Additional context
N/A

Duplicate issue #528: Glow is not rendered when it is assigned (in PowerShell)
Created: 2023-08-25T19:45:46Z
Describe the bug
Glow is not rendered when it is assigned in PowerShell.
Setup
Please complete the following information along with version numbers, if applicable.

OS : Windows
Shell : PowerShell
Locale : en-us


To Reproduce
Steps to reproduce the behavior:
"# Hello"| glow # works
$helloGlow =  "# Hello"| glow # returns "# Hello"
This blocks StartAutomating/Posh#227

Closing comment (2024-06-10T06:57:12Z): Same as #545 ?
Repository: charmbracelet/glow

Issue #183: Search in files
Created: 2020-10-19T07:56:08Z
One thing I really miss from other viewers is the ability to search in files, ideally with the same shortcuts as less:
                         SEARCHING

  /pattern          *  Search forward for (N-th) matching line.
  ?pattern          *  Search backward for (N-th) matching line.
  n                 *  Repeat previous search (for N-th occurrence).
  N                 *  Repeat previous search in reverse direction.
  ESC-n             *  Repeat previous search, spanning files.
  ESC-N             *  Repeat previous search, reverse dir. & spanning files.
  ESC-u                Undo (toggle) search highlighting.
  &pattern          *  Display only matching lines
        ---------------------------------------------------
        A search pattern may be preceded by one or more of:
        ^N or !  Search for NON-matching lines.
        ^E or *  Search multiple files (pass thru END OF FILE).
        ^F or @  Start search at FIRST file (for /) or last file (for ?).
        ^K       Highlight matches, but don't move (KEEP position).
        ^R       Don't use REGULAR EXPRESSIONS.
 ---------------------------------------------------------------------------

(Using ? for backward search would require moving the help shortcut to h as in less.)

Duplicate issue #420: add search to interactive mode
Created: 2022-11-22T11:11:28Z
it will be kinda handy when you're going through a 27002 word markdown file

Closing comment (2023-04-15T12:52:34Z): This seems like a duplicate of #183 and #193.
Repository: charmbracelet/glow

Issue #172: un-known connection to id.charm.sh every time open a local markdown
Created: 2020-10-17T19:32:51Z
Hi, when I run glow to view a local markdown file. It connects to id.charm.sh. Why is it? and how to disable this behavior?
Bests,

Duplicate issue #615: Why does glow connect onto port 22 (SSH) to 161.35.139.210?
Created: 2024-06-08T11:23:29Z
I've installed glow from brew and upon start it tries to access 161.35.139.210:22. 22 is port commonly used for SSH, why would a text viewer want to establish SSH connections?

Closing comment (2024-06-11T14:02:18Z): So, a dupe of #172.
This is not okay by my book, I'm off.
Repository: charmbracelet/glow

Issue #285: glow --all doesnt work
Created: 2021-08-02T14:18:08Z
i have a folder which is git ignored, in that folder there are some markdowns that i want to see using glow --all but not be available for github.
some people said that glow --all would be a solution, unfortunatelly it isnt.

Duplicate issue #553: Glow doesn't see markdown files. `.gitignore` 
Created: 2024-01-07T14:39:04Z
Describe the bug
Trying to browse files recursivelly in a directory
❯ tree .local
.local
├── README.md
└── tasks
    ├── 1.md
    └── 2.md

❯ glow -al .local

I don't know why but recently flag -a allowed me to browse the files with the same command and same directory.
If i make the folder normal, unhidden .local -> local glow works as expected.
Setup
Please complete the following information along with version numbers, if applicable.

Ubuntu 22.04
zsh 5.8.1
alacritty 0.9.0
tmux 3.2a
Locale en_US.UTF-8
glow 1.5.1 (ad21129)

To Reproduce

Open files with the command glow -al .local

Expected behavior
To browse files.
Screenshots
See nothing

Closing comment (2024-02-02T16:43:37Z): This is related to #285. I also find this incredibly annoying and came looking for a similar solution. I don't think this should be the default behavior but even if it is there should be a way to bypass that.
Repository: charmbracelet/glow

Issue #237: Feature: Support OSC8 escape codes for real hyperlinks
Created: 2021-01-22T21:26:40Z
iTerm2 supports OSC8 hyperlinks, allowing you to have Cmd+Click'able links with separate display text.
I'm not sure how it would look in go, but in Python it looks like this:
url = ...
text_displayed = ...
f'\x1b]8;;{url}\x07{text_displayed}\x1b]8;;\x07'

For terminals that do not support OSC8, there is no change in the visible rendering as best I know.

Duplicate issue #174: Is it possible to open links?
Created: 2020-10-18T09:36:48Z
Is it possible to somehow follow links? I have a lot of notes that are linked to each other (Zettelkasten style) and was wondering if I could use this viewer to render them.

Closing comment (2024-03-01T15:50:41Z): It's tricky because only a few terminals support link markup through OSC8, but it's something we're working on. Even though your ticket was technically first, I'm gonna close this as a dupe of #237 where we'll track the progress.

I think the author meant to open links to other local files whilst inside glow's internal reader, not opening links to the outside from the terminal.
I'm sorry if I'm bumping this issue when I shouldn't.
Repository: charmbracelet/glow

Issue #418: Option to ignore reference links
Created: 2022-11-17T16:39:28Z
Could there be an option to ignore reference links? Currently, the full path is rendered in place of the reference link.
Reference links are often used to make documents more readable by removing long links from being inline with text content. When reference links (which are quite readable in a markdown file) are rendered into something less readable it feels like the renderer made things worse. I'd really like a way to preserve this readability improvement while using glow to render my markdown files.
I love how glow is a minimal amount of visual rendering that improves the readability of markdown documents and I want to thank you all for working on it!

Duplicate issue #585: Show relative paths
Created: 2024-03-01T15:43:54Z
Describe the bug
glow shows full paths, when opened as glow $FILE instead of when choosing a file from the file list which when browsing documentation for projects is sometimes annoying, as you have the folder somewhere like /home/user/git/projects/the_project and it is annoying to have that list and it's inconsistent as when opened one way it doesn't show.
Setup
Please complete the following information along with version numbers, if applicable.

OS: Arch Linux
Shell: N/A (zsh)
Terminal Emulator: N/A (foot)
Terminal Multiplexer: N/A (none)
Locale: en_US.UTF8

To Reproduce
Steps to reproduce the behavior:

Run glow README.md in a fresh clone of the glow repo.
Run glow and choose README.md in a fresh clone of the glow repo.
They differ

Source Code
N/A
Expected behavior
It should or show the full path always or only relative path, or a option should be added to choose the desired behaviour.
Screenshots
N/A
Additional context
I'm running glow as glow -lp, not only as glow. I saw the same behavior when running glow without any options.

Closing comment (2024-03-01T15:52:41Z): Sorry, I've later noticed this is a duplicate of #418, I'm closing this.
Repository: charmbracelet/glow

Issue #148: Pager live preview
Created: 2020-05-21T17:09:56Z
A good additional feature would be a pager mode with a live preview, allowing to modify the file and preview its changes in real time (even better would be to have some sort of analogue of the synctex, but probably that's out of the scope of this tool)

Duplicate issue #155: [enhancement] add file monitor support
Created: 2020-09-05T18:05:02Z
I like using glow to see an output preview of my markdown files, however it would be nice to have a flag that will detect changes to the open file and reload the file into glow while it is opened in a pager.

Closing comment (2020-10-15T04:55:53Z): Good idea, but I think we can file this as a duplicate of #148.
Repository: charmbracelet/glow

Issue #352: Follow links
Created: 2022-06-20T08:46:38Z
Hello Devs
Please make it possible to follow both filesystem links (/foo/bar) and weblinks. It would make the experience feel more
complete. For example the TuxDocs project. Being able to follow the links inside the terminal would be awesome!

Duplicate issue #390: So it is not a markdown reader yet?
Created: 2022-10-08T04:22:47Z
Since I don't get to read a markdown file not seeing those markups.
So this is not a markdown-reader-in-terminal ?

Closing comment (2022-10-12T00:01:24Z): Closing as dupe of #352.
Repository: chartist-js/chartist

Issue #381: ToolTip appears at the wrong location; Firefox 39+
Created: 2015-07-13T11:10:29Z
Hello,
In Firefox 41 Developer Edition, the tooltips appear at the wrong location. See the attached image:

Kind Regards,
Dennis Bitsch

Duplicate issue #418: Tooltip example: position off in Firefox
Created: 2015-08-25T15:53:47Z
https://gionkunz.github.io/chartist-js/examples.html#line-chart-with-tooltips

The positioning works fine in Chrome, but it seems to be off in Firefox.

Closing comment (2015-08-25T17:36:10Z): Hi there, sorry for that. This is a duplicate of #381 and will be resolved with #419
Repository: chartist-js/chartist

Issue #255: Label Text Centered in Donut Chart
Created: 2015-04-04T12:51:07Z
Hey--
I've been fiddling around with the various options and interpolation, but I cannot seem to get the label text to stay centered in the middle of the donut chart.  I can get a position that passes for centered, but the position of the text changes and the donut chart values change.
How do I place a label in the absolute center of a donut chart?

Duplicate issue #674: Write inside the donut chart
Created: 2016-04-16T11:03:24Z
I want to write something inside the donut chart. I came with an unorthodox solution and I am sure that there is something better out there (basically added a 0 value to series and labeled it). http://codepen.io/ananasqwer/full/ZWreyE/
I would also like to display only the label inside the donut chart. Thanks!

Closing comment (2016-10-19T09:59:18Z): Duplicate of #255
Repository: chartist-js/chartist

Issue #468: Migration from SMIL to Web Animations API
Created: 2015-09-29T16:18:21Z
As we know from the warnings on the console and a google mail group from the chrome dev team, SMIL will be deprecated in Chrome and Opera. There is no clear timeline yet, but a clear warning on the console (which in my view is just painful).

look into migration possibilities
browser / support , polyfill
Missing features (shape morph)
Performance (attribute animation)

Duplicate issue #521: SVG's SMIL animations (<animate>, <set>, etc.) are deprecated 
Created: 2015-11-21T17:18:33Z
I get this error when pasting the FILLDONUT PLUGIN example
SVG's SMIL animations (, , etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.

Closing comment (2015-11-30T10:26:11Z): Hi there, this is a duplicate of #468. Thanks for the report though!
Repository: chartist-js/chartist

Issue #77: Decimals in axis values
Created: 2014-11-02T00:29:17Z
I have a dataset composed of only integers, but ChartistJS displays decimals axis values. Is there an option to set the smallest possible step to always be an integer instead of being a decimal?

Duplicate issue #245: How to define Y Axis Scale When Data passes dynamically
Created: 2015-03-24T09:40:29Z
I am passing Points as below:
CategoryValuePointsArray : [12,15,12,45,78,10,12,4,5,13,20]
It Gives me : in fractions as 12.5,25,37.5...
Now I want Y axis like 10, 20 ,30......
How cna I do that, Is there any way to do it ?

Closing comment (2015-03-29T11:31:16Z): Hi There
This is a duplicate of #77 . I'm closing this issue in favor of 77. Let's track the progress on this there.
Cheers
Gion
Repository: chartist-js/chartist

Issue #54: Centre-align labels on the x-axis
Created: 2014-09-26T13:58:15Z
This graph looks silly:

The labels are too far right!
I couldn't find a way to line up the centre of the labels with the point. Is there a way to do this? If not, how tricky would it be to implement? It would be a good feature to have.

Duplicate issue #616: Bar chart labels mis-aligned in IE?
Created: 2016-02-18T23:53:54Z
I've run across a strange issue with a bar chart in IE. In chrome, firefox, and safari, my bar chart looks like this:

But in IE 9/10/11 the bar chart looks like this:

(arrows added to point out the label problem)
I can't figure out why the labels are misaligned in IE. Is this a problem with foreignobject support? Is there a way to fix it?

Closing comment (2016-02-22T07:54:32Z): Duplicate of #54
Repository: chartist-js/chartist

Issue #439: Center line chart labels at grid line
Created: 2015-09-08T06:27:29Z
If we google for images of "line chart" we quickly see that almost all chart implementations center the axes labels at tick marks or grid line. Chartist does not. Lables are left aligned which can be confusing for longer labels. It's not clear if the label belongs to the left grid line, the right or the space between them. We should have an option to define the alignment or center labels by default.

Duplicate issue #781: labels placement is confusing
Created: 2016-08-30T10:57:28Z
Hello,
Is there any way to center the labels according to the grid and points ? The right align is confusing especially when there is a lot of labels.

Also wanted to say thank you for this great charts library :)

Closing comment (2016-08-30T11:02:09Z): Duplicate of #439
Repository: chartist-js/chartist

Issue #255: Label Text Centered in Donut Chart
Created: 2015-04-04T12:51:07Z
Hey--
I've been fiddling around with the various options and interpolation, but I cannot seem to get the label text to stay centered in the middle of the donut chart.  I can get a position that passes for centered, but the position of the text changes and the donut chart values change.
How do I place a label in the absolute center of a donut chart?

Duplicate issue #706: Custom text inside donut chart
Created: 2016-05-31T16:40:05Z
I need to add some custom text inside the donut chart as seen below:
http://i.imgur.com/tBrkNpc.png
The total value needs to show the total of donut chart values. What is the best way to do this?

Closing comment (2016-10-19T10:53:14Z): Duplicate of #255
Repository: chartist-js/chartist

Issue #60: Dual y-axis
Created: 2014-10-05T20:38:49Z
I'd love to have the ability to do dual y-axis on a graph (usually line or bar) so as to chart and overlay multiple data series on a single graph.

Duplicate issue #663: Feature request: secondary axis support
Created: 2016-04-06T16:59:44Z
For line charts, we frequently need to be able to plot some multiple series on a LineChart where some of the series use a secondary vertical axis. (e.g. https://support.office.com/en-us/article/add-or-remove-a-secondary-axis-in-a-chart-91da1e2f-5db1-41e9-8908-e1a2e14dd5a9 ) This doesn't appear to be supported with Chartist and I'm not sure whether or not this would be possible to do with a plugin. Has anyone else attempted this? What approach did you use?
As a hack for my demo I am transforming the data for the series that should be associated with the secondary axis so that it aligns with the primary one, but obviously this is not a good solution.

Closing comment (2016-04-06T17:04:46Z): Just realized this is a duplicate of #60 (didn't use the same name for this so didn't see it when I searched). If you want to close it in favor of that one that's OK with me, but I think this is a separate feature. In all of my use cases it would be applying to charts of the same type (e.g. all line/scatter data, just some series using alternate vertical scaling.)
Repository: chartist-js/chartist

Issue #322: Create bands on line charts
Created: 2015-05-19T14:02:37Z
Is it possible to limit the area drawn by a serie to the value of another serie as in grafana or dygraphs?

Duplicate issue #497: Create area which goes from value to value, not from 0 to value
Created: 2015-10-28T07:48:14Z
It seems currently it is possible to only create area which goes from 0 (or base) to some value. But I would need something from value to value. So that I can specify lower and higher values. Something like that:

Closing comment (2015-12-11T15:12:05Z): Hi there, closing this issue as dupe of #322. Cheers
Repository: chroma-core/chroma

Issue #341: Bug: querying collection when no data added causes crash
Created: 2023-04-13T00:32:44Z
trivial example is

https://colab.research.google.com/drive/1QEzFyqnoFxq7LUGyP1vzR4iLt9PpCDXv?usp=sharing#scrollTo=64dWyeEdKAX9
comment out collection.add
run all cells

Duplicate issue #435: [UX improvement]: collection.query by metadata where a field doesnt yet exist causes an error
Created: 2023-04-27T00:23:52Z
What happened?
trivial example is

https://colab.research.google.com/drive/1QEzFyqnoFxq7LUGyP1vzR4iLt9PpCDXv?usp=sharing#scrollTo=64dWyeEdKAX9
change the query to this:

query_result = collection.query(
        query_embeddings=[[1.1, 2.3, 3.2], [5.1, 4.3, 2.2]],
        n_results=2,
        where={
            # style3 doesnt exist, but should gracefully return empty list. 
            # instead chroma errors!
            "style": "style3" 
        }
    )

run all cells


Versions
n/a
Relevant log output
No response

Closing comment (2023-04-27T00:24:13Z): related to #341 potentially
Repository: chroma-core/chroma

Issue #1995: [Bug]: Get vertex embeddings when using GoogleVertexEmbeddingFunction
Created: 2024-04-10T06:10:17Z
What happened?
When I call GoogleVertexEmbeddingFunction to get embeddings, it can't parse response appropriately.
code before fixed:
if "predictions" in response:
     embeddings.append(response["predictions"]["embeddings"]["values"])
when I print my response, it is like:
{
    'predictions': [{
        'embeddings': {
            'values': [ embedding values, ... ],
            'statistics': {
                'truncated': False,
                'token_count': 179
            }
        }
    }],
    'metadata': {
        'billableCharacterCount': 206
    }
}
The key 'predictions' corresponds to the value type which is list object.
So I guess the response which has changed from google vertex api.
After the code fixed like this:
if "predictions" in response:
     for prediction in response['predictions']:
           embeddings.append(prediction["embeddings"]["values"])
It runs well.
Versions
Chromadb 0.4.24
Python 3.10.13
MacOS 14.1
Relevant log output
File "/Users/liyuxiang/.pyenv/versions/butterbeer/lib/python3.10/site-packages/chromadb/utils/embedding_functions.py", line 668, in __call__
    embeddings.append(response["predictions"]["embeddings"]["values"])
TypeError: list indices must be integers or slices, not str

Duplicate issue #3484: [Bug]: Vertex AI embedding API response parsing in Chroma DB raises error.
Created: 2025-01-14T02:45:41Z
In Vertex AI text embedding API docs, prediction's value is List. However, GoogleVertexEmbeddingFunction in google_embedding_function.py parses it as dictionary.
This raises TypeError: list indices must be integers or slices, not str while calling GoogleVertexEmbeddingFunction.

Closing comment (2025-01-14T20:33:31Z): Duplicate of #1995
Repository: chroma-core/chroma

Issue #1259: 用存在chromadb中一模一样的文档名检索，但有时无法找到这个文档？
Created: 2023-10-19T09:05:12Z
I have 15,000 pieces of data stored in chromadb. Each piece of data contains (document name, document content). I searched the document names of these 15000 data without modification, but 66 of the document names did not retrieve the correct document

Duplicate issue #1258:  Is chromadb unstable?
Created: 2023-10-19T08:51:04Z
I have 15,000 pieces of data stored in chromadb. Each piece of data contains (document name, document content). I searched the document names of these 15000 data without modification, but 66 of the document names did not retrieve the correct document. Why does this happen? Is chromadb unstable?

Closing comment (2023-10-19T13:57:49Z): Closing as a dupe of #1259 - responding there
Repository: chroma-core/chroma

Issue #3415: [Feature Request]: Support lists in metadata
Created: 2025-01-06T19:54:42Z
Describe the problem
This issue tracks the feature request to add support for storing and querying lists as values within Chroma's metadata fields. Currently, metadata fields are limited to single values (strings, integers, floats, booleans). This limitation hinders use cases that require associating multiple values with a single metadata key, such as tags, categories, or other multi-value attributes.
Related user issues:

#227
#936
#2487
#3153

Describe the proposed solution

Allow storing lists of primitive data types (strings, numbers, booleans) as values in metadata fields during document insertion or updates.
Provide query operators to efficiently filter documents based on list contents. This includes, at a minimum:

$contains (or similar): To check if a list field contains a specific value.
$in (or similar): To check if a list field contains any value from a given set.
Potentially other operators like $all (contains all values), $size (matches list size), etc., based on community needs and feasibility.



Alternatives considered
No response
Importance
nice to have
Additional Information
No response

Duplicate issue #1195: [Feature Request]: Querying by metadata fields is not flexible enough
Created: 2023-09-29T02:28:33Z
Describe the problem
I am weighing up the trade-off between creating thousands of chroma collections and having few collections with more complex metadata objects so that I will be able to achieve filtering/querying based on different data type operations.
Do you plan to support (in the near future) more operations and data types (mainly custom objects such as json objects) in a given metadata?
Example:
collection.add(
    documents=[doc1],
    metadatas=[{"metadata1": [{"k1": "v1"}, {"k2": "v2"}]}],
    ids=["id1"]
)

Also, do you happen to have any plan to support string $contains operations in metadata where condition?
Example:
result = collection.query(
    query_texts=["This is sample query text"],
    where={"string_type_metadata_field": {"$contains": "substring"}}
)

Describe the proposed solution

I would have loved to see if collection metadata can contain fields of any type. Examples list, map, set, json, etc. Today only supported operations seems to be: str, int, float or bool
When querying with where keyword, I would love to see more operations supported like string/list/map/set contains keywords. Today only supported operations seems to be: $gt, $gte, $lt, $lte, $ne, $eq, $in, $nin

Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

Closing comment (2025-01-06T21:43:04Z): Tracked in #3415 and #3416
Repository: chroma-core/chroma

Issue #2513: [Bug]: chromadb 0.5.4 crashes on windows 
Created: 2024-07-13T06:46:16Z
What happened?
running collection.add function crashes after 100 documents are inserted
Versions
chromadb 0.5.4, python 3.9;
Relevant log output
No response

Duplicate issue #2554: [Bug]: Version 0.5.4 does not work on local VS code
Created: 2024-07-22T12:21:02Z
What happened?
The sample code does not work with the lates version 0.5.4 when tried on a local machine with vs code python 3.10 but it works on colab. The sample code teminates without any error message. I downgrade the chroma to 0.5.3 it worked in the same conda env. See the screenshot:

The code:
import chromadb
print("Hello, Chroma!")
chroma_client = chromadb.PersistentClient()
collection = chroma_client.get_or_create_collection(name="my_collection")
print("adding documents to collection", collection.count())
collection.add(
documents=[
"This is a document about pineapple",
"This is a document about oranges"
],
ids=["id4", "id5"]
)
print("added: ",collection.get("id1"))
results = collection.query(
query_texts=["This is a query document about hawaii"], # Chroma will embed this for you
n_results=2 # how many results to return
)
print(results)
Versions
Chroma 0.5.4
Relevant log output
PS C:\Users\murat.karakaya\Desktop\Sil\chroma> & C:/ProgramData/miniconda3/envs/chromadb/python.exe c:/Users/murat.karakaya/Desktop/Sil/chroma/chroma.py
Hello, Chroma!
adding documents to collection 0
[TERMINATED]

Closing comment (2024-07-22T12:26:13Z): @kmkarakaya, thanks for raising this. Indeed there's a bug in the hnswlib. This issue would be a duplicate of #2513
The current workaround is to:

Downgrade to 0.5.3
Rebuild the hnsw lib from source (build dependencies required) - #2513 (comment)
Repository: chroma-core/chroma

Issue #1340: [Bug]: AttributeError: module 'openai' has no attribute 'Embedding'. Did you mean: 'embeddings'?
Created: 2023-11-07T06:34:32Z
What happened?
Hi, I am a maintainer of Embedchain Project. We have chromadb as a dependency and have started noticing with OpenAI 1.1.1 version that chromadb package throws error: AttributeError: module 'openai' has no attribute 'Embedding'. Did you mean: 'embeddings'?.
Please see the instructions below to reproduce:
(.venv) ➜  embedchain git:(main) ✗ pip freeze | grep openai    
openai==1.1.1
(.venv) ➜  embedchain git:(main) ✗ pip freeze | grep chromadb
chromadb==0.4.15
(.venv) ➜  embedchain git:(main) ✗ python 
Python 3.10.12 (main, Jun 20 2023, 19:43:52) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> from chromadb.utils.embedding_functions import OpenAIEmbeddingFunction
>>> OpenAIEmbeddingFunction(api_key=os.environ['OPENAI_API_KEY'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/deshrajyadav/Projects/embedchain/.venv/lib/python3.10/site-packages/chromadb/utils/embedding_functions.py", line 125, in __init__
    self._client = openai.Embedding
AttributeError: module 'openai' has no attribute 'Embedding'. Did you mean: 'embeddings'?
Versions
openai==1.1.1, chromadb==0.4.15
Relevant log output
No response

Duplicate issue #1373: [Bug]: update openai and chromada, query error
Created: 2023-11-10T03:44:10Z
What happened?
We bump our openAI to 1.2.2 and Chromadb to 0.4.16.
Then we start to get this error, the log indicates it is from the Chromadb

The error throws when we get the collection from Chroma, then do the query like this:
            res = collection.query(
                query_texts=[search_query],
                n_results=k,
                where=where_filter
            )

here is how we create the collection and get the collection
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
api_key=OPENAI_API_KEY,
model_name="text-embedding-ada-002"
)
def create_eva_collections():
collection = chromadb_client.create_collection(name="Eva",
metadata={"version": EVA_VERSION, "hnsw:space": "cosine"},
embedding_function=openai_ef)
return collection
def get_eva_collections():
try:
collection = chromadb_client.get_collection(name="Eva", embedding_function=openai_ef)
except:
collection = create_eva_collections()
return collection
We can peek OK, but when we get the collection and do the query, it will throw that exception.
Versions
Chroma 0.4.16, OpenAI 1.2.2, Python 3.10
Relevant log output
No response

Closing comment (2023-11-10T06:30:13Z): OpenAI shipped a breaking change. This was fixed in #1338 and this issue is a duplicate of #1340 . This fix will go out in 0.4.17!
Repository: citusdata/citus

Issue #1947: Subqueries in UPDATE/DELETE that touch multiple nodes
Created: 2018-01-11T13:47:26Z
With #1127 we've implemented this for queries that hit single node.
We might consider implementing this for queries that hit multiple nodes. Theoretically, with #1804 this might be simpler but needs more thinking for sure.
An example that came on Slack:
DELETE FROM reference_table 
WHERE some_id IN (SELECT "id" FROM distributed_table WHERE tenant_id = '6f78ba01-10c3-477f-821e-3321cf572aca');
Or a test from the regression test file:
UPDATE summary_table SET average_value = average_query.average FROM (
        SELECT avg(value) AS average FROM raw_table) average_query;
ERROR:  subqueries are not supported in modifications across multiple shards
DETAIL:  Consider using an equality filter on partition column "id" to target a single shard.

Duplicate issue #1740: UPDATE/DELETE with subqueries across multiple shards
Created: 2017-10-30T15:10:45Z
Currently, you can do UPDATE/DELETE with subqueries, UPDATE/DELETE across multiple shards, but not both.

Closing comment (2018-01-11T14:07:21Z): Closing since its duplicate of #1947 (actually the other duplicated this one, but we preferred to close this :) )
Repository: citusdata/citus

Issue #3265: Force push down of function calls in a distributed transaction
Created: 2019-12-03T16:54:55Z
It would be useful if create_distributed_function would allow you to force pushdown of stored procedure calls even if the procedure is called from a bigger stored procedure/transaction, with the restriction that the inner procedure can only do local execution and will error out if it opens a connection.
This would also be useful infrastructure for implementing co-located triggers.

Duplicate issue #5376: Forced procedure call delegation within transactions
Created: 2021-10-14T14:35:47Z
We would like to be able to delegate a procedure call that's done within another procedure or transaction block to a worker node, rather than executing the procedure and the individual statements within it on the coordinator.
A possible way of going about would be to extend the create_distributed_function with a new argument that specifies that:

calls to this procedure should be pushed down when possible, even when called in a multi-statement transaction (incl. procedures)
the user promises that this function only accesses co-located shards

The information would need to be stored in pg_dist_object and causes the planning logic to bypass the check in https://github.com/citusdata/citus/blob/master/src/backend/distributed/planner/function_call_delegation.c#L222
We will also want to guarantee that the procedure only accesses shards that are co-located with of the shard that contains the value of the distribution argument. Otherwise, we create a distributed transaction within a distributed transaction and the outer distributed transactions would not see all changes made by the inner one and vice-versa.

Closing comment (2021-10-14T16:28:14Z): Duplicate of #3265