text:
problem with gtf file

Hi @zhxiaokang
It seems I am having a problem with the BAM step in my workflow.
I get the following output
`[Wed Jan  6 23:51:27 2021]
rule featureCount:
input: data/output/pva027/genome/bamFileSort/20-0357.sort.bam, data/example/ref/annotation/027-annot.gff
output: output-pva/pva027/genome/countFile/20-0357_count.tsv, output-pva/pva027/genome/countFile/20-0357_count.tsv.summary
jobid: 2
wildcards: sample=20-0357
Job counts:
count	jobs
1	featureCount
1
    ==========     _____ _    _ ____  _____  ______          _____
    =====         / ____| |  | |  _ \|  __ \|  ____|   /\   |  __ \
      =====      | (___ | |  | | |_) | |__) | |__     /  \  | |  | |
        ====      \___ \| |  | |  _ <|  _  /|  __|   / /\ \ | |  | |
          ====    ____) | |__| | |_) | | \ \| |____ / ____ \| |__| |
    ==========   |_____/ \____/|____/|_|  \_\______/_/    \_\_____/
  v1.6.4

//========================== featureCounts setting ===========================\
||                                                                            ||
||             Input files : 1 BAM file                                       ||
||                           P 20-0357.sort.bam                               ||
||                                                                            ||
||             Output file : 20-0357_count.tsv                                ||
||                 Summary : 20-0357_count.tsv.summary                        ||
||              Annotation : 027-annot.gff (GTF)                              ||
||      Dir for temp files : output-pva/pva027/genome/countFile               ||
||                                                                            ||
||                 Threads : 8                                                ||
||                   Level : meta-feature level                               ||
||              Paired-end : yes                                              ||
||      Multimapping reads : not counted                                      ||
|| Multi-overlapping reads : not counted                                      ||
||   Min overlapping bases : 1                                                ||
||                                                                            ||
||          Chimeric reads : counted                                          ||
||        Both ends mapped : not required                                     ||
||                                                                            ||
\============================================================================//
//================================= Running ==================================\
||                                                                            ||
|| Load annotation file 027-annot.gff ...                                     ||
ERROR: no features were loaded in format GTF. The annotation format can be specified by the '-F' option, and the required feature type can be specified by the '-t' option..
The porgram has to terminate.
[Wed Jan  6 23:51:28 2021]
Error in rule featureCount:
jobid: 0
output: output-pva/pva027/genome/countFile/20-0357_count.tsv, output-pva/pva027/genome/countFile/20-0357_count.tsv.summary
RuleException:
CalledProcessError in line 109 of /home/sam/Downloads/RASflow/workflow/align_count_genome.rules:
Command ' set -euo pipefail;  featureCounts -p -T 8 -t exon -g ID -a data/example/ref/annotation/027-annot.gff -o output-pva/pva027/genome/countFile/20-0357_count.tsv data/output/pva027/genome/bamFileSort/20-0357.sort.bam && tail -n +3 output-pva/pva027/genome/countFile/20-0357_count.tsv | cut -f1,7 > temp.20-0357 && mv temp.20-0357 output-pva/pva027/genome/countFile/20-0357_count.tsv ' returned non-zero exit status 255.
File "/home/sam/Downloads/RASflow/workflow/align_count_genome.rules", line 109, in __rule_featureCount
File "/home/sam/anaconda3/envs/rasflow/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Exiting because a job execution failed. Look above for error message
`
Do you have any idea how I could fix it?
Cheers,
Pablo

This is an error from featureCounts which seems not able to understand the GFF file you provided. Please check your GFF file and also the parameter "ATTRIBUTE" in config_main.yaml to make sure that they agree with each other.

This is an error from featureCounts which seems not able to understand the GFF file you provided. Please check your GFF file and also the parameter "ATTRIBUTE" in config_main.yaml to make sure that they agree with each other.

Hi @zhxiaokang,
I am providing a gff file directly from a Prokka output. Also, the ATTRIBUTE is set as "ID" instead of "gene_id". Nevertheless, I still get an error.
Maybe I should edit the gff file or convert it to some other file type?
Cheers,
Pablo

Hi @zhxiaokang,
I am providing a gff file directly from a Prokka output. Also, the ATTRIBUTE is set as "ID" instead of "gene_id". Nevertheless, I still get an error.
Maybe I should edit the gff file or convert it to some other file type?
Cheers,
Pablo

Not sure whether this is the issue, but the error says: no features were loaded in format GTF, but you're actually using a GFF. Maybe try to use a GTF file instead of GFF?
And do you mind sharing the GFF file you're using? At least show some lines that include the "ATTRIBUTE".

Not sure whether this is the issue, but the error says: no features were loaded in format GTF, but you're actually using a GFF. Maybe try to use a GTF file instead of GFF?
And do you mind sharing the GFF file you're using? At least show some lines that include the "ATTRIBUTE".

But Prokka doesn't provide gtf file. Also, gtf files are the old version of gff (gtf version 3, I think?)
I will share the file and the yaml line

But Prokka doesn't provide gtf file. Also, gtf files are the old version of gff (gtf version 3, I think?)
I will share the file and the yaml line

This is how the GFF files looks like (these are screenshots since I cannot upload a gff file here)

And this is the line of the config yaml file
# genome and annotation files
GENOME: data/example/ref/genome/027-annot.fna
ANNOTATION: data/example/ref/annotation/027-annot.gff
ATTRIBUTE: ID  # the attribute used in annotation file. It's usually "gene_id", but double check that since it may also be "gene", "ID"...

This is how the GFF files looks like (these are screenshots since I cannot upload a gff file here)

And this is the line of the config yaml file
# genome and annotation files
GENOME: data/example/ref/genome/027-annot.fna
ANNOTATION: data/example/ref/annotation/027-annot.gff
ATTRIBUTE: ID  # the attribute used in annotation file. It's usually "gene_id", but double check that since it may also be "gene", "ID"...

Hi, I'm sorry for the bad news but it seems that both featureCounts and htseq-count are designed for GTF format: https://help.galaxyproject.org/t/problems-with-attributes-in-featurecounts-gff3-input-instead-of-gtf/3046/2
As I tried out the example data on a GFF3 file with both tools, and they reported similar errors as what you got that they couldn't find the correct attribute. You may try to convert the GFF3 file into GTF file first. Here are some tools for the conversion: https://github.com/NBISweden/GAAS/blob/master/annotation/knowledge/gff_to_gtf.md
Hope this helps.

Hi, I'm sorry for the bad news but it seems that both featureCounts and htseq-count are designed for GTF format: https://help.galaxyproject.org/t/problems-with-attributes-in-featurecounts-gff3-input-instead-of-gtf/3046/2
As I tried out the example data on a GFF3 file with both tools, and they reported similar errors as what you got that they couldn't find the correct attribute. You may try to convert the GFF3 file into GTF file first. Here are some tools for the conversion: https://github.com/NBISweden/GAAS/blob/master/annotation/knowledge/gff_to_gtf.md
Hope this helps.

The GTF file looks good to me, at least the part in the screenshot. Could you share the whole file? I suspect that there are some issues somewhere in the file (not in the screenshot part).

The GTF file looks good to me, at least the part in the screenshot. Could you share the whole file? I suspect that there are some issues somewhere in the file (not in the screenshot part).

do you have an e-mail for sending the file? I cannot upload here on github.

do you have an e-mail for sending the file? I cannot upload here on github.

zhxiaokang@gmail.com

zhxiaokang@gmail.com

Hi, after testing with your GTF file, I found that featureCounts will throw this error when there are two fields with quotes in the "inference" part. In the ERROR message you posted above, there are "ab initio prediction:Prodigal:002006" and "similar to AA sequence:ISfinder:ISHaha5", and there are more such cases in your GTF file.
I'm trying to post this issue in their Google group but am still waiting to be admitted into the group.
For the time being, you may fix the issue by only cutting the gene_id part from the GTF file with such command:
cut -d';' -f1 027-annot.gtf > 027-annot_only_gene_id.gtf
And use 027-annot_only_gene_id.gtf instead. I have tested this strategy (only picking the gene_id part) on the example data in RASflow, it produced almost the same counts as using the original GTF file.

Hi, after testing with your GTF file, I found that featureCounts will throw this error when there are two fields with quotes in the "inference" part. In the ERROR message you posted above, there are "ab initio prediction:Prodigal:002006" and "similar to AA sequence:ISfinder:ISHaha5", and there are more such cases in your GTF file.
I'm trying to post this issue in their Google group but am still waiting to be admitted into the group.
For the time being, you may fix the issue by only cutting the gene_id part from the GTF file with such command:
cut -d';' -f1 027-annot.gtf > 027-annot_only_gene_id.gtf
And use 027-annot_only_gene_id.gtf instead. I have tested this strategy (only picking the gene_id part) on the example data in RASflow, it produced almost the same counts as using the original GTF file.

