Instance creation expression with malformed const construcror reports an error

According to Dart Language specification (4th edition, Dec 2015) "16.12 Instance Creation":
"It is a static type warning if the type T in an instance creation expression
of one of the forms
new T.id(a1 , . . . , an , xn+1 : an+1 , . . . , xn+k : an+k ),
new T (a1 , . . . , an , xn+1 : an+1 , . . . , xn+k : an+k ),
const T.id(a1 , . . . , an , xn+1 : an+1 , . . . , xn+k : an+k ),
const T (a1 , . . . , an , xn+1 : an+1 , . . . , xn+k : an+k ) is malformed (19.2) or
malbounded (19.8)."
However, dart (product and checked modes) and dartanalyzer report error when run the test:
main() {
  const Undef();
}

> dart  const_ice.dart
'file:const_ice.dart': malformed type: line 2 pos 9: type 'Undef' is not loaded
  const Undef();
        ^
> dart -c  const_ice.dart
'file:const_ice.dart': malformed type: line 2 pos 9: type 'Undef' is not loaded
  const Undef();
        ^
> dartanalyzer  const_ice.dart
Analyzing [const_ice.dart]...
[error] Undefined class 'Undef' (const_ice.dart, line 2, col 9)
1 error found.

 It is a compile-time error if T does not denote a class accessible in the current scope.

The spec is a little unclear though, because it says an unknown type is a malformed type as well, so I would expect a fully compliant implementation to have to show both the compile-time error here and the static warning on malformed types.
I'll leave this bug open for that, unless our Speclords are happy with how it's specced. Either way, the implementations are doing the right thing, I think.

Closing: In Dart 2, these situations are specified to be compile-time errors.


added read functions for PointM, PointZ, MultiPointM and MultiPointZ

New to GitHub and still learning the whole process

Sorry I never replied to this, and thank you for the pull request. I’ve just shipped a complete rewrite of this library, so it’s nontrival to merge this contribution. But moreover, I’d need tests (and some reference shapefiles) to verify the expected behavior—not sure I have any lying around that take advantage of these extended shape types.

Superseded by #20.


[Feature request] Container Restart Policy manage via Dashboard

There should be possible to manage containers restarting policy via dashboard

This is fixed in v3.  Thanks!


Include attachments=True is not working in Confluence

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
Below is my code
def generate_embeddings(config: dict = None, urls = None, file_path = None, persist_directory=None):
    texts=None
    if file_path:
        _, file_extension = os.path.splitext(file_path)
        file_extension = file_extension.lower()
        image_types=['jpeg','jpg','png','gif']
        if file_path.lower().endswith(".pdf"):
            loader = PyPDFLoader(file_path)
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=2000, chunk_overlap=300)
            texts = text_splitter.split_documents(documents=document)
        elif file_path.lower().endswith(".csv"):
            loader = CSVLoader(file_path, encoding="utf-8", csv_args={'delimiter': ','})
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=300)
            texts = text_splitter.split_documents(documents=document)
        elif file_path.lower().endswith(".xlsx") or file_path.lower().endswith(".xls"):
            loader = UnstructuredExcelLoader(file_path)
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
            texts = text_splitter.split_documents(documents=document)
        elif file_path.lower().endswith(".docx") or file_path.lower().endswith(".doc"):
            loader = UnstructuredWordDocumentLoader(file_path)
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=400, chunk_overlap=0)
            texts = text_splitter.split_documents(documents=document)
        elif any(file_path.lower().endswith(f".{img_type}") for img_type in image_types):
            loader=UnstructuredImageLoader(file_path)
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
            texts = text_splitter.split_documents(documents=document)
        elif file_path.lower().endswith(".txt"):
            loader=TextLoader(file_path)
            document = loader.load()
            text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
            texts = text_splitter.split_documents(documents=document)

    elif config is not None:
        confluence_url = config.get("confluence_url", None)
        username = config.get("username", None)
        api_key = config.get("api_key", None)
        space_key = config.get("space_key", None)
        documents = []

        embedding = OpenAIEmbeddings()
        loader = ConfluenceLoader(
            url=confluence_url,
            username=username,
            api_key=api_key
        )
        for space_key in space_key:
            try:
                if space_key[1] is True:
                    print('add attachment')
                    documents.extend(loader.load(space_key=space_key[0],include_attachments=True,limit=100))
                    text_splitter = CharacterTextSplitter(chunk_size=6000, chunk_overlap=50)
                    texts = text_splitter.split_documents(documents)
                    text_splitter = TokenTextSplitter(chunk_size=1000, chunk_overlap=10, encoding_name="cl100k_base")
                    texts = text_splitter.split_documents(texts)
                else:
                    print("without attachment")
                    documents.extend(loader.load(space_key=space_key[0],limit=100))
                    text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=50)
                    texts = text_splitter.split_documents(documents)
                    text_splitter = TokenTextSplitter(chunk_size=1000, chunk_overlap=10, encoding_name="cl100k_base")
                    texts = text_splitter.split_documents(texts)

            except:
                documents=[]
    elif urls:
        all_urls=[]
        for url in urls:
          if url[1] is True:
            crawl_data=crawl(url[0])
            all_urls.extend(crawl_data)
          if url[1] is False:
            dummy = []
            dummy.append(url[0])
            all_urls.extend(dummy)
        loader = UnstructuredURLLoader(urls=all_urls)
        urlDocument = loader.load()
        text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=50)
        texts = text_splitter.split_documents(documents=urlDocument)
    else:
        raise ValueError("Invalid source_type. Supported values are 'pdf', 'confluence', and 'url'.")

    if texts:
        embedding = OpenAIEmbeddings()
        Chroma.from_documents(documents=texts, embedding=embedding, persist_directory=persist_directory)
        file_crawl_status = True
        file_index_status = True
    else:
        file_crawl_status = False
        file_index_status = False

    return file_crawl_status, file_index_status

def retreival_qa_chain(chroma_db_path):
    embedding = OpenAIEmbeddings()
    vectordb = Chroma(persist_directory=chroma_db_path, embedding_function=embedding)
    llm = ChatOpenAI(model="gpt-3.5-turbo-16k",temperature=0.1)
    retriever = vectordb.as_retriever(search_kwargs={"k": 2})
    qa = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=retriever,return_source_documents=True)
    return qa
    ```

### Error Message and Stack Trace (if applicable)

[02/Feb/2024 11:54:15] "GET /create-project/ HTTP/1.1" 200 19747
Bad Request: /create-project/
[02/Feb/2024 11:56:43] "POST /create-project/ HTTP/1.1" 400 45

### Description

# Confluence Project Issue

## Problem Description

I am working on a Confluence project where I have implemented an "include attachments=True" feature. The functionality works fine locally, and the code is deployed on two servers. However, on one of the servers, I am encountering a "Bad request" error. Despite having all the necessary dependencies installed, the issue persists.

## Dependency Information

Here are the dependencies installed on all servers:

- Django 4.0
- Django Rest Framework
- Langchain 0.1.1
- Markdownify
- Pillow
- Docx2txt
- Xlrd
- Pandas
- Reportlab
- Svglib
- Pdf2image
- Chromadb
- Unstructured
- OpenAI
- Pypdf
- Tiktoken
- Django-cors-headers
- Django-environ
- Pytesseract 0.3.10
- Beautifulsoup4 4.12.2
- Atlassian-python-api 3.41.9
- Lxml
- Langchain-community
- Langchain-openai
- Python-docx
- Unstructured-inference
- Unstructured[all-docs]
- Pydantic
- Langchainhub

## Additional Information

- The issue occurs specifically on one server.
- The "include attachments" feature is working fine on the local environment and another server.
- All dependencies are installed on the problematic server.
- The server where the issue occurs has Django 4.0 installed.

## Steps Taken

- Checked server logs for any specific error messages.
- Verified that all necessary dependencies are installed on the problematic server.
- Ensured that the codebase is the same across all servers.

## Error Message

On the problematic server, I am receiving a "Bad request" error.

## Request for Assistance

I would appreciate any guidance or suggestions on how to troubleshoot and resolve this issue. If anyone has encountered a similar problem or has insights into Confluence projects and attachment inclusion, your assistance would be invaluable.

Thank you!

### System Info

below is my server configuration
Architecture:            aarch64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
CPU(s):                  2
  On-line CPU(s) list:   0,1

                 total        used        free      shared  buff/cache   available
Mem:           7.7Gi       5.4Gi       238Mi        20Mi       2.1Gi       2.1Gi
Swap:          8.0Gi       2.1Gi       5.9Gi

ModuleNotFoundError: No module named 'rlPyCairo'
During handling of the above exception, another exception occurred:
ModuleNotFoundError: No module named '_rl_renderPM'
During handling of the above exception, another exception occurred:
RenderPMError: cannot import desired renderPM backend rlPyCairo
Seek advice at the users list see
https://pairlist2.pair.net/mailman/listinfo/reportlab-users
i used this  include_attachments=True , then i got this error. I have install all required dependencies.

@RobertSelvam I had this issue when trying to use renderPM from reportlab.graphics and try to write to memory (BytesIO) a Drawing generated by svglib through its svg2rlg from svglib.svglib and solve it by just installing the package first mentioned (rlPyCairo) with pip:
Example code:
from svglib.svglib
import svg2rlg
drawing = svg2rlg(path_logo)
if drawing:
from io import BytesIO
img_stream = BytesIO()
from reportlab.graphics import renderPM
renderPM.drawToFile(drawing, img_stream, 'PNG') <-- The same error you had occurs here
Just run: pip install prPyCairo
I hope this helps.


Test against php 7.3 and php 7.4

jms/serializer < 3.2 causes some deprecations on php7.4. willdurand/hateoas already bumped the version of jms/serializer to ^3.2.
@goetas Maybe you can tag a new release of https://github.com/willdurand/Hateoas - then we can bump the version of 'willdurand/hateoas` to the new release and thus fix the php7.4 deprecations.

