id stringlengths 4 10 | text stringlengths 4 2.14M | source stringclasses 2
values | created timestamp[s]date 2001-05-16 21:05:09 2025-01-01 03:38:30 | added stringdate 2025-04-01 04:05:38 2025-04-01 07:14:06 | metadata dict |
|---|---|---|---|---|---|
208699869 | Remove Bower
Who needs two build systems in one project anyway...
Fixes #636
@kul3r4 PTAL
LGTM
| gharchive/pull-request | 2017-02-19T07:09:21 | 2025-04-01T04:33:24.264229 | {
"authors": [
"kul3r4",
"sebastianbenz"
],
"repo": "ampproject/amp-by-example",
"url": "https://github.com/ampproject/amp-by-example/pull/638",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
513294574 | Exo-Jauges (JavaScript)
Exo pour réaliser des jauges qui décrémentent.
Jauges (JavaScript)
| gharchive/pull-request | 2019-10-28T13:13:02 | 2025-04-01T04:33:24.308269 | {
"authors": [
"Xeno-Martin"
],
"repo": "amstr4d/SimplonHub",
"url": "https://github.com/amstr4d/SimplonHub/pull/7",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1009527750 | Distribute APK with release
Is your feature request related to a problem? Please describe.
I don't have Play Store -- Can't use AnyTime
Describe the solution you'd like
I'd like to be able to download APKs
Describe alternatives you've considered
Using those sites that get the APKs, but I don't like having to trust middlemen.
Additional context
Breez distributes APKs with each release (on the github release page), that works well.
Hi @AbelLykens,
The latest Beta has been added to the release section.
| gharchive/issue | 2021-09-28T09:47:50 | 2025-04-01T04:33:24.310372 | {
"authors": [
"AbelLykens",
"amugofjava"
],
"repo": "amugofjava/anytime_podcast_player",
"url": "https://github.com/amugofjava/anytime_podcast_player/issues/59",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1210751512 | On MACLR algorithm: How can clustering be applied to the training process of step 1?
I found that you apply the clustering results to the loss function, but after torch.eq transformation, only a diagonal matrix will be output
def loss_function_reg(label_emb, inst_emb, inst_emb_aug, reg_emb, labels, accelerator):
assert label_emb.shape[0] == inst_emb.shape[0], "{} is not equal to {}".format(label_emb.shape[0], inst_emb.shape[0])
assert label_emb.shape[1] == inst_emb.shape[1]
all_label_emb = mpu_utils.AllgatherFromDataParallelRegion.apply(label_emb)
all_inst_emb = mpu_utils.AllgatherFromDataParallelRegion.apply(inst_emb)
all_inst_emb_aug = mpu_utils.AllgatherFromDataParallelRegion.apply(inst_emb_aug)
all_reg_emb = mpu_utils.AllgatherFromDataParallelRegion.apply(reg_emb)
labels = labels.contiguous().view(-1, 1)
all_labels = accelerator.gather(labels)
num_inst = all_label_emb.shape[0]
num_reg = all_reg_emb.shape[0]
mask = torch.eq(all_labels, all_labels.transpose(0, 1)).float()
So how can the clustering results be applied to the training process? Is there a code reference?
Hope to get your reply!
Oh, I know how the clustering results work. That line of code won't get the diagonal matrix when two data correspond to a cluster center.
| gharchive/issue | 2022-04-21T09:19:20 | 2025-04-01T04:33:24.330516 | {
"authors": [
"YXWisaboy"
],
"repo": "amzn/pecos",
"url": "https://github.com/amzn/pecos/issues/137",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2241342664 | RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext
Please provide the environment you discovered this bug in.
A minimal repo to reproduce the problem:
https://github.com/slashby/analogjs-sample
Which area/package is the issue in?
platform
Description
The following error occurs when import providers from FormlyModel (@ngx-formly/core package) via importProvidersFrom() (app.config.ts) when serve or build app. It is also reproducible for other packages for example when use Maskito directive.
RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used withrunInInjectionContext. Find more at https://angular.io/errors/NG0203
Please provide the exception or error you saw
RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`. Find more at https://angular.io/errors/NG0203
at injectInjectorOnly (.../sample-app/node_modules/@angular/core/fesm2022/core.mjs:1093:15)
at ɵɵinject (.../sample-app/node_modules/@angular/core/fesm2022/core.mjs:1106:61)
at Object.FormlyModule_Factory [as useFactory] (ng:///FormlyModule/ɵfac.js:5:40)
at Object.factory (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:1663:32)
at R3Injector.hydrate (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:1591:33)
at R3Injector.get (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:1513:23)
at injectInjectorOnly (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:508:36)
at ɵɵinject (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:513:59)
at useValue (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:1366:25)
at R3Injector.resolveInjectorInitializers (.../sample-app/dist/sample-app/.nitro/prerender/chunks/_/renderer.mjs:1545:9)
Other information
No response
I would be willing to submit a PR to fix this issue
[ ] Yes
[ ] No
Add the @ngx-formly/** entry to the ssr.noExternal array
https://deploy-preview-1029--analog-docs.netlify.app/docs/features/server/server-side-rendering#transforming-packages-for-ssr-compatibility
Add the @ngx-formly/** entry to the ssr.noExternal array
https://deploy-preview-1029--analog-docs.netlify.app/docs/features/server/server-side-rendering#transforming-packages-for-ssr-compatibility
Its not resolved
| gharchive/issue | 2024-04-13T06:00:47 | 2025-04-01T04:33:24.366611 | {
"authors": [
"brandonroberts",
"slashby",
"uzair-wahab-snyder"
],
"repo": "analogjs/analog",
"url": "https://github.com/analogjs/analog/issues/1032",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1720058392 | Update sast-online.yml
[ ] I have not changed the README.md directly.
Thanks. Tags are only valid if picked from https://github.com/analysis-tools-dev/static-analysis/blob/master/data/tags.yml. You may add new tags, but in that case there needs to be more than one tool per tag, so you might have to go find other tools which match the tags. We do this to avoid "orphan" categories with very few tools. Alternatively you can remove the non-existent tags.
Ping @alievinfo, in case you want to update that PR.
| gharchive/pull-request | 2023-05-22T16:51:22 | 2025-04-01T04:33:24.371174 | {
"authors": [
"alievinfo",
"mre"
],
"repo": "analysis-tools-dev/static-analysis",
"url": "https://github.com/analysis-tools-dev/static-analysis/pull/1268",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2449872212 | 🛑 Cental Pollution Control Board - OCEMS Live Data is down
In 49a0d81, Cental Pollution Control Board - OCEMS Live Data (https://rtdms.cpcb.gov.in/api/industryList/45/39/Bangalore) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Cental Pollution Control Board - OCEMS Live Data is back up in 1576a61 after 27 minutes.
| gharchive/issue | 2024-08-06T03:44:19 | 2025-04-01T04:33:24.376703 | {
"authors": [
"anandology"
],
"repo": "anandology/uptime",
"url": "https://github.com/anandology/uptime/issues/12",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1926585159 | feat: add package for go compiler given binary detection
Summary
Syft currently has a Golang binary cataloger. This PR adds a unique synthetic package to the SBOM output that represents the go compiler when detected as a part of the go binary cataloger.
When using an SBOM generated by syft - downstream vulnerability scanners now have the opportunity to detect/report on the PURL/CPEs attached to the new package.
One more piece of work should be doing a bit more string parsing on the go version to identify rc and other candidate releases to improve CPE generation. I'll make those changes before we review.
Blocked on https://github.com/anchore/syft/pull/2201
Will merge after review and 2201 is merged into main
| gharchive/pull-request | 2023-10-04T16:26:33 | 2025-04-01T04:33:24.395890 | {
"authors": [
"spiffcs"
],
"repo": "anchore/syft",
"url": "https://github.com/anchore/syft/pull/2195",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
1240074336 | dark theme toolbar
Hi and thank you for this amazing work !
Is there a way to inverse color of toolbar (black/white) using dark theme ?
Yeah that's a problem which is reported in #63 , I'll close this one as a duplicate if you don't mind :)
Cheers,
Fanilo
| gharchive/issue | 2022-05-18T14:42:30 | 2025-04-01T04:33:24.451263 | {
"authors": [
"andfanilo",
"yann-ro"
],
"repo": "andfanilo/streamlit-drawable-canvas",
"url": "https://github.com/andfanilo/streamlit-drawable-canvas/issues/78",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
783879185 | Add wordcloud extension
1、if like this , it donot work
b = (
WordCloud()
.add(series_name="xxx", data_pair=data)
)
st_pyecharts(b)
2、like this, it works
b = (
WordCloud()
.add(series_name="xxx", data_pair=data, word_size_range=[6, 66])
.render_embed()
)
components.html(b, width=1000, height=1000)
Hello @datalee, thank you for the feedback :+1:
It looks like Pyecharts wordcloud uses an echarts extension that I didn't bring to streamlit-echarts. Let me add it later to the library!
Cheers,
Fanilo
Hello @datalee, thank you for the feedback :+1:
It looks like Pyecharts wordcloud uses an echarts extension that I didn't bring to streamlit-echarts. Let me add it later to the library!
Cheers,
Fanilo
Hello @datalee, thank you for the feedback 👍
It looks like Pyecharts wordcloud uses an echarts extension that I didn't bring to streamlit-echarts. Let me add it later to the library!
Cheers,
Fanilo
tks
Hello @datalee, thank you for the feedback 👍
It looks like Pyecharts wordcloud uses an echarts extension that I didn't bring to streamlit-echarts. Let me add it later to the library!
Cheers,
Fanilo
tks
@datalee I just published streamlit-echarts v0.2.0, which adds wordcloud and liquidfill.
Can you upgrade and try again?
@datalee I just published streamlit-echarts v0.2.0, which adds wordcloud and liquidfill.
Can you upgrade and try again?
streamlit-echarts
yes,works!!!good job
streamlit-echarts
yes,works!!!good job
| gharchive/issue | 2021-01-12T03:34:44 | 2025-04-01T04:33:24.459374 | {
"authors": [
"andfanilo",
"datalee"
],
"repo": "andfanilo/streamlit-echarts",
"url": "https://github.com/andfanilo/streamlit-echarts/issues/8",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2389648931 | Dev s3
Actualizar cambio reciente de main desde dev-s3
Pull request completado
| gharchive/pull-request | 2024-07-03T23:19:46 | 2025-04-01T04:33:24.460255 | {
"authors": [
"andfelga"
],
"repo": "andfelga/sistema-bancario-mult-func",
"url": "https://github.com/andfelga/sistema-bancario-mult-func/pull/2",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1121821504 | Not compatible with Gatsby 4.6.1
Hi,
I have upgraded my Gatsby project to 4.6.1 and tried to upgrade gatsby-plugin-prettier-eslint:
npm install gatsby-plugin-prettier-eslint@latest
But I got this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: client@1.0.0
npm ERR! Found: gatsby@4.6.1
npm ERR! node_modules/gatsby
npm ERR! gatsby@"^4.6.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer gatsby@"^2.0.0 || ^3.0.0" from gatsby-plugin-prettier-eslint@1.0.6
npm ERR! node_modules/gatsby-plugin-prettier-eslint
npm ERR! gatsby-plugin-prettier-eslint@"^1.0.6" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I guess I had it working with:
npm install gatsby-plugin-prettier-eslint@latest --legacy-peer-deps
I hope you update this package soon
I'm having this issue. Why did this get abandoned?
| gharchive/issue | 2022-02-02T11:41:09 | 2025-04-01T04:33:24.471452 | {
"authors": [
"ratkorle",
"rigoparis"
],
"repo": "andreabreu-me/gatsby-plugin-prettier-eslint",
"url": "https://github.com/andreabreu-me/gatsby-plugin-prettier-eslint/issues/13",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
431143854 | Linux support added
I needed to use this lib either on windows or mono linux. Working like a charm on Windows and Raspian stretch (Raspberry pi).
Eric
Is this still going to be added?
| gharchive/pull-request | 2019-04-09T19:07:49 | 2025-04-01T04:33:24.509157 | {
"authors": [
"BramEsendam",
"Eric898989"
],
"repo": "andrei-m-code/net-core-html-to-image",
"url": "https://github.com/andrei-m-code/net-core-html-to-image/pull/7",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
127685182 | Allow a JS-Link to: ~/site/...
Hi, I do have a question related to CISAR. Within the extension there is the possibility to change the path. I am trying to set the path so the JS-Link property would be set to something like: ~site/SiteAssets/
Is that possible?
Not at the moment. I will implement this thing, as you're already at least second person asking for this feature, but hard to promise any certain date of completion.
When changing that code see if you can spot where it creates double references in the JSlink; I can't reproduce it but every now and then I have to open the WebPartProperties and fix "~site collection/style library/myfile.js|~site collection/style library/myfile.js". Maybe before your write the JSlink split on | and remove the doubles is an easy fix
Hi. When using ~site option I do get errors that the file can not be saved.
| gharchive/issue | 2016-01-20T13:42:43 | 2025-04-01T04:33:24.511200 | {
"authors": [
"Danny-Engelman",
"andrei-markeev",
"masterl1983"
],
"repo": "andrei-markeev/cisar",
"url": "https://github.com/andrei-markeev/cisar/issues/13",
"license": "unlicense",
"license_type": "permissive",
"license_source": "bigquery"
} |
326523776 | Unable to play any song on the Music player
EXPECTED BEHAVIOR
When i want to played any music of my choice I should be able to clicked and play.
ACTUAL BEHAVIOUR
When i clicked on any music to play, there was no response and i was unable to play any song
HOW TO REPRODUCE
Launch the app and open
Click on any song of your choice and note the bug
Device used: Tecno Droipad 7D
Operating system: Android version 7.0
App version: 1.0.1
Recording of the Bug
https://youtu.be/HJ-vFYmIWIk
Closed by the same reason of #17
| gharchive/issue | 2018-05-25T13:27:10 | 2025-04-01T04:33:24.521424 | {
"authors": [
"andremion",
"darewealth"
],
"repo": "andremion/Music-Player",
"url": "https://github.com/andremion/Music-Player/issues/19",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
167751768 | problems with importing pseudopy
I just installed pseudopy on my ubuntu machine and that seemed to go smoothly.
However, when I try importing it I get the following error.
I am sorry to bug you with this but if you have any advice on how to fix this I would be very keen to start playing with this library. It looks great!
import pseudopy
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/pseudopy/init.py", line 5, in
from .normal import Normal, NormalEvals
File "/usr/local/lib/python2.7/dist-packages/pseudopy/normal.py", line 3, in
import shapely.geometry as geom
ImportError: No module named shapely.geometry
Thanks for reporting the issue! I fixed the dependencies in setup.py so reinstalling pseudopy should also pull in the dependencies. If you are on Debian/Ubuntu you probably want to install the dependencies with apt, see readme.
Thanks for the quick fix. I wanted to confirm that I reinstalled it and it ran beautifully. Now to learn more how to use this library!
Great!
| gharchive/issue | 2016-07-27T01:55:53 | 2025-04-01T04:33:24.525295 | {
"authors": [
"andrenarchy",
"francispoulin"
],
"repo": "andrenarchy/pseudopy",
"url": "https://github.com/andrenarchy/pseudopy/issues/2",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1278510189 | change status of bitnob on providers section in website
under the providers section, Bitnob is currently indicated coming soon. Lightning address feature has been rolled out on Bitnob, so i want to change the status to "download wallet".
Resolved
| gharchive/issue | 2022-06-21T14:10:04 | 2025-04-01T04:33:24.526394 | {
"authors": [
"Blazing-Mike",
"andrerfneves"
],
"repo": "andrerfneves/lightning-address",
"url": "https://github.com/andrerfneves/lightning-address/issues/57",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2254346024 | 🛑 pharmacomms is down
In 9f94d06, pharmacomms (https://pharmacomms.tv/) was down:
HTTP code: 0
Response time: 0 ms
Resolved: pharmacomms is back up in 1bd46b5 after 10 minutes.
| gharchive/issue | 2024-04-20T03:13:01 | 2025-04-01T04:33:24.531935 | {
"authors": [
"andrespitt"
],
"repo": "andrespitt/uptime",
"url": "https://github.com/andrespitt/uptime/issues/791",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2056562271 | Unknown error after instalation
System Health details
System Information
version
core-2023.12.3
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.11.6
os_name
Linux
os_version
6.1.63-haos
arch
x86_64
timezone
Europe/Prague
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
GitHub API Calls Remaining
4830
Installed Version
1.33.0
Stage
running
Available Repositories
1428
Downloaded Repositories
12
Home Assistant Cloud
logged_in
true
subscription_expiration
January 1, 2018 at 1:00 AM
relayer_connected
false
relayer_region
null
remote_enabled
false
remote_connected
false
alexa_enabled
true
google_enabled
true
remote_server
null
certificate_status
null
instance_id
b7f31363eaf74a8fb64d2d31642082e7
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Home Assistant Supervisor
host_os
Home Assistant OS 11.2
update_channel
stable
supervisor_version
supervisor-2023.12.0
agent_version
1.6.0
docker_version
24.0.7
disk_total
62.3 GB
disk_used
30.5 GB
healthy
true
supported
true
board
ova
supervisor_api
ok
version_api
ok
installed_addons
Samba share (12.2.0), File editor (5.7.0), Home Assistant Google Drive Backup (0.112.1), Zigbee2MQTT (1.34.0-1), MariaDB (2.6.1), ESPHome (2023.12.5), AppDaemon (0.16.0), Samba Backup (5.2.0), Advanced SSH & Web Terminal (17.0.0), Mosquitto broker (6.4.0), Zigbee2MQTT Edge (edge), MQTT Explorer (browser-1.0.3)
Dashboards
dashboards
1
resources
6
views
8
mode
storage
Recorder
oldest_recorder_run
December 24, 2023 at 4:33 AM
current_recorder_run
December 26, 2023 at 5:47 PM
estimated_db_size
1073.08 MiB
database_engine
mysql
database_version
10.6.12
Checklist
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..
Describe the issue
After fresh install with HACS i cant add any deice. And no devices are discovered.
Reproduction steps
Install with HACS
Reboot Home Assistant (Whole HA)
Try add device with add integration
Debug logs
Dont have any log from integration
Diagnostics dump
No response
Have you added battery_notes: to your configuration.yaml?
What version of battery notes do you have installed?
Version 1.2.0 - Just Instaled.
And what i ned to add to config i am missing this info... Sorry if i am blind :D
Ok, version 1.2 is stable.
In your home assistant configuration.yaml file add a new line at the bottom as follows, save the file and restart HA.
battery_notes:
OK a am blind :D .... Working as intended.
Thanks for confirming. I'll try and handle this better in a future release now I know it is the issue.
Ok and one more thing...
This is what i was expecting...
But i only see Battery type.. Not the management features :)
That's in beta and just released today, coming in a few days properly.
If you wish to try this version please go into HACS, select Battery Notes and in the top right menu choose Redownload, switch on Show Beta Versions and select the latest version (starts with 1.3)
Ooooo great :D Instaled and working :D Thank you for support. :)
| gharchive/issue | 2023-12-26T16:54:05 | 2025-04-01T04:33:24.561527 | {
"authors": [
"andrew-codechimp",
"kubert96"
],
"repo": "andrew-codechimp/HA-Battery-Notes",
"url": "https://github.com/andrew-codechimp/HA-Battery-Notes/issues/150",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
447921001 | Running janetsh from within janetsh breaks outer janetsh history cycling.
[ac@black:~/src/janetsh] $ ./janetsh -sysrc badrc.janet /home/ac/src/janetsh/test/cases/0014-rcscript-error/case.janet
<UP>
[ac@black:~/src/janetsh] $ ./janets./janetsh -sysrc badrc.janet /home/ac/src/janetsh/test/cases/0014-rcscript-error/case.janet
<backspaces>
[ac@black:~/src/janetsh] $ ./janets
(Terminal backspace stuck here.)
Built with readline.
The cause seemed to be readline being unable to calculate the size of my prompt properly with non printable characters. The solution is to wrap the non printable chars in \x01 ... \x02 .
| gharchive/issue | 2019-05-23T23:55:15 | 2025-04-01T04:33:24.564357 | {
"authors": [
"andrewchambers"
],
"repo": "andrewchambers/janetsh",
"url": "https://github.com/andrewchambers/janetsh/issues/118",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
919626665 | 🛑 nhcam is down
In 7229835, nhcam ($NHIPCAM) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nhcam is back up in 4f114f3.
| gharchive/issue | 2021-06-12T17:57:50 | 2025-04-01T04:33:24.566432 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/1152",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
940509346 | 🛑 plexd is down
In 9fbc270, plexd ($PLEXD) was down:
HTTP code: 401
Response time: 444 ms
Resolved: plexd is back up in db99ce5.
| gharchive/issue | 2021-07-09T07:44:21 | 2025-04-01T04:33:24.568462 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/2516",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
941669586 | 🛑 nhcam is down
In c037b71, nhcam ($NHIPCAM) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nhcam is back up in 9a95eab.
| gharchive/issue | 2021-07-12T04:57:10 | 2025-04-01T04:33:24.570465 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/2670",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
954254007 | 🛑 nhcam is down
In 2c435fd, nhcam ($NHIPCAM) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nhcam is back up in 8cf1d60.
| gharchive/issue | 2021-07-27T20:46:53 | 2025-04-01T04:33:24.572461 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/3485",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
955703871 | 🛑 nhcam is down
In 68c50b8, nhcam ($NHIPCAM) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nhcam is back up in 8b6202d.
| gharchive/issue | 2021-07-29T10:38:39 | 2025-04-01T04:33:24.574488 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/3563",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
958638017 | 🛑 plexd is down
In 108f0b7, plexd ($PLEXD) was down:
HTTP code: 401
Response time: 276 ms
Resolved: plexd is back up in c63b1f9.
| gharchive/issue | 2021-08-03T01:43:52 | 2025-04-01T04:33:24.577116 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/3824",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1041262206 | 🛑 nhcam is down
In aec5ca4, nhcam ($NHIPCAM) was down:
HTTP code: 0
Response time: 0 ms
Resolved: nhcam is back up in 3180dea.
| gharchive/issue | 2021-11-01T14:53:26 | 2025-04-01T04:33:24.579223 | {
"authors": [
"andrewdavies-net"
],
"repo": "andrewdavies-net/upptime",
"url": "https://github.com/andrewdavies-net/upptime/issues/7526",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1149309670 | Add UUID npm to generate user id instead of Math.random()
Math.random() can be resulted of duplicate id since it has chances of generating same result. Using UUID npm is one the solution to fix this issue.
See https://github.com/andrewmoquia/nodejs-express-sql/blob/main/src/services/user.services.ts#L81
Fixed.
| gharchive/issue | 2022-02-24T13:46:28 | 2025-04-01T04:33:24.594785 | {
"authors": [
"andrewmoquia"
],
"repo": "andrewmoquia/nodejs-express-sql",
"url": "https://github.com/andrewmoquia/nodejs-express-sql/issues/3",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2034227 | Add Utills for checks
what i mean
u handle string and numbers array and object
what about diffrent type of check lets say check if what u recive is a bool or convert at to a type,
check diffrent types of vaild fields and more
do you have an example?
I'm assuming by "you handle", you mean Object.isString, Object.isNumber, etc...?
its not limited to this
think about very big forms u need vaild all and some times u need convery them from type a to type b
or check if string is type a ,b ,c or if its int or float and many more
Strings are of type string, numbers are type number. :)
Anything beyond and we are talking about regexes... what is "a,b,c" in concrete terms?
Are you suggesting parsing out a decimal for numbers? That would also be a regex however.
Right now this is quite vague, and needs to be backed up by concrete examples.
when i use regex.
its only for very complex vailds not simple one,
think about at end developer need find the correct reg for know if is bool or string is bool what if he new to at??
also in reg u need add checks for most commen use in reg such is email and so on
So in other words, if someone type "true" into a text field, you want to be able to have that converted to the Boolean true, 3.424 would be converted into a number using parseFloat, 3 converted using parseInt, validation for email formatting, and etc.?
Something like String#isEmail perhaps? Or String#isURL? Let me know if I'm not even on the right track here....
hi
will about the first comment :
"So in other words, if someone type "true" into a text field, you want to be able to have that converted to the Boolean true, 3.424 would be converted into a number using parseFloat, 3 converted using parseInt, validation for email formatting, and etc.?"
i am not talking parse at i talking all the surround that or check if its will be passed that parse ,
also the part of vailations of the isemail and such yes also there is checks is currency and so on u can make at universal checker of js what mostly missing in every app
i just building very big app in js so i know build very big utills just for this stuff
So... something like the second comment then? Please provide specific examples of what you're thinking of.
something like this
RegIsEmail: function (fData) {
var reg = new RegExp("^[0-9a-zA-Z]+@[0-9a-zA-Z]+[.]{1}[0-9a-zA-Z]+[.]?[0-9a-zA-Z]+$");
return reg.test(fData);
},
CalculateAge: function (DOB) {
if (DOB != '') {
now = new Date();
if (!now.isDate(DOB)) {
return false;
}
dob = DOB.split('/');
if (dob.length === 3) {
born = new Date(dob[2], dob[0] * 1 - 1, dob[1]);
age = Math.floor((now.getTime() - born.getTime()) / (365.25 * 24 * 60 * 60 * 1000));
if (isNaN(age) || age < 18) {
return false;
}
else {
return true;
}
}
}
}
StringToBoolean: function (string) {
try {
if (typeof string == "boolean") {
return string;
}
else {
switch (string.toLowerCase()) {
case "true": case "yes": case "1":
return true;
case "false": case "no": case "0": case null:case undefined:
return false;
default:
return Boolean(string);
}
}
}
catch (e) {
return false;
}
},
IsTypeOfString: function (input) {
return typeof (input) == 'string';
},
and so on
I get it... I suppose the argument that it needs to be perfect or not doesn't really hold. I do see a reasonable use case here.
This one ("age" validation) I just don't. It's simply too arbitrary a requirement with absolutely nothing to do with Javascript directly. This one, if any, is application logic. You're going to have to be more clear and more specific if you want to make a case here. "just do hook for at that be kool" I have no idea what this means... the only way I can interpret it is to be exactly what a regex is, a basic pattern of text matching/validation that people hook into. "key provider solotion" no idea what this is either. "let say i build extrem app in just js" ... again... no idea.
I see your point, these features lie somewhere between application logic and support logic. However, one thing I can tell you about Sugar is that it will not implement anything that does not have a clear and focused use case. It also will not try to re-invent anything, a problem I see sometimes in other frameworks. For example even if a regex is slightly more verbose, it will be the preferred method to validation than something completely custom and unintelligible (an instance of a class, for example, which is what I think you're hinting at here).
There is a huge benefit in being able to jump in and read someone else's code, or your own after forgetting about it (which is basically the same thing). This is why Sugar spends so much of it's energy trying to make the syntax readable and unambiguous. Behind the scenes, it is also the reason I am not interested in doing anything that native Javascript can do just as well with slightly longer syntax. The benefit over native JS has to be very high, both in terms of readability and of bytes saved, to make it worthwhile.
I still don't know what kind of solution you're suggesting here, but at least in the case of the "age" example, it sounds like some kind of new class that people could hook into to perform their own validations. If this is what you mean, then this is exactly the kind of thing I do not want to do. Any method that has the added weight of having to learn a new syntax gets minus points... a lot of them. Devs spend enough time trying to learn regexes and other native Javascript. Regexes are exactly the correct solution in this case.
| gharchive/issue | 2011-10-24T14:32:05 | 2025-04-01T04:33:24.608854 | {
"authors": [
"andrewplummer",
"fastwings"
],
"repo": "andrewplummer/Sugar",
"url": "https://github.com/andrewplummer/Sugar/issues/35",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
85822293 | Seek bar causes high CPU usage - Add check to prevent excessive browser repaints on seek bar
The seek bar and elapsed time are updated at 60 times a second (assuming 60 FPS) which causes excessive CPU usage. This could be changed to update at 1 time per second.
I've created a function inside updateSliderPos(), alternatively you could add var lastUpdate to the outer scope.
More on repaint / reflows:
https://developers.google.com/speed/articles/reflow
http://addyosmani.com/blog/devtools-visually-re-engineering-css-for-faster-paint-times/
Alright, I agree with you that the smoother track slider is not worth the extra CPU cycles. I reverted the "make the slider smoother" commit.
| gharchive/pull-request | 2015-06-06T23:31:51 | 2025-04-01T04:33:24.614516 | {
"authors": [
"andrewrk",
"expe"
],
"repo": "andrewrk/groovebasin",
"url": "https://github.com/andrewrk/groovebasin/pull/438",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
174095209 | New error on open event
This just started happening this past week, with no changes made to my configuration that I'm aware of. When the service is first launched, everything looks good. The first open event is registered and that's when this error appears. The app continues to run, but subsequent close events are not reported in the status (i.e. door status will always say "open" until the application is restarted).
$ python controller.py
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
self.mainLoop()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
result = f(*args, **kw)
File "controller.py", line 127, in status_check
self.send_pushbullet(door, title, message)
File "controller.py", line 173, in send_pushbullet
door.pb_iden = json.loads(conn.getresponse().read())['iden']
exceptions.KeyError: 'iden'
Any thoughts?
Just to clarify, it's been working perfectly for the past month or two - absolutely love it! :)
This error just started up within the past week, when I was actually out of state on vacation (but luckily could SSH in and restart the service).
A little more info-
It appears to be the pushbullet implementation, as when I switched to smtp the errors stopped and it's at least running where I can operate the doors now. Sad to be missing the notifications, though. I'll keep poking at it.
The response I'm getting back from pushbullet on the initial push doesn't have an 'iden' key, so the logic for setting door.pb_iden is breaking. I've commented out that declaration as well as the push deletion bits (since it relies on the door.pb_iden not being blank) and just have it sending pushes without worrying about cleaning up after itself - and it's working now. Not quite as clean as when I first started using it, but I can't find what changed so this is better than nothing. If anyone has any ideas, I'm all ears. :)
def send_pushbullet(self, door, title, message):
syslog.syslog("Sending pushbutton message")
config = self.config['alerts']['pushbullet']
#if door.pb_iden != None:
# conn = httplib.HTTPSConnection("api.pushbullet.com:443")
# conn.request("DELETE", '/v2/pushes/' + door.pb_iden, "",
# {'Authorization': 'Bearer ' + config['access_token'], 'Content-Type': 'application/json'})
# conn.getresponse()
# door.pb_iden = None
conn = httplib.HTTPSConnection("api.pushbullet.com:443")
conn.request("POST", "/v2/pushes",
json.dumps({
"type": "note",
"title": title,
"body": message,
"channel_tag": "kubo-garagedoor",
}), {'Authorization': 'Bearer ' + config['access_token'], 'Content-Type': 'application/json'})
#door.pb_iden = json.loads(conn.getresponse().read())['iden']
Closing this. I made some changes on my end that may have caused it.
| gharchive/issue | 2016-08-30T18:47:39 | 2025-04-01T04:33:24.622865 | {
"authors": [
"kubodhi"
],
"repo": "andrewshilliday/garage-door-controller",
"url": "https://github.com/andrewshilliday/garage-door-controller/issues/36",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
523793395 | codebase is impenetrable because of billions of source directories
title is hyperbole
would cabal 3's support for multiple public libraries help this?
if not, could the layout be documented? it's currently hard to navigate
I don't think that multiple public libraries would be useful here. What I need to do is not just document the layout but also rename a few of the internal modules while I'm at it.
okay, thanks
| gharchive/issue | 2019-11-16T05:06:14 | 2025-04-01T04:33:24.624498 | {
"authors": [
"andrewthad",
"chessai"
],
"repo": "andrewthad/sockets",
"url": "https://github.com/andrewthad/sockets/issues/32",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
657355546 | Prints only once when the app starts
I can only be able to print once, only when the app starts for the first time, subsequent attempts to print am getting Printer connection timeout
Here are the logs.
D/BluetoothBasicPlugin(31167): start scan
D/BluetoothAdapter(31167): STATE_ON
I/chatty (31167): uid=10277(ke.co.quebasetech.wanga_admin) identical 1 line
D/BluetoothAdapter(31167): STATE_ON
D/BluetoothLeScanner(31167): Start Scan with callback
D/BluetoothLeScanner(31167): onScannerRegistered() - status=0 scannerId=9 mScannerId=0
D/BluetoothAdapter(31167): STATE_ON
D/BluetoothAdapter(31167): STATE_ON
D/BluetoothLeScanner(31167): Stop Scan with callback
D/BluetoothAdapter(31167): STATE_ON
D/BluetoothAdapter(31167): STATE_ON
D/BluetoothLeScanner(31167): could not find callback wrapper
D/BluetoothSocket(31167): close() this: android.bluetooth.BluetoothSocket@2173db5, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7b09c4a, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@10d47bbmSocket: android.net.LocalSocket@424b4d8 impl:android.net.LocalSocketImpl@9cb0031 fd:java.io.FileDescriptor@c643316, mSocketState: CONNECTED
W/System.err(31167): java.io.IOException: bt socket closed, read return: -1
D/BluetoothSocket(31167): close() this: android.bluetooth.BluetoothSocket@2173db5, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7b09c4a, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@10d47bbmSocket: null, mSocketState: CLOSED
D/BluetoothSocket(31167): close() this: android.bluetooth.BluetoothSocket@2173db5, channel: 1, mSocketIS: android.net.LocalSocketImpl$SocketInputStream@7b09c4a, mSocketOS: android.net.LocalSocketImpl$SocketOutputStream@10d47bbmSocket: null, mSocketState: CLOSED
W/System.err(31167): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:721)
W/System.err(31167): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:88)
W/System.err(31167): at java.io.InputStream.read(InputStream.java:101)
W/System.err(31167): at com.gprinter.io.BluetoothPort.readData(BluetoothPort.java:130)
W/System.err(31167): at com.tablemi.flutter_bluetooth_basic.DeviceConnFactoryManager.readDataImmediately(DeviceConnFactoryManager.java:418)
W/System.err(31167): at com.tablemi.flutter_bluetooth_basic.DeviceConnFactoryManager$PrinterReader.run(DeviceConnFactoryManager.java:498)
E/BluetoothPort(31167): connection device is lost
E/DeviceConnFactoryManager(31167): read 0
D/BluetoothAdapter(31167): cancelDiscovery
D/BluetoothAdapter(31167): cancelDiscovery = true
D/BluetoothUtils(31167): isSocketAllowedBySecurityPolicy start : device null
W/BluetoothAdapter(31167): getBluetoothService() called with no BluetoothManagerCallback
E/DeviceConnFactoryManager(31167): wait read
E/BluetoothPort(31167): read length1
E/DeviceConnFactoryManager(31167): read 1
E/DeviceConnFactoryManager(31167): wait read
I/flutter (31167): Error. Printer connection timeout
@nyugoh did you solve it?
@nyugoh any update on how you fixed it?
I am having the same issue.
| gharchive/issue | 2020-07-15T13:35:13 | 2025-04-01T04:33:24.628654 | {
"authors": [
"DhavalRKansara",
"c0c4i",
"farhan-syah",
"nyugoh"
],
"repo": "andrey-ushakov/esc_pos_bluetooth",
"url": "https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/30",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
2330013 | не всякий lessc выводит результат в stdout
мне попался какой-то странный lessc, который выводил результат обратно в файл, эта ситуация никак не обрабатывается
Я использую lessc, который можно установить, следуя инструкциям на официальном сайте http://lesscss.org/
Какой lessc используете вы?
к сожалению, официальную версию поставить не имею возможности)
в локальном каталоге я модифицировал поведение less.py, чтобы она читала файл, просто решил уведомить о такой ситуации)
К сожалению я вряд ли смогу программно определить, какая именно версия используется в системе чтобы скорректировать поведение less.py.
Проверьте, может быть ваша версия lessc имеет какой-то параметр, который позволяет выводить результат в stdout. Если это так, то попробуйте указать этот ключ в параметре LESS_EXECUTABLE.
| gharchive/issue | 2011-11-23T14:24:39 | 2025-04-01T04:33:24.632187 | {
"authors": [
"andreyfedoseev",
"unel"
],
"repo": "andreyfedoseev/django-less",
"url": "https://github.com/andreyfedoseev/django-less/issues/1",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
513883714 | Warning: configuration 'compile' is obsolete
It seems like this package is using some obsolete feature. It's working though
This has been fixed now.
| gharchive/issue | 2019-10-29T12:31:09 | 2025-04-01T04:33:24.637955 | {
"authors": [
"andreyvital",
"makarkotlov"
],
"repo": "andreyvital/react-native-android-sms-listener",
"url": "https://github.com/andreyvital/react-native-android-sms-listener/issues/50",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
224972598 | DAD generates incorrect graph and uses wrong node for a switch's follow property
I'm reverse engineering a large function, and DAD is using the wrong node to follow the switch.
The method is essentially a resource loader. It does a switch on one of its arguments, and then in most or all of the cases tries to open a file. It reads/processes that file, then breaks. Before the function exists, it tests if the file variable is not null, and if so closes the file, otherwise just exits.
Expected source should look something like this:
{
switch (p13) {
case 1:
\\do stuff
break;
case 2:
\\do other stuff
break;
case 3:
\\do different stuff
break;
default:
\\do default stuff
break;
}
if (file not null) {
file.close();
}
return;
}
What the source looks like is that only in the first conditionals and the first switch case is the file variable tested, and closed if necessary. When elaborating over the other cases, it sees that it already visited the test/close nodes and so ignores them. I've tried reproducing it in a small example, but I'm unable to do so.
Here's a bit of what it looks like, from a subclassed writer to try and capture the node flow:
void r(int p13, int p14, int p15)
{
\\Visiting node 2-Switch(r-BB@0x0)
v0_0 = 0;
switch (p13) {
case 0:
\\Visiting node 475-If(r-BB@0x12a)
if (p14 != 0) {
\\Visiting node 492-If(r-BB@0x35c)
if (p15 != 11) {
\\Visiting node 493-SC(500-If(r-BB@0x3be) || 501-If(r-BB@0x3c6))
if ((p15 < 13) || (p15 > 18)) {
\\Visiting node 510-If(r-BB@0x5de)
if (p15 != 19) {
\\Visiting node 511-If(r-BB@0x5fe)
if (p15 != 20) {
\\Visiting node 512-If(r-BB@0x61e)
if (p15 != 21) {
\\Visiting node 513-If(r-BB@0x63e)
if (p15 != 22) {
\\Visiting node 514-If(r-BB@0x65e)
if (p15 != 10) {
\\Visiting node 515-Statement(r-BB@0x67e)
\\Starting analysis of node 515-Statement(r-BB@0x67e)
\\Successors: [522-If(r-BB@0xa)]
v0_0 = this.getResources().getAssets().open(new StringBuilder(String.valueOf(this.gO[p15])).append(".img").toString());
v1_273 = ((v0_0.read() & 255) | ((v0_0.read() & 255) << 8));
v2_401 = new byte[v1_273];
v0_0.read(v2_401);
this.aM[p14] = this.b(v2_401, 0, v1_273);
\\Done, visiting first successor
\\Visiting node 522-If(r-BB@0xa)
if (v0_0 == 0) {
\\Visiting node 524-Statement(r-BB@0x14)
\\Starting analysis of node 524-Statement(r-BB@0x14)
\\Successors: [525-Return(r-BB@0x1a)]
this.bn = 1;
\\Done, visiting first successor
\\Visiting node 525-Return(r-BB@0x1a)
\\Node in follow set (self.if_follow[-1], self.switch_follow[-1],
\\ self.loop_follow[-1], self.latch_node[-1],
\\ self.try_follow[-1])
here it's done, so it goes on to do other conditions.
Then, throughout that method, the various cases and conditions, I see:
\\Visiting node 522-If(r-BB@0xa)
\\Node not return and has been visited
Here's what the end of the function looks like:
\\Node not return and has been visited
break;
default:
\\Visiting node 522-If(r-BB@0xa)
\\Node not return and has been visited
}
\\Visiting node 525-Return(r-BB@0x1a)
return;
}
You can see that even in the default case, it knows it should jump to that if statement, but it was already visited and processed so it doesn't.
Is it possible that this one got fixed as well with #263 ?
I've done some more investigation and while I don't know enough of the theory, I think I've found the location of concern:
When the decompiler calls switch_struct, I've found that the switch node at issue (at the start of the method), ends up going into the unresolved set. When it gets to another switch node, it ends up with two nodes in the ldominates list. One is the node that should follow the switch node, the other is the return node that follows. The function calls max and then sets that as the follow node for the inside switch and the unresolved switch. Not sure what it's using max.
I'm going to try seeing what happens with a toy demonstration when I get a chance.
I think I understand the issue finally.
The function I'm analyzing is a resource loader. So the switch is "which resource", and in almost every case it opens a file, and then ends by closing the file if it's opened. However, there are one or two cases where it instead instantiates a specialty class to handle it.
Therefore, the function control flow looks like:
switch node -> case 1 -> file close block -> return block
-> case 2 -> file close block -> return block
-> case 3 -> file close block -> return block
...
-> case n -> return block
The method just uses the same file close code for each case. The writer, when working on the next case, thinks it's visited when it hasn't necessarily.
I don't know how to code it up in Java, goto statements would be involved. When I copy and paste, the compiler isn't smart enough to optimize it all into one block. Perhaps smali is required for a test case. Or there's a pattern I'm unfamiliar with.
Thus, using the return block for the follow node IS the correct behavior. The writer, however, will need to be modified to handle this situation so it doesn't skip showing code and lose the semantic information.
| gharchive/issue | 2017-04-28T03:47:19 | 2025-04-01T04:33:24.652769 | {
"authors": [
"cdkorzen",
"reox"
],
"repo": "androguard/androguard",
"url": "https://github.com/androguard/androguard/issues/235",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
239708907 | create_tags
The "create_tags" method in "androguard/androguard/core/analysis/analysis.py" has been removed from the last release 2.0. Hence, the method get_tags of MethodAnalysis raises an Exception if called.
In order to test it, execute tags.py in androguard/demos/
I would take all demos with a grain of salt. There is a lot of stuff that was changed or removed, maybe because it was not reliable enough?
I'm not sure why create_tags was removed, maybe because it depended on the tainted analysis?
@jimmy-sonny I am looking at printing out the tags for methods but have run into the same issue you have. Have you found a workaround?
Oh I see: create_tags depends on tainted analysis, which was removed: https://github.com/androguard/androguard/commit/0cf5b8fe8c590280a5c589b26596d787d9f1fd3b#diff-d79598dab3d19b4148ec99584144b7a5L541
I think tainted depends heavily on the API Permission Mappings, which are not reliable. @adesnos had the plan to rewrite tainted (see #221 )
I think there are no more tags anywhere, so i'll close this issue. If you like tags back, please open a new issue.
| gharchive/issue | 2017-06-30T08:19:16 | 2025-04-01T04:33:24.656646 | {
"authors": [
"jimmy-sonny",
"reox",
"the-house"
],
"repo": "androguard/androguard",
"url": "https://github.com/androguard/androguard/issues/269",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
2132676135 | [Data layer codelab] Section 7 (Create the task repository) should reuse mapped data
Here:
suspend fun refresh() { val networkTasks = networkDataSource.loadTasks() localDataSource.deleteAll() val localTasks = withContext(dispatcher) { networkTasks.toLocal() } localDataSource.upsertAll(networkTasks.toLocal()) }
The last line should probably read:
localDataSource.upsertAll(networkTasks.toLocal())
I think it should use the localTasks instead of converting the network tasks to local again, otherwise the withContext() has no purpose:
suspend fun refresh() {
val networkTasks = networkDataSource.loadTasks()
localDataSource.deleteAll()
val localTasks = withContext(dispatcher) {
networkTasks.toLocal()
}
localDataSource.upsertAll(localTasks) // Fixed this line
}
I got this problem and I fixed this another way!
I've gone to FakeTaskDao.kt and added this line tasksStream.emit(tasks)
my code now looks like this:
override suspend fun upsertAll(tasks: List<LocalTask>) {
val newTaskIds = tasks.map { it.id }
_tasks.removeIf { newTaskIds.contains(it.id) }
_tasks.addAll(tasks)
tasksStream.emit(tasks) // this line
}
I think this solution is a little bit better, because the upsertAll function doesn't emit newly updated tasks.
Sure! It sounds like you're referring to an issue or a suggestion related to the official Android Architecture Components samples, specifically around improving the data layer in the context of a codelab.
Here's a more detailed approach to your concern about reusing mapped data in the TaskRepository implementation within the context of section 7 of the codelab:
Objective
Enhance the repository to leverage mapped data, avoiding redundant computations or transformations.
Steps to Reuse Mapped Data in TaskRepository
1. Review Existing Structure
TaskRepository
Handles data operations and provides a clean API for data access to the rest of the application.
Data Mapping
Typically involves converting between entities (database objects) and domain models (business logic objects).
2. Using In-Memory Cache for Mapped Data
One approach to reuse the mapped data is to introduce an in-memory cache within the TaskRepository. This cache can store the transformed/mapped data to minimize redundant work.
Example:
class TaskRepository(private val taskDao: TaskDao) {
// In-memory cache
private val taskCache = mutableMapOf<String, Task>()
suspend fun getTask(taskId: String): Task? {
// Check the cache first
taskCache[taskId]?.let {
return it
}
// If not in cache, fetch from database and map it
val taskEntity = taskDao.getTask(taskId) ?: return null
val task = taskEntity.toDomainModel()
// Store the mapped data in cache
taskCache[taskId] = task
return task
}
suspend fun updateTask(task: Task) {
// Update database
taskDao.updateTask(task.toEntity())
// Update the cache
taskCache[task.id] = task
}
// Other repository methods...
}
3. Optimize Mapping Logic
Ensure that your mapping logic is encapsulated in extension functions or separate mappers to maintain a single source of truth and to centralize the conversion logic.
Example Extension Functions:
fun TaskEntity.toDomainModel(): Task {
return Task(id, name, description, isCompleted)
}
fun Task.toEntity(): TaskEntity {
return TaskEntity(id, name, description, isCompleted)
}
Code Changes to Architecture Components Sample (PR #994)
Update your repository as follows to incorporate cache-based reuse of mapped data. The following pseudo-code assumes you have a basic understanding of the codebase.
Modify TaskRepository to Include Cache:
Make sure to update the TaskRepository to use a cache for mapped data.
class TaskRepository(private val taskDao: TaskDao) {
private val taskCache = mutableMapOf<String, Task>()
suspend fun getTask(taskId: String): Task? {
taskCache[taskId]?.let {
return it
}
// Fetch and map
val taskEntity = taskDao.getTaskById(taskId) ?: return null
val task = taskEntity.toDomainModel()
taskCache[taskId] = task
return task
}
// Other methods...
}
Ensure Mapping Functions are in a Centralized Location:
Put your mapping functions in a convenient file/module which ensures that the mappings are consistent across usages.
// TaskMapper.kt
fun TaskEntity.toDomainModel(): Task {
return Task(id = this.id, name = this.name, description = this.description, isCompleted = this.isCompleted)
}
fun Task.toEntity(): TaskEntity {
return TaskEntity(id = this.id, name = this.name, description = this.description, isCompleted = this.isCompleted)
}
Conclusion
By implementing an in-memory cache within the TaskRepository and ensuring all data transformations are centralized, you can greatly reduce redundant transformations and optimize data operations. This approach should fit well into the architecture and coding practices advocated by the Android Architecture Components and its corresponding codelabs.
| gharchive/issue | 2024-02-13T16:10:48 | 2025-04-01T04:33:24.670001 | {
"authors": [
"Fe1777",
"MahdiRahmani80",
"hecosw",
"iencotech"
],
"repo": "android/architecture-samples",
"url": "https://github.com/android/architecture-samples/issues/994",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
2134660555 | [FR]: Jetchat is not laid out edge-to-edge in 2 & 3-button navigation mode
Is there an existing issue for this?
[X] I have searched the existing issues
Is this a feature request for one of the samples?
[X] Yes, this is a specific request related to this samples repo.
Sample app
Jetchat
Describe the problem
Jetchat is not laid out edge-to-edge in 2 & 3-button navigation mode (it is not drawn behind the system navigation bar in 2 & 3-button navigation mode).
Describe the solution
Jetchat is laid out edge-to-edge in 2 & 3-button navigation mode (it is drawn behind the system navigation bar in 2 & 3-button navigation mode).
Additional context
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Needs help
| gharchive/issue | 2024-02-14T15:52:31 | 2025-04-01T04:33:24.674493 | {
"authors": [
"manabu-nakamura",
"sothsokna"
],
"repo": "android/compose-samples",
"url": "https://github.com/android/compose-samples/issues/1256",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
1128114095 | Group notification icon color option
May you please add an option to set the group notification icon color to white? The tiny red icon is slightly unpleasing to look at while every other tiny icon is always white. Just my two cents. Thank you for your time!
On different devices and versions of android, the icon may be different.
Can you provide screenshot and phone model?
On different devices and versions of android, the icon may be different. Can you provide screenshot and phone model?
Yes, here you are
Fixed in the latest app release v2.53.1 (rollout started). This icon is now white.
| gharchive/issue | 2022-02-09T06:38:53 | 2025-04-01T04:33:24.753998 | {
"authors": [
"Griffaye",
"aneonex"
],
"repo": "aneonex/BitcoinChecker",
"url": "https://github.com/aneonex/BitcoinChecker/issues/191",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
356755741 | Sucessfully running code, errors when generating meshes
After issue #6 I succeeded in building up the pipeline for completion, which seems to run now.
However, there is another issue popping up at each stage of the hierarchy levels
Traceback (most recent call last):
File "complete_scan.py", line 397, in <module>
tf.app.run(main)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "complete_scan.py", line 393, in main
target_semantics)
File "complete_scan.py", line 240, in export_prediction_to_mesh
[None, save_errors, save_errors], [None, save_pred_sem, save_target_sem],
UnboundLocalError: local variable 'save_pred_sem' referenced before assignment
I will look into this further down the line and provide possible solutions whenever needed.
Fixed in a commit on my own repository: https://github.com/StevenPuttemans/ScanComplete/commit/44034b560c91fe11dcc26643194802e7ad0aa9d0
Hi, do you think you could update this with specifying the commit? I'm having the same problem and it seems that your repository you linked is unavailable.
@alfredrpk since we were adapting the source code so much, we decided to close it down for now, and release it with our next publication. So the commit is not available.
In general this error means you need to predefine the save_pred_sem variable, before using it in code.
@StevenPuttemans Can you please provide the solution for above error
| gharchive/issue | 2018-09-04T10:52:35 | 2025-04-01T04:33:24.783331 | {
"authors": [
"StevenPuttemans",
"alfredrpk",
"santhu937"
],
"repo": "angeladai/ScanComplete",
"url": "https://github.com/angeladai/ScanComplete/issues/7",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
802782512 | Query falling on prismic
Hello ))
Some day ago a update from gatsby-source-prismic-graphql on gatsby-source-prismic v3.3.3
With new plugin I can't reqest field if that field is empty in all documents, but field initialized in custom type. I get error that field is unknown argument.
Hey @IlyaGit01 )
Could you please copy / screenshot the exact error message?
Did you add your schemas to the gatsby-config and to the schema folder?
'Unknown argument' sounds like an awkward error to get in this context as it should normally return undefined or something along those lines and it shouldn't be an argument at all.
Could you please also copy your query?
This is scheme
Query
Error
What does the GraphQL-playground tell you about the query? (localhost:8000/__graphql)
Could you please also console.log the complete data object and post it?
GraphQL-playground tell me "Cannot query field name"
Your config suggests that the name of the custom types is example_type. This means that allPrismicTesto should be invalid for this type. Try prismicExampleType / allPrismicExampleType instead.
I would suggest, that you rebuild your whole query in the GraphQL playground. If you press ctrl + space, you will get suggestions for available queries and fields. Alternatively you could check the integrated docs on the right side.
So it's some strange, because all prismic custom types is valid and I can get fields which not initialized in scheme. I have only one scheme in project now.
My custom types
Types in GraphQL-playground
I would suggest, that you remove all of them but one and make sure that the things I have described above are consistent.
After that, you should be able to move forward with debugging much more confident, if still necessary.
GraphQL can behave strange, if you are not careful with keeping your schemas in Gatsby, in Prismic and in the Gatsby config in sync.
Today I have tested app like you suggested and get strange QraphQl behavior. Situation one, in gatsby-config.js using only one scheme of custom types, but in playground I see all types and not all types have all fields. Situation two, my scheme have some fields like in prismic JSON editor, I rename fields like in documentation. For example, page-title on pageTitle or page_title, it not matter, because fields return null value. But when I request dataRaw instead data, all fields return valid values.
gatsby-config.js
Scheme
Graphql playground
My query with empty fields in data and all fields in dataRaw.
Very often qraphql behavior change, it really hard to debugging.
The path you are using in the config does suggest, that you custom_types folder is outside of src?
And how can I get fields with a hyphen in their name? Such fields cannot be specified in the schema, because there will be an error. If such fields are written via camelCase or snake_case in the schema, they will return with a null value, and not what it actually is. But these fields are in dataRow
Did moving the folder into src work?
Hyphens should normally not be a problem.
What error is there? Can you please provide screenshots again?
moving the folder into src not working
In prismic my field is meta-description, but in scheme I get error
because of it I tred to rename field to metaDescription and meta_description, but it not working.
In this screenshot, you can see that all the fields in data are empty, and in DataRow, the names of these fields are written with a hyphen and the data returned correctly.
We need to go step by step here and ignore some of those issues for the moment.
Please follow the following steps so that we can ensure the basic function, receiving data for a simple request, in a controlled environment
Delete all types, that you have created for testing
Create a new repeatable type called "test_type". Please make also sure that the API ID is "test_type"
Make sure that test_type contains only a single title field called "test_title" in Prismic and nothing else:
Make sure that there is a folder called "schemas" in your src folder
Make sure that in this folder there is a file with the name "test_type.json"
in this file you should have this code:
{
"Main": {
"test_title": {
"type": "StructuredText",
"config": {
"single": "heading1, heading2, heading3, heading4, heading5, heading6",
"label": "test_title"
}
}
}
}
Make sure that in gatsby-config.js only this one type is added and that the path is declared as follows:
schemas: {
test_type: require("./src/schemas/test_type.json")
}
Go to your documents and create an instance of test_type. Save and publish it.
Start up your gatsby server with "npm run start"
Go to localhost:8000/__graphql
Enter this query
{
allPrismicTestType {
edges {
node {
data {
test_title {
text
}
}
}
}
}
}
Check for the response:
Please also remember, that if you change something about the json file or anything related to pulling content from Prismic in, you will likely have to restart your Gatsby server.
If this works, then all other oddities, that still exist, can be cleared up.
Running gatsby clean can sometimes help :)
Thanks @Hahlh and @MarcMcIntosh for helping here!
Yes, my first suggestion is to clear your Gatsby cache. Sometimes Gatsby's cache of the types gets out of sync with what you provided in your JSON files.
Run gatsby clean in your project to clear the .cache and public folder. They will be rebuilt the next time you run gatsby develop or gatsby build. This isn't something that is required every time.
If that doesn't work, are you able to share your repository on GitHub? If not, are you able to create a sample repository with the same problem? Everything @Hahlh is recommending is correct, but it may be easier for us to check your code if we can view it directly.
Re: hyphenated field names, this is unfortunately a limitation of GraphQL, not Prismic or the plugin, so it isn't something that can be supported. What we can do, however, is automatically replace hyphens with something else, such as __. So a field like my-field could be renamed to my__field.
This can be included in the next major version of the plugin being worked on now if you think that would help.
This would be great because in the working version of the site on prismic, the fields use a hyphen, which does not support the new plugin. This would allow you to keep the old field names and not change the code in the working version of the site, but only deal with the new version of the site.
@IlyaGit01 When you query for fields with hyphens using the GraphQL plugin, what does your query look like? It's probably a good idea for us to match how the official GraphQL API handles the hyphens.
The prismic graphql-api transforms kebab-case (hyphens) to camelCase, that's how we approached the issue here :)
| gharchive/issue | 2021-02-06T20:16:35 | 2025-04-01T04:33:24.809049 | {
"authors": [
"Hahlh",
"IlyaGit01",
"MarcMcIntosh",
"angeloashmore"
],
"repo": "angeloashmore/gatsby-source-prismic",
"url": "https://github.com/angeloashmore/gatsby-source-prismic/issues/315",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1344874330 | create_mantis_project errors out when specifying segmentation path
Describe the bug
When running create_mantis_project in either the pixel or cell clustering notebooks, the line to copy the segmentation file into the corresponding fov directory fails. This is because the path gets set incorrectly (https://github.com/angelolab/ark-analysis/blob/master/ark/utils/plot_utils.py#L463): seg_dir already contains the full relative path to the segmented images, so does not need to be prepended with img_source_dir.
To Reproduce
Run the final cell in each notebook to create the Mantis directory structure as is.
Expected behavior
The segmentation files (suffixed with _feature_0.tif) should be copied over correctly.
Screenshots
The error traceback is as follows:
Yeah, I found the bug as well. I fixed it in #658. I can't figure out why the tests aren't failing though.
img_source_dir needs to be removed
https://github.com/angelolab/ark-analysis/blob/master/ark/utils/plot_utils.py#L463
| gharchive/issue | 2022-08-19T20:35:26 | 2025-04-01T04:33:24.814495 | {
"authors": [
"alex-l-kong",
"ngreenwald"
],
"repo": "angelolab/ark-analysis",
"url": "https://github.com/angelolab/ark-analysis/issues/663",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
266770096 | Implement didSet and willSet observable properties
In Swift, as part of the language, a property can have a didSet and/or willSet. Example:
class A {
var isLocating = false {
didSet {
delegate.set(isLocating: isLocating)
}
}
}
In Kotlin there is no default way of expressing property observers but can be done with delegated properties or by writing a custom setter (https://stackoverflow.com/a/39842353/378433)
For simplicity, implement a custom setter like:
class A {
var isLocating = false
set(value) {
field = value
delegate.set(isLocating = value)
}
}
In case of willSet, just write the code before the field = value assignment
Implemented in 8d6c593786502730febf0acfbfebc565dacf1420
| gharchive/issue | 2017-10-19T09:03:38 | 2025-04-01T04:33:24.817585 | {
"authors": [
"angelolloqui"
],
"repo": "angelolloqui/SwiftKotlin",
"url": "https://github.com/angelolloqui/SwiftKotlin/issues/22",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
203802114 | 'close' syscall returns an error if fd does not exist
Fix a crash which occured when 'close' syscall was given an unknown file
descriptor as argument
Thanks!
| gharchive/pull-request | 2017-01-28T11:19:44 | 2025-04-01T04:33:24.856452 | {
"authors": [
"themaks",
"zardus"
],
"repo": "angr/simuvex",
"url": "https://github.com/angr/simuvex/pull/77",
"license": "bsd-2-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
611157882 | On the same server with Telegram Proxy
Good day!
I have an issue and I don't know how to solve it. Tried Googling but I didn't find any solution (may be I am blind).
Info:
Telegram Proxy and Openvpn server are living on the same server (same ip).
I am using Openvpn on my router. Default route - everything through VPN.
Issue:
When I am connected to my router (VPN), I am not able to reach my Telegram proxy through global ip address, I can reach it only through Openvpn's internal network (e.g. 10.3.0.1).
Question:
What iptables rule I have to input on my server, so I will be able to communicate with telegram proxy when I am in my home network (VPN)?
Can you try advertising the route with push "route <subnet> 255.255.255.0" in server.conf and restart openvpn? It's the remote LAN question in the FAQ
Can you try advertising the route with push "route <subnet> 255.255.255.0" in server.conf and restart openvpn? It's the remote LAN question in the FAQ
Which route? Openvpn subnet?
The server's IP you wanted to reach.
The server's IP you wanted to reach.
It didn't help.
As a side note when you connect to a VPN it's like you are physically there, like using ssh. So I don't see why to connect to a PC in the same network you would use its public IP.
Personally I always set services to listen on 10.8.0.1 and use that.
As a side note when you connect to a VPN it's like you are physically there, like using ssh. So I don't see why to connect to a PC in the same network you would use its public IP.
Personally I always set services to listen on 10.8.0.1 and use that.
I am using the proxy in different networks. I don't want to switch proxies when I am on my VPN network.
You are right, it seems easier with iptables. The command I found is iptables -t nat -A PREROUTING -s $VPNclientIP -p $protocol --dport $destPort -j DNAT --to-destination 10.8.0.1:$destPort.
Source https://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/
You are right, it seems easier with iptables. The command I found is iptables -t nat -A PREROUTING -s $VPNclientIP -p $protocol --dport $destPort -j DNAT --to-destination 10.8.0.1:$destPort.
Still didn't help. I think it is almost impossible. The only way for now is to install MTProxy on different server.
@randomshell
It is not only with Telegram Proxy. I can not ssh to server via public interface if I am in Openvpn network, only through the Openvpn subnet (10.X.0.1)
@hybtoy I'm sorry I can't help much with iptables. I should get a vps and test these things.
| gharchive/issue | 2020-05-02T10:45:32 | 2025-04-01T04:33:24.864483 | {
"authors": [
"hybtoy",
"randomshell"
],
"repo": "angristan/openvpn-install",
"url": "https://github.com/angristan/openvpn-install/issues/656",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
251084750 | lint-staged throwing error
Steps to reproduce
checkout latest code
npm i --no-save, npm test
npm run precommit
Expected behaviour
In attempting to create a pull request, the precommit script is run. This error-ed out on my branch (details below). I checked out master and the same issue arises. It appears that something with the addition of the prettier causes this.
Actual behaviour
> lint-staged
`string` and `indent` should be strings
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angularjs-slider@6.4.0 precommit: `lint-staged`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angularjs-slider@6.4.0 precommit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Environment
npm -v => 5.2.0
node -v => 8.2.1
string and indent should be strings: do you know if it's related to your changes?
This happened even after I checked out a fresh clone, installed dependencies, and ran precommit.
Turns out this appears to be an issue with npm versions and the pack-lock file. I upgraded to npm 5.3, removed node_modules and the package-lock file and then npm i which fixed the issue. This will produced an updated package-lock file. Removing my node_modules again and npm i again leaving this new package-lock file, everything remains happy. We might want to update the package-lock file.
Here's the same issue for reference: https://github.com/okonet/lint-staged/issues/209
Thanks for taking the time to investigate this issue, that's really appreciated! :) Actually, I didn't even noticed that we had a package-lock file in this project...
The issue is probably due to the fact that I didn't have an up-to-date version of npm when I set up prettier and thus it's dependencies did not get in the lock file .
Do you want to create a pull request with the updated list file?
PR merged ;)
npm automatically creates the lock file now.
Fixed by #556. Closing.
| gharchive/issue | 2017-08-17T22:00:32 | 2025-04-01T04:33:24.878267 | {
"authors": [
"ValentinH",
"trodi"
],
"repo": "angular-slider/angularjs-slider",
"url": "https://github.com/angular-slider/angularjs-slider/issues/555",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
17010957 | Error installing package
I try to install the Package and restarting the Sublime Text i get this:
Error trying to parse settings: No data in ~/Library/Application Support/Sublime Text 2/Packages/User/AngularJS-completions.sublime-settings:1:1
// Controls what scopes auto complete will be triggered in)
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin"
when added return error:
Error trying to parse settings: Unexpected trailing characters in Package\User\Preferences.sublime.settings:2:25
ST Build 3103
@FelipeMiranda It sounds like you may have a trailing , somewhere in your ST settings file.
| gharchive/issue | 2013-07-20T20:25:12 | 2025-04-01T04:33:24.880710 | {
"authors": [
"FelipeMiranda",
"owen8505",
"subhaze"
],
"repo": "angular-ui/AngularJS-sublime-package",
"url": "https://github.com/angular-ui/AngularJS-sublime-package/issues/15",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
24896835 | Tabs - Dynamically created tabs do not respond to "select" or execute it immediately on creation
If one creates a dynamic tab like this
$scope.tabs = [{ title: "Profile", content: "app/insured/profile/inProfile.html", select: activateTab(), name: "profile" }, { title: "Coverage", content: "app/insured/profile/inCoverage.html", select: activateTab(), name: "coverage" }]
then function specified for "select" will execute right away while tabs are being constructed. I tried also using just "activateTab" without parenthesis and that does not do anything. You can try it also just using a plunker supplied with tabs example and try to put select for dynamic tab 1
{ title:"Dynamic Title 1", content:"Dynamic content 1", select:onSelect() },
function onSelect(){
console.log("onSelectCalled");
alert("onSelectCalled");
}
and you will see the issue. Also setting the "active" attribute to true from javascript code does not do anything either. My markup for the tabs is like this
<tabset >
<tab data-ng-repeat="tab in tabs" heading="{{tab.title}}" active="{{tab.active}}" class="fullwidthtabs">
<div ng-include="tab.content"></div>
</tab>
</tabset>
any progress on this issue?
Closing, as this looks like a non-issue.
For progress on fixing the API, keep an eye on #4836.
| gharchive/issue | 2013-12-30T19:28:00 | 2025-04-01T04:33:24.883519 | {
"authors": [
"epitka",
"neekey",
"wesleycho"
],
"repo": "angular-ui/bootstrap",
"url": "https://github.com/angular-ui/bootstrap/issues/1496",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
58540986 | How to disable calendar in datepicker control
I have a datepicker which is in datepickerctrl controller and I have a checkboc in some other controller. I have to enable datepicker control when checkbox is checked. I am able to disable the textbox in the datepicker control by using ng-disabled="disabled" but the calender in datepicker control is not disabled. Is there any solution for this.
https://github.com/angular-ui/bootstrap#support
If you think you found a bug, provide a reproductible scenario, ie a plunkr
| gharchive/issue | 2015-02-23T04:22:51 | 2025-04-01T04:33:24.885099 | {
"authors": [
"antoinepairet",
"swathi1029"
],
"repo": "angular-ui/bootstrap",
"url": "https://github.com/angular-ui/bootstrap/issues/3327",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
16109289 | ng-grid with Collapsible Rows
I already see a thread on this same question, see it as closed.
https://github.com/angular-ui/ng-grid/issues/121
My requirement is to have a Grid in which on click of the Row it expands and displays a details div under the row; similar to an accordion. I have used up the entire screen space of the gui and using dialogs and tabs is going to make the user experience bad. Is there a way to implement it in ng-grid.
And nope, I don't think the flexible-height pluggin addresses this question. Would appreciate if I can have solution to this. If this is something we cannot do using ng-grid do let me know.
Currently nggrid doesn't support this feature [issue #1111][1] and its being implemented in UIGrid 3.0 version.
But i have found a workaround and this is how you can try to achieve in nggrid using rowTemplate and a little bit of jquery. hope this helps!
rowTemplate:
"< div class="row" >"
"add column data"
// expand or collapse image
< div class=\"col-xs-1 col-md-1\" >< img "id='**showHide**_{{row.rowIndex}}' ng-src='src/img/{{**imgArrowRight**}}' ng-click=\"**rowExpand** (row.rowIndex);\" />< / div>"< /div>< div id='**expRowId**_{{row.rowIndex}}' style=\"display:none;\">< div class=\"**expData**\">< span ng-bind=\"**row.entity.Attr**\">< /span>
//add whatever you want in the expanded row.< /div>< /div>
//Defined customArray for handling dynamic row Toggle
angular.forEach($scope.gridData, function(row,index) {
$scope.customArray[index] = true;
});
//row expand code
$scope.rowExpand = function(index){
$scope.customArray[index] = $scope.customArray[index] === false ? true : false;
if($scope.customArray[index]){
$('#showHide_'+index).attr('src','src/assets/img/rigthIcon.gif');
$('#expRowId_'+index).hide();
}else{
$('#showHide_'+index).attr('src','src/assets/img/downIcon.gif');
$('#expRowId_'+index).show();
}
}
Forgot to meniton in my above comment please override ngRow class too
.ngRow {
position: relative !important;
}
| gharchive/issue | 2013-06-27T19:21:06 | 2025-04-01T04:33:24.890702 | {
"authors": [
"buddishh",
"johny25"
],
"repo": "angular-ui/ng-grid",
"url": "https://github.com/angular-ui/ng-grid/issues/517",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
135395924 | controller tries to revalidate a form after exiting state
hi, i have a dummy angular's blog project:
the state hierarchy goes like this:
admin (abstract)
|-admin.list (a list of all posts to admin)
|-admin.edit (a single post edit)
|-admin.add (for adding a new post)
under edit.html (state: admin.edit) i have a form named 'postForm' with some validation on it.
for some reason, when exiting the state using ui-sref="admin.list" - angular tries to digest the old state, with no success of course, since 'postForm' does no longer exists thus no validation can be performed.
have any idea why ui-router tries to digest old state when exiting?
p.s.
validation works fine.
the project can be found here:
https://github.com/royair/blog/
to install:
clone project
npm i
npm start
thanks in advance!
Any chance you could boil it down to a smaller example as there is a lot of code to go through
I went through the trouble of spinning up a vm and cloning this repo
@royair do I need credentials to login or something to even reproduce this?
Hi @christopherthielen
thanks for helping!
i have created a new branch to reflect the issue
please use: 'ui-router-bug'
regarding creds, you can use:
email: test@test.com
pwd: 123456
once installed (1. clone project 2. npm i 3. npm start)
go to http://localhost:8081/#/admin/add
and click the admin link at the top.
you should be able to see some errors at the console.
This is related to the code we added for #1643
I think we will be reverting that code in 0.2.19 in favor of exposing the animation promise: #2562
See also #2485
In the meantime, update to ui-router 0.2.18 and add noanimation to your ui-view tag
<div ui-view noanimation></div>
dupe #2579
| gharchive/issue | 2016-02-22T11:54:58 | 2025-04-01T04:33:24.902188 | {
"authors": [
"christopherthielen",
"eddiemonge",
"royair"
],
"repo": "angular-ui/ui-router",
"url": "https://github.com/angular-ui/ui-router/issues/2575",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
57937771 | Selection issue
when you choose an option from the dropdown and then you click the dropdown again you should be able to delete your old selection otherwise it makes it annoying to clear the model becasue you will have to create an extra button to do it.
Did you try allow-clear?
do you just add that as an attribute? and if so where do you add the attribute?
If I remember correctly, right now only bootstrap and select2 themes work with allow-clear
it works thank you! but if you use the current version of the js file it breaks the aloow clear. But it works with an old js file marked
/*!
ui-select
http://github.com/angular-ui/ui-select
Version: 0.9.8-develop - 2015-02-16T06:10:43.771Z
License: MIT
*/
Image of problem with news js file:
Check https://github.com/angular-ui/ui-select/pull/667
thanks for all the help
| gharchive/issue | 2015-02-17T15:28:22 | 2025-04-01T04:33:24.906449 | {
"authors": [
"Bana0615",
"dimirc"
],
"repo": "angular-ui/ui-select",
"url": "https://github.com/angular-ui/ui-select/issues/675",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
115051852 | keep focus on multi-select when using tab
For consideration. A possible start to dealing with some of the requests for different Tab behaviour on multi-select controls. Limited to multi-select and auto-close=false to avoid creating a keyboard trap. Feedback welcome.
in a multi-select control with auto-close = false:
Tab functions like Enter (selects item, keeps focus on select control)
Closing the options (Escape) allows the default Tab behaviour (change
focus)
Be sure to address the issue identified here before merging this to the main branch: https://github.com/angular-ui/ui-select/issues/1261#issuecomment-160681802
@jgentes will do
This getting merged anytime soon?
@synthecypher priority dropped on this where I work so I haven't got back to it. If you've time to work on the feedback from @jgentes that would be a great help!
Any progress @synthecypher or @bboyle?
History needs to be fixed - there should not be any merge commits.
@wesleycho I do not understand the "history needs to be fixed" comment. I merged the latest master so this branch was not sooo far behind, was that bad?
Proper approach would have been to rebase - merge commits mutate order of history in undesirable ways, which has a strong negative effect in open source.
hmmm, sorry but that is over my head in git knowledge. perhaps somebody can fix it, or might need to reject this PR.
In this case, you might be able to salvage it in this branch by doing git reset --hard 5fdd1e5; git pull --rebase origin master, resolve the conflicts, then do git add -A; git rebase --continue, redo the removal of the console.log, then git push -f.
cool, thanks for the tips... no conflicts so that's done with the force push
console.log needs to be removed again - once you remove it, you can commit via git add -A; git commit --amend; git push -f
Hmm, there is a merge commit again.
If this is to be merged, this may have to be manually cherry-picked.
@wesleycho is a new PR ok? would that be easier than cleaning the git history here?
Yeah, I think that might be best in this situation.
@bboyle thanks for being such a good sport!
@wesleycho clean PR is here https://github.com/angular-ui/ui-select/pull/1534
@aaronroberson it is a bit complex, one day I will have to learn the right ways to use git pull and git rebase
| gharchive/pull-request | 2015-11-04T13:30:08 | 2025-04-01T04:33:24.913772 | {
"authors": [
"aaronroberson",
"bboyle",
"jgentes",
"synthecypher",
"wesleycho"
],
"repo": "angular-ui/ui-select",
"url": "https://github.com/angular-ui/ui-select/pull/1284",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
571069865 | Sortable auto scroll top/bottom issue
I have 4 section in my page header, desc1, desc2, footer.
I m using draggable to drop section and sortable to make them go to and fro in page.
What i have to do is i have one section in header and i want to make drag and drop that section in footer which is at the bottom of the page. Now when i try to pick the element and move the mouse it does not auto scroll the page as i go down or mgo up.
Please help me out in this i have check for whole day.
Help is really appreciable
Thanks, in advance.
Hi,
This seems to be a duplicate of #430 and also be jquery-ui related and not of the scope of being fixed as part of this lib.
We would love to hear your finding or see a fork of one of our codepen examples demonstrating the issue.
Closing in favor of #430.
| gharchive/issue | 2020-02-26T04:57:35 | 2025-04-01T04:33:24.916132 | {
"authors": [
"Atmiya735",
"thgreasi"
],
"repo": "angular-ui/ui-sortable",
"url": "https://github.com/angular-ui/ui-sortable/issues/563",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
326443131 | ng test. Karma: Executed 0 of 0 ERROR (0.006 secs / 0 secs)
Tests broken after migrating from CLI 1.7.4 -> 6.x.x
Versions
Angular CLI: 6.0.5
Node: 8.11.2
OS: win32 x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.6.5 (cli-only)
@angular-devkit/build-angular 0.6.5
@angular-devkit/core 0.6.5 (cli-only)
@angular-devkit/schematics 0.6.5 (cli-only)
@angular/cli 6.0.5
@ngtools/webpack 6.0.5
@schematics/angular 0.6.5 (cli-only)
@schematics/update 0.6.5 (cli-only)
rxjs 6.2.0
typescript 2.7.2
webpack 4.8.3
package.json
"scripts": {
"build": "npm run build:dev",
"build:dev": "npm run clean:dist && ng build",
"build:prod": "npm run lint && npm run clean:dist && ng build --prod",
"clean": "npm cache verify && npm run rimraf -- node_modules doc coverage dist",
"clean:dist": "npm run rimraf -- dist",
"clean:install": "npm cache verify && npm install",
"e2e": "ng e2e",
"rimraf": "rimraf",
"lint": "ng lint",
"start": "node server/index.js",
"serve": "ng serve --hmr",
"qa": "npm run lint && npm run test",
"test": "ng test --code-coverage=true --source-map=true --watch=false",
"test:watch": "ng test --code-coverage=true --source-map=true",
"watch:dev": "npm run build:dev -- --watch",
"watch:prod": "npm run build:prod -- --watch"
},
"dependencies": {
"@angular/animations": "6.0.3",
"@angular/common": "6.0.3",
"@angular/compiler": "6.0.3",
"@angular/core": "6.0.3",
"@angular/forms": "6.0.3",
"@angular/http": "6.0.3",
"@angular/platform-browser": "6.0.3",
"@angular/platform-browser-dynamic": "6.0.3",
"@angular/router": "6.0.3",
"@angularclass/hmr": "2.1.3",
"@ngrx/effects": "6.0.1",
"@ngrx/store": "6.0.1",
"@ngrx/store-devtools": "6.0.1",
"busboy": "0.2.14",
"core-js": "2.5.6",
"express": "4.16.3",
"express-session": "1.15.6",
"file-saver": "1.3.8",
"font-awesome": "4.7.0",
"grant-express": "4.1.1",
"jsonwebtoken": "8.2.1",
"lodash": "4.17.10",
"lodash-decorators": "5.0.0",
"moment": "2.22.1",
"mydatepicker": "2.6.3",
"npm-run-script": "0.0.4",
"numeral": "2.0.6",
"primeng": "6.0.0-alpha.1",
"request": "2.87.0",
"rxjs": "6.2.0",
"rxjs-compat": "6.2.0",
"zone.js": "0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.5",
"@angular/cli": "^6.0.5",
"@angular/compiler-cli": "6.0.3",
"@angular/language-service": "6.0.3",
"@types/jasmine": "2.8.7",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.9.1",
"@types/numeral": "0.0.22",
"angular2-template-loader": "0.6.2",
"codelyzer": "4.3.0",
"jasmine-core": "2.8.0",
"jasmine-marbles": "0.3.1",
"jasmine-spec-reporter": "4.2.1",
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-coverage-istanbul-reporter": "2.0.0",
"karma-jasmine": "1.1.2",
"karma-mocha-reporter": "2.2.5",
"protractor": "5.3.2",
"rimraf": "2.6.2",
"ts-node": "5.0.1",
"tslint": "5.10.0",
"typescript": "2.7.2",
"wallaby-webpack": "3.9.8"
}
Karma.conf.js
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-mocha-reporter'),
require('karma-chrome-launcher'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
browserNoActivityTimeout: 20000,
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'clover'],
fixWebpackSourcePaths: true,
'report-config': {
html: { subdir: 'html' }
}
},
reporters: ['mocha', 'progress', 'coverage-istanbul'],
colors: true,
logLevel: config.LOG_DEBUG,
autoWatch: true,
browsers: ['CustomChromeHeadless'],
singleRun: false,
customLaunchers: {
CustomChromeHeadless: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
});
};
ng test output
25 05 2018 16:07:38.481:DEBUG [plugin]: Loading inlined plugin (defining framework:jasmine).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining reporter:mocha).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining launcher:Chrome, launcher:ChromeHeadless, launcher:ChromeCanary, launcher:ChromeCanaryHeadless, launcher:Chromium, launcher:ChromiumHeadless, launcher:Dartium, test).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining reporter:coverage-istanbul).
25 05 2018 16:07:38.483:DEBUG [plugin]: Loading inlined plugin (defining framework:@angular-devkit/build-angular, reporter:@angular-devkit/build-angular--sourcemap-reporter, reporter:@angular-devkit/build-angular--event-reporter, middleware:@angular-devkit/build-angular--blocker, middleware:@angular-devkit/build-angular--fallback).
25 05 2018 16:07:38.491:DEBUG [plugin]: Loading inlined plugin (defining launcher:CustomChromeHeadless).
10% building modules 1/1 modules 0 active25 05 2018 16:07:38.784:DEBUG [web-server]: Instantiating middleware
25 05 2018 16:07:38.784:DEBUG [reporter]: Trying to load reporter: @angular-devkit/build-angular--sourcemap-reporter
25 05 2018 16:07:38.792:DEBUG [reporter]: Trying to load color-version of reporter: @angular-devkit/build-angular--sourcemap-reporter (@angular-devkit/build-angular--sourcemap-reporter_color)
25 05 2018 16:07:38.794:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load reporter: @angular-devkit/build-angular--event-reporter
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load color-version of reporter: @angular-devkit/build-angular--event-reporter (@angular-devkit/build-angular--event-reporter_color)
25 05 2018 16:07:38.794:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.794:DEBUG [reporter]: Trying to load reporter: mocha
25 05 2018 16:07:38.802:DEBUG [reporter]: Trying to load color-version of reporter: mocha (mocha_color)
25 05 2018 16:07:38.804:DEBUG [reporter]: Couldn't load color-version.
25 05 2018 16:07:38.825:DEBUG [reporter]: Trying to load reporter: coverage-istanbul
25 05 2018 16:07:38.825:DEBUG [reporter]: Trying to load color-version of reporter: coverage-istanbul (coverage-istanbul_color)
25 05 2018 16:07:38.825:DEBUG [reporter]: Couldn't load color-version.
(node:30580) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
25 05 2018 16:08:00.485:DEBUG [karma]: List of files has changed, trying to execute
25 05 2018 16:08:00.485:WARN [karma]: No captured browser, open http://localhost:9876/
25 05 2018 16:08:00.495:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
25 05 2018 16:08:00.495:INFO [launcher]: Launching browser CustomChromeHeadless with unlimited concurrency
25 05 2018 16:08:00.505:INFO [launcher]: Starting browser ChromeHeadless
25 05 2018 16:08:00.505:DEBUG [temp-dir]: Creating temp dir at C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554
25 05 2018 16:08:00.513:DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-background-timer-throttling --disable-renderer-backgrounding --disable-device-discovery-notifications --no-sandbox http://localhost:9876/?id=46718554 --headless --disable-gpu --remote-debugging-port=9222 25 05 2018 16:08:33.330:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/client.html
25 05 2018 16:08:33.386:DEBUG [karma]: List of files has changed, trying to execute
25 05 2018 16:08:33.388:WARN [karma]: No captured browser, open http://localhost:9876/
25 05 2018 16:08:33.537:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/karma.js
25 05 2018 16:08:33.638:DEBUG [karma]: A browser has connected on socket aOSdGmZGd8SpT_HGAAAA
25 05 2018 16:08:33.883:INFO [HeadlessChrome 66.0.3359 (Windows 10.0.0)]: Connected on socket aOSdGmZGd8SpT_HGAAAA with id 46718554
25 05 2018 16:08:33.883:DEBUG [launcher]: ChromeHeadless (id 46718554) captured in 33.388 secs
25 05 2018 16:08:33.883:DEBUG [karma]: All browsers are ready, executing
25 05 2018 16:08:33.883:DEBUG [karma]: Captured 1 browsers
START:
25 05 2018 16:08:34.554:DEBUG [middleware:karma]: custom files C:\Users\andrey.chalkin\Allianz\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins/karma-context.html C:\Users\andrey.chalkin\Allianz\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins/karma-debug.html null
25 05 2018 16:08:34.555:DEBUG [middleware:karma]: Serving customContextFile C:\Users\andrey.chalkin\Allianz\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins/karma-context.html
25 05 2018 16:08:34.558:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=aOSdGmZGd8SpT_HGAAAA
25 05 2018 16:08:36.302:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins/karma-context.html
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/runtime.js /
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/runtime.js
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/polyfills.js /
25 05 2018 16:08:36.895:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/polyfills.js
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/@angular-devkit/build-angular/node_modules/source-map-support/browser-source-map-support.js?f894bb45358bceea281c12011b12863c67d3942c /
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/@angular-devkit/build-angular/node_modules/source-map-support/browser-source-map-support.js
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js?fcb459e84379f1ce8e91fe200d87463f3780ca1b /
25 05 2018 16:08:36.911:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js
25 05 2018 16:08:37.064:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js?73bc53d3671677e6a093fc74e4f9bcde57e5f7ad /
25 05 2018 16:08:37.064:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/@angular-devkit/build-angular/node_modules/source-map-support/browser-source-map-support.js
25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-source-map-support/lib/client.js
25 05 2018 16:08:37.127:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
25 05 2018 16:08:37.180:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js?945a38bf4e45ad2770eb94868231905a04a0bd3e /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /absoluteC:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js?6cf71867f538f40db053c1775b2c56a83696375c /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/scripts.js /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/scripts.js
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/vendor.js /
25 05 2018 16:08:37.196:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/vendor.js
25 05 2018 16:08:37.338:DEBUG [web-server]: serving: C:\Users\andrey.chalkin\Allianz\node_modules\karma\static/context.js
25 05 2018 16:08:37.342:DEBUG [middleware:source-files]: Requesting /_karma_webpack_/main.js /
25 05 2018 16:08:37.342:DEBUG [middleware:source-files]: Fetching /_karma_webpack_/main.js
25 05 2018 16:08:37.342:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/boot.js
25 05 2018 16:08:37.342:DEBUG [web-server]: serving (cached): C:/Users/andrey.chalkin/Allianz/node_modules/karma-jasmine/lib/adapter.js
HeadlessChrome 66.0.3359 (Windows 10.0.0): Executed 0 of 0 ERROR (0.004 secs / 0 secs)
Finished in 0.004 secs / 0 secs @ 16:08:39 GMT+0700 (Tomsk Standard Time)
SUMMARY:
√ 0 tests completed
25 05 2018 16:08:39.143:DEBUG [reporter.coverage-istanbul]: Writing coverage reports: [ 'html', 'clover' ]
25 05 2018 16:09:11.637:DEBUG [launcher]: Disconnecting all browsers
25 05 2018 16:09:11.825:DEBUG [launcher]: Process ChromeHeadless exited with code 0
25 05 2018 16:09:11.835:DEBUG [temp-dir]: Cleaning temp dir C:\Users\ANDREY~1.CHA\AppData\Local\Temp\karma-46718554
25 05 2018 16:09:11.878:DEBUG [launcher]: Finished all browsers
I have the same problem, after upgrading. Creating a new project with ng new works fine however, but even copying the karma.conf.js, test.ts, angular.json, tsconf.spec.json and relevant parts of package.json from the working project into my upgraded project and even the app.component.spec.ts I still get same behaviour, Executed 0 of 0 ERROR, I really don't get what else could be affecting this!
Just one more thing I though about, since 6.0 my application does not compile in jit mode anymore, some kind of obscure circular dependency, it works fine in aot though, so that is what I intend to run, but the unit testing cannot be run in aot, correct? So might this be the problem. Not sure how much of the application is actually built for the unit testing, so I cannot say if it bootstraps or not.
What I tried to fix this problem:
Copy all configs and related files from new ng app
Cleanup all circular dependencies
Downgrade to CLI 1.7.4 (working solution for now)
Also one more thing: Wallaby.js can run tests correctly
Did some debugging, to se if I could understand something, but the only significant find I had was that a breakpoint in test.ts in my converted app is never reached, but in the ng newed app it is, so something is preventing test.ts from being called...
I found some things that can break tests this way, however I have not been able to get my specific app to work yet. It seems like though, this behavior is really not only one problem, it seems to be a specific kind of issue, where something goes wrong probably when doing some kind of bootstrapping, but ng test does not report that, so it is almost impossible to find out what the actual problem is.
So my guess is that when you get Executed 0 of 0 ERROR... it really means that the "testbench app" built by the ng test command, fails to bootstrap, however there is no log anywhere that says why, and the debug tools console is clean too.
However this is a simple way of reproducting this problem:
with @angular/cli 6.0.5: ng new myapp
in myapp: edit polyfills.ts and add import "zone.js/dist/zone-patch-rxjs"; after the zone.js/dist/zone import
npm install rxjs-compat
ng test
A bit curious also to if this problem is actually connected to rxjs-compat in some way.
Facing the same issue here. I've spent some time debugging but still have no idea about the source of the problem 😞.
Try to change the karma.conf basePath property. I had it with empty value and fixing it with / solves the problem for me.
This was failing:
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
.....
This works perfect for me:
config.set({
basePath: '/',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
.....
Can someone provide me a repro app where this happens?
@filipesilva see also https://github.com/angular/angular-cli/issues/10485. Im not able to reproduce with new ng project and ours is private to upload.
same issue here,
ng test
10% building modules 1/1 modules 0 active(node:21481) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
07 06 2018 11:34:57.071:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
07 06 2018 11:34:57.072:INFO [launcher]: Launching browser Chrome with unlimited concurrency
07 06 2018 11:34:57.077:INFO [launcher]: Starting browser Chrome
07 06 2018 11:35:14.345:INFO [Chrome 66.0.3359 (Mac OS X 10.13.2)]: Connected on socket xiB3rSycTeIm1ojqAAAA with id 32977929
Chrome 66.0.3359 (Mac OS X 10.13.2): Executed 0 of 0 ERROR (0.012 secs / 0 secs)
Don't know how to solve this :(
here is my dependency info
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.0.0
Node: 9.8.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@angular/cdk 6.0.1
@angular/pwa 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
the chrome will start up, but it auto closed after error occur
My project updated from Angular 5 -> Angular 6 when Angular 6 release,
"Test.ts , typing.spec.config , karma.config.js " are same with "ng new APP" files
@100cm could you also provide your package.json and polyfills.ts ?
please update to latest angular-cli version this bug was fixed with 6.0.8
On 7 June 2018 at 11:41, Andrey Chalkin notifications@github.com wrote:
@100cm https://github.com/100cm could you also provide your
package.json and polyfills.ts ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/11011#issuecomment-395359013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ8j8oVlivFiMMZPyXIgRy8E2FPZbEvhks5t6PUsgaJpZM4UNoly
.
@elvirdolic unfortunately it's still doesn't work for me as it work in CLI 1.7.4: if I add rxjs-compact imports into polyfills.ts.
Behaviour on CLI <= 1.7.4:
All tests executed sucessfully
Behaviour on CLI >= 6.0.0 & < 6.0.8
Executed 0 of 0 ERROR
Behaviour on CLI >= 6.0.8
All tests executed but tests which was written with RxJS 5 are fails.
For example this.userService.getOperationalEntities().flatMap is not a function
you don't need to add rxjs-compact into polyfills
This changes was made a long time ago and when I join to project we already have it in polyfills. After migration to Angular 6 we confronted with problem that tests aren't running.
Solution was that we moved this polyfills into separated file which we import in main.ts and test.ts both.
As I understand this imports was made because developers didn't want to duplicate they in each file which depends by this imports.
Our project is too large to migrate to RxJS 6 in one step and of course we don't need this in polyfills but after migration.
I'm using @angular/cli@6.0.8 and I haven't put anything other than the defaults in the polyfill.ts and I'm having this problem after upgrading.
@Nxt3 could you provide some more information?
Nobody can help you without it. I guess if you provide your package.json, karma.conf.js and test.ts we can find solution.
angular.json
"projects": {
"federation": {
"root": "apps/federation/",
"sourceRoot": "apps/federation/src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/federation",
"index": "apps/federation/src/index.html",
"main": "apps/federation/src/main.ts",
"polyfills": "apps/federation/src/polyfills.ts",
"tsConfig": "apps/federation/tsconfig.app.json",
"assets": [
"apps/federation/src/favicon.ico",
"apps/federation/src/assets",
{
"glob": "**/*",
"input": "libs/translate/locale",
"output": "/libs/locale"
}
],
"styles": ["apps/federation/src/styles.scss"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/federation/src/environments/environment.ts",
"with": "apps/federation/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "federation:build"
},
"configurations": {
"production": {
"browserTarget": "federation:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "federation:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "apps/federation/src/test.ts",
"polyfills": "apps/federation/src/polyfills.ts",
"tsConfig": "apps/federation/tsconfig.app.json",
"karmaConfig": "apps/federation/karma.conf.js",
"styles": ["apps/federation/src/styles.scss"],
"scripts": [],
"assets": [
"./apps/federation/src/assets",
"./apps/federation/src/favicon.ico",
{
"glob": "**/*",
"input": "libs/translate/locale",
"output": "/libs/locale"
}
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/federation/tsconfig.app.json", "apps/federation/tsconfig.spec.json"],
"exclude": ["**/node_modules/**"]
}
}
}
}
tsconfig.app.json
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc/apps/federation",
"module": "es2015",
"types": []
},
"exclude": ["src/test.ts", "**/*.feature.ts", "**/*.spec.ts"],
"include": ["**/*.ts"]
}
tsconfig.spec.json
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc/apps/federation",
"module": "commonjs",
"types": ["jasmine", "node"]
},
"files": ["src/test.ts", "src/polyfills.ts"],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}
test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
import 'zone.js/dist/zone-testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
karma.conf.js
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
clearContext: false, // leave Jasmine Spec Runner output visible in browser
jasmine: {
random: false
}
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, 'coverage'),
reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
browserConsoleLogOptions: { level: 'disable', terminal: false },
logLevel: config.LOG_ERROR,
autoWatch: true,
browsers: ['ChromeHeadless'],
singleRun: false
});
};
I actually get the error:
Module build failed: Error: /Users/ganttn/code/pi_ui/apps/federation/src/test.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
but, this works if in a newly generated app. I had it at one point that had the same error that was outlined above--but I'm so deep into this I have no idea what I've done to get here.
@Nxt3
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "apps/federation/src/test.ts",
"polyfills": "apps/federation/src/polyfills.ts",
"tsConfig": "apps/federation/tsconfig.app.json",
"karmaConfig": "apps/federation/karma.conf.js",
"styles": ["apps/federation/src/styles.scss"],
"scripts": [],
"assets": [
"./apps/federation/src/assets",
"./apps/federation/src/favicon.ico",
{
"glob": "**/*",
"input": "libs/translate/locale",
"output": "/libs/locale"
}
]
}
"tsConfig": "apps/federation/tsconfig.app.json", => "tsConfig": "apps/federation/tsconfig.spec.json",
@L2jLiga Noooooo I'm so embarrassed. Thanks for pointing out my mistake.
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
| gharchive/issue | 2018-05-25T09:14:52 | 2025-04-01T04:33:24.946003 | {
"authors": [
"100cm",
"L2jLiga",
"Nxt3",
"Ristaaf",
"alan-agius4",
"danigar",
"elvirdolic",
"filipesilva"
],
"repo": "angular/angular-cli",
"url": "https://github.com/angular/angular-cli/issues/11011",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
545936538 | ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command npm update
🐞 Bug report
Command (mark with an x)
ng build
[ ] new
[x ] build
[ x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc
Is this a regression?
Yes, the previous version in which this bug was not present was: ....
Description
A clear and concise description of the problem...
When I run build universal, I am getting this error
"ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command npm update"
Here is the analysis I did, I think the issue is really coming with dependency @babel/preset-env": "7.7.6" which use "browserslist": "^4.6.0" which uses "caniuse-lite": "1.0.30000967". So it throws the above error. Currently my script logic is synchronous run commands. So it breaks with this message.
🔬 Minimal Reproduction
🔥 Exception or Error
"ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command `npm update`"
🌍 Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 8.3.20
Node: 10.14.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.803.20
@angular-devkit/build-angular 0.803.21
@angular-devkit/build-optimizer 0.803.21
@angular-devkit/build-webpack 0.803.21
@angular-devkit/core 8.3.20
@angular-devkit/schematics 8.3.20
@angular-devkit/schematics-cli 0.13.8
@angular/cdk 8.2.3
@angular/cli 8.3.20
@angular/material 8.2.3
@ngtools/webpack 8.3.21
@nguniversal/common 8.2.6
@nguniversal/express-engine 8.2.6
@nguniversal/module-map-ngfactory-loader 8.2.6
@schematics/angular 8.3.20
@schematics/schematics 0.13.8
@schematics/update 0.803.20
rxjs 6.4.0
typescript 3.5.3
webpack 4.39.2
Anything else relevant?
@phani17c which command is throwing this error? Typically this is just a “warning”.
We encountered this today with ng test, no issue with building. We changed the caniuse-lite version in package-lock.json @angular-devkit/build-angular to 1.0.30001016 from 1.0.30000989.
The @angular-devkit/build-angular was on version 0.803.20 (0.803.21 is the latest).
NG build command is also complaining about this to me, should just require a package.json update right? Fast fix? It is indeed just a warning, but it's somewhat surprising to my back end guys who dont know what it means.
@alan-agius4 Will this be a new npm version after fix happen?
And @alan-agius4 you are right, I have custom script to run some npm scripts combined
please the autoprefixer dependency to latest one.
@phani17c, a new version will be released in the coming days.
Thanks @alan-agius4 I am closing this issue.
| gharchive/issue | 2020-01-06T20:59:14 | 2025-04-01T04:33:24.957685 | {
"authors": [
"Shoe2",
"alan-agius4",
"krokofant",
"phani17c",
"weilinzung"
],
"repo": "angular/angular-cli",
"url": "https://github.com/angular/angular-cli/issues/16560",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2022447400 | Angular Zones break promises in openai package (return null)
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
Users making requests with the openai package while using Zones receive null on all requests.
Eg;
const response = await this.openai!.chat.completions.create({
model: 'gpt-3.5-turbo',
messages: [
{role: "system", content: "Explain me the purpose of life"},
],
});
// response === null, but shouldn't be
Users report that upgrading zone.js to ^0.14.2 allows things to work with .then(), but not with await.
This is likely related to the openai package subclassing Promise to add helper methods, like .asResponse().
Please provide a link to a minimal reproduction of the bug
https://github.com/openai/openai-node/issues/232#issuecomment-1820088056
Please provide the exception or error you saw
completion is `null`
Please provide the environment you discovered this bug in (run ng version)
I am a maintainer of `openai`, not an Angular user. Users have reported this with Angular v17 (and earlier) and zone.js@0.14.2 (and earlier).
Anything else?
No response
@JeanMeche is there a workaround or mitigation you can recommend?
add the following code will make it work, will need more time to find some better solutions.
const chatModel = new ChatOpenAI({
modelName: 'gpt-3.5-turbo',
temperature: 0.9,
openAIApiKey: environment.OPENAI_API_KEY,
});
// patch begin
// for zone.js openAI APIPromise
const original = (chatModel as any)._getClientOptions;
(chatModel as any)._getClientOptions = function(options: any) {
original.call(this, options);
const create = this.client.chat.completions.create;
this.client.chat.completions.create = function(params: any) {
return new Promise((res, rej) => {
return create.call(this, params).then(res, rej);
});
}
};
// patch end---------------------------------
const text =
'What would be a good company name for a company that makes colorful socks?';
// Using a Promise
// This call throws immediately and doesn't wait for response
// response looks good in the Network tab
chatModel.predict(text).then((result: any) => {
console.log(result);
});
The reason is openai subclass the Promise with APIPromise and return a resolved promise here in the constructor
https://github.com/openai/openai-node/blob/a048174c0e53269a01993a573a10f96c4c9ec79e/src/core.ts#L90
which I believe is a little unusual implementation, then
const openaiResponse = await resolvedAPIPromise;
will just return null instead of waiting for the http response.
I believe this is not a zone.js bug, but need to figure out how to make it work better.
@alan-agius4 why was this closed?
Reopening as @JiaLiPassion will keep looking at this.
| gharchive/issue | 2023-12-03T03:21:52 | 2025-04-01T04:33:24.966524 | {
"authors": [
"JiaLiPassion",
"alan-agius4",
"rattrayalex"
],
"repo": "angular/angular-cli",
"url": "https://github.com/angular/angular-cli/issues/26564",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
299245056 | how to button close angular 5
Versions
<!--
Output from: `ng --version`.
If nothing, output from: `node --version` and `npm --version`.
Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
-->
Repro steps
Step 1
Step 2
Step 3
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->
Desired behavior
Mention any other details that might be useful (optional)
Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.
| gharchive/issue | 2018-02-22T07:16:32 | 2025-04-01T04:33:24.970055 | {
"authors": [
"filipesilva",
"irfansuprayogi74"
],
"repo": "angular/angular-cli",
"url": "https://github.com/angular/angular-cli/issues/9725",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2486290980 | feat(@angular/ssr): export AngularAppEngine as public API
Added AngularAppEngine to the public API of @angular/ssr, allowing users to access it directly for enhanced server-side rendering functionality.
Just as an idea: we can consider marking those APIs as "developer preview" for now.
Added.
| gharchive/pull-request | 2024-08-26T08:39:47 | 2025-04-01T04:33:24.971702 | {
"authors": [
"alan-agius4"
],
"repo": "angular/angular-cli",
"url": "https://github.com/angular/angular-cli/pull/28279",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
166179667 | Docs TS: Tour of Heroes
I prefer if this is made by one guy entirely. I don't want each chapter to have a different translator.
I want to translate the tour of heroes tutorial, but I can take 3 o 4 days because it has seven sections, so it's very large...
We are not going to translate this right away, I want to get some guidelines first and I will probably translate this one myself.
| gharchive/issue | 2016-07-18T19:59:11 | 2025-04-01T04:33:24.972879 | {
"authors": [
"ArthurMauricioDelgadillo",
"Foxandxss"
],
"repo": "angular/angular-es",
"url": "https://github.com/angular/angular-es/issues/4",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
196779316 | docs(security): hide TOC for Dart; other minor copyedits
There are very few changes in the .jade file; as can be seen by ignoring whitespace diffs.
Supersedes #1813.
| gharchive/pull-request | 2016-12-20T20:56:41 | 2025-04-01T04:33:24.973995 | {
"authors": [
"chalin"
],
"repo": "angular/angular.io",
"url": "https://github.com/angular/angular.io/pull/3017",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
109742824 | Form submit event not triggered
Hi ,
I want to submit form when ng-change function called on select. but form doesn't submit.
$scope.resultCountFilter = function(e){
var size_val = $( "#Resultcount" ).find( "option:selected" ).text();
console.log('Check size-'+ size_val);
$('#display_size').val(size_val);
angular.element('#searchFrm').triggerHandler('submit');
}
See https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-got-a-question-or-problem
I didn't get the solution of my issue.
| gharchive/issue | 2015-10-05T07:23:16 | 2025-04-01T04:33:24.976308 | {
"authors": [
"pkozlowski-opensource",
"seemas-grazitti"
],
"repo": "angular/angular.js",
"url": "https://github.com/angular/angular.js/issues/13008",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
406614095 | errorOnUnhandledRejections does not work as advertised
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] other
Current behavior:
$qProvider.errorOnUnhandledRejections(false) suppresses all errors not just unhandled rejections.
Expected / new behavior:
$qProvider.errorOnUnhandledRejections(false) should only suppress unhandled rejection errors.
Minimal reproduction of the problem with instructions:
http://plnkr.co/edit/9lpc6KBgtSqOmxzn8ej4?p=preview
AngularJS version: 1.7.5
Browser: all
Anything else:
The issue in it's current form makes it extremely hard to catch REAL errors and send them to our error logging platform (Sentry)
errorOnUnhandledRejections(false) results in no real errors at all being observed in console or $exceptionHandler
errorOnUnhandledRejections(true) results in tens of thousands of "Possibly unhandled rejection" errors being sent to Sentry, even though there are no real issues.
It's worth adding that we intentionally do not catch quite a lot of our promises as we expect them to result in no more actions.
Thanks for the report.
To be precise, errorOnUnhandledRejections(false) doesn't silence all errors but Promise rejections. I added a synchronous error to your Plunker and it shows up:
http://plnkr.co/edit/JErDPnK7w7d9WO9mmYRz?p=preview
AngularJS Promises are compatible with the Promises/A+ standard that many other promise library implements. Standard ES6 promises also adhere to those rules. And that standard states errors thrown in promise handlers should be treated in the same way as returning a rejected promise.
See the motivations explained at https://blog.domenic.me/youre-missing-the-point-of-promises/ (note that the header is not up to date as promises in jQuery 3.0+ are Promises/A+-compatible). Now, to be clear, I don't want to restart the discussion about the merits of this approach here. Those discussions have happened in the past, some people supported that, some opposed but the decision was taken and the whole ecosystem settled on implementing the Promises/A+ standard. And as long as AngularJS implements it as well - and since it's now in LTS mode no major changes are planned - the current behavior is required and we cannot change it.
In light of the above, I'm closing the issue. Feel free to post additional comments here if something needs further clarification.
| gharchive/issue | 2019-02-05T03:18:54 | 2025-04-01T04:33:24.983356 | {
"authors": [
"ashconnell",
"mgol"
],
"repo": "angular/angular.js",
"url": "https://github.com/angular/angular.js/issues/16828",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
27856579 | feat(filter): orderBy for object collections
Allows to use orderBy filter on collection objects and not only arrays.
eg:
var c = {
b: {name: 'b'},
c: {name: 'c'},
a: {name: 'a'}
};
orderBy(c, 'name'); // => [{name: 'a'}, {name: 'b'}, {name: 'c'}];
Closes: #6210
I think we can close this, based on https://github.com/angular/angular.js/issues/11255
| gharchive/pull-request | 2014-02-19T07:48:31 | 2025-04-01T04:33:24.985016 | {
"authors": [
"Narretz",
"khepin"
],
"repo": "angular/angular.js",
"url": "https://github.com/angular/angular.js/pull/6337",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
536411937 | I'm getting angular material Date picker animation issue in my project what causing issue? im using angular 5 material
Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.
(this is a canned response)
| gharchive/issue | 2019-12-11T14:36:59 | 2025-04-01T04:33:25.106367 | {
"authors": [
"Yadhunandansolus",
"jelbourn"
],
"repo": "angular/components",
"url": "https://github.com/angular/components/issues/17928",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
820115506 | bug(google-maps): Map won't load after assigning new options
Reproduction
Use StackBlitz to reproduce your issue: (maps are not in stackblitz, unable to create sample there)
@Component({
selector: 'rita-inquiry',
template: `
<button (click)="draggable.next(!draggable.value)">toggle</button>
<google-map width="100%" height="100%" [options]="(mapOptions | async)!"></google-map>
`,
styleUrls: ['./inquiry.component.scss']
})
export class InquiryComponent {
@ViewChild(GoogleMap) readonly map!: GoogleMap;
readonly draggable = new BehaviorSubject(true);
readonly mapOptions: Observable<google.maps.MapOptions> = combineLatest([
this.draggable.pipe(
map((draggable): Pick<google.maps.MapOptions, 'draggable' | 'draggableCursor'> => {
return {
draggable,
draggableCursor: draggable ? undefined : 'default',
};
}),
),
]).pipe(
map(([draggable], index) => {
let initialMapOptions: Pick<google.maps.MapOptions, 'center' | 'zoom'> = {};
if (!index) {
initialMapOptions = {
center: { lat: 49.8037633, lng: 15.4749126 },
zoom: 8,
};
} else {
initialMapOptions = {
center: this.map.getCenter(),
zoom: this.map.getZoom(),
};
}
return {
...initialMapOptions,
panControl: false,
zoomControl: false,
mapTypeControl: true,
scaleControl: true,
streetViewControl: true,
streetViewControlOptions: {
position: google.maps.ControlPosition.LEFT_BOTTOM,
},
fullscreenControl: false,
//overviewMapControl: false,
...draggable,
};
}),
);
}
Steps to reproduce:
Have an app with google maps included
Create a component with the code above
Click button 2 times
Move map (and observe how no tiles are loading)
Expected Behavior
When re-enabling dragging, I would assume, the map would work once again
Actual Behavior
No tiles are loading any more
Environment
Angular: 11.2.3
CDK/Material: 11.2.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows
The issue seems to be caused by us passing in undefined as the mapTypeId. It'll be fixed by https://github.com/angular/components/pull/22098, but until it gets released, you should be able to fix it by passing in mapTypeId yourself.
| gharchive/issue | 2021-03-02T15:17:39 | 2025-04-01T04:33:25.110901 | {
"authors": [
"Akxe",
"crisbeto"
],
"repo": "angular/components",
"url": "https://github.com/angular/components/issues/22082",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
941981556 | docs: Update readme for Q3 2021
Hi Angular Material team,
Is it possible to update the readme with what's planned for Q3 2021?
Thank you!
I think that it's roughly the same, but we'll discuss and see if there are any changes we can make (possibly a minor addition). We do certainly need to update the mention of Q2 to Q3.
OK, we've got a list of updates and we'll update the readme soon.
Just updated this for Q4. Q3 was super hectic, so this slipped through the cracks.
| gharchive/issue | 2021-07-12T11:54:19 | 2025-04-01T04:33:25.112686 | {
"authors": [
"LoganDupont",
"Splaktar",
"jelbourn"
],
"repo": "angular/components",
"url": "https://github.com/angular/components/issues/23149",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1984594671 | MatAutocomplete panel does not close when the parent input changes focus programmatically.
Is this a regression?
[ ] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
When adding host listener for keyboard navigation to other elements, the auto complete panel does not close.
Reproduction
StackBlitz link: https://stackblitz.com/edit/angular-14-material-fbxecy?file=src%2Fauto-complete%2Fauto-complete.component.html
Steps to reproduce:
Click in the "Number" input.
Press Ctrl+DownArrow.
Observe that focus moves to the text area input without closing the panel.
Expected Behavior
After the focus of the parent input moves to another element (either by click() or blur()), the panel should be closed.
Actual Behavior
After moving focus from the parent input by using element.focus() the auto complete panel keeps visible until a click action takes place.
Environment
Angular: 14
CDK/Material:
Browser(s): Edge
Operating System (e.g. Windows, macOS, Ubuntu): Windows
Hi, it looks like this might have been resolved in later versions. Also, based on the visuals, it seems like there may be something broken in the example stackblitz you shared. I tried to reproduce the issue in v17 but failed (although I am trying on a mac)
Are you able to reproduce this issue on this more recent stackblitz?
https://stackblitz.com/edit/11jmm4?file=src%2Fexample%2Fautocomplete-auto-active-first-option-example.html
I was able to reproduce the issue in your example, please add the following code at the end of your ts file and click Ctrl+DwnArrow when you are focused in the input with the autocomplete...
private blurToTextArea() {
let el = document.getElementById('textArea1');
el?.focus();
}
@HostListener('window:keydown.control.ArrowDown', ['$event'])
navigateDown(event: KeyboardEvent) {
event.preventDefault();
this.blurToTextArea();
}
| gharchive/issue | 2023-11-09T00:10:29 | 2025-04-01T04:33:25.119238 | {
"authors": [
"andybougard",
"wagnermaciel"
],
"repo": "angular/components",
"url": "https://github.com/angular/components/issues/28087",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
372957765 | Mat Stepper Propery labelPosition not working
Bug, feature request, or proposal:
BUG
What is the expected behavior?
Mat-horizontal-stepper labelPosition property should work as intended
What is the current behavior?
Mat-horizontal-stepper labelPosition property does nothing.
Can you post a code sample of what you're trying to do? It would also be helpful to know what version of Material you're running.
@crisbeto I am seeing the issue too. It is always "at the end" and never "bottom"
<mat-horizontal-stepper linear #stepper (labelPosition)="bottom">
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | |
/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Angular CLI: 6.2.2
Node: 10.10.0
OS: darwin x64
Angular:
...
Package Version
@angular-devkit/architect 0.8.2
@angular-devkit/core 0.8.2
@angular-devkit/schematics 0.8.2
@schematics/angular 0.8.2
@schematics/update 0.8.2
rxjs 6.2.2
typescript 2.9.2
"@angular/material": "^6.4.7"
@crisbeto You can use this example: https://stackblitz.com/angular/jnmaooqparx?file=app%2Fstepper-overview-example.ts and add this line of code
<mat-horizontal-stepper linear #stepper (labelPosition)="bottom">
@brianpilati you're not binding the value correctly. You should be setting it either as labelPosition="bottom" or [labelPosition]="'bottom'", whereas what you're doing now is an event binding. Here's a working example: https://stackblitz.com/edit/angular-zcqlf4
I am using Material 6.1.0. and as brian said even when using labelPosition="bottom" it does not change a thing.
I tried replicating it with the code provided by the documentation but even there it does not work
in brians example it suddenly works but with this code it does not:
`<form (ngSubmit)="onSubmit()" [formGroup]="form" novalidate>
<ng-template matStepperIcon="edit">
<span class="fa fa-check"></span>
</ng-template>
<ng-container *ngFor="let step of formSteps; index as i">
<mat-step [formGroupName]="step.key" [stepControl]="form.get(step.key)">
<ng-template matStepLabel>{{step.label}}</ng-template>
<div class="row">
<div [ngClass]="element.gridClasses" *ngFor="let element of step.elements">
<smit-form-element [element]="element" [form]="form.get(step.key)"></smit-form-element>
</div>
<div class="col-12">
<div class="d-flex justify-content-end align-items-center">
<ng-container *ngIf="i > 0">
<button mat-button color="primary" matStepperPrevious type="button">Zurück</button>
</ng-container>
<ng-container *ngIf="i !== formSteps.length - 1">
<button mat-raised-button color="primary" matStepperNext type="button" [disabled]="!form.get(step.key).valid">Weiter</button>
</ng-container>
<ng-container *ngIf="i === formSteps.length - 1">
<button mat-raised-button color="primary" type="submit" [disabled]="!form.valid">{{submitLabel}}</button>
</ng-container>
</div>
</div>
</div>
</mat-step>
</ng-container>
`
can you tell me why?
Can not paste code, the first two lines are always missing
It's probably because your version of Material doesn't have the option. Note that the Stackblitz from @brianpilati is using Material 7.0. I can't tell when the feature was released, because the PR that introduced it wasn't labelled correctly so it doesn't show up in the changelog.
@crisbeto upgrading material to 7.0.1 (and cdk on 7.01.) made it possible.
thank you!
| gharchive/issue | 2018-10-23T11:47:31 | 2025-04-01T04:33:25.156678 | {
"authors": [
"Barvor",
"brianpilati",
"crisbeto"
],
"repo": "angular/material2",
"url": "https://github.com/angular/material2/issues/13768",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
228072151 | mdOption: ripple blocks hover styles and events on parent's child
Bug, feature request, or proposal:
If you have a ripple on a component and add a child inside that component, the child can not have hover events or styles applied to it directly(you must apply to the parent). This is because the ripple is position: absolute; when it is not active(not doing the animation) and it covers the entire parent.
What is the expected behavior?
Ripples should allow hover effects and event listeners to work on a parents child without css/js hacks and workarounds.
What is the current behavior?
The ripple blocks this because of it's styles when it is not active.
What are the steps to reproduce?
I believe this can be triggered with any ripple but I specifically encountered it with a custom md-option that had a component inside which listens for hover events. This also happens when trying to apply css affects.
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
See this.
http://plnkr.co/edit/0Dh65stBoG1v2VEAjvE5?p=preview
What is the use-case or motivation for changing an existing behavior?
For me: showing user panels on hover without special overrides to attatch event listeners to a parent if the ripple is a sibling.
For everyone else: in general I think you'd run into this pretty easily. I also don't believe this bug is in Material for AngularJS, so anyone upgrading(like me) would be in trouble.
Which versions of Angular, Material, OS, browsers are affected?
Angular: 4.1.1
Material: Beta 3
Browser: Chrome 58
OS: macOS 10.12.4
Is there anything else we should know?
| gharchive/issue | 2017-05-11T17:53:37 | 2025-04-01T04:33:25.162042 | {
"authors": [
"epelc"
],
"repo": "angular/material2",
"url": "https://github.com/angular/material2/issues/4480",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
295643897 | material.angular.io url bug
Bug, feature request, or proposal:
material.angular.io url bug
What is the expected behavior?
working cdk url routing
What is the current behavior?
not working cdk url routing after navigating component by the left sidenav interaction
What are the steps to reproduce?
goto material.angular.io
click component on the toolbar
click one of the submenu on the left sidenav navigation (ex: form controls > autocomplete)
then click cdk menu on the toolbar
What is the use-case or motivation for changing an existing behavior?
bug reporting
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
browser: chrome, canary, firefox, edge
Is there anything else we should know?
none
Looks more like an issue for https://github.com/angular/material.angular.io
oops, dunno there's its repo
| gharchive/issue | 2018-02-08T19:52:43 | 2025-04-01T04:33:25.166498 | {
"authors": [
"anokori",
"donroyco"
],
"repo": "angular/material2",
"url": "https://github.com/angular/material2/issues/9848",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
47614412 | button is clickable through chrome browser but not in phantomjs??
Hello,
I have a problem, where in I have a button with an "id" which is clicked fine when the protractor test runs on a chrome browser. But the same piece of below code throws error when I run it in phantomjs.
I had a similar problem earlier and setting the browser size like below had solved that issue. I have gone really big with the browser size yet the element is not available to click. I have pasted the stacktrace below, any help is appreciated. And the line it breaks is the "click" line.
Thanks,
Divya
browser.driver.manage().window().setSize(1280, 1024);
expect(ptor.isElementPresent(protractor.By.id('newStudy'))).toBe(true);
ptor.sleep(25000);
ptor.findElement(protractor.By.id('newStudy')).click();
UnknownError: {"errorMessage":"Element is not currently visible and may not be manipulated","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"27","Content-Type":"application/json; charset=utf-8","Host":"localhost:15506","User-Agent":"Apache-HttpClient/4.3.2 (java 1.5)"},"httpVersion":"1.1","method":"POST","post":"{"id":":wdc:1415031743552"}","url":"/click","urlParsed":{"anchor":"","query":"","file":"click","directory":"/","path":"/click","relative":"/click","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/click","queryKey":{},"chunks":["click"]},"urlOriginal":"/session/95f2fa90-6375-11e4-b4e1-f5967c04bd96/element/%3Awdc%3A1415031743552/click"}}
Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:03'
System info: host: 'blah.blah', ip: 'xxx.xx.xx.xx', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.7.0_67'
Driver info: driver.version: unknown
I'm aggressively closing issues that we are unable to reproduce, are support issues specific to one test, or deal with integrations with other projects that we don't directly support. If you feel you have a question, please see https://github.com/angular/protractor/blob/master/CONTRIBUTING.md#questions. If you still have a bug report or feature request, please open a new issue. Thank you!
| gharchive/issue | 2014-11-03T16:37:35 | 2025-04-01T04:33:25.172408 | {
"authors": [
"DivyaAshok",
"juliemr"
],
"repo": "angular/protractor",
"url": "https://github.com/angular/protractor/issues/1490",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
153098190 | Canceled mousedown events causing blur
Bug report
Last week Firefox updated and stopped working with the older protractor we were using, so we updated. However, with the new protractor, a few of our previously passing tests are now failing because canceled mousedown events are being allowed to continue. I created a small test case on the page:
https://jsfiddle.net/vkdt0uu4/
On that page there is an input field and a button. If you focus the input field and then click on the button, there is some JavaScript that cancels the mousedown event on the button so that the field stays focused. This works when done by a real user. However, when I call click() on the button element in the test, the field still gets blurred. I don't know if this is an issue with protractor, selenium, or firefox, but I thought I would start here.
Node Version: v4.4.3
Protractor Version: 3.3.0
Browser(s): firefox 45.1.0
Operating System and Version Red Hat Enterprise Linux Workstation release 6.7
Your protractor configuration file
(none)
A relevant example test
protractor --browser firefox --specs bugSpec.js
bugSpec.js is:
describe('input field', function() {
it('should not lose focus when the button is clicked', function() {
browser.ignoreSynchronization = true;
browser.get('https://jsfiddle.net/vkdt0uu4/');
browser.switchTo().frame(browser.driver.findElement(by.tagName('iframe')));
browser.wait(function() {
return element(by.id('testfield')).isDisplayed();
});
element(by.id('testfield')).click();
expect(browser.driver.switchTo().activeElement().getAttribute('id')).toEqual('testfield');
element(by.id('testbutton')).click();
expect(browser.driver.switchTo().activeElement().getAttribute('id')).toEqual('testfield');
});
});
Output from running the test
"Expected 'testbutton' to equal 'testfield'." (at line 12-- the second "expect")
Steps to reproduce the bug
protractor --browser firefox --specs bugSpec.js
The URL you are running your tests against (if relevant)
The test contains the relevant JSFiddle URL.
Thanks for the detailed report! This is almost certainly an issue with selenium and the latest firefox. Let me get my mind straight with the latest firefox and firefox driver and then forward the issue on.
I was able to get protractor to run Chrome (on RHEL 6.7), and found that the above test passes with Chrome.
I made a test case that uses the selenium-webdriver package directly, and saw the same problem, so I filed a bug with Selenium: https://github.com/SeleniumHQ/selenium/issues/2136
| gharchive/issue | 2016-05-04T19:42:55 | 2025-04-01T04:33:25.178629 | {
"authors": [
"juliemr",
"plynchnlm"
],
"repo": "angular/protractor",
"url": "https://github.com/angular/protractor/issues/3200",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
194725529 | ElementArrayFinder does not support isPresent()
When refactoring page objects to use $$() instead of element(by()), I found that all my isPresent() calls blew up. It seems that ElementArrayFinder does not have isPresent(). This was hard to comprehend because I thought that EAFs and EFs were functionally interchangeable (and the api docs suggest so). EAFs seem to have all the same functions as EFs... except this one.
Kinda surprised I can't find any other examples of people running into this.
I suggest that EAF.isPresent be implemented, and it could just be something like function(){ return this.count>0; }
Node Version: 6.9.1
Protractor Version: 4.0.9
Angular Version: 1.5.5
Browser(s): chrome
Operating System and Version OSX 10.11.6
I'm sure someone has already thought of this, but element(by()) != $$(). Unless you meant element.all(by()) you're talking about two different types of selectors.
@pittgoose Yep, I sure was talking about two different types of selectors, which as I said otherwise largely have the same methods, applied appropriately to the different contexts. The use of the latter over the former wasn't up to me.
| gharchive/issue | 2016-12-09T23:54:46 | 2025-04-01T04:33:25.182421 | {
"authors": [
"keithdtyler",
"pittgoose"
],
"repo": "angular/protractor",
"url": "https://github.com/angular/protractor/issues/3812",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
538901373 | can I broadcast a Transaction to the Bitcoin network if I use this plugin
can I broadcast a Transaction to the Bitcoin network if I use this plugin
@YunhuiLiu140502, Unfortunately, this is not possible, this is an offline library that does not link the bitcoind node. If you wanna broadcast your raw hex transaction, you have to install your own bitcoind node, or using UI like https://www.blockstream.info/tx/push, or finding a third party service which providing public broadcast API like https://www.blockcypher.com/quickstart/. Just Sign Up and generate a secret token to call their API
if I have a bitcoind node,How do you use it in flutter.
@YunhuiLiu140502 , You can using https://pub.dev/packages/dio package to call sendrawtransaction JSON RPC API to your own node
@longhoangwkm Ok. Thank you for your answer. Thank you very much
| gharchive/issue | 2019-12-17T08:01:21 | 2025-04-01T04:33:25.214493 | {
"authors": [
"YunhuiLiu140502",
"longhoangwkm"
],
"repo": "anicdh/bitcoin_flutter",
"url": "https://github.com/anicdh/bitcoin_flutter/issues/20",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1958538882 | Agregar mas servidores
Source name
Pelisplushd 13.44
Source language
Español
Describe your suggested feature
La extension podria mejorar si tuviera mas recursos para ver los videos.
Por favor podrian agregar los siguientes servidores:
Filelions, streamwish para pelisplusph.
Netu, streamwish, filemoon para pelisplushd.
Doostream, netu para pelisplusto.
Other details
No response
Acknowledgements
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.13.5.
[X] I will fill out all of the requested information in this form.
@Latinlee This bug has been fixed in the latest update. (En la última actualización se ha solucionado este error.)
| gharchive/issue | 2023-10-24T05:17:03 | 2025-04-01T04:33:25.237650 | {
"authors": [
"Latinlee",
"imper1aldev"
],
"repo": "aniyomiorg/aniyomi-extensions",
"url": "https://github.com/aniyomiorg/aniyomi-extensions/issues/2407",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
424820303 | Remove element from data and load next elements when there are more
Hi
I'm trying to remove element from data which is shown in infinite scroll, but when i'm just removing the elements it's not showing then but InfiniteScroll components doesn't know that and it's not loading next, but it's calling hasNext method, is there any workaround to this?
I figured it out, my workaround for this is to manually increment and decrement scrollTop property on scrollableTarget element after removing an element, so I'm closing this issue.
| gharchive/issue | 2019-03-25T10:17:07 | 2025-04-01T04:33:25.250488 | {
"authors": [
"szymonprz"
],
"repo": "ankeetmaini/react-infinite-scroll-component",
"url": "https://github.com/ankeetmaini/react-infinite-scroll-component/issues/101",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1868589036 | 🛑 SQCP is down
In bb76919, SQCP (https://sqcp.mikrotik24.duckdns.org) was down:
HTTP code: 0
Response time: 0 ms
Resolved: SQCP is back up in 7e24f2b after 231 days, 23 hours, 26 minutes.
| gharchive/issue | 2023-08-27T18:30:48 | 2025-04-01T04:33:25.306496 | {
"authors": [
"anklav24"
],
"repo": "anklav24/upptime",
"url": "https://github.com/anklav24/upptime/issues/580",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1466015061 | CML PR for exp-cloud-1 913220a5
Automated commits for https://github.com/ankxyz/OpenBot/commit/913220a53b22950e23a736452de979b0db6e9f39 created by CML.
ff0dfe4
Experiment Details
User:
Metrics
Experiment metrics
Path
anchor_t
box
cls
cls_pw
copy_paste
degrees
fl_gamma
fliplr
flipud
hsv_h
hsv_s
hsv_v
iou_t
lr0
lrf
mixup
momentum
mosaic
obj
obj_pw
perspective
scale
shear
translate
warmup_bias_lr
warmup_epochs
warmup_momentum
weight_decay
runs/train/exp/results.csv
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
runs/train/exp/hyp.yaml
4.0
0.05
0.5
1.0
0.0
0.0
0.0
0.5
0.0
0.015
0.7
0.4
0.2
0.01
0.01
0.0
0.937
1.0
1.0
1.0
0.0
0.5
0.0
0.1
0.1
3.0
0.8
0.0005
Metrics Diffs
Path
Metric
HEAD
workspace
Change
runs/train/exp/hyp.yaml
anchor_t
4.0
4.0
0.0
runs/train/exp/hyp.yaml
box
0.05
0.05
0.0
runs/train/exp/hyp.yaml
cls
0.5
0.5
0.0
runs/train/exp/hyp.yaml
cls_pw
1.0
1.0
0.0
runs/train/exp/hyp.yaml
copy_paste
0.0
0.0
0.0
runs/train/exp/hyp.yaml
degrees
0.0
0.0
0.0
runs/train/exp/hyp.yaml
fl_gamma
0.0
0.0
0.0
runs/train/exp/hyp.yaml
fliplr
0.5
0.5
0.0
runs/train/exp/hyp.yaml
flipud
0.0
0.0
0.0
runs/train/exp/hyp.yaml
hsv_h
0.015
0.015
0.0
runs/train/exp/hyp.yaml
hsv_s
0.7
0.7
0.0
runs/train/exp/hyp.yaml
hsv_v
0.4
0.4
0.0
runs/train/exp/hyp.yaml
iou_t
0.2
0.2
0.0
runs/train/exp/hyp.yaml
lr0
0.01
0.01
0.0
runs/train/exp/hyp.yaml
lrf
0.01
0.01
0.0
runs/train/exp/hyp.yaml
mixup
0.0
0.0
0.0
runs/train/exp/hyp.yaml
momentum
0.937
0.937
0.0
runs/train/exp/hyp.yaml
mosaic
1.0
1.0
0.0
runs/train/exp/hyp.yaml
obj
1.0
1.0
0.0
runs/train/exp/hyp.yaml
obj_pw
1.0
1.0
0.0
runs/train/exp/hyp.yaml
perspective
0.0
0.0
0.0
runs/train/exp/hyp.yaml
scale
0.5
0.5
0.0
runs/train/exp/hyp.yaml
shear
0.0
0.0
0.0
runs/train/exp/hyp.yaml
translate
0.1
0.1
0.0
runs/train/exp/hyp.yaml
warmup_bias_lr
0.1
0.1
0.0
runs/train/exp/hyp.yaml
warmup_epochs
3.0
3.0
0.0
runs/train/exp/hyp.yaml
warmup_momentum
0.8
0.8
0.0
runs/train/exp/hyp.yaml
weight_decay
0.0005
0.0005
0.0
Train plots
confusion matrix
F1 curve
labels correlogram
labels
P curve
PR curve
R curve
Val plots
confusion matrix
F1 curve
P curve
PR curve
R curve
| gharchive/pull-request | 2022-11-28T08:32:46 | 2025-04-01T04:33:25.335895 | {
"authors": [
"ankxyz"
],
"repo": "ankxyz/OpenBot",
"url": "https://github.com/ankxyz/OpenBot/pull/4",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1823143061 | [ADDED]: Test File for Mentor Registration Form
Related Issue
Closes: #572
Description of Changes
Added the test file for Mentor Form registration
updated package.json
Checklist:
[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.
Screenshots
@anmode can you review the PR.
@anmode
| gharchive/pull-request | 2023-07-26T20:52:26 | 2025-04-01T04:33:25.344534 | {
"authors": [
"Killer2OP"
],
"repo": "anmode/grabtern-frontend",
"url": "https://github.com/anmode/grabtern-frontend/pull/607",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1007681631 | Plot output not full
$ seq 1 200 | plot -c C -x 5:0:0:3:blue -y 10:3:3 -d 50:200 -b 0:250
Seems to give only first 128 values.
working good with changed FILE_INPUT_BUF
Hello. Yes, working good now. Thank you
Awesome, I've just bumped the version
| gharchive/issue | 2021-09-27T04:25:37 | 2025-04-01T04:33:25.347159 | {
"authors": [
"annacrombie",
"ysabantsev"
],
"repo": "annacrombie/plot",
"url": "https://github.com/annacrombie/plot/issues/24",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2541176223 | 🛑 Радуга-талантов.РФ is down
In 6e6f2e7, Радуга-талантов.РФ (https://радуга-талантов.рф) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Радуга-талантов.РФ is back up in 7ac4368 after 7 minutes.
| gharchive/issue | 2024-09-22T17:26:32 | 2025-04-01T04:33:25.357279 | {
"authors": [
"ano-pedproject"
],
"repo": "ano-pedproject/repo",
"url": "https://github.com/ano-pedproject/repo/issues/455",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1701500827 | Remove Default Subnet
In many cases we come across, the vnet has a different address space to the subnet default value.
We should remove the default subnet and either create no subnets (default to []) or require the entry of a subnet.
https://github.com/ans-coe/terraform-azurerm-virtual-network/blob/fddd2b0015788f838522c2ca60dc7661b3f92dca/variables.tf#L102
@ANS-TH @jk-ans - Invited to discuss
default = []
default = null
or
leave out default entirely (not reccomended)
Default to [], as this should eliminate any problems with regards to dealing with how the value is presented to the azurerm_subnet resource. If we were to use null, we'd have to use a little extra needless logic to handle that, whereas an empty list would just create the VNet and put the rest of it in the hands of the user.
Was thinking about setting the default as the first /24 in a given var.address_space
cidrsubnet(var.address_space, 24-split("/", var.address_space)[1])
Spoke to @djackson-ans and went with [] instead
| gharchive/issue | 2023-05-09T07:18:47 | 2025-04-01T04:33:25.427402 | {
"authors": [
"djackson-ans",
"jk-ans",
"tb-ans"
],
"repo": "ans-coe/terraform-azurerm-virtual-network",
"url": "https://github.com/ans-coe/terraform-azurerm-virtual-network/issues/2",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
194339276 | Unable to set cursor
Currently it is not possible to set cursor to "default" without forced CSS or changing the code
Hi @genius257, thank you for the comment.
Use !important to override cursor property.
yes, but what about individual cursor properties?
Since current version of plainOverlay doesn't support cursor option that works like zIndex option, you have to access to the overlay element via internal object.
$element.data('plainOverlay').jqOverlay.css('cursor', 'default') // jqOverlay is overlay element
Note that the jqOverlay doesn't contain a progress-element. If you use builtin progress-element (i.e. you didn't specify the progress option) and you want to access the individual progress-element, use jqProgress.
$element.data('plainOverlay').jqProgress.css('cursor', 'default')
Perfect! Many thanks
😄
| gharchive/issue | 2016-12-08T13:44:37 | 2025-04-01T04:33:25.431183 | {
"authors": [
"anseki",
"genius257"
],
"repo": "anseki/jquery-plainoverlay",
"url": "https://github.com/anseki/jquery-plainoverlay/issues/8",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2153480743 | Entrant des données - Etude de la dernière version
Description du problème
Nouvelle version du dictionnaire de données transmise le 06/10/2023 par la CNSA.
20231006_TDO_Annexe informations détaillées_VF.xlsx
Etudier les éventuelles différences entre cette version et celle à disposition au moment de la rédaction des spécifications fonctionnelles pour évaluer si des évolutions sont à prévoir sur la modélisation des données administratives
20230315_ANAP_CR GT Mixtes_11042022.xlsx
Concernant les données administratives
Ce qui a été ajouté dans 20231006_TDO_Annexe informations détaillées_VF.xlsx en rouge dans les attributs
20231006_TDO_Annexe.informations.detaillees_VF.xlsx
Ce qui a été retiré de 20230315_ANAP_CR GT Mixtes_11042022.xlsx en rouge dans les attributs
20230315_ANAP_CR.GT.Mixtes_11042022.xlsx
A confirmer, mais je ne vois que la notion de "domicile de référence" à intégrer, sous réserve d'obtenir la définition et l'utilisation de cette donnée. La relation du point de contact est déjà intégrée dans la modélisation.
Quant aux données supprimées, elles me semblent toutes déjà absentes de la modélisation.
| gharchive/issue | 2024-02-26T07:51:22 | 2025-04-01T04:33:25.435432 | {
"authors": [
"SEBELIN",
"jguihot"
],
"repo": "ansforge/IG-fhir-medicosocial-transfert-donnees-dui",
"url": "https://github.com/ansforge/IG-fhir-medicosocial-transfert-donnees-dui/issues/73",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
878721976 | Schema verification of inline !vault results in "unknown tag"
Issue: !vault | results in unknown tag
Encrypting individual variables in an inventory results in schema errors. Relevant docs for ansible vault:
https://docs.ansible.com/ansible/latest/user_guide/vault.html#encrypting-individual-variables-with-ansible-vault
Here's an anonymized snippet from my ansible inventory:
snmp:
addresses:
- "10.44.16.10"
rocommunity: !vault |
$ANSIBLE_VAULT;1.1;AES256
31353063366434366235343939393130626666383561336638613963633636393962656231646536
3237316430363038303632383464653432336534666336340a333262653237396137623564343630
38656561323031356265653964653238633636393832643062356338666538303431333337653033
3836666439393132300a383633376465366130356237633439323639353335383338333465343935
33663861333232663865316237656138373133393461333733313639383733391234
And screenshot from VS Code ansible extension showing issue (https://github.com/ansible-community/vscode-ansible):
I just found a comment in the schema README that actions can't be validated. I'm assuming this qualifies? Would there be a way to ignore them then so they're not flagged?
| gharchive/issue | 2021-05-07T10:13:39 | 2025-04-01T04:33:25.527583 | {
"authors": [
"petercrocker"
],
"repo": "ansible-community/schemas",
"url": "https://github.com/ansible-community/schemas/issues/44",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
423667934 | Update .github templates to point to mailing list for usage questions
We have https://groups.google.com/forum/#!forum/molecule-users.
I think a number of questions could be better asked on the mailing list. We have a lot to take care of here wrt. to developing and maintaining the project without such usage questions creating noise for whoever wants to contribute.
Shall we update the issue template to point the mailing list and start to close out issues that are considered 'question' and usage etc. This may be contentious, so I am just creating a space here for discussion and will bring up in the following WG.
OK, I've got https://github.com/ansible/molecule/pull/1866 out for this :+1:
| gharchive/issue | 2019-03-21T10:45:56 | 2025-04-01T04:33:25.818820 | {
"authors": [
"decentral1se"
],
"repo": "ansible/molecule",
"url": "https://github.com/ansible/molecule/issues/1858",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
442390305 | Add yamllint to install_requires
This is required in the run time and is suddenly not present when installing the package as can be seen in the report from https://github.com/ansible/molecule/issues/2012. We now include this in our install_require list and manage the bounds directly to ensure we have a working default linter.
See https://github.com/ansible/molecule/issues/2012 for more! Critical bug ...
WDYT @webknjaz?
CI failure unrelated. Please see #2042.
| gharchive/pull-request | 2019-05-09T19:14:49 | 2025-04-01T04:33:25.821332 | {
"authors": [
"decentral1se"
],
"repo": "ansible/molecule",
"url": "https://github.com/ansible/molecule/pull/2033",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
245950563 | Length validator doesn't type check.
The docs clearly state that the length validator checks the length of strings. Most validators check the type of the parameters before validating them but I have a feeling that you've forgotten to do so in the length validator.
I passed in an array which pass the length constraints and it passed the validation successfully despite being an array.
From the docs:
Any object with the length property can be validated but all the default error messages refers to strings so make sure you override them if you plan on validating arrays using this.
| gharchive/issue | 2017-07-27T07:32:12 | 2025-04-01T04:33:25.829774 | {
"authors": [
"abhirathmahipal",
"ansman"
],
"repo": "ansman/validate.js",
"url": "https://github.com/ansman/validate.js/issues/220",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2248935572 | doc-build@v6: pyproject.toml repositories need use-python-cache: false
🔍 Before submitting the issue
[X] I have searched among the existing issues
[X] I am using a Python virtual environment
🐞 Description of the bug
With doc-build@v6 repositories containing pyproject.toml need to add use-python-cache: false as workaround, otherwise the action fails:
Run ansys/actions/doc-build@v6
Run ansys/actions/_setup-python@v6
Run actions/setup-python@v5
Installed versions
Successfully set up CPython (3.10.14)
Error: No file in /home/runner/work/*** matched to [pyproject.toml or **/pyproject.toml], make sure you have checked out the target repository
(***: internal repository)
Note: this is probably due to:
setting up python before checking out the repository in https://github.com/ansys/actions/blob/v6/doc-build/action.yml - name: "Set up Python"
uses: ansys/actions/_setup-python@v6
with:
python-version: ${{ inputs.python-version }}
use-cache: ${{ inputs.use-python-cache }}
- name: "Install Git and clone project"
uses: actions/checkout@v4
if: ${{ inputs.checkout == 'true' }}
cache-dependency-path: 'pyproject.toml in:
https://github.com/ansys/actions/blob/main/_setup-python/action.yml
- name: "Set up Python using cache"
uses: actions/setup-python@v5
if: inputs.use-cache == 'true'
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: "Set up Python without using cache"
uses: actions/setup-python@v5
if: inputs.use-cache == 'false'
with:
python-version: ${{ inputs.python-version }}
📝 Steps to reproduce
Configure ansys/actions/doc-build@v6 as follows:
- uses: ansys/actions/doc-build@v6
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: true
(or without use-python-cache: true as use-python-cache defaults to false)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
242
🐍 Which Python version are you using?
3.10
📦 Installed packages
accessible-pygments==0.0.4
alabaster==0.7.16
annotated-types==0.6.0
*** (internal repository)
ansys-sphinx-theme==0.15.2
autoflake==2.3.1
Babel==2.14.0
backports.tarfile==1.0.0
beautifulsoup4==4.12.3
build==1.2.1
CacheControl==0.14.0
cachetools==5.3.3
certifi==2024.2.2
chardet==5.2.0
charset-normalizer==3.3.2
cleo==2.1.0
click==8.1.7
click-option-group==0.5.6
colorama==0.4.6
coverage==7.4.4
crashtest==0.4.1
distlib==0.3.8
docutils==0.20.1
dotty-dict==1.3.1
dulwich==0.21.7
exceptiongroup==1.2.0
fastjsonschema==2.19.1
filelock==3.13.4
gitdb==4.0.11
GitPython==3.1.43
idna==3.7
imagesize==1.4.1
importlib_metadata==7.1.0
importlib_resources==6.4.0
iniconfig==2.0.0
installer==0.7.0
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.0
Jinja2==3.1.3
keyring==25.1.0
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
more-itertools==10.2.0
msgpack==1.0.8
nh3==0.2.17
numpydoc==1.7.0
packaging==24.0
pexpect==4.9.0
pkginfo==1.10.0
platformdirs==4.2.0
pluggy==1.4.0
poetry==1.8.2
poetry-core==1.9.0
poetry-plugin-export==1.7.1
ptyprocess==0.7.0
pydantic==2.7.0
pydantic_core==2.18.1
pydata-sphinx-theme==0.14.4
pyflakes==3.2.0
Pygments==2.17.2
pyproject-api==1.6.1
pyproject_hooks==1.0.0
pytest==8.1.1
pytest-cov==5.0.0
python-gitlab==4.4.0
python-semantic-release==9.4.2
pytz==2024.1
pywin32-ctypes==0.2.2
rapidfuzz==3.8.1
readme_renderer==43.0
requests==2.31.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.7.1
shellingham==1.5.4
smmap==5.0.1
snowballstemmer==2.2.0
soupsieve==2.5
Sphinx==7.2.6
sphinx-copybutton==0.5.2
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
tabulate==0.9.0
tomli==2.0.1
tomlkit==0.12.4
tox==4.14.2
trove-classifiers==2024.4.10
twine==5.0.0
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
virtualenv==20.25.1
zipp==3.18.1
Hi @anscfrisson - I'm curious. We have many repos working with this cache mechanism and using pyproject.toml. None of them had to adapt to use-python-cache: false Let me sync offline with you to see the problems you are having on your repo
So you were right. This was completely our bad. Sorry for this @anscfrisson - we are in the process of doing a new patch release right away!
Patch release v6.0.4 is out :) also updated tags for v6 and v6.0
Give it a try and let me know if it still fails on your side. v6 should work like a charm now :)
@RobPasMue I can confirm that updates from ansys-actions v5 to v6 now work without requiring use-python-cache: false.
| gharchive/issue | 2024-04-17T18:15:16 | 2025-04-01T04:33:25.838220 | {
"authors": [
"RobPasMue",
"anscfrisson"
],
"repo": "ansys/actions",
"url": "https://github.com/ansys/actions/issues/461",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2379992142 | ci: Using a dynamically generated matrix for testing job setup
Description
The matrix for unit testing is getting very complicated.
I am going to off-load it to a shell file.
Issue linked
NA
Checklist
[ ] I have visited and read Develop PyMAPDL.
[ ] I have tested my changes locally
[ ] I have added necessary documentation or updated existing documentation.
[ ] I have followed the PyMAPDL coding style guidelines.
[ ] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[ ] I have reviewed my changes before submitting this pull request.
[ ] I have linked the issue or issues that are solved to the PR if any.
[ ] I have assigned this PR to myself.
[ ] I have marked this PR as draft if it is not ready to be reviewed yet.
[ ] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)
References:
https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script
https://github.com/marketplace/actions/is-organization-member
| gharchive/pull-request | 2024-06-28T09:26:04 | 2025-04-01T04:33:25.845231 | {
"authors": [
"germa89"
],
"repo": "ansys/pymapdl",
"url": "https://github.com/ansys/pymapdl/pull/3232",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2191137422 | WalletConnect's text error
WalletConnect 并不是一个 App,是一种协议,文案不对。
可以结合 https://github.com/ant-design/ant-design-web3/issues/614#issue-2172826054 这里的想法:
协议的情况做下单独的处理。
这个是不是已经处理过了
嗯 对的
| gharchive/issue | 2024-03-18T03:13:07 | 2025-04-01T04:33:25.867601 | {
"authors": [
"LCJove",
"yutingzhao1991"
],
"repo": "ant-design/ant-design-web3",
"url": "https://github.com/ant-design/ant-design-web3/issues/652",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1590168999 | Disable hotkeys when a chatbox is open
Currently hotkeys still work when using a chatbox, including bank search.
It's pretty annoying having plugin configuration change when trying to search or chat.
Disabling the keybind listener based on every possible input field is nearly impossible. Prefer to use keybinds that you don't type when chatting e.g. ctr+1...
| gharchive/issue | 2023-02-18T02:22:27 | 2025-04-01T04:33:25.980827 | {
"authors": [
"antero111",
"dampfhub"
],
"repo": "antero111/plugin-presets",
"url": "https://github.com/antero111/plugin-presets/issues/56",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1890734393 | FOUC (Flash of Unstyled Content ) when using vite-ssg + tailwind
Describe the bug
When building my project using vite-ssg + tailwind, we consistently get FOUC on every load.
I have checked whether the same FOUC issue exists with the vanilla vitesse boilerplate, with the default code, and it does.
git clone git@github.com:antfu/vitesse.git \
&& cd vitesse \
&& pnpm i \
&& pnpm build:ssg \
&& pnpm preview
NOTE: Our base project is based on vitesse. We removed unocss and added tailwind.
Reproduction
https://github.com/antfu/vitesse
System Info
❯ npx envinfo --system --binaries --browsers
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M1 Max
Memory: 933.11 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
Browsers:
Chrome: 116.0.5845.179
Edge: 113.0.1774.57
Firefox: 117.0
Safari: 16.5.2
### Used Package Manager
pnpm
### Validations
- [X] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guide](https://github.com/antfu/contribute).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
We're having the same problem, vite/vite-ssg seems to be unable to extract any css that is within .vue files, it only renders the html without any css causing big layout shifts.
The vitesse demo page masks it quite well because its a small app/bundle to be loaded and has service workers to cache assets which prevents this issue on repeated visits, but with any bigger sized app that flicker is quite noticable as no css for any of the rendered components is applied at all, unless its coming from a global stylesheet.
I would suggest using Nuxt or VitePress; otherwise, I would say this might be a problem you need to figure out on your own (or PR welcome!).
If it's not a problem with UnoCSS but with Tailwind, then it's cold because of TW or some integrations to it - either way, I don't use TW, so you could imagine I won't have the incentive to look into it.
I could keep this issue open if anyone wants to provide more context or even work on it. But I wouldn't have high expectations of it getting solved any sooner.
I was testing it out in my own repo, its not an unocss or tailwind specific issue, I was using neither, and just had a random helloworld component, and opening the ssg rendered page with either js disabled, or after commenting out the script to hydrate the page
Any css within the vue component was not being loaded, however if I move the css from the vue component and load it as global css/.scss file it works normally, its almost like all css has to be global for it to work
| gharchive/issue | 2023-09-11T15:11:53 | 2025-04-01T04:33:25.985768 | {
"authors": [
"antfu",
"armenr",
"khaledosman"
],
"repo": "antfu-collective/vite-ssg",
"url": "https://github.com/antfu-collective/vite-ssg/issues/372",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1333708048 | Building vue3 project with vuelidate import error
Describe the bug
Hi,
I am sorry if this is not a bug in vite-ssg but im finding it very hard to know whats causing this issue. If you could point me in the right direction I would appreciate it 😃 .
I am using the following packages:
"vite-ssg": "^0.20.2",
"@vuelidate/core": "^2.0.0-alpha.43",
"@vuelidate/validators": "^2.0.0-alpha.31",
In a test.vue file I then import useVuelidate from "@vuelidate/core";.
Package.json contains: "type": "module",
When i try to build the project using: vue-tsc --noEmit && vite-ssg build
I get the following error:
.vite-ssg-temp/assets/style.9e50c03e.css 70.19 KiB
(node:47652) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[vite-ssg] An internal error occurred.
[vite-ssg] Please report an issue, if none already exists: https://github.com/antfu/vite-ssg/issues
(node:47652) UnhandledPromiseRejectionWarning: C:\...\node_modules\@vuelidate\core\dist\index.esm.js:1
import { isReactive, isReadonly, computed, unref, ref, watch, reactive, isRef, nextTick, inject, provide, getCurrentInstance, onBeforeMount, onBeforeUnmount } from 'vue-demi';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:199:29)
at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
at async Loader.import (internal/modules/esm/loader.js:178:24)
at async build (file:///C:/.../node_modules/vite-ssg/dist/chunks/build.mjs:171:87)
at async Object.handler (file:///C:/.../node_modules/vite-ssg/dist/node/cli.mjs:20:3)
(node:47652) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:47652) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:47652) UnhandledPromiseRejectionWarning: C:\...\node_modules\@vuelidate\core\dist\index.esm.js:1
import { isReactive, isReadonly, computed, unref, ref, watch, reactive, isRef, nextTick, inject, provide, getCurrentInstance, onBeforeMount, onBeforeUnmount } from 'vue-demi';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:199:29)
at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
at async Loader.import (internal/modules/esm/loader.js:178:24)
at async build (file:///C:/.../node_modules/vite-ssg/dist/chunks/build.mjs:171:87)
at async Object.handler (file:///C:/.../node_modules/vite-ssg/dist/node/cli.mjs:20:3)
(node:47652) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
Note that if i set the ssgOptions format to cjs it seems to work however I dont understand why when package.json is set to "type": "module".
ssgOptions: {
script: "async",
format: "cjs",
onFinished() {
generateSitemap();
},
},
Reproduction
Try using vuelidate with vite-ssg
System Info
System:
OS: Windows 10 10.0.19044
CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.68 GB / 31.92 GB
Binaries:
Node: 14.20.0 - C:\Program Files\nodejs\node.EXE
npm: 8.5.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (103.0.1264.77)
Internet Explorer: 11.0.19041.1566
Used Package Manager
npm
Validations
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.
Note that after adding format: "cjs", I am running into another error but on CI:
failed to load config from /root/project/.../vite.config.ts
error when starting dev server:
/root/project/.../node_modules/vite-plugin-windicss/dist/index.js:239
].join("\n").replace("__POST_PATH__", (((_a = config.server) == null ? void 0 : _a.origin) ?? "") + POST_PATH);
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/root/project/participant/vite.config.ts:31:43)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.require.extensions.<computed> [as .ts] (/root/project/participant/node_modules/vite/dist/node/chunks/dep-689425f3.js:62006:20)
npm ERR! code ELIFECYCLE
Ran into the similar issue while using npm, even without modification to any file directly after clone and "npm i" the build fails. Need to investigate the compatibility issue. Pointers are welcomed!
I have a similar issue which might be related. I am unable to build the app.
I have a fairly standard vitesse setup with dependencies up to date. In my case I am using an internal web component library which I tried both via CDN and pnpm install. I know it is SSG related because the same library builds fine on an out of the box npm init vue@latest setup
Here's my log:
[vite-ssg] Build for client...
vite v3.0.9 building for production...
✓ 440 modules transformed.
(node:14253) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
rendering chunks (62)...[vite:esbuild-transpile] Transform failed with 1 error:
assets/app.61dd79f9.js:18326:2: ERROR: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)
Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)
18324|
18325| if ({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}.VITE_MSW_ENABLED === "true")
18326| await __vitePreload(() => import('./browser.9a68372b.js'),true?"__VITE_PRELOAD__":void 0);
| ^
18327| const routes = setupLayouts(routes$1);
18328| ViteSSG(_sfc_main, { routes, base: "/" }, (ctx) => {
PWA v0.12.4
mode generateSW
precache 6 entries (7.94 KiB)
files generated
dist/sw.js
dist/workbox-f51ab5e4.js
[vite-ssg] An internal error occurred.
[vite-ssg] Please report an issue, if none already exists: https://github.com/antfu/vite-ssg/issues
/usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:1605
let error = new Error(`${text}${summary}`);
^
Error: Transform failed with 1 error:
assets/app.61dd79f9.js:18326:2: ERROR: Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)
at failureErrorWithLog (/usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:1605:15)
at /usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:1394:29
at /usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:666:9
at handleIncomingPacket (/usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:763:9)
at Socket.readFromStdout (/usr/local/apple/okapi-admin-app-next/node_modules/.pnpm/esbuild@0.14.48/node_modules/esbuild/lib/main.js:632:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) {
errors: [
{
detail: undefined,
id: '',
location: {
column: 2,
file: 'assets/app.61dd79f9.js',
length: 5,
line: 18326,
lineText: ` await __vitePreload(() => import('./browser.9a68372b.js'),true?"__VITE_PRELOAD__":void 0);`,
namespace: '',
suggestion: ''
},
notes: [],
pluginName: '',
text: 'Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)'
}
],
warnings: [],
frame: '\n' +
'\x1B[33mTop-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)\x1B[39m\n' +
'18324| \n' +
'18325| if ({"BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}.VITE_MSW_ENABLED === "true")\n' +
`18326| await __vitePreload(() => import('./browser.9a68372b.js'),true?"__VITE_PRELOAD__":void 0);\n` +
' | ^\n' +
'18327| const routes = setupLayouts(routes$1);\n' +
'18328| ViteSSG(_sfc_main, { routes, base: "/" }, (ctx) => {\n',
loc: {
column: 2,
file: 'assets/app.61dd79f9.js',
length: 5,
line: 18326,
lineText: ` await __vitePreload(() => import('./browser.9a68372b.js'),true?"__VITE_PRELOAD__":void 0);`,
namespace: '',
suggestion: ''
},
code: 'PLUGIN_ERROR',
plugin: 'vite:esbuild-transpile',
hook: 'renderChunk'
}
Node.js v18.7.0
Same error, I think it cause by vite@3.
Confirmed this breaks with latest version of vite@3.1.0
Interestingly when I add type: "module" to package.json it works.
@amir20 can you tell me where you added type: "module" , to which package.json ?
@dobromir-hristov See my change https://github.com/amir20/amir20.github.io/commit/834b7a86ee2417c53d2b7cb8f2161ba4ff0c2f69#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R5
I added it to my own package.json file. I also saw the error which suggested the same thing.
Needs reproduction.
| gharchive/issue | 2022-08-09T19:43:23 | 2025-04-01T04:33:25.998870 | {
"authors": [
"Codermar",
"amir20",
"dobromir-hristov",
"emhamzahazeen",
"joeyhuang0235",
"odex21",
"rezelute"
],
"repo": "antfu/vite-ssg",
"url": "https://github.com/antfu/vite-ssg/issues/280",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
982516103 | TraceFlow not showing on Octant 0.23.0
Describe the bug
Traceflow not showing in Octant 0.23.0 UI
plugin is working and showing controller and agent info. I tested with multiple platforms (Kind & EKS)
To Reproduce
easiest way to reproduce is to deploy latest kind with Antrea using ./ci/kind/kind-setup.sh create CLUSTER_NAME
and then run Octant with Antrea Plugin.
Expected
when pressing TraceFlow. I should see the form to fill Traceflow info.
Actual behavior
When I press TraceFlow, it shows a loading screen
Versions:
Antrea 1.3
Antrea Plugin 1.2.2
Octant 0.23.0
K8s 1.21.1
I think that may be expected. There is an open issue to support more recent Octant versions: https://github.com/antrea-io/antrea/issues/2315, and the issue mentions that there was a breaking API change.
@mengdie-song feel free to close this one if this is a duplicate
| gharchive/issue | 2021-08-30T08:11:57 | 2025-04-01T04:33:26.056825 | {
"authors": [
"aidrees",
"antoninbas"
],
"repo": "antrea-io/antrea",
"url": "https://github.com/antrea-io/antrea/issues/2676",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2284440316 | Minor fix to start_ovs script when bridging mode is enabled
The SLEEP_PID variable (used to store the PID of the sleep process started by the "main" loop) was being overwritten in the signal handler. The 1-second sleep which runs in the signal handler and wait for uplink port deletion (when bridging mode is enabled) does not need to run in the background.
/test-flexible-ipam-e2e
jenkins-flexible-ipam-e2e is failing because of known issue: https://github.com/antrea-io/antrea/issues/6237
/skip-all
| gharchive/pull-request | 2024-05-08T00:24:20 | 2025-04-01T04:33:26.058763 | {
"authors": [
"antoninbas"
],
"repo": "antrea-io/antrea",
"url": "https://github.com/antrea-io/antrea/pull/6305",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
348436612 | Missing TypeScript declarations
The project is missing up-to-date TypeScript declarations for the cleanup, debounceRenderingOff, and flushPromises functions as well as all the dependencies inherited from dom-testing-library (like fireEvent and so forth).
@goblindegook Yes, I need to work on updating the library and move to dom-testing-library etc. Not getting enough time.
Resolved by #6.
Thanks @goblindegook . Please add yourself in contributors list.
| gharchive/issue | 2018-08-07T18:28:27 | 2025-04-01T04:33:26.060655 | {
"authors": [
"antsmartian",
"goblindegook"
],
"repo": "antsmartian/preact-testing-library",
"url": "https://github.com/antsmartian/preact-testing-library/issues/5",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1384962130 | Client.operationId generates GET instead of POST request
I have a nasty bug using openapi-client-axios in react-openapi-axios:
const { api } = useContext(OpenAPIContext)
const { data, error, loading, response } = useOperation('getUsers') // works as expected
return (
<>
{!done && <Form
heading="Create New User"
ready={!!password && !!name && !done}
ok={() => {
api.getClient().then(client => {
console.log('CREATE-USER', { client })
// the following line works as expected
client.paths['/user'].post(null, { id: name, key: password })
// the following line creates a GET request instead of a POST request
//client.createUser(null, { id: name, key: password })
})
}}
>
The relevant part of the API-JSON (full file attached in api-json.log):
"paths": {
"/user": {
"post": {
"operationId": "createUser",
"summary": "",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateUserDto"
}
}
}
},
"responses": {
"201": {
"description": ""
}
},
"tags": [
"user"
]
},
The API is generated in NestJS by the controller specification:
@Controller('user')
@ApiTags('user')
export class UserController {
constructor(private readonly userService: UserService) { }
@Post()
@ApiOperation({operationId: 'createUser'})
async create(@Body() createUserDto: CreateUserDto): Promise<void> {
await this.userService.create(createUserDto)
}
@Get()
@ApiOperation({operationId: 'getUsers'})
async findAll() {
return await this.userService.findAll()
}
@Get(':id')
@ApiOperation({operationId: 'createUser'})
async findOne(@Param('id') id: string) {
return await this.userService.findOne(id)
}
@Patch(':id')
@ApiOperation({operationId: 'updateUser'})
async update(@Param('id') id: string, @Body() updateUserDto: UpdateUserDto) {
return await this.userService.update(id, updateUserDto)
}
@Delete(':id')
@ApiOperation({operationId: 'deleteUser'})
async remove(@Param('id') id: string) {
return await this.userService.remove(id)
}
}
Calling client.createUser(null, { id: name, key: password }) generates a GET request with parameter undefined instead of a POST request:
Calling client.paths['/user'].post(null, { id: name, key: password }) works as expected.
(full file attached in api-json.log):
Hi @mwaeckerlin. Looks like the createUser operation is duplicated in the openapi definition you linked
| gharchive/issue | 2022-09-25T09:42:54 | 2025-04-01T04:33:26.065258 | {
"authors": [
"anttiviljami",
"mwaeckerlin"
],
"repo": "anttiviljami/openapi-client-axios",
"url": "https://github.com/anttiviljami/openapi-client-axios/issues/129",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.