hi @zhxiaokang
Thank you for providing the command for fixing the GTF file. It worked perfectly!
However, there seems to be another error yet on the DEA visualization step
`Error in glmFit.default(y = y$counts, design = design, dispersion = dispersion,  :
dispersion must be numeric
Calls: DEA ... glmFit -> glmFit.DGEList -> glmFit -> glmFit.default
In addition: Warning message:
In estimateDisp.default(y = y$counts, design = design, group = group,  :
No residual df: setting dispersion to NA
Execution halted
[Wed Jan 20 09:27:00 2021]
Error in rule DEA:
jobid: 1
output: output-pva/pva027/genome/dea/countGroup/Untreated_gene_norm.tsv, output-pva/pva027/genome/dea/countGroup/Calcium_gene_norm.tsv, output-pva/pva027/genome/dea/DEA/dea_Untreated_Calcium.tsv, output-pva/pva027/genome/dea/DEA/deg_Untreated_Calcium.tsv
RuleException:
CalledProcessError in line 38 of /home/sam/Downloads/ilse/RASflow/workflow/dea_genome.rules:
Command ' set -euo pipefail;  Rscript scripts/dea_genome.R ' returned non-zero exit status 1.
File "/home/sam/Downloads/ilse/RASflow/workflow/dea_genome.rules", line 38, in __rule_DEA
File "/home/sam/anaconda3/envs/rasflow/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job DEA since they might be corrupted:
output-pva/pva027/genome/dea/countGroup/Untreated_gene_norm.tsv, output-pva/pva027/genome/dea/countGroup/Calcium_gene_norm.tsv
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/sam/Downloads/ilse/RASflow/.snakemake/log/2021-01-20T092655.885343.snakemake.log
DEA is done!
Start visualization of DEA results!
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 1
Rules claiming more threads will be scaled down.
Job counts:
count	jobs
1	end
1	plot
2
[Wed Jan 20 09:27:00 2021]
rule plot:
input: output-pva/pva027/genome/dea/countGroup, output-pva/pva027/genome/dea/DEA
output: output-pva/pva027/genome/dea/visualization/volcano_plot_Untreated_Calcium.pdf, output-pva/pva027/genome/dea/visualization/heatmap_Untreated_Calcium.pdf
jobid: 1
Loading required package: plotscale
hash-3.0.1 provided by Decision Patterns
Loading required package: GenomicFeatures
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colMeans,
colnames, colSums, dirname, do.call, duplicated, eval, evalq,
Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply,
lengths, Map, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, Position, rank, rbind, Reduce, rowMeans, rownames,
rowSums, sapply, setdiff, sort, table, tapply, union, unique,
unsplit, which, which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4
Attaching package: ‘S4Vectors’
The following objects are masked from ‘package:hash’:
values, values<-

The following object is masked from ‘package:base’:
expand.grid

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: AnnotationDbi
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.

Attaching package: ‘AnnotationDbi’
The following objects are masked from ‘package:hash’:
keys, keys<-

Loading required package: ggplot2
Loading required package: ggrepel
Error in file(file, "rt") : cannot open the connection
Calls: plot.volcano.heatmap -> read.table -> file
In addition: Warning message:
In file(file, "rt") :
cannot open file 'output-pva/pva027/genome/dea/DEA/dea_Untreated_Calcium.tsv': No such file or directory
Execution halted
[Wed Jan 20 09:27:06 2021]
Error in rule plot:
jobid: 1
output: output-pva/pva027/genome/dea/visualization/volcano_plot_Untreated_Calcium.pdf, output-pva/pva027/genome/dea/visualization/heatmap_Untreated_Calcium.pdf
RuleException:
CalledProcessError in line 53 of /home/sam/Downloads/ilse/RASflow/workflow/visualize.rules:
Command ' set -euo pipefail;  Rscript scripts/visualize.R output-pva/pva027/genome/dea/countGroup output-pva/pva027/genome/dea/DEA output-pva/pva027/genome/dea/visualization ' returned non-zero exit status 1.
File "/home/sam/Downloads/ilse/RASflow/workflow/visualize.rules", line 53, in __rule_plot
File "/home/sam/anaconda3/envs/rasflow/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/sam/Downloads/ilse/RASflow/.snakemake/log/2021-01-20T092700.946097.snakemake.log
Visualization is done!
RASflow is done!
`
could you direct me on what do to fix it?
Cheers,
Pablo

hi @zhxiaokang
Thank you for providing the command for fixing the GTF file. It worked perfectly!
However, there seems to be another error yet on the DEA visualization step
`Error in glmFit.default(y = y$counts, design = design, dispersion = dispersion,  :
dispersion must be numeric
Calls: DEA ... glmFit -> glmFit.DGEList -> glmFit -> glmFit.default
In addition: Warning message:
In estimateDisp.default(y = y$counts, design = design, group = group,  :
No residual df: setting dispersion to NA
Execution halted
[Wed Jan 20 09:27:00 2021]
Error in rule DEA:
jobid: 1
output: output-pva/pva027/genome/dea/countGroup/Untreated_gene_norm.tsv, output-pva/pva027/genome/dea/countGroup/Calcium_gene_norm.tsv, output-pva/pva027/genome/dea/DEA/dea_Untreated_Calcium.tsv, output-pva/pva027/genome/dea/DEA/deg_Untreated_Calcium.tsv
RuleException:
CalledProcessError in line 38 of /home/sam/Downloads/ilse/RASflow/workflow/dea_genome.rules:
Command ' set -euo pipefail;  Rscript scripts/dea_genome.R ' returned non-zero exit status 1.
File "/home/sam/Downloads/ilse/RASflow/workflow/dea_genome.rules", line 38, in __rule_DEA
File "/home/sam/anaconda3/envs/rasflow/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job DEA since they might be corrupted:
output-pva/pva027/genome/dea/countGroup/Untreated_gene_norm.tsv, output-pva/pva027/genome/dea/countGroup/Calcium_gene_norm.tsv
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/sam/Downloads/ilse/RASflow/.snakemake/log/2021-01-20T092655.885343.snakemake.log
DEA is done!
Start visualization of DEA results!
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 1
Rules claiming more threads will be scaled down.
Job counts:
count	jobs
1	end
1	plot
2
[Wed Jan 20 09:27:00 2021]
rule plot:
input: output-pva/pva027/genome/dea/countGroup, output-pva/pva027/genome/dea/DEA
output: output-pva/pva027/genome/dea/visualization/volcano_plot_Untreated_Calcium.pdf, output-pva/pva027/genome/dea/visualization/heatmap_Untreated_Calcium.pdf
jobid: 1
Loading required package: plotscale
hash-3.0.1 provided by Decision Patterns
Loading required package: GenomicFeatures
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colMeans,
colnames, colSums, dirname, do.call, duplicated, eval, evalq,
Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply,
lengths, Map, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, Position, rank, rbind, Reduce, rowMeans, rownames,
rowSums, sapply, setdiff, sort, table, tapply, union, unique,
unsplit, which, which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4
Attaching package: ‘S4Vectors’
The following objects are masked from ‘package:hash’:
values, values<-

The following object is masked from ‘package:base’:
expand.grid

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: AnnotationDbi
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.

Attaching package: ‘AnnotationDbi’
The following objects are masked from ‘package:hash’:
keys, keys<-

Loading required package: ggplot2
Loading required package: ggrepel
Error in file(file, "rt") : cannot open the connection
Calls: plot.volcano.heatmap -> read.table -> file
In addition: Warning message:
In file(file, "rt") :
cannot open file 'output-pva/pva027/genome/dea/DEA/dea_Untreated_Calcium.tsv': No such file or directory
Execution halted
[Wed Jan 20 09:27:06 2021]
Error in rule plot:
jobid: 1
output: output-pva/pva027/genome/dea/visualization/volcano_plot_Untreated_Calcium.pdf, output-pva/pva027/genome/dea/visualization/heatmap_Untreated_Calcium.pdf
RuleException:
CalledProcessError in line 53 of /home/sam/Downloads/ilse/RASflow/workflow/visualize.rules:
Command ' set -euo pipefail;  Rscript scripts/visualize.R output-pva/pva027/genome/dea/countGroup output-pva/pva027/genome/dea/DEA output-pva/pva027/genome/dea/visualization ' returned non-zero exit status 1.
File "/home/sam/Downloads/ilse/RASflow/workflow/visualize.rules", line 53, in __rule_plot
File "/home/sam/anaconda3/envs/rasflow/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/sam/Downloads/ilse/RASflow/.snakemake/log/2021-01-20T092700.946097.snakemake.log
Visualization is done!
RASflow is done!
`
could you direct me on what do to fix it?
Cheers,
Pablo

Hi Pablo, glad to hear that it works. Regarding the new issue, it actually happens in DEA, or rather, edgeR, since when I searched the error message, it led me to this post: https://github.com/nanoporetech/pipeline-transcriptome-de/issues/6 As mentioned here, the problem is that there are not enough replicates. So in your case, how many replicates do you have in each group?

Hi Pablo, glad to hear that it works. Regarding the new issue, it actually happens in DEA, or rather, edgeR, since when I searched the error message, it led me to this post: https://github.com/nanoporetech/pipeline-transcriptome-de/issues/6 As mentioned here, the problem is that there are not enough replicates. So in your case, how many replicates do you have in each group?

Hi @zhxiaokang
There are two conditions and I have just one replicate for each condition, so only two sets of reads. Does this mean I cannot go any further with the visualization?
Cheers,
Pablo

Hi @zhxiaokang
There are two conditions and I have just one replicate for each condition, so only two sets of reads. Does this mean I cannot go any further with the visualization?
Cheers,
Pablo

With only one replicate, you actually can't do differential expression analysis (DEA) since that's not enough to make statistics sense.

With only one replicate, you actually can't do differential expression analysis (DEA) since that's not enough to make statistics sense.

I was fearing that was the case. Thanks a lot for your help!!!

I was fearing that was the case. Thanks a lot for your help!!!

repo: zhxiaokang/RASflow


text:
Неактивна ссилка на пошту та телефон “гарячої лінії” на гололвній сторінці в блокові "Графік роботи"

25.07.2022
Environment
http://www.vinintermed.com.ua/
Google Chrome Version 103.0.5060.134 (Official Build) (64-bit)
Windows 10 21H1
Steps to reproduce

Відкрити сайт
Проскролити д блоку “Графік роботи”
Клікнути на телефон гарячої лінії (червоним кольором) і/або на електронну адресу

Expected result
Зявиться можливість відразу  подзвонити/написати на вказані дані, не запамятовуючи їх для подальшого введення.
Actual result
Неактивна ссилка на пошту та телефон “гарячої лінії”.

@victoria-s1

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
[Device Support Request] Tuya TZE200 yjjdcqsq

Cheap Tuya ZigBee Temperature Sensor.
Device is detected but no sensors are fond.
Link to device on Aliexpress
Temperature, Humidity and Battery Status
The three sensors are displayed on HA.

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_yjjdcqsq",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Diagnostic information
          "id": 81
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xef00": {
            "endpoint_attribute": null,
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 72
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZE200_yjjdcqsq"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0601"
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
   }
 }