Maybe you can tag a new release of https://github.com/willdurand/Hateoas - then we can bump the version of 'willdurand/hateoas` to the new release and thus fix the php7.4 deprecations.

done

Thank you. Tests are green now

Thanks!


Gray out unused params/vars/etc

From internal 1040737

export namespace DiagnosticTag {
/**
* Unused or unnecessary code.
*
* Clients are allowed to render diagnostics with this tag faded out instead of having
* an error squiggle.
/
export const Unnecessary: 1 = 1;
/*
* Deprecated or obsolete code.
*
* Clients are allowed to rendered diagnostics with this tag strike through.
*/
export const Deprecated: 2 = 2;
}
export interface Diagnostic {
tags?: DiagnosticTag[];


[MAINT] follow several recommendations from the Scientific Python Library Development Guide

apply several recommendations mentioned in
https://github.com/SIMEXP/giga_connectome/issues/44#issuecomment-1731609079

Codecov Report

Merging #58 (4d6b354) into main (916e155) will decrease coverage by 46.11%.
The diff coverage is n/a.

Additional details and impacted files

@@             Coverage Diff             @@
##             main      #58       +/-   ##
===========================================
- Coverage   91.31%   45.21%   -46.11%
===========================================
  Files           9        9
  Lines         449      449
===========================================
- Hits          410      203      -207
- Misses         39      246      +207

see 8 files with indirect coverage changes

okay adding those extra options has raised some issues and revealed some very hacky things I did for good -

test_load_atlas_setting, test_generate_group_mask: i manually overrided the templateflow home to load customised atlas. this is not a typical use case of templateflow
test_calculate_intranetwork_correlation: we used the niftimasker to flatten label atlas (3D); solvable
test_get_bids_images: this is from a hack to force pybids to index fmriprep outputs, you are a better person to judge if i am doing the right thing here

Oh I thought I was breaking things... OK will probably move the problematic things in a separate PR so that the things that are 'trivial' in this one can go through


The source in the Debugger panel doesn't appear when breaking on reload

STR:

Open this page: https://www.mozilla.org/en-US/contribute/
Open Firebug on it
Put a Breakpoint at line 74 of tabzilla.js
Reload the page
=> The execution should break on this line
=> But the source of tabzilla.js is not displayed

Florent

Thanks for the report!
Does it work for you now?
Honza

Works like a charm! Thanks!
Florent

Excellent, thanks for verification!
Honza

$fixed firebug-3.0.0-alpha.8


Can not search the setting programs

Provide a description of the new feature / enhancement
I can not search the add or remove programs or anythings in settings windows 10

Hi @SangNguyen2810! To clarify, are you suggesting functionality for PowerToys Run to be able to add or remove programs similar to the Windows 10 settings menu: Settings -> Apps -> Apps & features ?

Hi @SangNguyen2810 please file this on Windows Feedback hub.  We aren't the spot for this type of question, sorry!


Logging, validation, and testing

[ ] Log inconsistencies at runtime: e.g. missing fields like title.
[ ] Post-build validation: ensure that each page has expected fields etc.
[ ] Testing: ensure that the code does what its supposed to do.

Ideas for post-build validation:

Check for broken internal links
Run W3C validators against each page.

Splitting this issue to more specific ones


Remove bullet on files list

Why was this change made? 🤔
Closes #3025
Before:

After:

How was this change tested? 🤨
⚡ ⚠ If this change involves consuming from or writing to another service (or shared file system), run integration test create_object_h2_spec.rb and/or test manually in [stage|qa] environment, in addition to specs. ⚡
Does your change introduce accessibility violations? 🩺
⚡ ⚠ Please ensure this change does not introduce accessibility violations (at the WCAG A or AA conformance levels); if it does, include a rationale. See the Infrastructure accessibility guide for more detail. ⚡

Yes, thanks Mike.  Can we do a test of this PR with hierarchical content to see if the indentation is kept?  My concern is it may not be. You can do this by zipping up a local folder that has some nesting and files at each nested level, uploading the zip and let it get expanded.
I presume if the indenting for hierarchy is kept, and the bullets are gone, that would probably be fine.  If the indenting is gone, we'd need to come up with another solution.

Nested display:


2.8.4 無法顯示耗電量、除濕機濕度、除濕機PM 2.5

您好已更新到2.8.4
目前無法顯示耗電量、除濕機濕度、除濕機PM 2.5
請再協助，謝謝

@andy860218 @earthqmei 請問有log檔或裝置資訊的截圖嗎?

補上log檔案，再麻煩作者了！
home-assistant_panasonic_smart_app_2024-08-21T05-09-19.918Z.log

補上我按configure後的log檔案，再麻煩作者了！
`2024-08-21 13:07:20.558 WARNING (MainThread) [custom_components.panasonic_smart_app.smartApp] 無法連線至"洗衣機"，將於下輪更新時重試
2024-08-21 13:08:15.274 INFO (MainThread) [custom_components.panasonic_smart_app]
Loading your Panasonic devices. This may takes few minutes to complete.
2024-08-21 13:08:15.274 INFO (MainThread) [custom_components.panasonic_smart_app.smartApp] Attemping to login...
2024-08-21 13:08:15.279 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #1 request to https://ems2.panasonic.com.tw/api/userlogin1 with headers {'user-agent': 'okhttp/4.9.1'} and data {'MemId'<EMAIL_ADDRESS>'PW': '1953djks', 'AppToken': 'D8CBFF4C-2824-4342-B22D-189166FEF503'}, proxy:
2024-08-21 13:08:16.328 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #1 API. Returned 200: {"CPToken":"46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E","ExpireTime":"20241119130815","TokenTimeOut":"20240821140815","RefreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4ZGQ2OTM4NC04NWMzLTQwMzQtOTVlMi03YjVkNDVkOTgyYjQiLCJuYmYiOjE3MjQyMTY4OTUsImV4cCI6MTczMTk5Mjg5NSwiaWF0IjoxNzI0MjE2ODk1fQ.dc7G9fhddrswF2EIsfCxUItiI4unCfIW3FnLVZgu7iU","RefreshTokenTimeOut":"20241119130815","MVersion":"20240714191354"}
2024-08-21 13:08:17.282 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-21 13:08:17.283 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #2 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-21 13:08:17.382 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #2 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240714191354","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"2","AreaName":"同心圓","AreaNo":"2","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB7D2850","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB7D2850BEF8C43F326A9E580CB3314D3E7B884B","NickName":"洗衣機","City":"臺南市","Area":"安平區","LatLng":"22.982971,120.180138","DeviceType":"3","ModelType":"HDH","Model":"NA-V180HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"1YSixpXJ6ahaRL9wsKECPOJZA8JXeL/KOWgAWvNkwzU=","ModelID":"","AreaID":"0","SeqNo":"0","Auth":"1YSixpXJ6ahaRL9wsKECPOJZA8JXeL/KOWgAWvNkwzU=9523147E5A6707BAF674941812EE5C94","NickName":"台南冰箱","City":"臺南市","Area":"安平區","LatLng":"22.982788,120.180260","DeviceType":"2","ModelType":"F657","Model":"NR-F607HX-W1","Function":{},"Attribute":{"Doors":"6"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE689DC4","ModelID":"CZ-T006","AreaID":"2","SeqNo":"1","Auth":"7061BE689DC4BEF8C43F326A9E580CB3314D3E7B884B","NickName":"冰箱","City":"花蓮縣","Area":"花蓮市","LatLng":"23.996826,121.588387","DeviceType":"2","ModelType":"XGS","Model":"NR-C501XGS","Function":{},"Attribute":{"Doors":"3"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE0EA6C6","ModelID":"CZ-T006","AreaID":"2","SeqNo":"2","Auth":"7061BE0EA6C6BEF8C43F326A9E580CB3314D3E7B884B","NickName":"書房除濕機","City":"花蓮縣","Area":"花蓮市","LatLng":"23.996826,121.588387","DeviceType":"4","ModelType":"JHW","Model":"F-Y20JH","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"F657","JSON":[{"DeviceType":2,"DeviceName":"電冰箱","ModelType":"F656","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202104151200","list":[{"CommandType":"0x00","CommandName":"冷凍庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x01","CommandName":"冷藏庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x57","CommandName":"微凍結室溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["冰溫",6],["弱",0],["中",2],["強",4]]},{"CommandType":"0x50","CommandName":"除霜設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["除霜中",1]]},{"CommandType":"0x0C","CommandName":"ECO設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x52","CommandName":"製冰停止","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x53","CommandName":"快速製冰","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x56","CommandName":"新鮮急凍結","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["冷卻",1],["急冷",2],["急凍",3]]},{"CommandType":"0x5A","CommandName":"冬季模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5B","CommandName":"購物模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5C","CommandName":"外出模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]},{"ModelType":"JHW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"JHW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170829","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6],["空氣清淨",7]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["靜音",1],["標準",2],["急速",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"XGS","JSON":[{"DeviceType":2,"DeviceName":"電冰箱","ModelType":"D501XGS","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202105271020","list":[{"CommandType":"0x00","CommandName":"冷凍庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x01","CommandName":"冷藏庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x57","CommandName":"微凍結室溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x03","CommandName":"冷凍溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-40],["Max",40]]},{"CommandType":"0x05","CommandName":"冷藏溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-39],["Max",40]]},{"CommandType":"0x58","CommandName":"微凍結溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-39],["Max",40]]},{"CommandType":"0x50","CommandName":"除霜設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["除霜中",1]]},{"CommandType":"0x0C","CommandName":"ECO設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x61","CommandName":"nanoe","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x52","CommandName":"製冰停止","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x53","CommandName":"快速製冰","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x56","CommandName":"新鮮急凍結","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["冷卻",1],["急冷",2],["急凍",3]]},{"CommandType":"0x5A","CommandName":"冬季模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5B","CommandName":"購物模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5C","CommandName":"外出模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]}]}]}]}
2024-08-21 13:08:19.289 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #3 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-21 13:08:19.430 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #3 API. Returned 200: {"Summary":42.79,"kwh":[2.24,1.98,1.38,1.92,2.39,1.76,2.39,3.35,1.75,2.2,2.46,1.52,1.98,2.49,2.7,1.68,1.82,1.47,2.44,1.82,1.05,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"3.22","percent":"7.53"},{"AreaID":"2","AreaName":"同心圓","AreaNo":"2","AreaIcon":"1","Total_kwh":"39.57","percent":"92.47"}],"GwList":[{"GwID":"2C9FFB7D2850","DeviceType":"3","NickName":"洗衣機","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"3.22","kwh":[0.51,0.15,0.0,0.44,0.0,0.0,0.26,0.0,0.0,0.26,0.21,0.0,0.0,0.4,0.0,0.0,0.34,0.0,0.49,0.0,0.16,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"7.53","Attribute":{"Type":"滾筒"}},{"GwID":"7061BE689DC4","DeviceType":"2","NickName":"冰箱","AreaID":"2","AreaName":"同心圓","AreaNo":"2","SeqNo":"1","Total_kwh":"30.17","kwh":[1.43,1.53,1.38,1.38,1.49,1.56,1.53,1.45,1.65,1.64,1.45,1.52,1.58,1.49,1.4,1.38,1.38,1.37,1.45,1.42,0.69,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"70.51","Attribute":{"Doors":"3"}},{"GwID":"7061BE0EA6C6","DeviceType":"4","NickName":"書房除濕機","AreaID":"2","AreaName":"同心圓","AreaNo":"2","SeqNo":"2","Total_kwh":"9.40","kwh":[0.3,0.3,0.0,0.1,0.9,0.2,0.6,1.9,0.1,0.3,0.8,0.0,0.4,0.6,1.3,0.3,0.1,0.1,0.5,0.4,0.2,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"21.97","Attribute":{"Year":"0"}}]}
2024-08-21 13:08:21.296 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #4 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'auth': '2C9FFB7D2850BEF8C43F326A9E580CB3314D3E7B884B', 'gwid': '2C9FFB7D2850', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-21 13:08:41.365 WARNING (MainThread) [custom_components.panasonic_smart_app.smartApp] 無法連線至"洗衣機"，將於下輪更新時重試
2024-08-21 13:08:41.366 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #5 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'auth': '7061BE0EA6C6BEF8C43F326A9E580CB3314D3E7B884B', 'gwid': '7061BE0EA6C6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-21 13:08:41.834 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #5 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"0"},{"CommandType":"0x53","status":"0"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"0"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"67"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"0"},{"CommandType":"0x04","status":"4"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240821130752"}
2024-08-21 13:08:43.371 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 26.089 seconds (success: True)
2024-08-21 13:08:43.397 INFO (MainThread) [custom_components.panasonic_smart_app] Updating device info...
2024-08-21 13:08:43.405 DEBUG (MainThread) [custom_components.panasonic_smart_app] Device index #0 status: dict_keys([])
2024-08-21 13:08:43.406 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up panasonic_smart_app platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/panasonic_smart_app/sensor.py", line 56, in async_setup_entry
device_status = coordinator.data[index]["status"].keys()
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'status'
2024-08-21 13:08:43.418 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 定時開機] value: 0
2024-08-21 13:08:43.446 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 操作提示音] is_on: False
2024-08-21 13:08:43.458 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #6 request to https://ems2.panasonic.com.tw/api/UserGetRegisteredGwList2 with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'user-agent': 'okhttp/4.9.1'} and data None, proxy:
2024-08-21 13:08:43.558 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #6 API. Returned 200: {"State":"success","StateMsg":"","MVersion":"20240714191354","GroupList":[],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1"},{"AreaID":"2","AreaName":"同心圓","AreaNo":"2","AreaIcon":"1"}],"GwList":[{"GWID":"2C9FFB7D2850","ModelID":"CZ-T006","AreaID":"0","SeqNo":"0","Auth":"2C9FFB7D2850BEF8C43F326A9E580CB3314D3E7B884B","NickName":"洗衣機","City":"臺南市","Area":"安平區","LatLng":"22.982971,120.180138","DeviceType":"3","ModelType":"HDH","Model":"NA-V180HDH","Function":{},"Attribute":{"Type":"滾筒"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"1YSixpXJ6ahaRL9wsKECPOJZA8JXeL/KOWgAWvNkwzU=","ModelID":"","AreaID":"0","SeqNo":"0","Auth":"1YSixpXJ6ahaRL9wsKECPOJZA8JXeL/KOWgAWvNkwzU=9523147E5A6707BAF674941812EE5C94","NickName":"台南冰箱","City":"臺南市","Area":"安平區","LatLng":"22.982788,120.180260","DeviceType":"2","ModelType":"F657","Model":"NR-F607HX-W1","Function":{},"Attribute":{"Doors":"6"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE689DC4","ModelID":"CZ-T006","AreaID":"2","SeqNo":"1","Auth":"7061BE689DC4BEF8C43F326A9E580CB3314D3E7B884B","NickName":"冰箱","City":"花蓮縣","Area":"花蓮市","LatLng":"23.996826,121.588387","DeviceType":"2","ModelType":"XGS","Model":"NR-C501XGS","Function":{},"Attribute":{"Doors":"3"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]},{"GWID":"7061BE0EA6C6","ModelID":"CZ-T006","AreaID":"2","SeqNo":"2","Auth":"7061BE0EA6C6BEF8C43F326A9E580CB3314D3E7B884B","NickName":"書房除濕機","City":"花蓮縣","Area":"花蓮市","LatLng":"23.996826,121.588387","DeviceType":"4","ModelType":"JHW","Model":"F-Y20JH","Function":{"SetSchedule":"1"},"Attribute":{"Year":"0"},"Devices":[{"DeviceID":1,"Name":"","IsAvailable":1}]}],"CommandList":[{"ModelType":"F657","JSON":[{"DeviceType":2,"DeviceName":"電冰箱","ModelType":"F656","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202104151200","list":[{"CommandType":"0x00","CommandName":"冷凍庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x01","CommandName":"冷藏庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x57","CommandName":"微凍結室溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["冰溫",6],["弱",0],["中",2],["強",4]]},{"CommandType":"0x50","CommandName":"除霜設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["除霜中",1]]},{"CommandType":"0x0C","CommandName":"ECO設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x52","CommandName":"製冰停止","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x53","CommandName":"快速製冰","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x56","CommandName":"新鮮急凍結","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["冷卻",1],["急冷",2],["急凍",3]]},{"CommandType":"0x5A","CommandName":"冬季模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5B","CommandName":"購物模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5C","CommandName":"外出模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]}]}]},{"ModelType":"HDH","JSON":[{"DeviceType":3,"DeviceName":"洗衣機","ModelType":"HDH","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"201909050700","list":[{"CommandType":"0x55","CommandName":"行程別訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["加強行程",2],["高級衣行程",5],["浸泡行程",8],["快洗行程",10],["槽洗淨行程",11],["大件行程",13],["標準除垢行程",14],["除螨行程",15],["夜靜行程",16],["自選行程",17],["槽乾燥行程",18],["nanoe行程",19],["約40℃(除臭)行程",20],["約60℃(除菌)行程",21],["溫泡洗行程",22],["自動投入保養",1536]]},{"CommandType":"0x50","CommandName":"運轉情報","ParameterType":"enum","ParameterUnit":"","Parameters":[["待機中",1],["動作中",2],["預約中",3],["預約中",4],["終了",5]]},{"CommandType":"0x54","CommandName":"工程訊息","ParameterType":"enum","ParameterUnit":"","Parameters":[["預洗",1],["浸泡",2],["洗衣",3],["洗清",4],["脫水",5],["乾衣",6],["烘乾",7],["鬆布",8],["鬆柔冷卻",9],["nanoe",10],["延後晾衣",11],["槽除黴",12]]},{"CommandType":"0x13","CommandName":"洗衣殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x01","CommandName":"開始洗衣","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1]]},{"CommandType":"0x15","CommandName":"預約殘時間","ParameterType":"range","ParameterUnit":"分","Parameters":[["Min",0],["Max",1440]]},{"CommandType":"0x14","CommandName":"預約時間設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",8]]},{"CommandType":"0x19","CommandName":"異常代碼","ParameterType":"enum","ParameterUnit":"","Parameters":[]},{"CommandType":"0x60","CommandName":"時間調整","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",0],["Max",24]]},{"CommandType":"0x61","CommandName":"延後晾衣設定","ParameterType":"range","ParameterUnit":"時","Parameters":[["Min",1],["Max",8]]},{"CommandType":"0x64","CommandName":"行程設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["標準行程",0],["自選行程",1],["浸泡行程",2],["快洗行程",3],["高級衣行程",4],["大件行程",5],["夜靜行程",7],["槽洗淨行程",8],["加強行程",9],["nanoe行程",10],["標準除垢行程",11],["個別行程",14],["除菌行程",15],["除臭行程",16],["槽乾燥行程",18],["溫泡洗行程",19]]},{"CommandType":"0x69","CommandName":"溫水設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["",0],["溫水",1]]}]}]},{"ModelType":"JHW","JSON":[{"DeviceType":4,"DeviceName":"除濕機","ModelType":"JHW","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202108170829","list":[{"CommandType":"0x00","CommandName":"電源","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["運轉",1]]},{"CommandType":"0x01","CommandName":"功能選擇","ParameterType":"enum","ParameterUnit":"","Parameters":[["連續除濕",0],["自動除濕",1],["防霉抑菌",2],["衣物乾燥",4],["保持乾燥",5],["濕度設定",6],["空氣清淨",7]]},{"CommandType":"0x04","CommandName":"濕度設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["40%",0],["45%",1],["50%",2],["55%",3],["60%",4],["65%",5],["70%",6]]},{"CommandType":"0x0E","CommandName":"風量","ParameterType":"enum","ParameterUnit":"","Parameters":[["自動",0],["靜音",1],["標準",2],["急速",3]]},{"CommandType":"0x09","CommandName":"風向","ParameterType":"enum","ParameterUnit":"","Parameters":[["固定",0],["下方向",1],["上方向",2],["廣角",3],["下吹",4]]},{"CommandType":"0x18","CommandName":"操作提示音","ParameterType":"enum","ParameterUnit":"","Parameters":[["開啟",0],["關閉",1]]},{"CommandType":"0x02","CommandName":"時間到關","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x55","CommandName":"時間到開","ParameterType":"range","ParameterUnit":"小時","Parameters":[["Min",0],["Max",12]]},{"CommandType":"0x0D","CommandName":"nanoeX(脫臭)","ParameterType":"enum","ParameterUnit":"","Parameters":[["關閉",0],["開啟",1]]}]}]},{"ModelType":"XGS","JSON":[{"DeviceType":2,"DeviceName":"電冰箱","ModelType":"D501XGS","ProtocalType":"SAANET","ProtocalVersion":"4","Timestamp":"202105271020","list":[{"CommandType":"0x00","CommandName":"冷凍庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x01","CommandName":"冷藏庫溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x57","CommandName":"微凍結室溫設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["弱",0],["中",2],["強",4]]},{"CommandType":"0x03","CommandName":"冷凍溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-40],["Max",40]]},{"CommandType":"0x05","CommandName":"冷藏溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-39],["Max",40]]},{"CommandType":"0x58","CommandName":"微凍結溫度顯示","ParameterType":"range","ParameterUnit":"度","Parameters":[["Min",-39],["Max",40]]},{"CommandType":"0x50","CommandName":"除霜設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["除霜中",1]]},{"CommandType":"0x0C","CommandName":"ECO設定","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x61","CommandName":"nanoe","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["運作中",1]]},{"CommandType":"0x52","CommandName":"製冰停止","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x53","CommandName":"快速製冰","ParameterType":"enum","ParameterUnit":"","Parameters":[["停止",0],["啟動",1]]},{"CommandType":"0x56","CommandName":"新鮮急凍結","ParameterType":"enum","ParameterUnit":"","Parameters":[["通常",0],["冷卻",1],["急冷",2],["急凍",3]]},{"CommandType":"0x5A","CommandName":"冬季模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5B","CommandName":"購物模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]},{"CommandType":"0x5C","CommandName":"外出模式","ParameterType":"enum","ParameterUnit":"","Parameters":[["未啟動",0],["啟動中",1],["可啟動",2]]}]}]}]}
2024-08-21 13:08:45.462 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #7 request to https://ems2.panasonic.com.tw/api/UserGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'user-agent': 'okhttp/4.9.1'} and data {'name': 'Power', 'from': '2024/08/01', 'unit': 'day', 'max_num': 31}, proxy:
2024-08-21 13:08:45.611 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #7 API. Returned 200: {"Summary":42.79,"kwh":[2.24,1.98,1.38,1.92,2.39,1.76,2.39,3.35,1.75,2.2,2.46,1.52,1.98,2.49,2.7,1.68,1.82,1.47,2.44,1.82,1.05,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"AreaList":[{"AreaID":"0","AreaName":"","AreaNo":"0","AreaIcon":"1","Total_kwh":"3.22","percent":"7.53"},{"AreaID":"2","AreaName":"同心圓","AreaNo":"2","AreaIcon":"1","Total_kwh":"39.57","percent":"92.47"}],"GwList":[{"GwID":"2C9FFB7D2850","DeviceType":"3","NickName":"洗衣機","AreaID":"0","AreaName":"","AreaNo":"0","SeqNo":"0","Total_kwh":"3.22","kwh":[0.51,0.15,0.0,0.44,0.0,0.0,0.26,0.0,0.0,0.26,0.21,0.0,0.0,0.4,0.0,0.0,0.34,0.0,0.49,0.0,0.16,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"7.53","Attribute":{"Type":"滾筒"}},{"GwID":"7061BE689DC4","DeviceType":"2","NickName":"冰箱","AreaID":"2","AreaName":"同心圓","AreaNo":"2","SeqNo":"1","Total_kwh":"30.17","kwh":[1.43,1.53,1.38,1.38,1.49,1.56,1.53,1.45,1.65,1.64,1.45,1.52,1.58,1.49,1.4,1.38,1.38,1.37,1.45,1.42,0.69,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"70.51","Attribute":{"Doors":"3"}},{"GwID":"7061BE0EA6C6","DeviceType":"4","NickName":"書房除濕機","AreaID":"2","AreaName":"同心圓","AreaNo":"2","SeqNo":"2","Total_kwh":"9.40","kwh":[0.3,0.3,0.0,0.1,0.9,0.2,0.6,1.9,0.1,0.3,0.8,0.0,0.4,0.6,1.3,0.3,0.1,0.1,0.5,0.4,0.2,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"percent":"21.97","Attribute":{"Year":"0"}}]}
2024-08-21 13:08:47.468 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #8 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'auth': '2C9FFB7D2850BEF8C43F326A9E580CB3314D3E7B884B', 'gwid': '2C9FFB7D2850', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x13'}, {'CommandType': '0x14'}, {'CommandType': '0x15'}, {'CommandType': '0x41'}, {'CommandType': '0x50'}, {'CommandType': '0x54'}, {'CommandType': '0x55'}, {'CommandType': '0x61'}, {'CommandType': '0x64'}], 'DeviceID': 1}], proxy:
2024-08-21 13:08:53.397 WARNING (MainThread) [homeassistant.components.humidifier] Setup of humidifier platform panasonic_smart_app is taking over 10 seconds.
2024-08-21 13:09:07.535 WARNING (MainThread) [custom_components.panasonic_smart_app.smartApp] 無法連線至"洗衣機"，將於下輪更新時重試
2024-08-21 13:09:07.537 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Making #9 request to https://ems2.panasonic.com.tw/api/DeviceGetInfo with headers {'cptoken': '46DF4C2B-944A-4379-B1DF-7D6CEA0CA28E', 'auth': '7061BE0EA6C6BEF8C43F326A9E580CB3314D3E7B884B', 'gwid': '7061BE0EA6C6', 'user-agent': 'okhttp/4.9.1'} and data [{'CommandTypes': [{'CommandType': '0x00'}, {'CommandType': '0x01'}, {'CommandType': '0x02'}, {'CommandType': '0x07'}, {'CommandType': '0x09'}, {'CommandType': '0x0D'}, {'CommandType': '0x50'}, {'CommandType': '0x18'}, {'CommandType': '0x53'}, {'CommandType': '0x55'}, {'CommandType': '0x0A'}, {'CommandType': '0x04'}, {'CommandType': '0x0E'}], 'DeviceID': 1}], proxy:
2024-08-21 13:09:08.075 DEBUG (MainThread) [custom_components.panasonic_smart_app.smartApp] Succeed to access #9 API. Returned 200: {"status":"success","devices":[{"DeviceID":1,"Info":[{"CommandType":"0x18","status":"1"},{"CommandType":"0x50","status":"0"},{"CommandType":"0x53","status":"0"},{"CommandType":"0x55","status":"0"},{"CommandType":"0x00","status":"0"},{"CommandType":"0x01","status":"6"},{"CommandType":"0x02","status":"0"},{"CommandType":"0x07","status":"67"},{"CommandType":"0x09","status":"0"},{"CommandType":"0x0D","status":"1"},{"CommandType":"0x0A","status":"0"},{"CommandType":"0x04","status":"4"},{"CommandType":"0x0E","status":"0"}]}],"updated_at":"20240821130819"}
2024-08-21 13:09:09.540 DEBUG (MainThread) [custom_components.panasonic_smart_app] Finished fetching Panasonic Smart Application data in 26.143 seconds (success: True)
2024-08-21 13:09:09.541 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 定時開機] value: 0
2024-08-21 13:09:09.542 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 操作提示音] is_on: False
2024-08-21 13:09:09.545 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 ] is_on: False
2024-08-21 13:09:09.545 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 ] target_humidity: 60
2024-08-21 13:09:09.545 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 ] target_humidity: 60
2024-08-21 13:09:09.546 DEBUG (MainThread) [custom_components.panasonic_smart_app] [書房除濕機 ] _mode: 濕度設定
`

Hi @earthqmei , 看起來應該是洗衣機離線導致其他裝置 sensor 受影響，您可以將 sensor.py 內的第 56 行 修改為以下：
device_status = coordinator.data[index].get("status", {}).keys() 重啟後檢查問題是否能解決

Hi @andy860218 @earthqmei , 看起來應該是洗衣機離線導致其他裝置 sensor 受影響，您可以將 sensor.py 內的第 56 行 修改為以下： device_status = coordinator.data[index].get("status", {}).keys() 重啟後檢查問題是否能解決

成功了！太好了，很感謝！

請問如何修改sensor py 的code呢？
有操作路徑嗎 謝謝

@andy860218 可以用Studio code server，到custome_components > panasonic_smart_app > sensor.py

請問Studio code server 在home assistant 的哪個地方呢？方便提供截圖嗎

是一個add-on喔，你也可以搜尋YouTube，有安裝教學
https://github.com/hassio-addons/addon-vscode/blob/main/vscode/DOCS.md


IntelliJ Plugin

IntelliJ Support for Kobweb
This is a port of my Unofficial IntelliJ plugin to the official repo.
It currently includes:

The plugin base structure
Suppression of "Unused" warnings

Other features to be implemented can be found in #252
TODOs:

[ ] Proper icon
[ ] Option to disable subproject so not everyone has to download the IntelliJ dependency (Up for discussion)

Implemented in https://github.com/varabyte/kobweb-intellij-plugin


Wallet not syncing

Hi,
I have widows 10, and it has been about 18 hours and the numbers still dont match. Is that normal ?
Thank you

Yes, it's normal. I suggest you use the bootstrap file.


Unable to place/break blocks near spawn.

With spongevanilla-1.10.2-5.1.0-BETA-371 I create a server with superflat world saved right after creation in single player (tried twice). No mods.
Blocks flash and won't place. Can't break blocks either. If I move a certain distance I can start placing blocks and break the ground. Around 2 chunks but isn't right on chunk boundaries.
Would love to be able to debug further but don't really know where to start with the code.

I just went back and checked with a fresh, regular world and the same issue happens there, so nothing to do with superflat. Is this a documentation issue? Is there some sort of spawn area protection within ~2 chunks of the spawn point? Again, no mods, fresh software install, too.

In Minecraft you must be op to build near the spawn unless you set spawn-protection=0 in server.properties

Yup. I woke up thinking it must be something like this. Definitely PEBKAC.
I'm so used to being op for our little family setup. When I did the first attempt, I was op in the underlying configs but put in LuckPerms, so it seemed inconsistent. When I tried to make a clean setup to test, stripping out all the mods stedily, I wasn't op, but I also didn't drop all the way down to plain minecraft to see that it had nothing to do with spongevanilla. All of my searching was about sponge and I was too thick to make the connection with the docs.
Sorry for wasting your time.


[openslide] add port

[?] Changes comply with the maintainer guide (hoepfully)
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[ ] The generated "usage text" is accurate. See docs/examples/adding-an-explicit-usage.md for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

probably blocked by #29258

@BillyONeal  Why did you close this one exactly?

@BillyONeal Why did you close this one exactly?

The usual "github closed it when the other PR merged for some reason"

Ah, I said 'resolves' there to indicate that it resolved the problem encountered here, but github interpreted that as 'this PR makes that other one obsolete'. Sorry about that!


Could we use React Routing mechanism both server and client side?

Could you give sample for it? Is it possible?

I think @PeteDuncanson was attempting to use React Router from ReactJS.NET, although I'm not sure how far he got with it.  I don't know how difficult it would be to do.

It's doable but we needed to write a new method to do it as router needs to be passed the URL.
Our fork has the mods in if you want to take a look.
@daniel15 been playing with ideas for making the js code a bit more flexible. Latest idea is to pass in some variables to the engine for URL (and anything else that might be handy) then have a file with the js to run react rather than having it hard coded in the c#. File watcher on the file to pick up changes of course. Could make the whole setup more flexible?
Sent from my iPhone
On 7 Mar 2015, at 01:36, Daniel Lo Nigro <notifications<EMAIL_ADDRESS>wrote:
I think @PeteDuncansonhttps://github.com/PeteDuncanson was attempting to use React Router from ReactJS.NEThttp://ReactJS.NET, although I'm not sure how far he got with it. I don't know how difficult it would be to do.
—
Reply to this email directly or view it on GitHubhttps://github.com/reactjs/React.NET/issues/98#issuecomment-77676442.

Now looking into using React Router from ReactJS.NET as well.  Pulled Pete's branch and tried dev-build, looks like the build is failing..  Will try to work around that.   Would love to see this as a feature in the mainline.

Back from holiday so just catching up. How did you get on?

Haven't dedicated to much time, as the build is failing, and couldn't get it building.

Closing this in favour of #64

@dgwaldo trying our fork and it compiled just fine, did you run the dev.build file first as per the original ReactJS.net docs? That would cause an error but it does it for the original too. Fingers crossed thats the issue, if not let me know as can't recreate here.

@PeteDuncanson   The teamcity build was failing, looks like its good to go now.  However, my coworker has been using Node to serve the React prototype, seems to be working great so far.


Create dataset loader for PFSA-ID

Dataloader name: pfsa_id/pfsa_id.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?pfsa_id

Dataset
pfsa_id

Description
PFSA-ID is an annotated corpus for Public Figure Statement Attribution in the Indonesian Language. The annotation using the multi-class named entity recognition with 11 labels: PERSON, ROLE, AFFILIATION, PERSONCOREF, CUE, CUECOREF, STATEMENT, ISSUE, EVENT, DATETIME, and LOCATION and using the BILOU scheme as the representation of tokens.

Subsets
pfsa_id, pfsa_id_med, pfsa_id_test

Languages
ind

Tasks
Named Entity Recognition, Statement Tagging

License
Creative Commons Attribution Non Commercial Share Alike 4.0 (cc-by-nc-sa-4.0)

Homepage
https://github.com/sigit-purnomo/pfsa-id

HF URL
-

Paper URL
https://doi.org/10.1108/GKMC-04-2022-0091, https://doi.org/10.1108/GKMC-04-2022-0091

#self-assign


Create Tokens.md

Added Auth Mechanism details with newer changes

@nitinjms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Change code package to org.typelevel.doobie

After #1973, we want to avoid having the same package name as the artifact from org.tpolecat %% doobie (otherwise classpath will be a mess if doobie is a transitive dependency)

After #1973

Actually technically that's not quite right. The package should change when the artifact coordinates change, not when the GitHub org hosting the repo changes.


Added javascript for updating end time correctly on single day rental

Fixes #145

RE: #146 , and this comment, which one of these two solutions do we like best? @cmednieks @owlee @xliu3

I am going to say JS now client sided vs server sided change in case we have multiple client instances for the same time slot. I haven't found a clean solution (esp with modifying the datepicker() because bootstrap overrides my JS func).

Having multiple clients is not an issue in either solution, as the reservation is being made as the rental saves.
I would just say to merge the one we like best, close the opposing one and cheer at merging your first PR

👍  Do I get merging powers from you or Metin? @phantompatrol

@umayavuz !

Can't wait to merge my first PR at code review! 😰


Allow using camera as input on mobile with gpt-4 vision

Fix #282
Changes
Use the Clip button from Desktop version to call the camera and move the text input area on top of the buttons. The UI may require future updates to enhance the user experience.
Status
Now user can click the clip button to call the native camera to take pictures.

Tasks

[ ] Optimize the image locally so upload is faster
[ ] There's a lot of horizontal scrolling on mobile (might be unrelated to this PR)
[x] The icon on mobile should probably be a camera
[x] Support the camera use case, but also attaching a photo from the camera roll

This branch cannot be rebased due to conflicts

Same issue here.
Tested this with other users, and their feedback was:

Optimize the image locally so upload is faster
There's a lot of horizontal scrolling on mobile (might be unrelated to this PR)
The icon on mobile should probably be a camera
Support the camera use case, but also attaching a photo from the camera roll

@mingming-ma what's next here? I'm really excited for this to land

@humphd Just tested mobile version and sending images works well.
Since the Attach button is moved to the Options button, I removed the mobile view's Camera button, and user can add photos or take pictures from the Options button -> Attach Files.... and update the UI if needed in follow up PRs, Sounds good?

This is so, so cool!  Just used it to take a picture of hand-written notes in order to get text. 💯


Unknown source name

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.cssls.setup {
  capabilities = capabilities,
}
EOF

Description
nvim_lsp is not being recognised,
Steps to reproduce
Just use the minimal conf.
:CmpStatus
Expected behavior
nvim_lsp should not be in unknown source names
Actual behavior
nvim_lsp is in unknown source names
Additional context

Has this been resolved?

It activates on typing (CursorHold probably)

Got it, thanks!


Update to support threads

This should close #2 - tested it in a small project, not sure of the larger implications of this change.

@ajusa I was using your branch and it was working quite well before I switched to std/htmlgen.
However, this PR seems to contain an unrelated change: imageRendering -> image. Looks like a typo to me.


Support for SPDX spec version 3

This initial commit does not add any additional formats for version three.  It merely updates the libraries to the latest which supports the spec version 3 format.  It pass unit tests and has been tested with the latest license list and passes.
Note that this depends on unpublished versions of the SPDX Java Library and will not pass the CI tests.
Starting off with this as a draft pull request.

This pull request is complete with the exception of the license dependencies.
Attached, for review, are a few files:

Typical single license file (exceptions are similar): 0BSD.json
Licenses file that catalogs all licenses (the exceptions.json is similar): licenses.json
Archive of the website with the file structure proposed in issue 183 comment website.zip

Fixes #187

There were a couple significant decisions I made during implementation that deserves review.  I struggled a bit with the right approach for the single license / exception format and the creator information.

Each individual license and exception file is enclosed in an SPDX document.  See SPDX model repo issue 932 for the reasons for this decision.
I used the following creation info and creator / tools - Note: the creator agent has the version of the license list appended to the URI since the membership of the legal team may change over time.

