primordic/IssueDupesLite huggingface dataset:
Repository: unocss/unocss

Issue #3293: Confusion over the order of the same rules
Created: 2023-10-31T08:18:39Z
UnoCSS version
0.57.1
Describe the bug
As with the minimal implementation, it's not retrieved from the beginning nor the end, instead it uses red in the middle, but that's not to say that it's necessarily the middle, my feeling seems to be that there's a set of default rules in order for a reason, but that doesn't cover the same rules
Reproduction
https://stackblitz.com/edit/nuxt-starter-a4phwp?file=app.vue
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Duplicate issue #3393: 样式优先级问题
Created: 2023-11-29T08:51:58Z
UnoCSS version
0.57.4
Describe the bug
unocss中样式优先级好像并不会因为输出顺序而改变。我尝试使用
<!-- 期待显示，实际隐藏 -->
<div class="tws-hidden tws-block">测试</div>
<!-- 隐藏 -->
<div class="tws-block tws-hidden">测试2</div>
我的诉求是希望后面的样式优先级会优先于前面的，比如在tws-hidden tws-block下，block的优先级肯定是高于hidden的，媒体查询也同样如此。
查看过类似的issue，但是并不能解决我的问题。
Reproduction
具体可以查看Playground上的示例。
System Info
vite:4.4.5
vue:3.3.4
unocss:0.57.4
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Closing comment (2023-11-29T09:34:52Z): duplicate: #3293
Repository: unocss/unocss

Issue #2144: vue-cli hmr not work 
Created: 2023-02-03T12:28:46Z
"@vue/cli-service": "~5.0.0",
"unocss": "^0.49.4",
"@unocss/webpack": "^0.49.4",
vue-cli-service serve hmr unocss not work

Duplicate issue #3225: is:issue is:open examples 中的 vue-cli4 vue-cli5 都不能热更新，必须刷新浏览器才能有效果
Created: 2023-10-13T02:54:25Z
UnoCSS version
0.56.5
Describe the bug
examples 中的 vue-cli4 vue-cli5 都不能热更新，必须刷新浏览器才能有效果
Reproduction
is:issue is:open examples 中的 vue-cli4 vue-cli5 都不能热更新，必须刷新浏览器才能有效果
System Info
No response
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Closing comment (2023-10-13T03:01:08Z): duplicate：#2144
Repository: unocss/unocss

Issue #1461: compatibility problem:  __uno.css:9 Uncaught SyntaxError: Unexpected reserved word
Created: 2022-08-24T08:24:29Z
maybe is a compatibility problem?
browser: Sogou Browser
version: 11.0.1.34700
example project: https://github.com/JiatLn/vvtt
when run npm run dev, the page is empty and throw error __uno.css:9 Uncaught SyntaxError: Unexpected reserved word
on console following:

Duplicate issue #1613: compatibility problems
Created: 2022-09-19T05:38:59Z
When I use unocss in Nuxt3, the compiled _uno.css uses top-level await. This syntax has poor compatibility. Is there a way to be compatible with slightly lower versions of browsers?

Closing comment (2022-09-20T05:31:27Z): It's similar to #1461
Repository: unocss/unocss

Issue #3344: 🐞: `animate-*` doesn't work with `@apply` directive. `@keyframes` generated is scoped
Created: 2023-11-16T13:06:31Z
UnoCSS version
latest
Describe the bug
@keyframes generated by animate-* via @apply directive is scoped, hence it has no effect. The @keyframes should always be generated outside the selector.
Refer to reproduction.
Reproduction
https://unocss.dev/play/?html=DwEwlgbgBAxgNgQwM5ILwCIDmAnMIoAOiMApgLRgAuJAtkmaQHbXZQAWZSM2JJjU1AB6UyADkFx0APgBQUKKEixEKDNSSUoNAEZkATAAZpAAQQEiAT2AB6cBFnzF0eMjToEjMDQTVOBMIzSAJKMcAEkNnaykZCyQA&config=JYWwDg9gTgLgBAbwFBzgEwKYDNgDsMDCEuOA5gDQpxhQYDOGMAgjDFMAEYCuMwWAnpVQ16jAKq4IQuGwCGuOlmggMUACLBaAY14A3ekgC%2BcLFAgg4Aci6StdOpaRIMAD0ix02WVwA28TDj4RCTApAAUyMK0DDB0AFxwANpUUaIwEhBhAJRUALrScgpKUCpQ8UkpMlDyisqqGtp69Nl5RjlAA&css=HQFwpgziAEDeBQ1oAECGAHdAbAntVAdgJYC2q4AtAEYD2ArgQMZgDc8AvkA&options=N4IgLgTghgdgzgMwPYQLYgFwKgGzgUwF8g
System Info
Not relevant
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Duplicate issue #3379: transformerDirectives is not working for animations
Created: 2023-11-26T09:12:19Z
UnoCSS version
0.57.7
Describe the bug
transformerDirectives is not working for animations.
Reproduction
Playground
System Info
No response
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Closing comment (2023-11-27T01:52:17Z): Bug of transformerDirectives. Duplicate of #3344.
Repository: unocss/unocss

Issue #3566: VSCode extension does not work when using yarn PnP
Created: 2024-02-19T03:20:57Z
UnoCSS version
0.58
Describe the bug
VSCode extension is not working when install unocss with yarn, the UnoCSS console output:
⚠️ Error on loading config. Config directory: c:\App\vite-ts\vite-project
Error: Cannot find module 'unocss'