Additional logs
None

It can fit in the current TuyaTempHumiditySensor quirk.
Configure your local quirk folder. If you don't know how to set the custom quirk this is a good guide to follow:

https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274

Copy inside the current ts0601_sensor.py file:

https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_sensor.py

Modify the TuyaTempHumiditySensor adding your device to the signature:
    signature = {
        # <SimpleDescriptor endpoint=1, profile=260, device_type=81
        # device_version=1
        # input_clusters=[4, 5, 61184, 0]
        # output_clusters=[25, 10]>
        MODELS_INFO: [
            ("_TZE200_bjawzodf", "TS0601"),
            ("_TZE200_yjjdcqsq", "TS0601"),
        ],

Save changes, restart HA and repair the device.
There are 2 versions of the quirk, double check if the humidity values are fine.

Thanks @javicalle
I'm still getting a problem :
I tried with TuyaTempHumiditySensor but humidity was false (10 times lower than expected), and battery is not working.

So I tried adding in TuyaTempHumiditySensor_Square, but it does not seems to work at all.
The quirk is not applied.

class TuyaTempHumiditySensor_Square(CustomDevice):
# RelativeHumidity multiplier
# RH_MULTIPLIER = 100

signature = {
    MODELS_INFO: [
        ("_TZE200_yjjdcqsq", "TS0601"),
        ("_TZE200_qoy0ekbd", "TS0601"),
        ("_TZE200_znbl8dj5", "TS0601"),
    ],

Am I missing something ?

Do you have removed first your device from the TuyaTempHumiditySensor?
Also remove any __pycache__ folder from your local quirk (double check that part).
Restart HA and repair the device.

Yes I tried twice, here is the py file.
Cache file deleted and HA restarted.
ts0601_sensor.py.txt

Do you have repaired the device?
To be sure, remove the device from HA, wait for a minute and pair the device again.
Look at the pairing logs if there's a cluster mismatch. If there is a problem, attach your logs.

There seems to be something in the logs :
Checking quirks for _TZE200_yjjdcqsq TS0601 (a4:c1:38:02:22:49:cb:32)
Considering <class 'ts0601_sensor.TuyaTempHumiditySensor_Square'>
Fail because device_type mismatch on at least one endpoint
Full log file :
log_zha.txt
Should I create a new class like TuyaTempHumiditySensor ?
Maybe TuyaTempHumiditySensor_V2 with RH_MULTIPLIER = 100 ?
(There is still the battery issue)

I added this class, and it is working :
class TuyaTempHumiditySensor_Rectangle(CustomDevice):
"""Custom device representing tuya temp and humidity sensor with e-ink screen."""
# RelativeHumidity multiplier
#RH_MULTIPLIER = 100

signature = {
    # <SimpleDescriptor endpoint=1, profile=260, device_type=81
    # device_version=1
    # input_clusters=[4, 5, 61184, 0]
    # output_clusters=[25, 10]>
    MODELS_INFO: [("_TZE200_yjjdcqsq", "TS0601")],
    ENDPOINTS: {
        1: {
            PROFILE_ID: zha.PROFILE_ID,
            DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
            INPUT_CLUSTERS: [
                Basic.cluster_id,
                Groups.cluster_id,
                Scenes.cluster_id,
                TemperatureHumidityManufCluster.cluster_id,
            ],
            OUTPUT_CLUSTERS: [Ota.cluster_id, Time.cluster_id],
        }
    },
}

replacement = {
    SKIP_CONFIGURATION: True,
    ENDPOINTS: {
        1: {
            PROFILE_ID: zha.PROFILE_ID,
            DEVICE_TYPE: zha.DeviceType.TEMPERATURE_SENSOR,
            INPUT_CLUSTERS: [
                TemperatureHumidityManufCluster,  # Single bus for temp, humidity, and battery
                TuyaTemperatureMeasurement,
                TuyaRelativeHumidity,
                TuyaPowerConfigurationCluster2AAA,
            ],
            OUTPUT_CLUSTERS: [Ota.cluster_id, Time.cluster_id],
        }
    },
}

Should I do something more now ?

I have already taken care of it and I have taken the opportunity to make some adjustments.
Thanks for all the job @tho071088

@tho071088 be aware to remove your local quirk with the next monthly version of HA.

It depends on your device signature. Because of that always is better if you open a new issue with all the info from your device.
You can try to enable de local quirk folder and put the current ts0601_sensor.py file.
Then I would suggest to add your device to the TuyaTempHumiditySensorVar03 quirk:

https://github.com/zigpy/zha-device-handlers/blob/1fed017136e64274e8665a22ed7bd3556c1e0729/zhaquirks/tuya/ts0601_sensor.py#L175

Save changes, restart HA and repair yur device to see if the device signature changes.

TuyaTempHumiditySensorVar03

Thanks. But Humidity, Tmperature and battery shown: UNKNOWN.
Time and Date was not updated either.
Suggestions?

Same issue here:

Here my signature:
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0302",
"input_clusters": [
"0x0000",
"0x0001",
"0x0004",
"0x0005",
"0x0402",
"0x0405",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE200_yjjdcqsq",
"model": "TS0601",
"class": "ts0601_sensor.TuyaTempHumiditySensorVar03"
}

Why are you using a local quirk? It should not be necessary because the quirk is already in ZHA.
Remove the local quirk and repair the device.

repo: zigpy/zha-device-handlers


text:
[Device Debug Request] Xiaomi Aqara D1 Remote quirk stopped working

When I connect the Xiaomi Aqara D1 Remote (wireless switch, double rocker) to ZHA the pairing goes without issue. But I'm left with only a battery entity: sensor.lumi_lumi_remote_b286acn02_e8[..]04_power
This is unexpected looking through the code, since the b286acn02 model is actually included in the quirk (remote_b286acn01.py#L97)
Reading around on the community forms it is suggested that the D1 is fully functional. The code suggests that too, including short/long/double presses of the rockers.
Anyone any idea why it only shows the battery entity for me and I am not able to use the remote? Any pointers on how to debug are welcome.
2020-11-21 13:51:39 INFO (MainThread) [zigpy.endpoint] [0xfe5e:3] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=3, profile=260, device_type=24323, device_version=1, input_clusters=[3, 12], output_clusters=[4, 3, 5, 12])
2020-11-21 13:51:39 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for LUMI lumi.remote.b286acn02 (00:15:8d:00:04:4e:aa:e8)
2020-11-21 13:51:39 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01'>
2020-11-21 13:51:39 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for 00:15:8d:00:04:4e:aa:e8: <class 'zhaquirks.xiaomi.aqara.remote_b286acn01.RemoteB286ACN01'>
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xFE5E:00:15:8d:00:04:4e:aa:e8 entering async_device_initialized - is_new_join: True
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xFE5E:00:15:8d:00:04:4e:aa:e8 has joined the ZHA zigbee network
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): started configuration
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE5E:ZDO](lumi.remote.b286acn02): 'async_configure' stage succeeded
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE5E:3:0x0005]: skipping channel configuration
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE5E:3:0x0006]: 'async_configure' stage succeeded
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE5E:3:0x0005]: 'async_configure' stage succeeded
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): completed configuration
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): stored in registry: ZhaDeviceEntry(name='LUMI lumi.remote.b286acn02', ieee='00:15:8d:00:04:4e:aa:e8', last_seen=1605966699.7727826)
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): started initialization
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFE5E:ZDO](lumi.remote.b286acn02): 'async_initialize' stage succeeded
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): power source: Battery or Unknown
2020-11-21 13:51:39 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFE5E](lumi.remote.b286acn02): completed initialization
2020-11-21 13:51:42 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0DD2:1:0x0500]: Updated alarm state: 0

Remotes don't have entities.

That makes sense... "Go easy, I've never done this before".
Just added an automation in the UI and just turned on a light via this remote. So all is good.
Probably not the time and place to ask for more and I understand if you don't want to answer but a little nudge in the right direction would be much appreciated;
I do my automations by hand, not via the UI. Normally I've always used entity_id's as triggers, not devices. This remote has a long undescriptive device_id. This never changes so I can use those in my own yaml code for automations? Or is this only meant to be done through the Home Assistant UI?

Remotes would generate zha_event. You need to use event_trigger in automation https://www.home-assistant.io/docs/automation/trigger/#event-trigger How much of the event data to match in the trigger is up to you.
To see what "events" are generated, go to Developer -> Events -> type in "zha_event" and start listening and then press the buttons.
e.g.
  trigger:
    - platform: event
      event_type: zha_event
      event_data:
        unique_id: "cc:cc:cc:ff:ff:12:34:45:1:0x0008"
        command: "move"

unique_id of the zha_event matches uniquely to a device + endpoint_id + cluster_id, but again it is up to you how much and how precisely you want to match events from a specific device.

Thanks a lot man, that clears things up quite a bit.

To see what "events" are generated, go to Developer -> Events -> type in "zha_event" and start listening and then press the buttons.

Especially this, now I don’t have to create a faux automation in the GUI first every time.
Thanks again for the (extra) help.

authors: Adminiuga ronaldtveen


text:
Add debug traces to handle_set_time_request

Some debug logs to help in issues analysis

Pull Request Test Coverage Report for Build 3614921447

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 83.174%

Totals

Change from base Build 3577832421:
0.004%

Covered Lines:
6505

Relevant Lines:
7821

💛  - Coveralls

Codecov Report
Base: 83.16% // Head: 83.17% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (03da941) compared to base (05ee519).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1985   +/-   ##
=======================================
  Coverage   83.16%   83.17%
=======================================
  Files         248      248
  Lines        7819     7821    +2
=======================================
+ Hits         6503     6505    +2
  Misses       1316     1316

Impacted Files
Coverage Δ

zhaquirks/tuya/mcu/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

source: gharchive/pull-request

authors: codecov-commenter coveralls javicalle


text:
Port Sinope changes over from core/zha