    "@id" : "_:creationInfo_0",
    "type" : "CreationInfo",
    "specVersion" : "3.0.1",
    "createdBy" : [ "https://spdx.org/licenses/creatoragent/3_12" ],
    "createdUsing" : [ "https://spdx.org/tools/licenselistpublisher" ],
    "created" : "2021-03-07T00:00:00Z",
    "comment" : "This object is created and maintained by the SPDX legal team (https://spdx.dev/engage/participate/legal-team/) using the LicenseListPublisher (https://github.com/spdx/licenselistpublisher)"
  },  {
    "spdxId" : "https://spdx.org/tools/licenselistpublisher",
    "type" : "Tool",
    "name" : "SPDX License List Publisher",
    "creationInfo" : "_:creationInfo_0"
  }, {
    "spdxId" : "https://spdx.org/licenses/creatoragent/3_12",
    "type" : "Organization",
    "name" : "SPDX Legal Team",
    "creationInfo" : "_:creationInfo_0"
  }, ...


Make naga_oil stringify! compatible.

naga_oil not being stringify! compatible severely hurts the viability of macro generated shaders.
To make naga_oil compatible we need

Treat # import as #import.

Ignore line breaks and use expression based parsing

What exactly does being stringify! compatible mean? Asking, because I am working on eventual naga-oil/WGSL importing improvements.