it is normal when using npm

Reproduction
yarn create vite vite-project --template vanilla
cd vite-project
yarn add unocss
add a basic unocss config
import { defineConfig, presetAttributify, presetUno } from 'unocss';

export default defineConfig({
    presets: [
        presetUno(),
    ],
});
open the project in VSCode
System Info
No response
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Duplicate issue #3667: Icons Preset Node Loader does not work when using Yarn PnP
Created: 2024-03-28T17:15:52Z
UnoCSS version
0.58.8
Describe the bug
When using Yarn PnP, the icons preset does not pick up on any Iconify dependencies being present. I suspect this is caused by the "Node Loader" deferring to a filesystem lookup - this fails because when using PnP: there is no node_modules folder as all the dependencies are zipped and made available on demand when importing a dependency.
I did find a workaround by modifying the icons preset configuration:
presetIcons({
    collections: {
        "material-symbols": () => import("@iconify-json/material-symbols/icons.json").then(i => i.default)
    }
})
System Info
No response
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Closing comment (2024-03-28T17:22:07Z): Then it would be good to mention this clearly in the documentation. The docs do include yarn example commands, and Yarn PnP has already become the default for new projects. This is related to #3566 as well.
Repository: unocss/unocss

Issue #3103: Abnormal Build Time When Used with Astro 3.0 ViewTransitions
Created: 2023-09-10T13:31:43Z
UnoCSS version
0.53.6
Describe the bug
After using the new feature 'ViewTransitions' in Astro 3.0, when simultaneously using 'unocss', it takes more than 20 seconds during 'dev' or 'build', with a significant amount of time spent on building the client. However, without using 'ViewTransitions' or 'unocss', both 'dev' and 'build' processes are much faster.
Reproduction
https://stackblitz.com/edit/withastro-astro-ptdkgl

run "npm run build", you will see it takes 19s to finish:



then comment <ViewTransitions /> in BaseHead.astro or Unocss in astro.config.mjs, everything is fast as expected.


System Info
No response
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Duplicate issue #3121: Slow Build Performance Issue with Astro 3 and UnoCSS in npm run dev
Created: 2023-09-13T15:37:23Z
UnoCSS version
0.55.7
Describe the bug
I've encountered a significant performance issue when running npm run dev with Astro 3 and UnoCSS. The reload process takes an unreasonably long time to complete, making it impractical for development.
Reproduction
Steps to Reproduce:

Clone the repository  with the Astro 3 and UnoCSS setup.
Run npm install to ensure all dependencies are installed.
Execute npm run dev.

Expected Behavior:
The build process should complete within a reasonable timeframe, as experienced in previous versions of Astro.

testing with tailwind works faster

Actual Behavior:
The npm run build process is extremely slow, taking several times longer than expected. This performance issue makes it challenging to work efficiently with Astro 3 and UnoCSS.
System Info
Astro Version: 3.0.13
UnoCSS Version: 0.55.7
Node.js Version: v18.17.1
Operating System: Windows 11
Validations

 Read the Contributing Guidelines.
 Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
 The provided reproduction is a minimal reproducible example of the bug.

Closing comment (2023-09-14T01:03:36Z): Duplicate of #3103?
Repository: unocss/unocss

Issue #978: [VSCode extension]: the extension will parse the js vars as shortcut
Created: 2022-05-16T06:28:36Z

Duplicate issue #1183: [vscode-intelisence] incorrectly detects typescript class as CSS
Created: 2022-06-29T02:10:14Z
In a project I have code similar to the following, static is being detected by UnoCSS.
export class UserService {
    static async findById(id: string) {
        console.log(id);
    }
}

Closing comment (2022-06-29T09:31:10Z): Same as #978

Agreed only I cant really change static in this case. I also noticed it happening in .d.ts files which as far as I know will never have CSS in them.
Repository: unocss/unocss

Issue #2127: The background color of some button styles in component libraries are lost when referencing the tailwind.css file.
Created: 2023-01-29T09:01:06Z
Issue
When using the unocss/reset package, the background color of some button styles in component libraries are lost when referencing the tailwind.css file.
For example, this can be quickly reproduced in both the naive ui and element ui.

The problem is caused by this CSS, which overrides the button styles of third-party UI libraries:
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
Solution
To make it easier for future integration of the unocss package in projects, I have submitted a pull request . This pull request will create a css file that inherits from tailwind. And comment out this line of code.
button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button; /* 1 */
    /*will affect the button style of most component libraries, so disable it*/
    /*background-color: transparent; !* 2 *!*/
    background-image: none; /* 2 */
}
Expected Outcome
The expected outcome is that the background color of the button styles will no longer be lost when using the unocss/reset package.

Duplicate issue #1254: '@unocss/reset/tailwind.css'   Causes the Element-Plus button to have no color
Created: 2022-07-13T13:12:16Z
button, [type='button'], [type='reset'], [type='submit'] {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
}

Closing comment (2023-02-17T16:13:57Z): @antfu without the reset, rings, active state, etc don't work. Is it possible to have a scoped reset?

Related to #2127, we will soon have in #2128. You can review or comment at #2128.
Repository: unslothai/unsloth

Issue #660: CUDA_VISIBILE_DEVICES not functioning
Created: 2024-06-18T04:01:19Z
I saw error message when I am trying to do supervised fine tuning with 4xA100 GPUs. So the free version cannot be used on multiple GPUs?
RuntimeError: Error: More than 1 GPUs have a lot of VRAM usage. Please obtain a commercial license.