Icon diff:
diff --git a/homeassistant/components/zha/icons.json b/homeassistant/components/zha/icons.json
index 9b060e8105..bb4224f2bd 100644
--- a/homeassistant/components/zha/icons.json
+++ b/homeassistant/components/zha/icons.json
@@ -94,6 +94,12 @@
       },
       "keypad_lockout": {
         "default": "mdi:lock"
+      },
+      "off_led_color": {
+        "default": "mdi:palette-outline"
+      },
+      "on_led_color": {
+        "default": "mdi:palette"
       }
     },
     "sensor": {
@@ -158,6 +164,9 @@
       },
       "hooks_locked": {
         "default": "mdi:lock"
+      },
+      "double_up_full": {
+        "default": "mdi:gesture-double-tap"
       }
     }
   },

run pre-commit install and you can fix the lint issues before they get to the PR.

Apparently you can close PRs via other PRs, same as issues 😄.

@dmulcahey @puddly
I don't see how to spin up the manufacturer specific cluster during tests. I've added a Sinope light switch in /tests/zha_devices_list.py, and all tests are passing, but the cluster handler isn't instantiated.
Could you point me in the right direction?

@dmulcahey @puddly I don't see how to spin up the manufacturer specific cluster during tests. I've added a Sinope light switch in /tests/zha_devices_list.py, and all tests are passing, but the cluster handler isn't instantiated.
Could you point me in the right direction?

this is because the manufacturer cluster with the attribute definitions doesn't exist in ZHA so when the base class attempts to process this logic: https://github.com/ckm2k1/zha/blob/80b80909dd49a094f2d8341772be40e3a1e70625/zha/zigbee/cluster_handlers/init.py#L206 it bombs out and logs a warning with a key error. We are discussing ways to make these failures much more apparent. For now you have 2 options: define the quirk fully in the test w/ the custom cluster and its attributes or define _value_attribute in the cluster handler so the lookup doesn't have to be processed.

authors: ckm2k1 dmulcahey puddly

repo: zigpy/zha


text:
Alternative for LazyCacheMap？

With LazyCacheMap, below code works correcctly,
import 'package:flutter/material.dart';
import 'package:graphql_flutter/graphql_flutter.dart';
import 'package:pistory/config/client.dart';

import '../../../components/add_pistory.dart';
import '../../../components/pistory_item_tile.dart';
import '../../../data/online_fetch.dart';
import '../../../data/pistory_fetch.dart';
import '../../../data/pistory_list.dart';
import '../../../model/pistory_item.dart';
class All extends StatefulWidget {
  All({Key key}) : super(key: key);

  @override
  _AllState createState() => _AllState();
}

class _AllState extends State<All> {
  static GraphQLClient _client;
  void runOnlineMutation(BuildContext context) {
    _client = GraphQLProvider.of(context).value;
    Future.doWhile(
      () async {
        await _client.mutate(
          MutationOptions(
            document: gql(OnlineFetch.updateStatus.toString()),
            variables: <String, String>{
              'now': DateTime.now().toUtc().toIso8601String(),
            },
          ),
        );
        await Future<dynamic>.delayed(Duration(seconds: 30));
        return true;
      },
    );
  }

  @override
  void initState() {
    WidgetsBinding.instance
        .addPostFrameCallback((_) => runOnlineMutation(context));
    super.initState();
  }

  VoidCallback refetchQuery;

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: <Widget>[
        Mutation(
          options: MutationOptions(
            document: gql(PistoryFetch.addPistory),
            update: (cache, result) {
              return cache;
            },
            onCompleted: (dynamic resultData) {
              refetchQuery();
            },
          ),
          builder: (runMutation, result) {
            return AddPistory(
              onAdd: (dynamic value) {
                pistoryList.addRecord(value.toString());
                runMutation(<String, dynamic>{'title': value.toString(), 'isPublic': false});
              },
            );
          },
        ),
        Expanded(
          child: Query(
            options: QueryOptions(
              document: gql(PistoryFetch.fetchAll),
              variables: <String, bool>{'is_public': false},
            ),
            builder: (result,
                {refetch, fetchMore}) {
              refetchQuery = refetch;
              if (result.hasException) {
                return Text(result.exception.toString());
              }
              if (result.isLoading) {
                return Text('Loading');
              }
              // ignore: omit_local_variable_types
              final List<**LazyCacheMap**> records =
                  (result.data['todos'] as List<dynamic>).cast<**LazyCacheMap**>();
              return Container(
                constraints: BoxConstraints(minWidth: 700, maxWidth: 700),
                child: ListView.builder(
                  itemCount: records.length,
                  itemBuilder: (context, index) {
                    // ignore: omit_local_variable_types
                    dynamic responseData = records[index];
                    return PistoryItemTile(
                      item: PistoryItem.fromElements(responseData['id'] as int,
                          responseData['porn_title'].toString(), responseData['is_good'] as bool),
                      deleteDocument: PistoryFetch.deletePistory,
                      deleteRunMutaion: <String, dynamic>{
                        'id': responseData['id'],
                      },
                      toggleDocument: PistoryFetch.togglePistory,
                      toggleRunMutaion: <String, dynamic>{
                        'id': responseData['id'],
                        'isGood': responseData['is_good']
                      },
                      refetchQuery: refetchQuery,
                    );
                  },
                ),
              );
            },
          ),
        ),
      ],
    );
  }
}

But v4 deleted LazyCacheMap.
What is another solution?

I am using version: "5.0.0-nullsafety.2"

you shouldn't need a replacement – the usage of normalize makes it so we can just use normal Map<String, dynamic> for optimistic data in the cache. Check out https://github.com/zino-app/graphql-flutter/blob/beta/changelog-v3-v4.md for more info

authors: micimize nisaji

repo: zino-app/graphql-flutter


text:
avoid mutate input data

Should be merged only after #311.
increase test coverage on dart:io related, relating to the effort to make this package compatible to web/browser #295.
While doing this, I happen to discover a bug that we are currently mutating input data

Codecov Report

Merging #312 into beta will increase coverage by 0.37%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##            beta     #312      +/-   ##
=========================================
+ Coverage   45.3%   45.68%   +0.37%
=========================================
  Files         28       28
  Lines       1055     1055
=========================================
+ Hits         478      482       +4
+ Misses       577      573       -4

Flag
Coverage Δ

#graphql_client
46.19% <100%> (+0.39%)
:arrow_up:

#graphql_flutter
29.03% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

packages/graphql/lib/src/cache/in_memory.dart
85.71% <ø> (+8.16%)
:arrow_up:

packages/graphql/lib/src/utilities/helpers.dart
70.58% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@truongsinh this PR has a commit from another PR, on tests

@mainawycliffe it's true that it depends on #311. My plan is to wait for #311 to be merged, and then merge this one, and then merge #313. I try to break my work as small as possible but still meaning full for easier review.

if they are related, i think you should consolidate them. It's much easier plus the approval process and merge process is quite different. I can review and approve your changes but I can't merge them, so essentially i will end up reviewing the same commit multiple times.

@truongsinh I’m really a fan of small PRs 👍🏼

:tada: This PR is included in version 1.1.1-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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

authors: HofmannZ codecov-io mainawycliffe truongsinh


text:
Update aws-java-sdk-core to 1.12.705

About this PR
📦 Updates com.amazonaws:aws-java-sdk-core from 1.12.459 to 1.12.705
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #746.

repo: zio/zio-flow


text:
Update google-cloud-pubsub to 1.125.13

About this PR
📦 Updates com.google.cloud:google-cloud-pubsub from 1.107.0 to 1.125.13
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #380.

repo: zio/zio-gcp


text:
Update magnolia to 1.1.0

Updates com.softwaremill.magnolia1_3:magnolia from 1.0.0 to 1.1.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.0.0).
You might want to review and update them manually.
project/BuildHelper.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.magnolia1_3", artifactId = "magnolia" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

I’d rather do this manually.

authors: fsvehla scala-steward

repo: zio/zio-json


text:
CCCocoaChinaWebView crash issue

Hello @zixun,
在驗證修改的過程中, 發現 CCCocoaChinaWebView 這個地方, 會有回調回來的 image 為 nil 造成 crash 的狀況, 晚些完成手邊的部分, 回頭來看這個問題, 謝謝.

恩~赞。我最近手头工作比较忙，今天才有时间上来看看

authors: DaidoujiChen zixun

repo: zixun/CocoaChinaPlus

license: mit

license_source: bigquery


text:
自己的数据

我用自己的数据跑二分类的实验，准确率接近100%，用乱编的数据准确率仍是接近100%，我不清楚是哪里出了问题

哪个任务那个模型呢

关系抽取，standard ,model选的lm

哪个任务哪个模型呢
关系抽取，standard ,model选的lm

你那乱编的数据是啥意思呢