What exactly does being stringify! compatible mean? Asking, because I am working on eventual naga-oil/WGSL importing improvements.

Mostly whitespace agnostic like rust and wgsl itself.
I don't think this is a huge issue anymore but naga_oil being whitespace agnostic could probably benefit the spec in the long run.

Sounds like a reasonable request. I guess we'll need a different #ifdef syntax as well, because the typical one relies on it being on a separate line.


Some Errors!  OSError: [Errno 2] No such file or directory

I get this error:
autosub -F srt -S en-US -D en file.mp4
 Traceback (most recent call last):
 File "/usr/local/bin/autosub", line 257, in <module>
 sys.exit(main())
 File "/usr/local/bin/autosub", line 193, in main
 audio_filename, audio_rate = extract_audio(args.source_path)
 File "/usr/local/bin/autosub", line 103, in extract_audio
 subprocess.check_output(command)
 File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
 process = Popen(stdout=PIPE, *popenargs, **kwargs)
 File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
 errread, errwrite)
 File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
 raise child_exception
 OSError: [Errno 2] No such file or directory

I've installed iy by 'pip'

Have you installed ffmpeg?

Oops, Nope!
I installed it and now, it's working well.
ffmpeg is not available in Ubuntu 14.04; I installed it by a PPA!
Thanks for this awesome app; I already uploaded my videos to Youtube in order to download auto captions by youtube-dl. It was kind of a headache on big files!