Duplicate issue #675: License change
Created: 2024-06-20T23:21:50Z
After the recent changes in 8a9e24e, unsloth now throws a RuntimeError:

Error: More than 1 GPUs have a lot of VRAM usage. Please obtain a commercial license.

@danielhanchen and @shimmyshimmer, I would like to thank you for your contributions to the open source ecosystem and acknowledge that you don't owe me anything.
But your bait and switch marketing nevertheless left quite a sour taste in my mouth. Unsloth started out as free software. It even infected the HuggingFace documentation under this guise. But the unnecessary advertizing on import was already suspicious. And now you took a sudden turn that prohibits even some academic use. Your paid plans have no price transparency.
The project went from "We're part of the family" to "It's capitalism, baby!" over just a few months. I hope your users are taking note.
As unsloth transitions from free software to freeware, a license change is needed. Having an Apache 2.0 license with (from the user's perspective) unnecessary exceptions isn't sustainable, it's just going to get the project forked.

Closing comment (2024-06-21T12:40:20Z): @molander Thanks for chiming in, my issue is exactly the same as #660. My reading of it was that this is a feature, not a bug, since the code was explicitly added:
        output = subprocess.check_output(
            'nvidia-smi --query-gpu=memory.used --format=csv', shell = True)
        output = re.findall(rb'([\\d]{1,})[\\s]{1,}M', output)
        output = sum(int(x.decode('utf-8'))/1024 > 4 for x in output)
        if output > 1: raise RuntimeError(
            'Error: More than 1 GPUs have a lot of VRAM usage. Please obtain a commercial license.')

To your mind, what is the purpose of this code?
If more than 1 GPU uses at least 4GB of VRAM (which is quite often the case on the shared machine I have access to), single GPU training will not run.
Repository: unslothai/unsloth

Issue #107: Any solution for MultiGPU
Created: 2024-01-19T18:11:36Z
I'm new to the land of LLM fine-tuning and after trying LLaMA-Factory and Axolotl I've started adopting Unsloth for better performance on memory limited cards like RTX A6000 with 48Gb.
But now I reach the point where there it's too limiting for me to use just one GPU and I should find the way to use Unsloth with multiple GPUs or move somewhere.
Please give some information is it possible to use Unsloth with Accelerate or DeepSpeed in multiGPU configuration?
I'm waiting for native multiGPU support release, just want to start using any other solution right now.

Duplicate issue #388: multiple GPUs
Created: 2024-04-28T02:01:19Z
multiple GPUs is it possible to train?

Closing comment (2024-04-28T15:42:04Z): We're working on it, so please be patient :) Closing this for now since since a duplicate of #107
Repository: unslothai/unsloth

Issue #657: ORPO Unsloth Example.ipynb not showing logging_steps
Created: 2024-06-17T07:43:41Z
I've tried the ORPO Unsloth Example.ipynb colab, but noticed it did not show any logging_steps when running it.

Duplicate issue #821: ORPO/DPO Trainer Not Showing Progress
Created: 2024-07-27T11:00:13Z
Hi there, this is a relatively minor bug, but the ORPO training Notebook seems to have an issue showing the progress of the training process. It shows the header for the table, but does not print the subsequent results.

Closing comment (2024-07-30T08:40:46Z): I'm experiencing the same issue.
(duplicate of #657).
Repository: unslothai/unsloth

Issue #36: Multigpu
Created: 2023-12-14T23:42:15Z
Is there multigpu support ? Don't know how to set up without running a script

Duplicate issue #543: Does it support multiple GPUs training?
Created: 2024-05-27T08:14:55Z
Does it support multiple GPUs training?

Closing comment (2024-05-27T17:54:58Z): Oh duplicate of #36 and others - on the roadmap, but our core mission is to create the world's best single GPU finetuning library, since that's what the majority of people need. Sadly we also have to prioritize since we're a 2 person team, although I want to thank the OSS community for helping us as well :)
Repository: unslothai/unsloth

Issue #107: Any solution for MultiGPU
Created: 2024-01-19T18:11:36Z
I'm new to the land of LLM fine-tuning and after trying LLaMA-Factory and Axolotl I've started adopting Unsloth for better performance on memory limited cards like RTX A6000 with 48Gb.
But now I reach the point where there it's too limiting for me to use just one GPU and I should find the way to use Unsloth with multiple GPUs or move somewhere.
Please give some information is it possible to use Unsloth with Accelerate or DeepSpeed in multiGPU configuration?
I'm waiting for native multiGPU support release, just want to start using any other solution right now.

Duplicate issue #535: MultiGPU support during model training
Created: 2024-05-25T08:55:36Z
Can we please have multiGPU Support for model finetuning using unsloth?

Closing comment (2024-05-25T09:28:38Z): Duplicate of #107 and others - currently we're implementing all model support, and sadly as a 2 person team, we have to prioritize stuff :(
Repository: upptime/upptime

Issue #59: could not read Username for 'https://github.com': terminal prompts disabled
Created: 2020-11-18T17:49:53Z
Hey,
Im trying to set up Upptime for some of my sites but have some very weird messages coming from the static CI job ( https://github.com/pavelloz/upptime/runs/1419647547?check_suite_focus=true#step:3:29 ):
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +7ff57fc91d084cbbdafc1bf8451edf963b35d197:refs/remotes/origin/master
  Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled
  The process '/usr/bin/git' failed with exit code 128
  Waiting 18 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +7ff57fc91d084cbbdafc1bf8451edf963b35d197:refs/remotes/origin/master
  Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled
  The process '/usr/bin/git' failed with exit code 128
  Waiting 12 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +7ff57fc91d084cbbdafc1bf8451edf963b35d197:refs/remotes/origin/master
  Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled
  Error: The process '/usr/bin/git' failed with exit code 128

This is public repo, so i dont know why it needs username anyways.
Result of that is empty gh page: https://pavelloz.github.io/upptime/
And probably thats why badges of uptime are empty, because i get the same error in Setup CI workflow: https://github.com/pavelloz/upptime/runs/1419647511?check_suite_focus=true
Did i broke something using this config? https://github.com/pavelloz/upptime/blob/master/.upptimerc.yml
GH_TAP secret is of course set up, but maybe it needs more access rights (i selected repo, per documentation)?

Duplicate issue #61: Error on GitHub Pages deploy step (w/ GitHub Organizations)
Created: 2020-11-18T22:55:34Z
Ahoy,
I'm setting this up for a GitHub Organization, the repo for which is here. For some reason, the GitHub Pages Deploy step always produces this error, regardless of which action is performing it.
error: src refspec ***@github.com/severnbronies/status.git does not match any
error: failed to push some refs to 'https://'

Is there some extra setup needed to get Upptime working with GitHub Organizations? Given orgs do not have Personal Access Tokens, I've used one generated on my personal account instead.
I've tried re-doing set up a few times with the same result, and my configuration isn't drastically different from the default (which is for an org), so I'm at a bit of a loss. Your help appreciated! Thanks!

Closing comment (2020-11-19T06:31:34Z): This looks very similar to #59, hmm. I'll have a closer look!
Repository: upptime/upptime

Issue #453: FIXED: Static site not working/building (see solution)
Created: 2021-10-05T02:29:08Z
Describe the bug
The statis page site cannot be generated, and the action logs show an error:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules/semantic-release-gitmoji" as it does not contain a package.json file.

Even I regenerated the repo, the error show up again.
To Reproduce
Any Action that can generate the static page site.
Screenshots

Duplicate issue #454: Lack of error checking in site generation
Created: 2021-10-05T06:35:14Z
Describe the bug
#453 caused some dependency not being installed. Unfortunately, this doesn't make fail the whole action as none of the exec status code. In the end this removes all static content instead of failing the action.
To Reproduce
Steps to reproduce the behavior:

Make one of the steps fail (#453  is a good example)
Trigger "Static Site CI"
See the action does not fail
But at the same time all content from gh-pages branch is removed, so the status page no longer works

Expected behavior
The action should fail and not remove existing content.
Screenshots
See #453 or
https://github.com/weblate-status-bot/status/runs/3798528109?check_suite_focus=true#step:3:41
Additional context
The code should check the return value from each of the shelljs invocations in https://github.com/upptime/uptime-monitor/blob/master/src/site.ts and fail the action in case it fails. See https://github.com/shelljs/shelljs#shellstringstr

Closing comment (2021-10-05T06:42:46Z): Closing as duplicate of #453.
Thanks for opening!
Repository: upptime/upptime

Issue #225: Secret urls are sent to notifications
Created: 2021-01-22T10:32:34Z
Hello, when I have site in repository secrets and I have notifications are enabled, the site url is still send to notification.
My config:
sites:
  - name: Secret Site
    url: $SECRET_SITE

I have set SECRET_SITE repository secret to https://secret.example.com
The notification looks like this: (The secret site url is sent there 😕 )
🟥 Secret Site (https://secret.example.com) is down: https://github.com/upptime/upptime/issues/number
Please fix it that it would look like this:
🟥 Secret Site ($SECRET_SITE) is down: https://github.com/upptime/upptime/issues/number

Duplicate issue #439: Discord notifications expose encrypted secrets
Created: 2021-09-05T20:19:23Z
Describe the bug
Enabling Discord notifications displays the secret in plain text, possibly exposing sensitive information.
To Reproduce
Steps to reproduce the behavior:

use github secrets to encrypt sensitive information, like IP address
Enable Discord notifications
Send server offline
Discord notification will display the secret value in plain text

Expected behavior
Where there is a $secret, Discord notifications should exclude it & opt for server name inside.

Closing comment (2021-09-05T20:25:01Z): Sorry, this is a duplicate of #225
Repository: upptime/upptime

Issue #75: bug: uptime 0%
Created: 2020-11-22T10:56:45Z
uptime seems to be always at 0%


This started happening today.

Duplicate issue #76: Uptime

Created: 2020-11-22T10:59:40Z

Closing comment (2020-11-22T11:05:02Z): I'm assuming this is a duplicate of #75, so I'm closing this issue. If that's not the case, please free to open this issue again.
Repository: upptime/upptime

Issue #55: 500 error, cannot read "includes" of undefined
Created: 2020-11-17T02:13:45Z

Duplicate issue #58: 500
Created: 2020-11-17T18:31:48Z
How can I fix this error?
Cannot read property 'includes' of undefined

Closing comment (2020-11-17T18:34:56Z): Closing as a duplicate of #55.
Repository: upptime/upptime

Issue #92: Percent sign in Live status is shown twice
Created: 2020-11-26T12:45:40Z
The percent sign in the Live Status is shown twice.
Example: Overall uptime: 99.99%%
See https://demo.upptime.js.org/

Duplicate issue #93: Overall uptime displays two percentage characters
Created: 2020-11-27T09:51:34Z
On the summary page, the percent value is printed with two %-characters. Would have loved to submit a PR, but this is hard to track down

Closing comment (2020-11-27T10:31:22Z): Duplicate of #92
Repository: upptime/upptime

Issue #53: Graphs issue
Created: 2020-11-13T19:48:04Z
On my site https://snapwiki.github.io/SnapWikiUptime, the graphs are buggy. When you put your cursor over the dots on the graph "7-day response time", either nothing happens, or the spot that triggers it weirdly offset. This behavior is really annoying. Please fix this!

Duplicate issue #84: Bug in Graph component of status page
Created: 2020-11-23T21:03:05Z
The following is visible under any history route on the right side of the Graph:

It seems that the commit filter incorrectly includes all commits of the last day. edit: No idea what is going on.

Closing comment (2020-11-23T21:12:22Z): Ok this seems to come from ChartJS. Disappears if one plays with zooming in and out. Related to #53 . Closing.
Repository: upptime/upptime

Issue #453: FIXED: Static site not working/building (see solution)
Created: 2021-10-05T02:29:08Z
Describe the bug
The statis page site cannot be generated, and the action logs show an error:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules/semantic-release-gitmoji" as it does not contain a package.json file.

Even I regenerated the repo, the error show up again.
To Reproduce
Any Action that can generate the static page site.
Screenshots

Duplicate issue #455: https://demo.upptime.js.org/ not reachable
Created: 2021-10-05T10:05:03Z
Hi,
it seems as there is something broken. With the latest commit in gh-pages all static files have been deleted.
Does anyone know whats the reason?

Closing comment (2021-10-05T10:16:58Z): Closing as duplicate of #453
Repository: urwid/urwid

Issue #259: Importing urwid changes the current locale
Created: 2017-12-18T11:19:38Z
In [1]: import locale

In [2]: locale.getlocale()
Out[2]: (None, None)

In [3]: import urwid

In [4]: locale.getlocale()
Out[4]: ('en_GB', 'UTF-8')

This has caused issues like wronglink/pytest-pudb#11 where installing pytest-pudb (which imports urwid via pudb) causes tests to fail due to the locale setting side effect.
It looks like urwid sets the locale as part of detecting the encoding: https://github.com/urwid/urwid/blob/master/urwid/util.py#L44

Duplicate issue #377: unsupported locale setting error in 2.1.0
Created: 2019-11-29T22:51:06Z
Description:
I'm trying to import pudb into my code base with from pudb import set_trace; set_trace() and I get this error.
unsupported locale setting error

/opt/venv/lib/python3.6/site-packages/urwid/util.py in detect_encoding
line 58:         locale.setlocale(locale.LC_ALL, initial)
initial | ('en_US', 'UTF-8')
locale | <module 'locale' from '/usr/local/lib/python3.6/locale.py'>


/usr/local/lib/python3.6/locale.py in setlocale
line 598:     return _setlocale(category, locale)
category | 6
locale | 'en_US.UTF-8'

If I downgrade to 2.0.1 everything is fine. This is running inside the python:3.6-slim-stretch image.
Affected versions (if applicable)
2.1.0

Closing comment (2019-11-29T23:07:53Z): Likely related to #259 , #279 .
Repository: urwid/urwid

Issue #180: urwid-subscribe@excess.org doesn't exsit
Created: 2016-03-23T10:43:56Z
Please see http://urwid.org/index.html. There you describe the mailinglist urwid-subscribe@excess.org. But the account doesn't exist anymore (the server answered).

Duplicate issue #181: offere mail-adress to google-groups
Created: 2016-03-23T10:49:34Z
Your link to the google-groups is quite complex
https://groups.google.com/a/excess.org/d/forum/urwid
I tried some combinations but this doesn't work.
Normaly I it is very easy to create mail-adress out of it.
e.g. https://groups.google.com/group/sqlalchemy becomes sqlalchemy@googlegroups.com with the corrosponding sqlalchemy+unsubscribe@googlegroups.com and sqlalchemy+subscribe@googlegroups.com

Closing comment (2016-03-23T12:58:25Z): closing as duplicate of #180
Repository: urwid/urwid

Issue #33: Use terminfo to get terminal capabilities and escape sequences
Created: 2013-06-18T22:25:45Z
[renamed issue as problem below has been worked around for now] -wardi
When I run Urwid's examples/browse.py within tmux 1.8, the screen looks like this:

As you can see, the trailing ends of each line have the underlying (yellow-ish) terminal color showing through.
I use urwid 1.1.1. As you can see in the config below, my $TERM is set to screen-256color. Both gnome-terminal and konsole as outer terminals show this behavior.
The same program within GNU screen is fine:

Here's my .tmux.conf:
set -g prefix C-a
setw -g mode-keys vi
setw -g aggressive-resize on
set -g status-keys vi
set -g default-terminal "screen-256color"
set -g update-environment "DISPLAY WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION XAUTHORITY XDG_SESSION_COOKIE DBUS_SESSION_BUS_ADDRESS SESSION_MANAGER"

set -g alternate-screen on

unbind C-b
bind a send-prefix
unbind h
unbind l
bind h select-window -t :-1
bind l select-window -t :+1
bind C-a last-window

set -g status-bg black
set -g status-fg white
set -g history-limit 10000
setw -g window-status-bg black
setw -g window-status-fg white
setw -g window-status-current-bg colour240
setw -g window-status-current-fg white
setw -g window-status-current-attr bold

I'm not exactly sure whose fault this is--could be urwid, tmux, or something else entirely. Any help would be much appreciated.

Duplicate issue #82: Not Working in st
Created: 2014-10-07T23:33:55Z
Urwid programs are not working the st terminal emulator. I reported this on the st mailing list, and one of the developers responded that it seems to be a bug in urwid rather than st.
http://lists.suckless.org/dev/1410/23729.html
http://lists.suckless.org/dev/1410/23731.html

Closing comment (2014-10-08T14:33:07Z): ok, so this looks like a duplicate of #33. if you'd like to help implement this feature please comment on that ticket.
Note that even when we do add terminfo support st will still not work once you ssh into a system that doesn't have the correct custom st terminfo installed.
Repository: urwid/urwid

Issue #72: getting UnicodeEncodeError when starting an urwid application with LANG set to an not-installed locale
Created: 2014-07-23T17:28:09Z
Hello,
Here's the traceback:
Traceback (most recent call last):
File "bin/app.py", line 153, in 
main()
File "bin/app.py", line 149, in main
loop.run()
File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 274, in run
self.screen.run_wrapper(self._run)
File "/usr/lib/python3.4/site-packages/urwid/raw_display.py", line 268, in run_wrapper
return fn()
File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 314, in _run
self.draw_screen()
File "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 566, in draw_screen
self.screen.draw_screen(self.screen_size, canvas)
File "/usr/lib/python3.4/site-packages/urwid/raw_display.py", line 770, in draw_screen
self._term_output_file.write(l)
UnicodeEncodeError: 'ascii' codec can't encode character '\u250c' in position 0: ordinal not in range(128)
Additionnal information:
urwid.set_encoding("utf8") is called before running the loop.
Appliction is started like this: "LANG=aa_DJ.UTF-8 python app.py" where aa_DJ locale is not installed.

Duplicate issue #58: 'utf-8' codec can't decode byte 0xc3
Created: 2014-03-04T16:46:55Z
error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 12: unexpected end of data
file: raw_display.py
line 769: you use l.decode('utf-8') but you should use l.decode('utf-8', 'ignore') and solve many bugs like this

Closing comment (2014-08-03T18:51:50Z): possibly related to #72
Repository: urwid/urwid

Issue #514: Test failures in test_linefeed and test_scrolling_region_reverse_with_focus
Created: 2023-01-03T12:55:58Z
Description:
I've experienced test failures in test_linefeed and test_scrolling_region_reverse_with_focus when building urwid 2.1.2.
Affected versions (if applicable)

 master branch (specify commit)
 Latest stable version from pypi
 Other (specify source)

Steps to reproduce (if applicable)
I just built python3Packages.urwid with Nix, which I have been doing for a long time.
So I suspect this is a non-deterministic test failure.
Expected/actual outcome
I expected the tests to pass.
Instead, I got these failures:
======================================================================
FAIL: test_linefeed (urwid.tests.test_vterm.TermTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/urwid-2.1.2/urwid/tests/test_vterm.py", line 138, in test_linefeed
    self.expect('hello\nworld')
  File "/build/urwid-2.1.2/urwid/tests/test_vterm.py", line 130, in expect
    self.assertEqual(got, what, desc)
AssertionError: b'hello' != b'hello\nworld' : Expected:
b'hello\nworld'
Got:
b'hello'

======================================================================
FAIL: test_scrolling_region_reverse_with_focus (urwid.tests.test_vterm.TermTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/urwid-2.1.2/urwid/tests/test_vterm.py", line 254, in test_scrolling_region_reverse_with_focus
    self.expect('\n\nbbb\nXXX\n\naaa', focus=True)
  File "/build/urwid-2.1.2/urwid/tests/test_vterm.py", line 130, in expect
    self.assertEqual(got, what, desc)
AssertionError: b'\n\nbbb\n\n\naaa' != b'\n\nbbb\nXXX\n\naaa' : Expected:
b'\n\nbbb\nXXX\n\naaa'
Got:
b'\n\nbbb\n\n\naaa'

----------------------------------------------------------------------
Ran 311 tests in 1.819s

FAILED (failures=2)
Test failed: <unittest.runner.TextTestResult run=311 errors=0 failures=2>
error: Test failed: <unittest.runner.TextTestResult run=311 errors=0 failures=2>

Duplicate issue #544: Stable tests failure on CI for test_vterm
Created: 2023-04-24T10:50:20Z
Tests normally not fail locally, but stable fail on one or more jobs on CI. Especially in case of parallel run on the same CI machine (normal GitHub scenario).
Looks like resources access race conditions.

Closing comment (2023-05-23T13:15:20Z): Duplicate #514
Repository: urwid/urwid

Issue #225: LineBox rline not positioned correctly around Text containing symbols from Unicode block 'Miscellaneous Symbols and Pictographs' 
Created: 2017-04-15T19:22:52Z
import urwid

icon = u"\U0001F50A" # 🔊

top = urwid.Filler(urwid.Padding(urwid.LineBox(urwid.Text(icon, align="center")), width=5))
urwid.MainLoop(top).run()

In the above code, the right border of the LineBox is placed off to the left and does not align with the trcorner and the brcorner characters. Below the screen output.

The same happens when the symbol is placed in a Button as label.

Duplicate issue #48: Detect and handle terminals without wide and combining character support
Created: 2013-12-30T15:15:08Z
Many terminals have poor UTF-8 handling that causes the screen text to be skewed when UTF-8 combining characters or wide characters are used.

Closing comment (2019-04-05T22:13:56Z): @wardi: this seems like a duplicate of #225, no?
Repository: urwid/urwid

Issue #225: LineBox rline not positioned correctly around Text containing symbols from Unicode block 'Miscellaneous Symbols and Pictographs' 
Created: 2017-04-15T19:22:52Z
import urwid

icon = u"\U0001F50A" # 🔊

top = urwid.Filler(urwid.Padding(urwid.LineBox(urwid.Text(icon, align="center")), width=5))
urwid.MainLoop(top).run()

In the above code, the right border of the LineBox is placed off to the left and does not align with the trcorner and the brcorner characters. Below the screen output.

The same happens when the symbol is placed in a Button as label.

Duplicate issue #433: str_util/old_str_util.get_width is returning incorrect width (2) for block U+1fb00 - U+1fbff
Created: 2020-09-16T21:07:12Z
Description:
For the characters in the U+1FB00-FF block (at least - see https://en.wikipedia.org/wiki/Symbols_for_Legacy_Computing), the width being returned is incorrect. It seems the data in the file needs to be regenerated from the up-to-date document at https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
Affected versions (if applicable)

 master branch (specify commit)
 Latest stable version from pypi
 Other (specify source)

Steps to reproduce (if applicable)
I'm adding a new font that uses these symbols to offer improved rendering over the 2x2 mosaics from previous versions of Unicode. The (initial, digits-only) font can be found at https://github.com/rbanffy/urwid/blob/master/urwid/font.py#L179-L187
Interim fixes to get_width are on https://github.com/rbanffy/urwid/blob/master/urwid/old_str_util.py#L75 and https://github.com/rbanffy/urwid/blob/master/source/str_util.c#L80 (but they were not generated from the UCD mentioned in the bug description).
Expected/actual outcome
The font renders correctly (I used the bigtext.py program to run my tests)

Closing comment (2020-09-17T00:23:43Z): Appears to be a duplicate of #225 .
@rbanffy , can you try to install the branch pointed to in the last comment of that issue and see if things look better for you?
Repository: urwid/urwid

Issue #90: High CPU load with AsyncioEventLoop
Created: 2014-11-17T14:10:50Z
My project's CPU load is between 8 and 9 % when it's doing absolutely nothing. I've found that setting AsyncioEventLoop._idle_emulation_delay from 1/256 to something like 1/20 reduces CPU load to around 1 %, and I don't notice any reduced responsiveness.
Also, AsyncioEventLoop._we_started_event_loop isn't used anywhere, so it can be removed?

Duplicate issue #475: Relatively high CPU usage when using the asyncio event loop
Created: 2021-04-21T17:15:22Z
Description:
Processes using urwid with the asyncio event loop are very often in the "Running" state even when they are idle, resulting in wasted CPU cycles.
Using strace on the process, I tracked it down to a very short event loop timeout of 34 ms.
Affected versions (if applicable)

 master branch 951093c8ec123
 Latest stable version from pypi

Reproduced on Linux with both Python 3.9.2 and Python 3.7.3.
Steps to reproduce (if applicable)
A very simple application that does nothing:
import asyncio

import urwid

txt = urwid.Text('Hello World')
fill = urwid.Filler(txt, 'top')
urwid_main_loop = urwid.MainLoop(
    fill,
    event_loop=urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
)
urwid_main_loop.run()
Expected/actual outcome
Actual outcome, a syscall every 34 ms:
$ strace -p 62901
strace: Process 62901 attached
epoll_wait(3, [], 3, 29)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
epoll_wait(3, [], 3, 34)                = 0
[...]

Expected outcome, a syscall only when something happens:
$ strace -p 62967
strace: Process 62967 attached
select(4, [0 3], [], [0 3], NULL

Closing comment (2021-04-21T17:18:35Z): Possible duplicate of #90
Repository: urwid/urwid

Issue #391: Add support for hyperlinks in text (OSC8)
Created: 2020-01-08T09:58:41Z
An interesting specification to add hyperlinking support directly to terminal emulators has been created, see: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
I'd like to use this support in a small patch I'm creating for the application alot which uses urwid as it's TUI layer.
I've created a patch for URWID to add such functionality and would love feedback on it. I'll upload the patch to a PR as soon as I've cleaned it up enough for public eyes.
Would you be interested in such a patch?

Duplicate issue #484: Mouse text selection and link opening not working
Created: 2021-09-06T08:10:43Z
Description:
In my normal macOS Terminal view, I can drag my clicked mouse to select text, and I can double click while holding CMD to open a link (i.e. something starting with http:// or https://)
This does not work for text in a urwid.Text box. In fact, dragging my clicked mouse has no effect, despite handle_mouse=True.
Affected versions (if applicable)

 master branch (specify commit)
 Latest stable version from pypi
 Other (specify source)

Steps to reproduce (if applicable)
  import urwid
  window = urwid.Frame(urwid.Filler(urwid.Text("http://example.com")))
  loop = urwid.MainLoop(window)
  loop.run()

Expected/actual outcome
Expected: I can CMD+double click on the link to open it in the browser.

Closing comment (2023-12-11T20:00:33Z): Duplicate #391
Repository: userfrosting/UserFrosting

Issue #850: Metadata for locale 
Created: 2018-02-07T02:27:47Z
See userfrosting/i18n#4
This is dumb, as it doesn't works if the default has a space somewhere : https://github.com/userfrosting/UserFrosting/blob/develop/app/sprinkles/core/src/ServicesProvider/ServicesProvider.php#L437
This is rubbish and that's not how the default works : https://github.com/userfrosting/UserFrosting/blob/develop/app/sprinkles/core/src/ServicesProvider/ServicesProvider.php#L451
And that whole thing is just messy : https://github.com/userfrosting/UserFrosting/blob/develop/app/sprinkles/core/config/default.php#L140-L159
tl;dr FU the current available config, FU the default config with it's obscure order. Locale metadata with dependencies and name FTW. An array of available locale FTW.

Duplicate issue #968: FeatureRequest: Hide locale select from UI if only one locale is available
Created: 2019-04-16T12:07:31Z
It would be handy if the locale select/display could be removed via a setting or if the system could detect when there is only 1 locale available and default to hiding the option to change it etc in that instance.

Closing comment (2019-04-16T12:51:52Z): Kind of a duplicate of #850
Unwanted locale can already be disabled in the config file. See https://learn.userfrosting.com/advanced/i18n#setting-up-the-site-language
I do like the idea of hiding the select if only one locale exist thought. But I'm not sure how complex it would be compare to the benefit of it considering the use of schema and default value...
Repository: userfrosting/UserFrosting

Issue #706: Support non-standard CSRF sources
Created: 2017-05-14T11:18:23Z
Standards such as OAuth provide a means to implement CSRF protection, but currently UserFrosting can't be easily adapted (and by easily, I mean via Sprinkles) to provide protection in these scenarios.
My idea for this, is a series of callbacks that are executed before the Slim CSRF middleware kicks in, which inspect the request for CSRF protection values wherever they may be stored, returning true if the CSRF is found. If true is returned, some code would inject the CSRF values, ready for Slim CSRF to take over.

Duplicate issue #898: Improve CSRF protection scheme to accommodate more web/mobile app scenarios
Created: 2018-09-30T19:17:06Z
Right now CSRF protection is implemented solely by using a CSRF token associated with the client's PHP session. The client must retrieve the token from a web page, either from an embedded form element, or from the global Javascript site variable, and then send it to the server in the request body. The server then checks it against the token stored in the client's session.
This can be a problem for two reasons:

Requests aren't always made from a web page. In this case a separate request needs to be made to retrieve the CSRF token.
If the CSRF token is stored in the PHP session, it is lost once the PHP session expires. If this happens while a user is in the middle of filling out a form, they will get a CSRF expiration error and be asked to reload their page (and probably lose all of their form data).

One alternative, or supplemental method we could include, is simply checking for the X-Requested-With: XMLHttpRequest in the request for AJAX requests. See https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Protecting_REST_Services:_Use_of_Custom_Request_Headers

Closing comment (2018-11-06T03:51:28Z): Possibly related to #706
Repository: userfrosting/UserFrosting

Issue #111: Unable to register using latest release
Created: 2014-08-31T00:17:01Z
Clean slate installation -

I`m unable to register users even though User Registration is ON
any user any password no specification
PHP Version 5.4.16
Hope I don't miss anything...
snapshot of latest screen state

Duplicate issue #109: New user registration button not submitting
Created: 2014-08-31T00:00:02Z
On clicking register nothing happens only all icons turn green

Closing comment (2014-08-31T01:57:01Z): Ah ok, this is the same issue that @assaf reported in #111, I'll look into it.
Repository: userfrosting/UserFrosting

Issue #763: Creating new User requires Email support
Created: 2017-07-09T18:11:21Z
When creating a user in the admin dashboard UF currently enforces the use of email. If your config is missing or incorrect the creation of the user fails. This can be an issue for development as the developer may have chosen to not setup email support. I do this frequently for a few reasons.
Solution
Allow the user to be created with an option to not send an email. In which case a random password would be generated. A second possible solution, if email was opted out, create the user and leave the password blank. The user would remain inactive and the admin would have to manually (re)set the password and then enable the user.
This would of course leave 'flag_verified' as negative and flag_enabled as negative to start. However, if email was opted out, simply mark 'flag_verified' as 1 for true. Manually enabling the account would set the 'flag_disabled' to 1.
This would allow for for expansion into a 'customer' type model or simply easier on the developer lol.

Duplicate issue #986: Minor phpMailer issue with 'SMTPAutoTLS'
Created: 2019-05-30T06:00:35Z
On Modern PHP versions, if you're creating a TLS connection the certificate needs to be valid, and will fail with an uninformative error if the certificate is incorrect
https://github.com/PHPMailer/PHPMailer/blob/master/src/PHPMailer.php#L282
This bit me because the cerificate on our SMTP host is valid, but for development we refer to it as 'intmail' (10.x.x.x)  not 'mail' (203.x.x.x). The certificate is only valid for 'mail'.
Because of this, I've explicitly disabled TLS, but, because the server still offers STARTTLS, the AutoTLS flag means that phpMailer tries to convert it to TLS, the certificate errors, and the connection is dropped.

Closing comment (2019-05-30T14:50:59Z): Semi-related to #763 & #693.
I can't find the other issue, but there was this idea to have a setting to send all mail to some sort of log file in development. It would help all sort of issue with mail in development mode. For example, right now, we can't create users in development mode without email support. It also mean you can spam your user when testing something in development mode with a copy of the production db 😱.
EDIT : Interesting read :
https://laravel.com/docs/5.8/mail#mail-and-local-development
In any case, the TLS error can also happen in production, so it's still valid.