[就是我想用这个模型训练一个区别上下位关系的模型，然后我发现训练之后准确率过高，我就用图二自动生成的语句想判断一下模型的效果是否真的那么好。
乱编的数据类似下面这种，完全看不出关系的数据，他仍能判断出他具有上下位关系：
螺杆泵 机械泵 上下位关系 自己出来到了阅读.螺杆泵欢迎机械泵具有服务投资其实学习控制国内

您好，感谢您使用deepke，可能的原因如下：
1.模型缺少高质量负样本，就是模型训练时候的正样本和负样本区分度不大；建议您收集更多高质量样本训练。
2.模型过拟合了导致泛化较差，建议您打印出类别的置信度修改阈值，这种情况的话目前传统模型也没法很好解决，建议结合一些规则来做决策比如关键词的匹配、ngram匹配等

repo: zjunlp/DeepKE


text:
Update website: remove vacancy, dead video & blog bounty

quick fix
the asap to be done things from https://github.com/zkSNACKs/WasabiWalletWebSite/issues/38
websitecontribution.webm

@CAnorbo

repo: zkSNACKs/WasabiWalletWebSite


text:
Don't try to build tests if cmake is too old for them.

This allows configuration step of cmake to finish even if cmake is too old. Some recent machines still run operating systems that are limited to cmake 3.10 or older.

@nmoinvaz

I wonder if we should also print a warning to the user:
message(STATUS "Minimum cmake version 3.12 not met for Google test or benchmark")

Can use STATUS or WARNING.

I wonder if we should also print a message to the user:
message(STATUS "Minimum cmake version 3.12 not met for Google test or benchmark")

Can use STATUS or WARNING.

If I wrap WITH_BENCHMARKS also, then a warning for it would be a good idea...

@Dead2

repo: zlib-ng/zlib-ng

license: Zlib


text:
Firefox support

Is that possible to add support for Firefox browser? Thanks

Upping this. I am not sure of what it takes for an extension to be converted to Firefox, but I guess most of the core code would remain the same

This should be done now. Can you try now @divaltor?

I am trying to install it on Firefox, but I do not see a great way to import it. I built the Tailwindcss file and when I import I get  "background.service_worker is currently disabled"
Googling that shows Firefox doesn't support service workers from MV3, but I feel like I am missing something simple.

Fixed and updated the docs!

Will this extension be published on addons.mozilla.org? I checked the README.md but it's still "coming soon" :smile:

Looking into it!

Thanks @zlwaterfield the new instructions work great for Firefox.

If it's working can we have an .xpi file at least, considering sideloading addons is easier in firefox?

authors: Jatin794 PeterDaveHello bearjaws divaltor tcsenpai zlwaterfield

repo: zlwaterfield/scramble


text:
Sound sometimes playing on Android, sometimes not

:beetle: Description
Playing sounds work sometimes and sometimes not. Only affects Android. Same exact code works flawlessly on iOS.
:beetle: What is the observed behavior?
Playing sounds work sometimes and sometimes not. new Sound callback returns no errors, and play() callback returns true. But still, the sounds are only played sometimes. There seems to be no correlation between which file succeeds to play and which doesn't.
:beetle: What is the expected behavior?
That it works as intended, i.e. that I can trust the documentation of this package.
:beetle: Please post your code:
// Below is a simplified example of what I'm doing.

const audioFiles = {
  example: require('./audio/example.mp3')
}

class Track {
  constructor(id) {
    this._id = id
    this._sound = null
    this.isLoaded = false
  }

  load = () => new Promise((resolve, reject) => {
    this._sound = new Sound(audioFiles[this._id], (error) => {
      if (error) {
        reject(error)
      } else {
        this.isLoaded = true
        resolve()
      }
    })
  })

  play = () => new Promise(async (resolve, reject) => {
    if (this.isLoaded === false) {
      try {
        await this.load()
      } catch (error) {
        reject(error)
      }
    }

    this._sound.play((success) => {
      if (!success) {
        reject('Play failed')
      } else {
        resolve()
      }
    })
  })
}

const track = new Track('example')

try {
  track.play()
} catch (error) {
  console.log(error)
}

:bulb: Does the problem have a test case?

:bulb: Possible solution

:bulb: Is there a workaround?

:bulb: If the bug is confirmed, would you be willing to create a pull request?

Is your issue with...

[ ] iOS
[x] Android
[ ] Windows

Are you using...

[x] React Native CLI (e.g. react-native run-android)
[ ] Expo
[ ] Other: (please specify)

Which versions are you using?

React Native Sound: 0.11.0
React Native: 0.61.4
Android: Have tried a few different, 6.0.1 on physical device. Not sure about the emulators. Latest version I guess (brand new emulators from latest version of Android Studio).

Does the problem occur on...

[x] Simulator
[x] Device

If your problem is happening on a device, which device?

Device: Xperia D6603 running Android 6.0.1

+1 here.  I found it seems like the player's state is abnormal. For example, if I call the play() quite fast before the previous is finished. Then there's a high chance that it has the problem. And after the problem emerges, all following attempts to play the audio fail. I need to restart the app.

I'm facing the same issue. Some sounds randomly stop playing. After one stop consecutive all sounds stop playing.

Same here, happening on Android only and on Lenovo tabM10. Feels like a race condition problem since it is hard to reproduce, but happens often enough to be unreliable in production.
First idea to try out - the docs specify that it is wise to replay the sound in the sound.stop() callback, e.g:
// Stop the sound and rewind to the beginning
whoosh.stop(() => {
  // Note: If you want to play a sound after stopping and rewinding it,
  // it is important to call play() in a callback.
  whoosh.play();
});

Will try it out soon, but even so it feels like the library is getting outdated, with the latest release happening a year ago and the maintainers claiming it to be in alpha/beta stage. So I guess it is time to fork and customise or find a new library. 🙈
@AdamGerthel did you manage to figure out a fix for this? 🙏

@rasmuslelumees I ended up using Expo-AV instead (can be used in the "bare" workflow if you have Expo unimodules installed). It hasn't been without issues either but it's been more stable than the other packages.
Here's my implementation: https://github.com/expo/expo/issues/1873#issuecomment-592214795

Thanks @AdamGerthel, will take a look 💯

+1 same issue

+1 same issue

Any one have solution for this? I am facing same issue and our app is live so it impacts to user base.

@anjandaffo try to clear sound when component didmout

@nguyenvanphuc2203 in component did mount we don't have audio object to release it. There is no method to release all. In library i checked it is creating pool of media player. I am releasing the audio from inside the callback of play method and unmount of components.

this._sound.release() @anjandaffo , such as sample in this issue

@nguyenvanphuc2203 in component mount this._sound is null. Did you mean component unmount? In component unmount I am calling the release function

@anjandaffo oh yes, in componentUnmount you need release sound, sorry i forget

@nguyenvanphuc2203 we are doing the same. On component unmount and play completion callback we are calling function of release. After the audio not play in callback of load getting success true and and play method instant giving callback

I had the same problem. The solution that works for me is to call the method reset() directly after the sound finnished playing.
export const doPlaySound = (soundFile: string) =>{     const playSound = new Sound(soundFile, Sound.MAIN_BUNDLE, (error:any) => {         if(error){             console.log('failed to load the sound', error);             return;         }         playSound.play((success:any) => {             if(success) {                 playSound.reset();                 return;             }else{                 console.log('playback failed due to audio decoding errors');                 return;             }         });     }); }

Hey guys, I was having the same issue as described in this thread. But I managed to solve the problem.
So, for future readers, this issue seems related to #607. Apparently, audios can display different durations on different devices (and this seems to be caused by the bit rate of the audio, don't ask me what that means, I don't know), and this inconsistency can cause some of the functions of the library to not work properly.
The solution for that is related in this comment, but I'm going to describe it here too.
You're going to need to format your audio and make the bit rate of it constant. To do that you need an audio editor (I've used Audacity, it's free). And for Audacity you need to (Not sure how that would work in another editor):

Click on File menu and import your audio
Now click on File menu again and click export
After that you just need to export your audio with a constant bit rate (simple like that), take a look at the screenshot below.

authors: AdamGerthel CoSNaYe Harukisatoh SurajMDurgad anjandaffo jens-tucholski nguyenvanphuc2203 rasmuslelumees

repo: zmxv/react-native-sound


text:
SASL Login to ZNC

It would be nice to see users able to log into their ZNC account via SASL.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/101799-sasl-login-to-znc?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

Does this mean SASL to ZNC or Cyrus? I think this means SASL to IRC as in PLAIN/EXTERNAL/ecdsa-nist256p-challenge but after talking on #znc at freenode, I am not sure.

@Mikaela there is already a cyrusauth module which checks password against saslauthd.
So this issue must be about https://github.com/ircv3/ircv3-specifications/blob/master/extensions/sasl-3.1 (I think)

Ok, so IAL. There is also https://github.com/ircv3/ircv3-specifications/blob/master/extensions/sasl-3.2.md which should probably also be supported.

Yes this is about cap sasl.

Has anything happened with this? I guess at first the supported mechanisms should be PLAIN and EXTERNAL (when *certauth is loaded).
Would this work the same way as now, SASL username Mikaela@jolla/freenode and SASL password as password?

Even with sasl, clients still send USER, so probably sasl username can be
without network and client embedded
2015-02-26 2:56 GMT-08:00 Mikaela Suomalainen notifications@github.com:

Has anything happened with this? I guess at first the supported mechanisms
should be PLAIN and EXTERNAL (when *certauth is loaded).
Would this work the same way as now, SASL username Mikaela@jolla/freenode
and SASL password as password?
—
Reply to this email directly or view it on GitHub
https://github.com/znc/znc/issues/296#issuecomment-76158935.

Even with sasl, clients still send USER, so probably sasl username can be without network and client embedded

There are cases where the user cannot control USER though, like webchat (someone on IRC wanted to use KiwiIRC with znc)

10:03 (Mikaela) grawity: I am not sure what your latest comment means as KiwiIRC works with ZNC withut issues. Just check "I have a password" and write your Mikaela@kiwi/freenode:swordfish

Disregard the last comment then... [aFreshMelon in #znc was very insistent that kiwi requires SASL support, though.]

Maybe how Kiwi works should be opened a little, to user it works like this:

Nick is used as SASL Username (https://github.com/prawnsalad/KiwiIRC/issues/674) and password is used as SASL password.
If SASL fails, KiwiIRC sends the given password normally with PASS.

One issue related to ZNC not supporting SASL for logging in is that clients often default to using SASL instead of PASS and it's difficult for some users to understand that they should be using some random option instead of it. This has happened on #znc recently.
I think SASL is nowadays more widely understood by people than server password.

I have implemented SASL PLAIN in ZNC 1.6.3. It still needs some work and testing, but I can make a PR if there is any interest when it is ready.
SASL Debug Output

Yay!
But it should go to master branch, not to 1.6

I figured as much, but I needed to do it on 1.6.3 for our own purposes first. I will be moving the changes over to a master-based branch after.

I have completed moving my changes so far to a master-based branch.
It can be viewed here
I will hold off on making a PR until I implement handling of numeric 905/ERR_SASLTOOLONG (possibly later tonight), but if anyone would care to look it over and comment, I'd appreciate it.
I committed my .gitignore changes separately as I doubt you guys are too interested in adding VS specific stuff to it (my development environment for this has been VS with the Linux Development addon and Bash/Ubuntu for Windows)

@MrLenin, what status of PR-readiness? :)

Ready as it has been since the last commit. Really was just looking for some more in depth review before making a PR as I touch znc-core a bit

Worked "properly" with  my minimal testing wrt hexchat, almost no testing with other clients

My code is as free as can be, if the znc devs what to hack it into znc in a way that fits their their goals and agenda, they are more than welcome to. My code is written with a bias towards the network we use it on. unfortunately. the only reason I keep my stuff separate.

@MrLenin You didn't open the PR as promised, so I thought you had abandoned this.
So there was a miscommunication :(
There should be an integration test for it.

I was unable to get cyrusauth working using saslauthd. The saslauthd needs to be integrated into ZNC.
The current default auth method is absolutely ridiculous and the use of the user string should not extend beyond their username. The servers/etc are all a completely abstracted idea to the concept of the ZNC. I shouldn't have to configure 5 networks just to change the user string to /network for each and having them identical otherwise.

I was unable to get cyrusauth working

That's because cyrusauth module has nothing to do with SASL login.

The current default auth method is absolutely ridiculous

Yes, it is, but SASL wouldn't improve it. No existing SASL mechanism has a concept of IRC networks and clients.

I shouldn't have to configure 5 networks

This sounds like you want some kind of multiplexing of connections, which also has nothing to do with SASL.
You may want to take a look at https://github.com/ircv3/ircv3-ideas/issues/39

PR open at: https://github.com/znc/znc/pull/1573

authors: DarthGandalf MJCD Mikaela MrLenin amerlyq delthas grawity md-5

repo: znc/znc


text:
Forcing dytpe of np array

hello.
when converting the transformed df to numpy, please do so by forcing a dtype of np.float32. In other words, please do
'np_arr = new_df.to_numpy(dtype=np.float32)'
a runnable version with the forcing is currently available in the debug branch.

done


text:
Starting a chatbot (zobot) by "perform custom action" is not possible.

Hello, I took my time to explain this issue in detail. Please try to read it carefully and if something is not clear, let me know. I will try to provide even more info.
Environment:
Flutter: 2.10.2
salesiq_mobilisten: ^1.0.4
Mainly Android and iOS (we are also implementing for WebApp)
Goal:
I want to run separate chatbots after different user interactions. For example:
Assume there are 3 buttons in the app.

Tap on the 1st button --> Should run the 1st chatbot created on the SalesIQ platform.
Tap on the 2nd button --> Should run the 2nd chatbot created on the SalesIQ platform.
Tap on the 3rd button --> Should start a regular chat with an operator so that the user can ask anything he/she wants. Should not start a chatbot at all.

What I have done:
I created 2 chatbots on SalesIQ. Then I carefully selected these settings:

"Choose bot audience" --> "All visitors".
"When should the bot initiate chat?" --> "When visitors perform the custom action": ("Bot1" for the 1st chatbot, "Bot2" for the 2nd chatbot)

On the Flutter mobile side:

(Just for your information) I successfully register and set the visitor info. SalesIQ can successfully recognize our existing contacts.
After that, mostly I have the methods below, and no matter how I call them (I mean in any order, sync/async/await, etc.), they run but in the end, sometimes the correct chatbot runs. However, in general, the wrong bot runs.

// Related methods that I tried in combination:
ZohoSalesIQ.performCustomAction('Bot1'); // "Bot2" for the other bot.
ZohoSalesIQ.show();
ZohoSalesIQ.startChat('A message');

I already spent 3 days on this. We have to ensure that 100% of the time, we show the correct chatbot to the user or if it is a regular chat, we must not show a chatbot at all.
At the moment, it works very unstable, and looks like this might be a deal breaker for our company. Is there any resolution that you can provide?
CC: @DavidBhahirathan

any news about it ?

Thank you for writing to us. we have examined your requirements and come up with a solution, for your requirement you will need a brand with at least three departments associated.
Let's assume a brand named Zylker with three departments associated - department 1, department 2, and department 3, along with two chatbots - bot 1 and bot 2.
For your first requirement "Tap on the 1st button --> Should run the 1st chatbot created on the SalesIQ platform"
Make sure you have created a bot 1 and have it associated only with department 1
For your second requirement "Tap on the 2nd button --> Should run the 2nd chatbot created on the SalesIQ platform"
Make sure you have created a bot 2 and have it associated only with department 2
For your third requirement "Tap on the 3rd button --> Should start a regular chat with an operator so that the user can ask anything he/she wants. Should not start a chatbot at all"
Make sure you have not associated any bot with department 3
Note: Add operators to the departments as per your requirement and please make sure the bot trigger is turned off
Please refer to the below sample code snippet
void onButtonOneClick() {
    ZohoSalesIQ.setDepartments(["department 1"]);
    ZohoSalesIQ.startChat("Chat with Bot 1");
}

/// This function is used to start a chat with the bot (i.e bot 2) that has been associated with department 2
void onButtonTwoClick() {
   ZohoSalesIQ.setDepartments(["department 2"]);
   ZohoSalesIQ.startChat("Chat with Bot 2");
}

/// This function is used to chat a start and connect with the operator as no bot has been associated with department 3
void onButtonThreeClick() {
   ZohoSalesIQ.setDepartments(["department 3"]);
   ZohoSalesIQ.startChat("Chat with our agent");
}

Please note that, the above solution is purely based on the understanding of your requirement in github for further queries and better understanding of your requirement, please feel free to write to us at support@zohosalesiq.com. We will be happy to assist you.
Regards,
Bhahirathan M.

authors: DavidBhahirathan issam-kaso yasinarik

repo: zoho/salesiq-mobilisten-flutter


text:
[HELP WANTED 2] Streetpass List crash testers please!

I'm looking for kartminer7 users whose attempts ALWAYS lead to a crash at the Streetpass List screen showing up, and who have the digital mk7 (maybe physical too if you would be cool with sacrificing your savegame). With and without luma cfw is fine.
My goal is to test a theory I have that mk7's regular savegame (not the extdata) may be the root of these Streetpass crashes.
Instructions are simple: backup your regular save using the home menu backup feature, delete your regular save (hold 4 face buttons ABXY at the initial game menu), and try the whole kartminer7 process again. Let me know the results here. If you have cfw, please post crash dumps here (if the process name is menu, count that as a successful attempt and no post needed).

Trying to get cfw on original 3ds and having this issue. Would like to keep my MK7 save data, but I suppose I can wipe it. Any way I can help without wiping as of right now?

Trying to get cfw on original 3ds and having this issue. Would like to keep my MK7 save data, but I suppose I can wipe it. Any way I can help without wiping as of right now? Physical copy, crashing on Street pass menu. Changing language as in the 3ds.hacks guide causes the Street pass fake Mii's to be selectable and causes you to go through the character, map, and kart selection.

This thread is only for people who can delete their saves. I mainly am looking for digital game owners since they can safely backup their save (although physical w/cfw could do the same). There is no pressure whatsoever for you to delete your save if you consider it valuable. There will be others showing up later to help out that have the digital game, so no need to nuke your save.

I'm helping someone who has a Japanese 3DS and it's always crashing on Streetpass Mii list. We deleted the Savegame but still same crashing.Badly we can't share crash data

Thanks for that info, was afraid of that.
Can you do me another favor? Have this user check Data Management -> Streetpass Management -> mk7 icon  and tell me how many "Data Transmissions" there are.

I will tell her thank you
Yes I'm Jan :)

Ok, one more thing then I'm out of ideas again. Have them deactivate this streetpass at that screen you've shown. Reinstall the exploit with the computer, then go through the steps again on the 3ds, but after selecting Mario Kart Channel, decline to reactivate Streetpass when the prompt shows up, then proceed pressing A until the exploit activates at Start Race: Go.

Hey @zoogie I've been using this exploit with my physical cartridge (I don't care about the save state) and it's crashing before I can even select player/friend in streetpass list. Maybe I should use a different method because this may not be a kartminer problem, it could be a game problem. The thing is, I can't find a problem like this ever reported anywhere on the internet. So I've decided to come here before I try a different method. Hope this helps and hope you have an answer.

Hey @zoogie I've been using this exploit with my physical cartridge (I don't care about the save state) and it's crashing before I can even select player/friend in streetpass list. Maybe I should use a different method because this may not be a kartminer problem, it could be a game problem. The thing is, I can't find a problem like this ever reported anywhere on the internet. So I've decided to come here before I try a different method. Hope this helps and hope you have an answer.

These early crashes I have no idea how to fix because I have no means of debugging them. None of my 3ds's have this issue and I'm just grasping at straws trying to guess what may be the hidden variable that makes the exploit fail on these other machines.
The best alternative to just guessing is having someone with cfw and mk7 who can reproduce the early crash and send me luma crash dumps. Wish me luck with that one since most of these folks have no personal incentive to volunteer their time helping me given they already have their machine hacked.

Hey @zoogie im having it crash at the streetpass list (japenese old 3ds xl) and I can help out with whatever youd need. I have it physically but I dont really value the save at all so I can help out if needed.

I'm looking for kartminer7 users whose attempts ALWAYS lead to a crash at the Streetpass List screen showing up, and who have the digital mk7 (maybe physical too if you would be cool with sacrificing your savegame). With and without luma cfw is fine.
My goal is to test a theory I have that mk7's regular savegame (not the extdata) may be the root of these Streetpass crashes.
Instructions are simple: backup your regular save using the home menu backup feature, delete your regular save (hold 4 face buttons ABXY at the initial game menu), and try the whole kartminer7 process again. Let me know the results here. If you have cfw, please post crash dumps here (if the process name is menu, count that as a successful attempt and no post needed).

alright, i just deleted the save data and went to restart this process and now it crashes on the streetpass screen even without the exploit so i have no idea why that is. im gonna test for a little bit and report findings, sorry in advance if nothing ends up being useful.

Thanks, and good luck. Also if it helps, I have an American model.

I've now used every method you've brought up (deleting save data and restarting process, as well as deactivating streetpass, reinstalling the exploit, and then not turning streetpass back on to no avail I'm honestly not sure what the problem is, but I'm going to try this on a New Nintendo 3ds (as this one isnt hacked) and see if I can reproduce this crash to get some crash logs

crashes on the streetpass screen even without the exploit so i have no idea why that is

That's because the delete save function should only delete the regular save (inside the cart), and extdata (sd card /w exploit) should be left alone by the deletion. It's still important to reinstall the extdata save (.bat scripts) after you delete the reg save, and then test.
Also looking forward to your new3ds test. Thanks so much for helping!

That's because the delete save function should only delete the regular save (inside the cart), and extdata (sd card /w exploit) should be left alone by the deletion.
yeah i had wiped my sd card i wanted to start from scratch, i just started the entire process over (from enabling streetpass in the first place) and it continued crashing so I was a bit confused but I think I figured it out. Anyways Ill have the crash logs up tomorrow if I can replicate this and hopefully it'll give you some better insight, I'm also still gonna try and see if I can get it to work on the old 3ds and will give updates here if I get it to work.

Maybe @DanteS76 can hack the New3DS first and hack the old version with Kartdlphax. And try the KartMiner7 after that on the now modded Japan normal console again and send the crash log to @zoogie

yeah i was thinking of doing that as well

NOTICE: I've changed the topic. I just need general crash testing now, and no more regular savegame sacrifices.
The crashes I'm looking for only need "Process name: MARIOKAR" as a requirement, not "Process name: menu"
For anybody still working on the previous category, go ahead and complete it and report it if you can! Thanks!

Maybe @DanteS76 can hack the New3DS first and hack the old version with Kartdlphax. And try the KartMiner7 after that on the now modded Japan normal console again and send the crash log to @zoogie

the source 3ds i was planning on using seems to have an issue with its SD card reader, so i'm going to try and install custom firmware on the old 3ds using the flashcart method and getting the crash logs that way

Here is a Crashdump of a Japanese 3DS with Crash on MiiList
Dmp.zip
Hope this does help

Did this help you with the crashing Problem?

Did this help you with the crashing Problem?

It will in time I'm sure, and thank you, but this week I'm trying to finish up a long overdue, different exploit and get it out. And dealing with a personal issue at the same time. I'll come back to this.


text:
🛑 AI For Admin is down

In 359b873, AI For Admin (https://armyignited.army.mil/admin/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI For Admin is back up in 36e1384.

repo: zootsewt/aistatus


text:
🛑 AI For Students is down

In 7c0b74c, AI For Students (https://www.armyignited.army.mil/student/public/welcome) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI For Students is back up in 75a4b7f.


text:
Suppress list styling on latest Active Admin

It looks like the edge version of active_admin has styles for ordered lists included. Since it's a quick change, I haven't made a pull request, but basically we just need to override:
list-style-type: none;
padding: 0;
on the ordered lists. There might be more, I've not run the sortable tree module in an older version of active_admin so I'm not 100% sure what should be overridden :)
I do have some weird spacing in the .cell.left div before the label div since I don't use checkbox selection.

Would you include a screenshot so I can see specifically where the styling isn't quite right?

Are those the two instances you've seen?

Sortable tree with batch actions disabled
Sortable list with batch actions disabled

Hi Charles, yes that's the output I was seeing :)

Everything should be in order now..

Try out the update and let me know if you see any other strange artifacts. And thanks for posting this issue!

Thanks Charles :)
I ended up not needing to use this gem, so if you're happy with the visual
outcome then I'm happy for you to close the issue :)
It certainly is a useful addition to active_admin though, good to know it's
there if I need it in the future :)
Have a great day!
On Thu, Apr 16, 2015 at 1:40 PM, Charles Maresh notifications@github.com
wrote:

Everything should be in order now..
[image: screen shot 2015-04-15 at 8 38 42 pm]
https://cloud.githubusercontent.com/assets/25094/7172563/7a443c72-e3af-11e4-90c8-ad23475a6dcc.png
Try out the update and let me know if you see any other strange artifacts.
And thanks for posting this issue!
—
Reply to this email directly or view it on GitHub
https://github.com/zorab47/activeadmin-sortable-tree/issues/48#issuecomment-93613939
.


text:
Issue with docs.zowe.org/stable/getting-started/zowe_v2_faq

Description
Question - Does Zowe require SDSF?
Pages to Update

FAQ
Screenshots

Expected behavior

There is not a hard dependency on SDSF.  If it’s there some of the configuration code that tries to auto-detect parameter defaults will take advantage of it, however if the LPAR doesn’t have SDSF (perhaps it has EJES or the Broadcom CA Sysview) then the sysprog has to fill in the values by hand.
Additional context

Text provided by @Joe-Winchester - to be confirmed

Hi Bruce, thanks for creating the issue. If it's confirmed, I will add it to the FAQ section.

@1000TurquoisePogs,  can you confirm that there isn't a hard dependency on SDSF ?  It's possible there is a regression that slid in, but my understanding is that the SDSF code is optionally invoked.
Some customers will have Sysview and EJES and I believe then the 'sdsf.jar' won't be present on their LPARs.

I can speak for myself that I didn't add SDSF code.
Can I ask questions for more context?

What does this have to do with docs.zowe.org/stable/getting-started/zowe_v2_faq ? I don't see SDSF mentioned on that page.
Did someone run into an issue where it tried to use SDSF or said that SDSF was required?

Yes customer came in with a question on SDSF as pre-req? I could not easily find the answer (other than it not be listed in the System Requirements) so FAQ seemed like a place to put it. I asked in the ZAC and it was suggested to open an issue.

I think you're having trouble finding SDSF in the doc simply because it isn't a prereq, like many other things.
The only use of SDSF that I know of is that zwe start and zwe start use opercmd which is a feature of SDSF. But, thats neither the only way to start zowe nor the popular way... people just start the Zowe STC in the tool of their choice. Only, when its not SDSF, I don't have advice because that's what I use. But the way the STC is started is ordinary, so no guidance needed?

Let me go back to the customer and see why they think it was a prereq - here is the text of the email .
..they are not using SDSF and they found out that the newer version of Zowe is depending on that? Can you shine a bit of light on that? How dependent is that, can they bypass SDSF at all or is it a fixed requirement?
It also seems that sometime in the past this dependency started. They still have an older version of Zowe (not sure which level) and they didn’t had any problems but a recent version does throw up some errors?

@armstro @1000TurquoisePogs @Joe-Winchester -- do we need an FAQ on this, then?

authors: 1000TurquoisePogs Joe-Winchester anaxceron armstro samanthasusu

repo: zowe/docs-site


text:
How to download from CSDN.net

Hi, help download this file from or tell me some program for it (if any)
https://download.csdn.net/download/weixin_42227094/11125149

help for download:
https://download.csdn.net/download/ziyoulangzi008/13976954

I think to download files from csdn.net, you should use the website baidudownloader.com. It's completely automated and has a very fast download speed. It's definitely worth using.

I think to download files from CSDN.net, you should use the website BaiduDownloader.com. It's completely automated and has a very fast download speed. It's definitely worth using.

Their download speed isn't as fast these days but I think it's still pretty good

BaiduDownloader's service is good but it would be better if there was a discount or free code :))))

authors: Remonter76 mytorik pyremudune vafaian xafaqi


text:
[#127] update gitignore file

Resolves #127
I add some ignore for IntelliJ, MacOS and CMake by using this, https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
And I think we need to discuss what to add or update.
I'm not sure which one is better between using
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

to ignore some of .idea
or just using
.idea/ to ignore all of .idea
If you have any opinion of this issue, feel free to review. :)

Coverage remained the same at 85.229% when pulling fa58647cb897e4c12c3f7e8446690a06c00fc551 on RulLu16:feature/127_update_gitignore into 085c7b193ca3c8fe8c2d6d328c8a4521aa53c7cf on ztkmkoo:develop.

repo: ztkmkoo/dss


text:
[Bug] 是否已经失效了？

Verify steps

[X]  我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
[X]  我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.

Version
latest
What OS are you seeing the problem on?
No response
Rule file
- name: "netflix"
  mitm: "*.netflix.com"
  filters:
    url-regex: '^https:\/\/(www\.)?netflix\.com'
  actions:
    - modify-request:
        cookie:
          key: NetflixId
          value: **********
    - modify-request:
        cookie:
          key: SecureNetflixId
          value: **********
    - modify-response:
        cookie:
          key: NetflixId
          remove: true
    - modify-response:
        cookie:
          key: SecureNetflixId
          remove: true

log
[2024-05-09T06:50:10Z INFO  good_mitm] Http Proxy listen on: http://127.0.0.1:34567
[2024-05-09T06:50:58Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:50:58Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:00Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:00Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:02Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:02Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:08Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:08Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:12Z INFO  good_mitm_rule::handler] [Response] 403 Forbidden www.netflix.com unknown
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:12Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:14Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:14Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:16Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:16Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/
[2024-05-09T06:51:17Z INFO  good_mitm_rule::handler] [Response] 302 Found www.netflix.com text/html
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/browse
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/browse
[2024-05-09T06:51:17Z INFO  good_mitm_rule::handler] [Response] 200 OK www.netflix.com text/html; charset=utf-8
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:17Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:18Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/service-worker.js
[2024-05-09T06:51:18Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/service-worker.js
[2024-05-09T06:51:18Z INFO  good_mitm_rule::handler] [Response] 403 Forbidden www.netflix.com unknown
[2024-05-09T06:51:18Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:18Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:19Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/nq/website/memberapi/v5133bbf4/pathEvaluator?webp=true&drmSystem=widevine&isVolatileBillboardsEnabled=true&isTop10Supported=true&isTop10KidsSupported=true&hasVideoMerchInBob=true&hasVideoMerchInJaw=true&falcor_server=0.1.0&withSize=true&materialize=true&original_path=%2Fshakti%2Fmre%2FpathEvaluator
[2024-05-09T06:51:19Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/nq/website/memberapi/v5133bbf4/pathEvaluator?webp=true&drmSystem=widevine&isVolatileBillboardsEnabled=true&isTop10Supported=true&isTop10KidsSupported=true&hasVideoMerchInBob=true&hasVideoMerchInJaw=true&falcor_server=0.1.0&withSize=true&materialize=true&original_path=%2Fshakti%2Fmre%2FpathEvaluator
[2024-05-09T06:51:19Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/nq/website/memberapi/v5133bbf4/pathEvaluator?webp=true&drmSystem=widevine&isVolatileBillboardsEnabled=true&isTop10Supported=true&isTop10KidsSupported=true&hasVideoMerchInBob=true&hasVideoMerchInJaw=true&method=call&falcor_server=0.1.0&withSize=true&materialize=true&original_path=%2Fshakti%2Fmre%2FpathEvaluator
[2024-05-09T06:51:19Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/nq/website/memberapi/v5133bbf4/pathEvaluator?webp=true&drmSystem=widevine&isVolatileBillboardsEnabled=true&isTop10Supported=true&isTop10KidsSupported=true&hasVideoMerchInBob=true&hasVideoMerchInJaw=true&method=call&falcor_server=0.1.0&withSize=true&materialize=true&original_path=%2Fshakti%2Fmre%2FpathEvaluator
[2024-05-09T06:51:20Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/api/ftl/probe?monotonic=false&device=web&iter=0
[2024-05-09T06:51:20Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/api/ftl/probe?monotonic=false&device=web&iter=0
[2024-05-09T06:51:20Z INFO  good_mitm_rule::handler] [Response] 403 Forbidden www.netflix.com unknown
[2024-05-09T06:51:20Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:20Z INFO  good_mitm_rule] [ModifyResponse]
[2024-05-09T06:51:20Z INFO  good_mitm_rule::handler] [Response] 200 OK www.netflix.com application/json

Description
NetflixId和SecureNetflixId都填写正确，开启服务后，可以打开netflix.com并且确实可以登录上，但登录过几秒后就显示403无权访问，随后netflix就跳转到clearcookies的网址，log如下
[2024-05-09T06:51:32Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/clearcookies
[2024-05-09T06:51:32Z INFO  good_mitm_rule] [ModifyRequest] https://www.netflix.com/clearcookies

This is just a demo.
Write your own rule.
Capture and analysis traffic when necessary.


text:
Enter Date feature is not working

When one select certain date from Enter Date menu then it is showing Sorry, no messages here. but when I scroll manually to that certain date then I find certain messages there.
I tried it many times but every time it is giving the same message. I think there is a bug in Enter Date feature!
@Sam1301 @kunall17 @timabbott Can I work on this?

@vishwesh3

Thanks @anuradhagupta345 for reporting this.
The problem is not in Enter Date Implementation. I tried to figure out this and found that problem also persists in Today , in general problem is in Narrowing to date (whether it is today's date or previous date). So can we change title to Bug in Narrowing to any date.

As per current implementation on narrowing we check for local database for messages, and show messages which are associated with that date.
In @anuradhagupta345 case, I think app is recently installed so on home previous messages are not loaded and eventually they are not stored in database. So on narrowing it showed Sorry, no messages here. Once back dated messages are stored Enter Date feature will work fine.
My app and @kunall17  app's  databases contains previous dates messages too, so it is working absolutely fine and were not able to point out this that time.
Basically on narrowing we filter messages from local database and fetch 100 messages. What if entered date is of 15 days back there are more than 100 messages in this days, it will load 100 but will not able to filter that to that date.
To overcome this issue we have to load messages of that date from server on narrowing to that date (in where clause like we do on narrowing to private messages https://github.com/zulip/zulip-android/blob/master/app/src/main/java/com/zulip/android/filters/NarrowFilterPM.java#L107).
https://github.com/zulip/zulip-android/blob/master/app/src/main/java/com/zulip/android/filters/NarrowFilterByDate.java#L91
and https://github.com/zulip/zulip-android/blob/master/app/src/main/java/com/zulip/android/filters/NarrowFilterByDate.java#L96
while fetching https://github.com/zulip/zulip-android/blob/master/app/src/main/java/com/zulip/android/networking/AsyncGetOldMessages.java#L208
So what is the attribute for timestamp on server's DB (like 'pm-with' in case of NarrowFilterPM) which can be used in where clause? @kunall17 Am I missing out something or this is the case?

I think the server doesn't handle this!
@timabbott Is there a parameter for the v1/messages path to get messages from a particular date?

Nope.  That's a feature that isn't that interesting on web, so we haven't done it before.  I think we actually don't have a database index on the date, even, though that's something we could change.
Maybe open an issue on the Zulip server project for adding support for such a narrow?

repo: zulip/zulip-android


text:
bots: Allow bot owners to easily subscribe/unsubscribe bots from streams in UI

See https://chat.zulip.org/#narrow/stream/2-general/topic/Unsubscribe.20own.20bot.20from.20streams/near/1343696
When you go into personal settings and edit your bots, you should be able to edit the bot and see an "Edit Bot" modal.  We want to add a tab for subscribed streams that allows the bot's owner to unsubscribe the bot from any streams.  This tab should function very similarly to the tab that admins see when you go to a user's full profile, and ideally we can share code.

I added the difficult label mostly due to the fact that we haven't discussed a solution here yet, but if we come up with a good plan on chat, this may be relatively straightforward.

A good warmup for this issue would be to fix #21410, although that issue should be mostly orthogonal to this one.

@zulipbot claim

@zulipbot work in progress.

authors: showell yogesh-sirsat

repo: zulip/zulip


text:
Fix totally broken test test_get_old_messages_with_narrow_pm_with

test_get_old_messages_with_narrow_pm_with in test_narrow.py is lacking the test data setup work (should send a few messages at the start) that is required to make it work.  It needs to be mostly rewritten to look more like test_get_old_messages_with_narrow_stream, though probably with several send_message calls to setup a good set of cases.
Fixing this will let us fix the fact that test_narrow.py actually doesn't have 100% test coverage, and then we can remove it from the test-backend exclude list.

@umairwaheed would you be up for fixing this one?

Sure.
On Sun, Mar 5, 2017 at 12:48 PM Tim Abbott notifications@github.com wrote:

@umairwaheed https://github.com/umairwaheed would you be up for fixing
this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/3940#issuecomment-284211795, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAnK47ggHbA8fFEpT1atE6d0P1AJLYu2ks5rimjQgaJpZM4MTVsA
.

--
Sent from mobile.

@zulipbot claim

authors: timabbott umairwaheed


text:
I am a python newbie and I am trying to learn how to "zip" lists. To this end, I have a program, where at a particular point, I do the following:

x1, x2, x3 = stuff.calculations(withdataa)
This gives me three lists, x1, x2, and x3, each of, say, size 20.
Now, I do:
zipall = zip(x1, x2, x3)
However, when I do:
print "len of zipall %s" % len(zipall)
I get 20, which is not what I expected. I expected three. I think I am doing something fundamentally wrong.

@fooksupachai I think you opened this against the wrong project; this has nothing to do with Zulip.

authors: fooksupachai timabbott


text:
setup_venvs: Use system python3

Otherwise python3 will be perpetually copied from virtualenv to virtualenv and will never receive updates from the system.

Merged, thanks @andersk!

authors: andersk timabbott


text:
api: Document ../messages/{message_id}/reactions endpoint.

This documents ../messages/{message_id}/reactions endpoint.

@timabbott Can you have a look ?

@timabbott This is ready for another review.

@akashaviator thanks for working on this!  I made several changes:

Renamed the pages to e.g. add-emoji-reaction.md -- "add-emoji" could be confused with uploading custom realm emoji, so the distinction is important.
Changed the /help links to be over "emoji reaction", not just "emoji", since that's the concept we're linking to.
Edited the examples and openapi details to correctly explain the extent to which emoji_code is required.

So with those changes, merged as the series ending with 700123a30b418ca1d8721a7164459f5b3e83abc3, thanks @akashaviator!
One thing I'm left thinking about after merging these docs is that I think we should be able to make the emoji_type argument optional in a more intelligent way.  I.e. rather than assuming it's a unicode emoji if unspecified, we should just look to see what we get by looking up the emoji name.  I think only clients that are sending emoji_code need the namespacing of emoji_type.  So the change would be that if you tried to add an emoji just sending emoji_name for a custom emoji, it'd work (I think it currently doesn't), which would be much more convenient for simple bots.
Would you be interested in working on that cleanup?

authors: akashaviator timabbott


text:
alert-box: Fix scroll bar on alert-box.

There was a weird scroll bar appearing on the alert-box
for "Unable to connect to Zulip". It was happening due to the
big font-size of exit button.
To fix this issue, I reduced the font-size of exit button and
changed padding to padding-right as only right padding is
required for exit button.
Fixes #16911.
Before

Now

I think pr #16968 from @garg3133  fixes the issue in better way. You may have look into that.

Thanks for diagnosing the problem. I’ve pushed a better fix as #16972 that doesn’t have a fragile dependency on the font size.

authors: andersk garg3133 m-e-l-u-h-a-n


text:
email: Modify followup day1 email if user already has an account.

Modifies the content of the followup day1 email so that a user that already has one or more accounts on the same server gets a shorter version of that email.

@timabbott, could you have a look at this and give me feedback if this is how the email should look?
Manually tested by creating users with the same email address on different realms.
Fixes part of: #9220

@mrchntia thanks for working on this!  Having looked at the original issue and the changes here, I think I'm happy with the current day1 email as only having content that's useful for someone's second account.
(I think all the notices that are removed here are probably net useful to have in the email).

@mrchntia thanks for working on this!  Having looked at the original issue and the changes here, I think I'm happy with the current day1 email as only having content that's useful for someone's second account.
(I think all the notices that are removed here are probably net useful to have in the email).

authors: mrchntia timabbott


text:
frontend_tests: Don’t read from most deprecated global variables

This should allow us to convert 14 additional modules to ES6 modules using the strategy of #17259.

LGTM.  FTTM after rebase.

authors: andersk showell