No problem! Glad you're finding it helpful!


Error: pybot OrangeDemoApp.html

I have installed robotframework-appiumlibrary through pip command, but when I entered demo and executed pybot OrangeDemoApp.html, it has the following errors:
Importing test library 'AppiumAndroidLibrary' failed: ImportError: No module named AppiumAndroidLibrary

How can I fix it?

Sorry， delete html demo，you can try txt demo
https://github.com/jollychang/robotframework-appiumlibrary/commit/69e105aadaed3003aa2dc9a0db2434319499ae7a


Pose tracking spine information

System information (Please provide as much relevant information as possible)
I am running MediaPipeUnity, and for now target platforms are Android, iOS, and PC

MediaPipe Solution (you are using): MediaPipeUnity version based on MediaPipe 0.8.6
Programming language : C++/typescript/Python/Objective C/Android Java
Are you willing to contribute it (Yes/No): Willing, but I don't have enough in-depth experience with MediaPipe, unfortunately

Describe the feature and the current behavior/state:
I want to ask if there is any way to detect somehow landmarks along the spine for the Pose detection, so that it's possible to see the shape of the spine to some degree. Even just 1 or 2 points would help.
Will this change the current api? How?
Yes. It will change the number/list of landmarks for Pose and Holistic tracking and any code using those
Who will benefit with this feature?
Anyone interested in the shape of the spine
Please specify the use cases for this feature:
Any Other info:

well well well, I might have just the thing. Although it is not a direct solution, it is a workaround. but it works, that's all that matters right, idk.
So, in order to detect the bend in the spine, I utilize the torso lengths. The theory is that, when I bend my spine, I effectively shorten the distance between my shoulder and my hip. And since the media pipe detects these two points, I can get the distance between them. So at the start of the program, if u save the original torso length (without any bends), and use it as a reference.
all i m saying is green (no bend) big and red (with bend) small. This gives u the magnitude of bend
straight spine:

bent spine:

Now with this basic idea, u cld plot both the torso lengths and also find the direction of bend.

Has anyone applied this in a project? Thinking of using a similar solution to identify pelvic/postural tilt of the hips/shoulders, however, Mediapipe tracked points for the shoulders and hips barely move in relation to any tilt of the hips or shoulder - especially in a side on view like this diagram.

@ROBYER1 I am trying exactly the same thing. Right now I am trying to understand how Z points are calculated but it seems like it is a bit hard to understand looking to Z axes because they are flickering a lot depending on all the things. Have you found any solution to apply something to detect postural assessment? I am working with frontal view

I have not been successful yet in this, I am hoping for a reply from Google staff here to acknowledge this improvement to the pose tracking. I also mentioned this issue on the Mediapipe Slack channel where a lot of other developers mentioned having the same issue. Without additional tracking data it is very difficult to assess posture using Mediapipe currently.


Change blacklist to nonVeganList

Since blacklist is discriminatory and pejorative term, you should use a non discriminatory term. Since the usual fix (blocklist instead of blacklist) is not really applicable here, I suggest that you replace blacklist with nonVeganList.

Don't wanna offend anybody. Is fixed.


Compilation issue

Sbcl answers:
*
debugger invoked on a SB-INT:SIMPLE-READER-PACKAGE-ERROR in thread
#<THREAD "main thread" RUNNING {1001878103}>:
  Package QL does not exist.

    Stream: #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {100001C223}>

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE ] Use the current package, COMMON-LISP-USER.
  1: [RETRY    ] Retry finding the package.
  2: [USE-VALUE] Specify a different package
  3: [UNINTERN ] Read the symbol as uninterned.
  4: [SYMBOL   ] Specify a symbol to return
  5: [ABORT    ] Exit debugger, returning to top level.

(SB-IMPL::READER-FIND-PACKAGE "QL" #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {100001C223}> T)

Any idea what went wrong? (Quicklisp is installed though...)

@ThomasBucaioni Can you paste the contents of your sbclrc file? (~/.sbclrc). I'd guess that you installed quicklisp but didn't arrange for it to be loaded on start-up every time you start SBCL.

Indeed, I have no ~/.sbclrc... But even adding these lines, sbcl still returns that ql doesn't exist: since I never ran ql:add-to-init-file, there are probably more things that I missed

Gitter would work fine. As would #lisp@freenode as the issue is installing quicklisp. But you can follow the instructions at https://www.quicklisp.org/beta/#installation
$ sbcl --load quicklisp.lisp
* (quicklisp-quickstart:install)
* (ql:add-to-init-file)


Adding tinyproxy service to NixOS

Description of changes

Adding a new service modules in nixos.
Addind the relevant tests.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This services can be quite usefull, as the privoxy comes with built-in block rules which are more of a hindrance than a help.

Maybe you should tag mainterner who can review the code?

You're probably right.
But I'm not entirely certain of my choices. It works for me but if you want to do more advanced configuration it could more tricky.

@ofborg test tinyproxy


Is it possible to add a book type index of the titles?

I love your project, is it possible to add a book type index? I would actually like to use your project with a few modifications, but I need to generate a book-like index of the titles. It's possible? or very complex?

First of all, thank you. If you know React, you can make the necessary modifications and send a pull request. Alternatively, if you provide more details about what you need, I can make the updates when I have some free time.

Very kind of you to answer, as it is, it is very useful for me, just some modifications but I will make a fork and there I will make the modifications with your permission. I just need to add an index as it has the books that is generated from the titles. Thank you!

This is an open-source project, and you can develop and use it in any way you want. In fact, you don't even need to submit a pull request. Just make your edits and use it. Thank you for your interest in my project.


Have *-Location modify the Environment.CurrentDirectory which changes the cwd on *nix

PR Summary

I noticed that *-Location doesn't set the environment current directory:
https://msdn.microsoft.com/en-us/library/system.environment.currentdirectory(v=vs.110).aspx
On *nix, this value is mapped to the cwd property on the process. In bash, when you change directories, that property changes. To test on *nix:
lsof -p YOU_PID | grep cwd
I discovered this when I was trying to add PowerShell support to hypercwd (https://github.com/hharnisc/hypercwd/issues/41) which is a plug-in to hyper that, when you open a new tab, preserves the location from the previous tab. In the plug-in, they do this for *nix:
https://github.com/hharnisc/hypercwd/blob/master/setCwd.js#L8
I don't think this is a breaking change.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[ ] Not Applicable or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

I thought the issue with setting the process's cwd is that with PowerShell you can have multiple runspaces, each in a different directory.  So this "process global" cwd value could get changed out from underneath you in any particular runspace by another runspace.

That makes sense - and this change might not be the way to go about this...
but I think  setting cwd should really be best effort rather than no effort. I'm inclined to say that your scenario doesn't happen super often, and cwd is easily "resettable" by resetting your location.
That said, you're scenario is totally valid. Don't think there's much to prevent that.

It is a breaking change because scripts can expect that Environment.CurrentDirectory is not changed.
It is bad practice to change a common value in any multi-thread application randomly.

@tylerl0706  PowerShell uses the $pwd variable - a PowerShell variable (runspace affined) not an environment variable, to contain the cwd. Concurrent scenarios are fairly common and something that we will be actively facilitating in the future. Given that, even if we made this change no one could use it because they would have no idea when the variable might change. On the other hand, if the environment variable was set for the child process when CreateProcess() is called, that would be reliable and useful. And you wouldn't need to track the location - that's tracked automatically in $pwd.

Sounds good. Thanks so for the feedback


Open Folder Option

Hi,
I was playing with this component and my remark is it would be great if add open option in tree data in order to open a folder on initial load

This would be super useful!

Merged: https://github.com/minop1205/react-dnd-treeview/pull/16

@younes-barhouni
I have addressed this issue by adding an API named initialOpen.
If you specify a Boolean value like the following, all folders will be opened initially.
<Tree
  {...props}
  initialOpen={true}
/>

Alternatively, you can pass an array of IDs as follows to initialize only specific nodes as open.
<Tree
  {...props}
  initialOpen={[1, 2, 3]}
/>

I have already released it as v1.1, so you can use it by updating the package.
Please let me know if you have any problems.

Here's a sample.
https://codesandbox.io/s/initialize-with-open-parents-ts-9nkw3

Thanks dude, that was fast! Have you already published a new npm version?


Update README.md

Added myget repo link

Can you change it to Appveyor rather than Latest

@jchannon why should it say Appveyor? Latest build (or similar) is more appropriate.. it's what it is, not how it was produced?

Because we have a heading called CI builds then 2 sub headings called TC
and Travis
On 6 October 2016 at 12:44, Andreas Håkansson<EMAIL_ADDRESS>wrote:

@jchannon https://github.com/jchannon why should it say Appveyor? Latest
build (or similar) is more appropriate.. it's what it is, not how it was
produced?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NancyFx/Nancy/pull/2580#issuecomment-251938825, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGapirZf0hM1oIp2toWyXyv8jhcPJ2Gks5qxN8dgaJpZM4KPtQB
.

Oh my bad, it was linking to Myget not appveyor,

I will write Latest Appveyor Build then ? :laughing:  Make you guys both happy

Well then it should link to the AppVeryor builds, like it does for TC, and not the artifacts. I agree that we should link to MyGet but I don't agree with this approach :D

I think we can have
CI Build

Appveyor
TeamCity
Travis or what ever

Latest build (of master)

Myget

Yup, although we really need to get rid of TC at some point

@jchannon could you create an issue for it with a todo list of projects that needs to be done + instructions on what needs to be done. Like we did for the config stuff and I'll try an get some PRs in

Ok this should do it now :laughing:

Need a squash ?

Yeah please squash

can you also rebase it plz

@thecodejunkie :eyes:

We can put the myget build status badge as well instead of just the link
http://docs.myget.org/docs/reference/build-services#Build_Status_Badges

@cemremengu yeah please add the badge and remove the TC (team city) section as well - we're not using it anymore. Instead we should add it for AppVeyor https://www.appveyor.com/docs/status-badges/ since that's what we're using now https://ci.appveyor.com/api/projects/status/mpd9lbxvithu16vg that's the link to the AppVeyor build badge

The SVG version of the badge is https://ci.appveyor.com/api/projects/status/mpd9lbxvithu16vg?svg=true

@thecodejunkie ping pong

Here's the badge for MyGet if you want to put this in too https://img.shields.io/myget/nancyfx/vpre/Nancy.svg?style=flat&label=myget


Rename templates directory or make configurable

Just looking at helm for some projects where I work and I'm having a hard time understanding why the directory "templates" was used and it's not configurable in any way.
The problem is that "templates" is a really generic name and used for way more things than helm, such as html templates, javascript templates, old websites use "templates" for their php scripts, etc, etc.
It seems like its a name which is asking for trouble. Also for a developer to open a project and see "templates". They don't immediately jump to the conclusion that this is for helm, but for the project. Perhaps its better to choose a more specific name for helm, or allow me to set the templates directory in the Chart.yml file and then I can put "project/helm-templates" or something like that instead.

We are not going to do this as it'd break the chart format spec for Helm 2, however it could be a considered talking point for Helm 3. I'm of the opinion that the Chart.yaml is pretty well-known to identify the directory as a Helm chart, and I'd rather restrict the spec to a minimum

So if you had a project. You'd put the charts in a subdir somewhere out of the way?

Yes. You can take a look at the community charts as an example :)

My first chart I put it in the root directory and then thought about what if I had templates already? That's where this comes from

wontfix.


Bulk Data Export/Import JobInstance logs not picked up from container

Bulk Data Export/Import JobInstance logs not picked up from container

Need to push out to the console or log to the correct location.

It would be nice if Liberty's batch implementation supported emitting structured logs here.
I opened https://github.com/OpenLiberty/open-liberty/issues/13158 for it.

A potential lead from one of the Liberty devs:

the log records are published via JMS Topic... so you could use, say MQ.. and have something subscribe to get the log records that way.

I just read this issue, it sounds like a good icebox candidate.

left a reminder on the Open liberty issue


Improving the design of the Page

In the doc of Running Multiple Instances of Your App The box having the Summary "Scaling a Deployment" Where the letter t of word Deployment is in the other line. Which doesnot look good.
Image for consideration:

Solution:
Here we are using unorderedlist if we remove unorderedlist tag of html  and giving only list tag will be same in look and feel and the Sentence should look good
Output will look like:

/language en
/area web-development

Page related issue: https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/

/retitle Poor layout for page "Running Multiple Instances of Your App"

/assign

Raised PR #44774

Raised Updated PR #44788
PTAL!

/kind bug
Changes related to website's code base doesn't need to be labelled with a language, until there isn't any documentation change in a specific language.
/remove-language en

/sig docs

/triage accepted

/triage accepted


connection leak

If get/close connection is not the same thread ,the connection will leak
//threadLocal differences , so the connection not return the pool,
public void requite(final T bagEntry)
{
bagEntry.lazySet(STATE_NOT_IN_USE);
final List threadLocalList = threadList.get();
if (threadLocalList != null) {
threadLocalList.add(weakThreadLocals ? new WeakReference<>(bagEntry) : bagEntry);
}
synchronizer.signal();
}

@wplatform That is not a leak.  It just means that the returned Connection is put in the ThreadLocal list of the closing thread.  This means that your code misses out on an important optimization, but it does not leak, because there is a separate master list.
Basically, when a thread calls getConnection(), it calls ConcurrentBag.borrow(), which will first attempt to get an unused connection from that thread's ThreadLocal list of recently used connections.  In your case, that list will never contain the recently closed connections, so the thread will then scan the master list of connections.  This is less efficient, but still correct.
The bug you are experiencing is likely caused by bagEntry.lazySet(STATE_NOT_IN_USE).  This uses the AtomicInteger.lazySet() method, which has memory side-effects that can cause the state change to not be immediately visible to other threads.  The change I made for #716 should address that problem.

@brettwooldridge Thank you for your reply. I tried to put getConnect() /close() on same thread, but the performance is not very good, I need to find out why.

@wplatform You might try configuring another pool, C3P0 or Apache DBCP for example, to see if you observe similar behavior/performance.  I don't think returning on the same thread or different thread will make that much of a performance difference in general, unless you are running thousands of transactions/sec.  The difference is likely in the hundreds of nanoseconds on getConnection() and no difference on close().

HikariCP performance is the best.

How do I optimize my program, I changed the code, the closed and open operation in the same thread, but I am less than before the TPS by half, many threads waiting on the lock for ConcurrentBag.borrow
Stack Trace	Longest	Count
sun.misc.Unsafe.park(boolean, long)	29,999,726,750	547,896
java.util.concurrent.locks.LockSupport.parkNanos(Object, long)	29,999,726,750	522,145
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long)	29,999,726,750	516,121
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.doAcquireSharedNanos(long, long)	53,469,929	6,024
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquireSharedNanos(long, long)	53,469,929	6,024
com.zaxxer.hikari.util.QueuedSequenceSynchronizer.waitUntilSequenceExceeded(long, long)	53,469,929	6,024
com.zaxxer.hikari.util.ConcurrentBag.borrow(long, TimeUnit)	53,469,929	6,024
com.zaxxer.hikari.pool.HikariPool.getConnection(long)	53,469,929	6,024

@wplatform Hi, did you solve your problem? I've got the same issue with my Hikari pooling...

我也遇到了同样的问题（java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x00000002da5436f8> (a java.util.concurrent.SynchronousQueue$TransferQueue)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferQueue.awaitFulfill(SynchronousQueue.java:764)
at java.util.concurrent.SynchronousQueue$TransferQueue.transfer(SynchronousQueue.java:695)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at com.zaxxer.hikari.util.ConcurrentBag.borrow(ConcurrentBag.java:151)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:180)），请问你们解决了吗？


Demo link is dead

https://statusfy.marquez.co/?utm_source=github&utm_medium=readme&utm_campaign=statusfy

@ontwikkelfabriek you can find the demo here: https://demo.statusfy.co/

@ontwikkelfabriek  That link is for the new version of Statusfy. I just configured Temporary Redirect to https://demo.statusfy.co.


Update list on new spec

This is a #minor# change
Change behavior for row clicking selection
Feature for shiftKey down selection
Feature for ctrlKey down selection

Unless the functionality is required immediately, I'd like to spend an hour cleaning this code up before accepting the PR

Approved with discussed changes

:+1:

sorry misclicked 'close and comment' :(


Add io.github.flattool.Warehouse

For clarity, Warehouse needs spawn permissions to manage flatpaks on the host (the main purpose of the app is to manage installed flatpaks and their user data)


Auth is missing session tokken check

Hey,
I noticed Auth function is missing session tokken check for user. So it means it is completly based on cookie now.
Also if in the Wordpress Backend user click 'Log me out from other places' will not work at all since this works only on tokken.
This could be easy fixed.  Sorry I'm not cappable of fix that in your code since I'm not good enough I think to understand fully logic for now :)
Thing is:

You need current user meta session_tokens It is simply array of tokkens, where key is token
Token part from cookie is the 3rd part (cookieInfo[2])
To generate token hash const hashT = crypto.createHash('sha256').update(cookieInfo[2]).digest('hex');
Then we just have to check if we find out if that token exist in our meta session_tokens and compare cookie time with time of token to make sure everything is correct:
if(sesion_tokens[hashT] && Number(sesion_tokens[hashT].expiration) === Number(cookieInfo[1])) return true

Basically if that is true, then cooke math token for checked user (by his name - first part of the cookie)
So it would be nice if that also could be implemented into the auth script code, since that would cover more security :)
I hope above help you a bit with that :)

Hey @isuke01 , Thanks for your suggestion.  This looks interesting, I will be checking it out later.
But just a heads up, I have no immediate plans of coding this.  However, if after some time you decide to code this yourself, I can help with the understanding of the codebase. Just let me know.
Thanks.


Support modules

I added a package.json to allow installing this plugin with NPM. I mostly copied what was in the manifest.json. I'll leave it up to you if you want to actually publish the package on NPM. It should fix #56.
Usage is as follow:
var Highcharts = require('highcharts/highcharts');
require('highcharts-regression')(Highcharts);

It match how Highchart and other plugins are loaded.

Thanks !  I will take care of uploading it to npm

It would be great if you could upload it to NPM :)
This plugin looks super useful!


Add WPF trace event parser

This also fixes TraceParserGen to emit code with the correct protection keywords.

Codecov Report

Merging #943 into master will increase coverage by 0.44%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #943      +/-   ##
==========================================
+ Coverage   17.79%   18.24%   +0.44%
==========================================
  Files         230      231       +1
  Lines      139914   145680    +5766
  Branches    12411    12545     +134
==========================================
+ Hits        24903    26579    +1676
- Misses     114060   118149    +4089
- Partials      951      952       +1

Flag
Coverage Δ

#2017
18.24% <100%> (+0.44%)
:arrow_up:

#Debug
18.24% <100%> (+0.44%)
:arrow_up:

#Release
?

Impacted Files
Coverage Δ

src/TraceEvent/Parsers/WpfTraceEventParser.cs
29.05% <ø> (ø)

src/TraceEvent/TraceLog.cs
60.27% <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 c50eb90...9398787. Read the comment docs.


feat(highlight): draw grid lines accurately

Key Changes:

Caching grid_line Event Data to Simplify Redrawing Logic:

Previously, upon receiving grid_line data, the logic would immediately calculate the highlight data for each column and update the old highlight data. This method mixed different data processing, leading to errors.
The new logic now always caches the complete grid_line data. When redrawing is needed, the highlight data for each row within the viewport is calculated in real-time before redrawing. With the complete data available, there's no longer a need to determine from which column to start updating (converting the starting vim column to the corresponding character position in the row), nor to handle cases where highlighting starts from part of a character, removing some complex logic.

Ignoring grid_scroll Events:

This addresses a long-standing logic error. The grid_scroll event does not modify highlight data, but our previous handling incorrectly shifted the highlight data, causing occasional highlighting errors.

Other Notable Changes:

Introduced the HighlightGroupStore class to manage highlight group data.
Since every text modification triggers new grid_line events from nvim, there's no need to wait for text sync completion to refresh highlights.
Adopted the CSS rule white-space: pre to preserve spaces in rendered virtual text (previously, a zero-width character was used to replace spaces).
Change the default value of vscode-neovim.neovimWidth from 1000 to 300. This satisfies most users' needs, and the horizontal scrolling issue is already fixed.
In terms of testing, tests corresponding to the removed content in this PR have been deleted. Other tests have been updated in terms of input format, with expected results remaining largely unchanged.

fix #1888
fix #1630
close #1948 (If this is a highlighting issue, then it's probably been fixed. If it's a viewport issue (highlight updates are delayed), as mentioned earlier, it's unavoidable.)

What's "responsible" here? I'm not sure what the goal of this PR is at a quick glance

Not Ready for review

It seems like we always run into conflicts on code organization. Sometimes, being too strict with standards can actually become limiting.

It seems like we always run into conflicts on code organization. Sometimes, being too strict with standards can actually become limiting.

FWIW, I don't want to be strict here, I think we just have different opinions :). In this particular case, this is less of an organization concern, and more of a way we can factor things to better promote maintenance. I'm sensitive to it with highlights in particular because the logic is so complicated, and easy to break in subtle ways. Some others, I care less about

I'm actually torn too, because I know your reasons are more valid than mine. I'm in the process of refactoring some logic. (I'm not very fond of splitting up the logic.)

Done!

It needs a few more days of testing.


expect() - options to : 1) limit amount of feedback 2) send output to file

What is your Test Scenario?
It's not the only scenario to what this request apply, but it more evident when you
develop a Data Driven Test, where you are going to loop over the test.
What are you suggesting?
the expect() method when it fails, generates information that is useful from the script developer point of view,
but a little overwhelming if you want to provide feedback to the user/tester that had launched the test.
Here an example:
   1) AssertionError: Use case: inserire uno user con utenza scaduta:
      expected false to be truthy

      + expected - actual

      -false
      +true

      Browser: Chrome 87.0.4280.88 / Windows 10

         267 |
         268 |  var opOK = false;
         269 |  var msg = ctx.useCase;
         270 |  switch (ctx.validateOpt.onFailure) {
         271 |    case 'throw':
       > 272 |      await t.expect(loginPage.loginButton.exists).ok(msg.bgRed);
         273 |      await t.expect(loginPage.loginButton.visible).ok(msg.bgRed);
         274 |      opOK = true;
         275 |    break;
         276 |
         277 |    default:

         at Object.<anonymous>
      (C:\development\xxx\testautomation\lib\helpers\login.js:272:52) at Object.validateLoginFailure
      (C:\development\xxx\testautomation\lib\helpers\login.js:283:62) at <anonymous>
      (C:\development\xxx\testautomation\test\AccessoAlSistema\EBS-20-Accesso-Al-Sistema.js:43:40)

If we consider the previous text as the standard log/feedback then the following options will be IMHO useful

send full feedback to screen -> everything works as today
send full feedback to file/stream
send full feedback to null -> full feedback OFF
send minimal feedback to screen
Only the text:

AssertionError: Use case: inserire uno user con utenza scaduta:

will be sent to the screen.
examples
send full feedback to file + send minimal feedback to screen
send full feedback to null + send minimal feedback to screen
OFF TOPIC
+ expected - actual
      -false
      +true

May be it will be better to organize the message in this way
+ expected - actual
      +true
      -false

Or
expected -> true
actual -> false

Hello @fmancardi,
Thank you for your input.
TestCafe offers a solution for both of your requests.
You can shape TestCafe output by implementing and using custom reporters. You can also specify a file path in the reporter option (command line interface, programming interface, configuration file) and TestCafe will save a report into a file.
Feel free to contact us if these solutions do not meet your needs.

OK, I'm going to try.
IMHO anyway it will be better if you can provide a new standard reporter with this behivour
regards

Hi, here one useful reporter -> https://www.npmjs.com/package/testcafe-reporter-mini
IMHO it will be great if you add it to the standard distribution

@fmancardi, we add only those reporters that were developed by the team. Information about a callsite is essential when one needs to find a failed assertion in test code - it is not a common use case for most testcafe users. Could you please describe your scenario in greater detail? If it is related to TestCafe Studio, Support Center might be a better place to discuss this issue.


📚 Spans Search / Preview Span Attributes

Problem
As a user, it’s time-consuming and frustrating having to open every span individually to find the request I am looking for.
Audience
All users
Proposed Work
Helping the user skim the table to find an “exemplar-trace” from multiple span data by giving a preview of the span data on a drawer, which will show all its tags.
Incentive
Provide the user with a view where he can see a preview of all span attributes without having to open span by span in order to get this info.
Feature Walkthrough

A developer suspects checkout-service is having an outage according to user complaints
The developer goes to Lupa and filters for all spans where error=true and service=checkout-service
He browses the table, skimming through several spans quickly using the drawer
After a few spans, he sees that a specific exception (”HTTP timeout” for example) is happening a lot.
He opens one the traces from a span with this exception, and he sees that an 3rd party service is not responding and causing the timeout.

Mockups

Show span details in a side drawer. The details are the same as shown in the Trace view page. Need to figure out how to allow user keep the drawer open while switching from row to row (next/previous span)

NOTE: The click on the menu icon opens tags preview drawer. The click on the entire row navigates to Trace view page.

Interactions

User goes on the Spans Screen
Users click on the button at the left of Start Time where it says “Preview
Spans Details”

A drawer opens up showing a preview of all spans attributes

The user can keep clicking on other spans in the same view and the drawer will update with the attributes according to the newly clicked span

In this view, a click on a span will not open the Trace View tab.

User has also an option to View Trace from the drawer view on the top right.

Notes

We want to add a query bar search for the user to type an attribute, instead of having to scroll up and down to find what he needs. Since the Trace View team wants to do the same, we are waiting for them to finalize a design and we can do the same.

Thanks!

@haimrait Is there really backend here? I think this leverages the existing span calls (?)


count of routings decrease after some time and only and restart helps

Background
Its hard to describe that issue. If my node runs a longer time without restarts, the amount of routings decreases slowly. After an restart of the node or lnd the routing events are much higher than normal. This effect does not happen by chance, but is reproducible.
I can manily increase my routings by periodically restarting my node. But that should not be the solution.

This chart should show that effect and I think there is no need to explain on which day I restarted my node.
I can provide many of similar charts that show the same behave.
What is the best attempt to find something in the lnd.log that is maybe related to this issue. I see nothing that looks like an error or somthing else.
Your environment
LND v0.14.3-beta
Bitcoin v22.0.0
Ubuntu 22.04 LTS
Steps to reproduce
Wait some days, routing events are becoming less and less. Restart LND and I have more routings in a few hours then in the last couple auf days.
Expected behaviour
I'm not here to complain about lnd, I'm looking for clues what may be causing this behavior. But I have no idea where to start looking.

Hi @kieselbert when you see the routing volume go down, do you also see any uptick on the number of inactive channels on your node?
Also, it might be worthwhile to update to the latest version of LND (0.15.1) and see if you get similar behaviour.

Hm i could update, but I would like to avoid the "restart to announce new channels"-bug.
It might be worthwhile to wait for 0.15.2 to come out, which will fix the issue. Shouldn't be too long.

Hey, I am on 15.1 and had no forwards for 24h. The node was up for 6 days. I decided to restart the node and had 10 Forwards in the first 30 minutes after the restart.

@saubyk I beleave it is hard to reproduce for you. Do you have any recommendations what we should log, respectively what we should search the logfile for?

Issue is still present in 0.15.1
I want to add the detail that in the period when the routing decrease, the routing attempts are still there. I observe that with lntop and can see that the routing "requests" are still happen in the same frequent. But most of them failed (without a detail statement). I observed that lntop shows more rounting attempts with the amount of zero (0). This zero routing attempts does not happen after a restart.

@saubyk
After a long journey, we found that the circuitbreaker causes the problem and it seems that LinkFailEvents aren't considered in cb probably.
https://github.com/lightningequipment/circuitbreaker/issues/9

@kieselbert are you running Circuit Breaker as well?

yep, I think the CB caused that issue.

yep, I think the CB caused that issue.

Okay, good to know. Closing the issue then as confirmed to be caused by Circuit Breaker in two cases.


CAD-878: Node real launch time.

Issue

The node reports its real launch time.

This PR does not result in breaking changes to upstream dependencies.

Checklist

[ ] This PR contains all the work required to resolve the linked issue.

[ ] The work contained has sufficient documentation to describe what it does and how to do it.

[ ] The work has sufficient tests and/or testing.

[ ] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[ ] I have added the appropriate labels to this PR.

bors merge

bors cancel

@dcoutts Please do not merge this PR, it will be changed soon.


[Feature Request] datePicker support type yearrange

Existing Component
是
Component Name
Datepicker
Description
now  DatePicker support  daterange/monthrange please support yearrange thanks

Sorry, we have no plan to support this.

需要 +1