Unsupported Font: lato

I am converting a widget in to pdf with the function ExportDelegate.exportToPdfDocument(frameId). But, the method throws the error Unsupported Font: lato. Lato is a font that i added from google fonts to the project in pubspec.yalm. And, i am using this font into the widget that i am converting to pdf. Please, help me.
This is the stacktrace:
I/flutter ( 4678): Exception: Unsupported Font: lato
I/flutter ( 4678): #0      TextStyleConverter.resolveFont (package:flutter_to_pdf/args/text_style.dart:61:9)
I/flutter ( 4678): #1      TextStyleConverter.toPdfTextStyle (package:flutter_to_pdf/args/text_style.dart:36:36)
I/flutter ( 4678): #2      TextConverter.toPdfWidget (package:flutter_to_pdf/widgets/text.dart:21:23)
I/flutter ( 4678): #3      ExportInstance.matchWidget (package:flutter_to_pdf/export_instance.dart:173:34)
I/flutter ( 4678): #4      ExportInstance._visit (package:flutter_to_pdf/export_instance.dart:55:29)
I/flutter ( 4678):
I/flutter ( 4678): #5      ExportInstance.matchWidget (package:flutter_to_pdf/export_instance.dart:226:48)
I/flutter ( 4678):
I/flutter ( 4678): #6      ExportInstance._visit (package:flutter_to_pdf/export_instance.dart:55:23)
I/flutter ( 4678):
I/flutter ( 4678): #7      ExportInstance.matchWidget (package:flutter_to_pdf/export_instance.dart:84:31)
I/flutter ( 4678):
I/flutter ( 4678): #8      ExportInstance._visit (package:flutter_to_pdf/export_instance.dart:55:23)
I/flutter ( 4678):
I/flutter ( 4678): #9      ExportInstance.matchWidget (package:flutter_to_pdf/export_instance.dart:150:31)
I/flutter ( 4678):
I/flutter ( 4678): #10

Are you using the google_fonts package?
Or are you using a custom Lato font which you added as a font asset to the projects pubspec.yml ?

I added it as a font asset to the projects pybspec.yaml
El vie, 2 ago 2024 a la(s) 11:44 a.m., Joseph Grabinger (
@.***) escribió:

Are you using the google_fonts https://pub.dev/packages/google_fonts
package?
Or are you using a custom Lato font which you added as a font asset to the
projects pubspec.yml ?
—
Reply to this email directly, view it on GitHub
https://github.com/joseph-grabinger/flutter_to_pdf/issues/80#issuecomment-2265776574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMIA2KJ65LL3IUME2ONVTTZPOZPNAVCNFSM6AAAAABL252RV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVG43TMNJXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Did you register the font (in this case lato) when instantiating the ExportDelegate like the following?
final ExportDelegate myExportDelegate = ExportDelegate(
    ttfFonts: {
      'lato': 'assets/fonts/Lato-Regular.ttf', // Path can differ but should point to the correct location of the ttf-file
    },
  );

Furthermore, you must then use the same ExportDelegate to export the frame containing the fonts.
final pdf = await myExportDelegate.exportToPdfDocument('someFrameID');

Thank you for the help.
Which version of the flutterToPdf package do i have to use? I have in my
pubspec.yaml the version 0.1.1 and the constructor of ExportDelegate has
just the parameter "options" which type is ExportOptions.
El sáb, 3 ago 2024 a la(s) 1:10 p.m., Joseph Grabinger (
@.***) escribió:

Did you register the font (in this case lato) when instantiating the
ExportDelegate like the following?
final ExportDelegate myExportDelegate = ExportDelegate(
ttfFonts: {
'lato': 'assets/fonts/Lato-Regular.ttf', // Path can differ but should point to the correct location of the ttf-file
},
);
Furthermore, you must then use the same ExportDelegate to export the
frame containing the fonts.
final pdf = await myExportDelegate.exportToPdfDocument('someFrameID');
—
Reply to this email directly, view it on GitHub
https://github.com/joseph-grabinger/flutter_to_pdf/issues/80#issuecomment-2267090757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMIA2K65MD55YKOCQ2WCBDZPUMLDAVCNFSM6AAAAABL252RV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGA4TANZVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have solved the problem by updating the package version to 0.2.0 and
applying your solution. Thank you so much.
El lun, 5 ago 2024 a la(s) 2:49 p.m., Jhonatan Andrés Amórtegui García (
@.***) escribió:

Thank you for the help.
Which version of the flutterToPdf package do i have to use? I have in my
pubspec.yaml the version 0.1.1 and the constructor of ExportDelegate has
just the parameter "options" which type is ExportOptions.
El sáb, 3 ago 2024 a la(s) 1:10 p.m., Joseph Grabinger (
@.***) escribió:

Did you register the font (in this case lato) when instantiating the
ExportDelegate like the following?
final ExportDelegate myExportDelegate = ExportDelegate(
ttfFonts: {
'lato': 'assets/fonts/Lato-Regular.ttf', // Path can differ but should point to the correct location of the ttf-file
},
);
Furthermore, you must then use the same ExportDelegate to export the
frame containing the fonts.
final pdf = await myExportDelegate.exportToPdfDocument('someFrameID');
—
Reply to this email directly, view it on GitHub
https://github.com/joseph-grabinger/flutter_to_pdf/issues/80#issuecomment-2267090757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMIA2K65MD55YKOCQ2WCBDZPUMLDAVCNFSM6AAAAABL252RV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGA4TANZVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Stepper] Add style override types

@vkentta Thans!

@oliviertassinari My pleasure! Will try to trow in a fix every now and then from now on. Thanks for the awesome lib!


client-side errors are missing a lot of context

missing stacktrace & file:line:col

Test again on newest version


Can't get MARS access.

I am trying to retrieve data through MARS. Here's my experience so far:

I visited this page: https://confluence.ecmwf.int/display/WEBAPI/Access+MARS
They suggest downloading the "mars" script. However, the link to this script is broken (https://confluence.ecmwf.int/download/attachments/56664858/mars).
I tried to report the error on this page: https://www.ecmwf.int/en/support and went to the "Software and computing" link, but received a "not permitted" error.
I'm writing here because I don't know where else to turn. :) By the way, CDS works like a charm...

I download the data from CDS first. Then use --file as input.

@Siming-Liang I did the same thing. Just pointing out that the MARS download is not working for mere mortals..


CNV-25217: Fixing the wrong values in Bandwidth Consumption chart

📝 Description
https://issues.redhat.com/browse/CNV-25217
Fixing the wrong values in Bandwidth consumption chart on the Migration tab on the Overview page.
🎥 Demo
Before:

After:

/jira refresh


Removed Preview from Flink connector

Signed-off-by: John ODwyer<EMAIL_ADDRESS>

fixes #68


Error/Exception propagation for async_mode=True

The bug
When the input to a model when using async_mode=True is f.ex. too long the program execution never stops.
To Reproduce
The code below never stops running.
import asyncio

import guidance

A_VERY_LONG_STRING = "abc" * 10000

guidance.llm = guidance.llms.OpenAI("gpt-3.5-turbo")
prog = guidance.Program(
    """{{#system~}}
You are a helpful assistant.
{{~/system}}
{{#user~}}
{{long_string}}
{{~/user}}
{{#assistant~}}
{{gen 'response' n=5 temperature=1.0 max_tokens=500}}
{{~/assistant}}
""",
    async_mode=True,
)

async def run_me():
    return await prog(long_string=A_VERY_LONG_STRING)

asyncio.run(run_me())

First it prints out:
...
  File "/.../lib/python3.9/site-packages/openai/api_requestor.py", line 683, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 10024 tokens. Please reduce the length of the messages.

The program does not crash.
But running "normal" code which throws an exception does crash the program:
import asyncio

async def test():
    raise Exception("This is an exception")

async def run_me():
    return await test()

asyncio.run(run_me())

This is a bigger issue when using async with a f.ex. FastAPI. Then the program hangs indefinitely until the application is forcefully closed.
I was able to fix the issue by running the _executor within a try finally block in line ~381 in _program.py:
        if self.llm is None:
            await self._executor.run(None)
        else:
            with self.llm.session(asynchronous=True) as llm_session:
                try:
                    await self._executor.run(llm_session)
                finally:
                    # fire an event noting that execution is complete (this will release any await calls waiting on the program)
                    self._execute_complete.set()
                    # delete the executor and so mark the program as not executing
                    self._executor = None

I'm not sure whether this is sufficient but I leave that up to you.
System info (please complete the following information):

Ubuntu, kernel: 4.15.0-163-generic
Guidance Version (guidance.__version__): 0.0.61

The #231 PR seems to have resolved the issue. Closing this.


Crash: NPE in LocalStore.getRawAttachmentInputStream()

Via Play Developer Console
Version: 5.200 or 5.201
java.lang.NullPointerException: Attempt to get length of null array
	at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:60)
	at com.fsck.k9.mailstore.LocalStore.getRawAttachmentInputStream(LocalStore.java:873)
	at com.fsck.k9.mailstore.LocalStore.writeSimplePartToOutputStream(LocalStore.java:857)
	at com.fsck.k9.mailstore.LocalStore.writeCursorPartsToOutputStream(LocalStore.java:746)
	at com.fsck.k9.mailstore.LocalStore.access$300(LocalStore.java:78)
	at com.fsck.k9.mailstore.LocalStore$16.doDbWork(LocalStore.java:722)
	at com.fsck.k9.mailstore.LocalStore$16.doDbWork(LocalStore.java:714)
	at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)
	at com.fsck.k9.mailstore.LocalStore.writeAttachmentDataToOutputStream(LocalStore.java:714)
	at com.fsck.k9.mailstore.LocalStore.access$100(LocalStore.java:78)
	at com.fsck.k9.mailstore.LocalStore$15.writeTo(LocalStore.java:706)
	at org.openintents.openpgp.util.ParcelFileDescriptorUtil$DataSourceTransferThread.run(ParcelFileDescriptorUtil.java:118)

data is only null (not set) if the Body is an instance of Multipart (updateOrInsertMessagePart). Are we mis-handling something?

we go by instanceof in updateOrInsertMessagePart, and then load based on MimeUtility.isMultipart(mimeType), it's quite possible there are discrepancies here. this is what happened in #1836, for example

we go by instanceof in updateOrInsertMessagePart, and then load based on MimeUtility.isMultipart(mimeType), it's quite possible there are discrepancies here. this is what happened in #1836, for example

Looks like we use DataLocation.IN_DATABASE for multiparts rather than DataLocation.CHILD_PART_CONTAINS_DATA. See https://github.com/k9mail/k-9/blob/977d15c1909fa476e157b0f1d55c8d200e9cb2e5/k9mail/src/main/java/com/fsck/k9/mailstore/LocalFolder.java#L1366

Looks like we use DataLocation.IN_DATABASE for multiparts rather than DataLocation.CHILD_PART_CONTAINS_DATA. See https://github.com/k9mail/k-9/blob/977d15c1909fa476e157b0f1d55c8d200e9cb2e5/k9mail/src/main/java/com/fsck/k9/mailstore/LocalFolder.java#L1366

We do! Why? :)

a) It feels wrong. The part does not contain any data, the child parts do.
b) In writeCursorPartsToOutputStream() the writeSimplePartToOutputStream() branch is taken which can't handle Multipart and will lead to the exception.
Do we rely on multiparts having DataLocation.IN_DATABASE or not having DataLocation.CHILD_PART_CONTAINS_DATA anywhere? Otherwise we can add another migration to fix this up and writeCursorPartsToOutputStream() should work just fine without modifications.

I agree. I don't think there is currently any code that relies on this, and we can also do a migration that does if (mimeType == multipart/* && dataLocation == IN_DATABASE) dataLocation = CHILD_PART_CONTAINS_DATA


chore: update integration manifest to add integration_type

Proposed change

Update manifest.json to include integration_type per the Home Assistant dev docs.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests
[ ] Documentation update
[ ] Adds a new shipper
[ ] Update existing shipper

Additional information

This PR is related to issue: n/a

Codecov Report

Merging #786 (e63b134) into dev (1c24dec) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##              dev     #786   +/-   ##
=======================================
  Coverage   97.08%   97.08%
=======================================
  Files           8        8
  Lines        1512     1512
=======================================
  Hits         1468     1468
  Misses         44       44


Add interface function between Kgen and PyCO2SYS

Does what is says on the tin. Will propose something to add to the Kgen docs too shortly

Agreed @oscarbranson.
@mvdh7 Would it do to implement this as an additional K method via the opt_k flags in PyCO2SYS?
e.g. for Kw, add something like:
KW = np.where(WhichKs == x, kgen.calc_K("KW",TempK-273.15,Sal,Pbar,magnesium,calcium,etc.), KW) with WhichKs controlled by the opt_k inputs.
Pros:

Minimal maintainance (unless there's a massively breaking change in kgen) - and also it'll be in the usual direction (change in kgen -> might require change in PyCO2SYS), as opposed to a change in PyCO2SYS necessitating a change in the dependency.
Don't need to reprogram the defaults - it just inherits defaults from PyCO2SYS
Just another method of getting the K's like all the other ways, with all the benefits that brings (such as simultaneous use of kgen with other K methods... I guess that might be useful to people with freshwater and seawater data, or potentially comparison of the impact of K choice).

Cons:

Potential for flag conflicts (e.g. what happens if you say opt_k_fluoride=1, because that can't propagate to kgen)
You'd need access to kgen and magnesium/calcium/any other ions within all the K functions

Overall I'd ideally like to avoid the precendent of transforming the output of kgen into variations to match other schemata.

Hi both. Sure, I see your point. Disadvantage of putting it in PyCO2SYS is then Kgen needs to be added as a dependency for PyCO2SYS (as well as all its dependencies), which is not ideal. Also, the maintenance/future compatibility issue is just shifted to a different place (i.e. PyCO2SYS).
Anyway, not a problem if you'd rather not have this in here - happy to just maintain a separate fork of Kgen with this in.

Is there a downside to having kgen as a dependency of PyCO2SYS other than bloat? (Which could maybe be rectified by having kgen as optional). Kgen is doing a subset of the functionality PyCO2SYS requires, which I think seems like a sensible use case for a dependency.
If you view Kgen as a dependency of PyCO2SYS then it gives both of our projects some autonomy. Changes in Kgen can't break PyCO2SYS (unless you choose to update the version that PyCO2SYS uses), and changes to PyCO2SYS can't break Kgen. With the interface, a change in PyCO2SYS could necessitate an update to Kgen, which is against the normal flow for dependencies.
In theory kgen and PyCO2SYS should be equivalent (if you pick K constants to match) - in practice, we've found in our crosschecks that it's quite difficult to guarantee agreement between different pieces of software which generate the K*'s (even within Kgen).

The main downside is that PyCO2SYS is set up to be automatically differentiable by autograd throughout, which requires importing autograd.numpy instead of numpy everywhere, and checking that all the functions it calls upon are also autograd-able. So all of kgen and pymyami etc. would need to fulfil this too, which would likely not be trivial. You could just ignore this but then you'd have a black box in the middle of PyCO2SYS that doesn't work fully with the rest of it. The ability to provide explicit values for all equilibrium constants was put into PyCO2SYS with exactly this sort of situation in mind.
To be incorporated into PyCO2SYS, the values returned by Kgen should also first be shown to be identical to the set of constants produced by (Py)CO2SYS with the same settings. (But then we're still back to doubling up an existing calculation.) I couldn't find that in the tests here (yet? or do I miss it)
I do understand your philosophical objection to including this within Kgen and I really don't mind if you don't add it here. Best might be a standalone converter that is separate from both Kgen and PyCO2SYS, but I don't think the output dict from Kgen doesn't return enough information (total salts etc.) to be able to do this. So for now I can just leave open the Kgen fork with it in, as it's still a useful shortcut tool to have available (for me if noone else!)

Think I'm with @rossidae on this one - cleaner to add kgen as an optional dependency to PyCO2SYS, then have this interface file within PyCO2SYS if you want to call Kgen.
We don't mean to be ungrateful, we just don't want to be in a position for maintaining lots of specific interfaces requiring Kgen version updates whenever a downstream package is changed. This means that we would also discourage the 'maintain a separate branch of kgen' approach, as risks going out of sync with Kgen and won't be cross-checked, negating the whole point of the kgen exercise. Hope that makes sense!
As @rossidae points out,  Kgen guarantees to keep input names and output format static, so there should never be breaking changes from an API point of view. This ties kgen versions to specific updates to K calculation functions. However, there is scope for changes in downstream packages requiring version updates to kgen to fix those interfaces which gets rather messy.

We don't currently test against the outputs of other software - just against the 'best practices' check values. This raises another good point though - what does PyCO2SYS test its Ks against? It feels like we should all be checking against a single benchmark set, rather than everyone cross-comparing constantly?

I'm going to go ahead and close this for now, but have added a bit of info clarifying the scope of Kgen to the README page of the repo (#72) to avoid future confusion.
Would be intrigued to hear your thoughts on what the 'reference' set of Ks that we all check against should be, @mvdh7.


[Suggestion] Invert- versions of dimensions

The mineup mod for 1.2.5 includes upside-down versions of the usual aboveground dimensions it adds:

In these upside-down dimensions, everything is vertically flipped (block models, fluid physics, entity physics, basically everything but the player) and the day-night cycle is also inverted.

Having these be added as potential immersive portals dimensions (as well as the three being there by default) would be fun since there's currently nothing but void below the nether.

This mod does not have inverse gravity feature. However the portals can have rotating transformation.

Could be done if this is: https://github.com/Virtuoel/Pehkui/issues/20

...apparently that won't happen then

...apparently that won't happen then

Might be a possibility with Gravity Changer, now that it exists.

It's already a thing. You can make a dimension flipped in dimension stack and enable gravity change. https://qouteall.fun/immptl/wiki/Dimension-Stack

How can I have something like an inverted nether alongside a normal nether?

No, because dimension stack cannot clone a dimension. However you can use datapacks to add another nether dimension


Add vtkjs reader

LGTM. Only nit is to remove the console.log() calls in importBase64Dataset().

:tada: This PR is included in version 3.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timestamp audio generated

This is more a broad question about the model/project instead of a real issue.
Is it possible with the actual project to timestamp the generated audio, word by word? Something like generated .srt subtitle files?

This is the single most important feature which would make bark a pro product. AWS and Azure's API's offer this out of the box. With bark we'd need to build a cumbersome pipeline where we first STT bark's output and than word-match that with the og text which is anything than non-trivial.
It would be even better if bark would output not just the word and the timecode (begin and end like with AWS) BUT also the og index of that word in the og source file. Then, matching source and audio would be a breeze. @suno-ai what do you think?

@gkucsko FYI, here why ElevenLabs' timestamp feature is extremely good:
It does really output the og input file, byte by byte, including new lines, so not some slightly altered string, or interpreted something based from some post-STT process, this is absolutely amazing, saves so much headache
Before we go all-in on ElevenLabs, is something similar already in development or just somewhere lying around in your backlogs?
FWIW, ElevenLabs detects emotions and tonality from the dialogue attribution, e.g. "Hi", he said softly, so the softly tells ElevenLabs to speak that Hi softly, so need for special tokens which is also kind of neat.


Automatically place speed limit signs

Place automatically speed limit signs, when the maximum speed changes.

Someone would have to create sign probs since I don't know how to do this.

Can of worms IMO.
First, I often tweak speeds for visual effect:

At a sharp bend, I want my vehicles to slow down
I slow steep uphill lanes so in comparison the downhill lanes look faster
I slow train tracks in train stations so trains passing through station slow a little

I wouldn't want speed sign chaos in any of these situations. For example, at a sharp turn I put a "sharp bend ahead" sign, not a speed sign.
As for updating signs, there are mods for removing them and there are mods for creating customisable signs. Different countries have different sign styles - completely outside scope of TP:ME IMO.

moved


Naming Issue

OK, I have a bit of problem with one change in this commit: https://github.com/Vaultio/EtherKit/commit/fc8cc589a0bf92c819f86778cf3955fbbc588156
If you look at Function.swift (https://github.com/Vaultio/EtherKit/blob/fc8cc589a0bf92c819f86778cf3955fbbc588156/EtherKit/Models/Function.swift),
then you can notice there are two public init which are exactly the same, but one expects an array of ABIType and one an array of ABIValueType.
And since the name of the parameters are the same, you have to explicitly type the init like this:
let testViewFuncFunctionCall = Function(name: "testViewFunc", parameters: [] as [ABIType])
instead of this:
let testViewFuncFunctionCall = Function(name: "testViewFunc", parameters: [])
Do you think that it maybe would be easier to change the parameters in one init to something like "valueTypeParameters"?
Let me know what you think 🙂
Marek from Ackee.

Now that I think about it, it's maybe better to explicitly define empty arrays with as [ABIType] since non-empty arrays compile just fine, but it's still something to consider ...


Add open graph meta tags

https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation


Add the ecms api publiser module and custom entity

Summary
This adds the ecms_api_publisher custom module and currently installs a new entity type that will keep track of the sites to publish content to. This is mainly the custom entity and the supporting files to allow these entities to be created in the admin area. Functional and Unit tests have also been provided.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

Documentation reflects changes?
yes

CHANGELOG reflects changes?
yes

Unit/Functional tests reflect changes?
yes

Did you perform browser testing?
yes

Risk level
Medium

Relevant links
RIG-57

@ben-hamelin, I made the changes you suggested and rebased everything. Can you give this another look?

Ok LGTM!
/approved


LDAPS?

Hello,
Currently LDAPS is not supported, is the integration of the protocol planned/is it possible to do it ?
Kind regards,

This is supported already.  Please refer to the configuration options for Ldap (https://github.com/pivotalservices/cf-mgmt/blob/master/docs/config/README.md#ldap-configuration)
This would require setting the port, use_tls, and either skip_ssl_verification or providing the ca_cert.
Please re-open if this isn't clear or having any issues getting this working...

Hello,
I think that you are refering to LDAP+TLS (normally on port 389, STARTTLS). What we need is LDAPS:// (on port 636),  which is nativelly encrypted. We are forced to use LDAPS because of network restrictions.
Kind regards,

Are you getting any particular error?  What does your configuration look like?
Should be something like this.
enabled: true
ldapHost: your.ldap.server
ldapPort: 636
use_tls: true
origin: ldap
insecure_skip_verify: true
# optional added in 1.0.11+ if ldap server is signed by non-public CA provide ca pem here

if you want to validate tls cert use the following.
enabled: true
ldapHost: your.ldap.server
ldapPort: 636
use_tls: true
origin: ldap
insecure_skip_verify: false
ca_cert: |
   PEM ENCODED CA
   FILE CONTENTS

Hello Caleb,
We have tried it and the issue is gone. Thanks, the ticket can be closed.
Kind regards,
Martin


Closing files when plist parsing fails

Closes: #1216

Using context manager to open and close files. This will automatically close the file when plist parsing fails.
For more information see: https://docs.python.org/2.5/whatsnew/pep-343.html

@Xazax-hun There is no such obligation given by the standard. An open must be followed by a close, otherwise the interpreter is free to leave the OS handle dangling. That's why the CM version is available.

It is really hard to se the actual changes due to the increased indentation. Could you attach a diff with the whitespace changes ignored so it is easier to see what actually changed?
See https://stackoverflow.com/questions/16423024/how-can-i-diff-2-files-while-ignoring-leading-white-space

Github also knows this:
https://github.com/Ericsson/codechecker/pull/1222/files?w=1
For more info see: https://github.com/blog/967-github-secrets


Issue with esphome mqtt light discovery in 0.87.0

Home Assistant release with the issue:
0.87.0

Last working Home Assistant release (if known):
0.86.4
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io on raspberry pi 3

Component/platform:
MQTT light

Description of problem:
ESPHome based mqtt light discovery not working. Sensors on the same device function properly, and are discovered, but an error is thrown for the light.
I'm using the Mosquitto mqtt broker setup through the integrations panel.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
Exception in async_discover when dispatching 'mqtt_discovery_new_light_mqtt': ({'brightness': True, 'rgb': True, 'flash': True, 'white_value': True, 'name': 'The Tube Light', 'platform': 'mqtt', 'state_topic': 'the_tube_light/light/the_tube_light/state', 'command_topic': 'the_tube_light/light/the_tube_light/command', 'availability_topic': 'the_tube_light/status', 'unique_id': 'ESPlightthe_tube_light', 'device': {'identifiers': '5ccf7fe027f0', 'name': 'the_tube_light', 'sw_version': 'esphomelib v1.10.1 Jan 19 2019, 22:00:52', 'model': 'PLATFORMIO_ESP12E', 'manufacturer': 'espressif'}, 'schema': 'json'},)
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/light/__init__.py", line 60, in async_discover
    config = PLATFORM_SCHEMA(discovery_payload)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/validators.py", line 207, in __call__
    return self._exec((Schema(val) for val in self.validators), v)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/validators.py", line 286, in _exec
    raise e if self.msg is None else AllInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/validators.py", line 282, in _exec
    v = func(v)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 811, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/mqtt/light/__init__.py", line 36, in validate_mqtt_light
    return schemas[value[CONF_SCHEMA]](value)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.6/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['flash']

Additional information:
https://github.com/esphome/esphome-core/issues/477

Breaking change caused by #20562

Can confirm, it breaks light entities on 0.87

Yeah, esphome should not send invalid config.
Closing this since there is already a PR on esphome which corrects this issue.

Yet it was valid before 0.87, so what should it send?

MQTT component validation got more strict, thats why.

I see, so it was invalid previously, but now the loading of the component is blocked, where the invaldity was previously ignored. Got it.

Having the same issue. What I don't understand is that I can manually include the lights again using
light:

platform: mqtt
name: Hallväggen
state_topic: ljusmodul1/light/hallvggen/state
command_topic: ljusmodul1/light/hallvggen/command
availability_topic: ljusmodul1/status
schema: json
brightness: true

This gives me control of the light, but no transitions nor brightness.

@SweNilsson please have a look at the linked esphome issue: https://github.com/esphome/esphome-core/issues/477


Fixes error where numeric data was not appearing

jqLite error with .append was causing all numeric data to never render
fixes https://github.com/iamisti/mdDataTable/issues/222

This change is

@coopernewby thanks for your efforts.
Did you also check the rest of the demos with your fix if those are still working fine?


hi:

Hi,
Thank you for the great work! This work is really wonderful. I am using the API to read the data set, but when I use the ‘DatanetAPI._create_routing_matrix’ function, I don't know what is the input format of the parameter 'routing_file'? And which file should be input here?
I would appreciate it if you could help me. Thank you! Have a nice day!
Best
Binghao-Yan


Can't attach to node process with debug port 60005

VSCode Version: Code - Insiders 1.15.0-insider (6feff11ed03402cf77e04e74e13c55529fdb4d09, 2017-08-04T17:43:56.658Z)
OS Version: Darwin x64 16.6.0
Extensions:

Extension
Author (truncated)
Version

markdown-toc
Ala
1.5.6

xml
Dot
1.9.2

EditorConfig
Edi
0.9.4

beautify
Hoo
1.1.1

JSDocTagComplete
Hoo
0.0.2

output-colorizer
IBM
0.1.2

vscode-mocha-two
Mys
1.2.1

vscode-docker
Pet
0.0.16

lorem-ipsum
Tyr
1.0.0

Bookmarks
ale
0.15.2

project-manager
ale
0.19.0

vagrant
bbe
0.5.0

path-intellisense
chr
1.4.2

gitignore
cod
0.5.0

vscode-eslint
dba
1.2.11

githistory
don
0.2.3

python
don
0.7.0

gitlens
eam
4.3.3

restore-editors
eam
0.2.1

tslint
eg2
0.17.0

vscode-npm-script
eg2
0.2.0

vscode-projects-plus
fab
1.4.7

file-icons
fil
1.0.4

vscode-npm
fkn
3.3.0

auto-close-tag
for
0.4.3

docker-linter
hen
0.3.0

vscode-auto-open-markdown-preview
hnw
0.0.4

rest-client
hum
0.15.1

search-node-modules
jas
1.1.1

restructuredtext
lex
35.0.0

vs-cron
mkl
1.5.1

vs-rest-api
mkl
1.18.2

vs-script-commands
mkl
4.14.0

lit-it
moh
1.2.12

createGUID
nwa
0.0.2

proto
pet
0.0.2

vscode-icons
rob
7.12.0

spellchecker
swy
1.2.13

vscode-open-in-github
sys
1.6.0

vscode-js-console-utils
wht
0.7.0

Steps to Reproduce:
0. using node 8.1.4 on MacOS X 10.12.5 (Sierra)

Run process node --inspect=60005 <absolute_path_to_your_process>/server.js --port=123456
Try to attach to it using debugger with launch.config:

...
        {
            "type": "node",
            "request": "attach",
            "name": "Attach to Process with fixed Process ID",
            "protocol": "inspector",
            "port": 60005,
            "processId": ""
        }
...

I get the following error:

messageService.ts:125 Ensure Node was launched with --inspect. Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED <IP_ADDRESS>:9229).

The error should at least have the right port in it.

Reproduces without extensions: Yes

@gordody your launch config is bogus. Using it results in this error for me:

If you are not seeing this error, then you are probably not using this launch config.
It does not make sense to use a launch config with a "processId" attribute if you want to attach with a port number. So please remove the "processId" attribute:
{
	"type": "node",
	"request": "attach",
	"name": "Attach",
        "protocol": "inspector",
	"port": 60005
}

This launch config works fine for me.

I had a copy paste error in this one. Sorry. I did have the correct process Id in my launch.config.

If you launch node with the debug or inspect flags like this:
node --inspect=60005 <absolute_path_to_your_process>/server.js --port=123456

then it is wrong to use a process Id!
The process Id should only be used if you have started node without the debug or inspect flags. In this case node is not in debug mode and it is not listening on a debug port.
Specifying a process Id allows VS Code to send a special signal to node which brings it to debug mode. But in this case the port is fixed and you have no freedom to change it.

Thank you! I was able to attach to my process!
What you describe here was not clear to me from the docs -- this page https://code.visualstudio.com/docs/nodejs/nodejs-debugging tells me that I can attach to a process that not was started in debug mode, however it should explicitly say that it will not attach to anything that was started with the --inspect flag.
Furthermore the error message has the wrong port number in it that is also confusing:
...reason: Cannot connect to the target: connect ECONNREFUSED <IP_ADDRESS>:9229).
In fact, vscode should be able to figure out that I started my process with the --inspect flag and tell me so. :)
In any case, thank you for the help!

Yes, I will fix the doc and I will produce an error message if both a port and a processId is specified.
The error message shows the correct port: if attach via processId is used, node uses the default port which is 9229 for the inspect protocol.


Bad error recovery when declaring method named "with"

Parse this code:
class C {
  int with() => 7;
}

Apparently with is a reserved keyword across the board. In analyzer, for example, this produces the following errors:

error • Variables must be declared using the keywords 'const', 'final', 'var' or a type name. • a.dart:2:3 • missing_const_final_var_or_type
error • Expected to find ';'. • a.dart:2:3 • expected_token
error • Expected a class member. • a.dart:2:7 • expected_class_member
error • Expected an identifier. • a.dart:2:11 • missing_identifier

Fixed with a840da4617565975fb773382fdf1a58376735d9b, 497bdc52269e8f8d83f4eed9770cb8c96b450fc4 and 5b76fc217295a4a62f2b89a96051d8b204c433ae.


Channel Page and History Page option not working

Instead, they are getting handled by "Trending Page" option.

I found the bug, please assign it to me.

Subscription page option is not working either, but it's the same bug.

Just created a PR -> https://github.com/webtaculars-com/youtube-productivity-mode/pull/6

Closed as per the above PR


Suggestion

Ever consider to do one for slack?

Ever consider to do one for slack?

I did. But that will be another repo


Asset stats, plus asset caching fixes

Adds a "show assets" command which dumps several stats related to asset reads and writes, plus the cache.
Fixed a problem where an asset write is not cached (at all) if the write threw an exception, including a timeout.
Fixed written assets to be available to other threads from the start of the storage write, not only after it completes (which can be a large window).

We should probably discuss this one in more detail later today.  The removal of the _assetCache.HasAsset call in particular. While something along those lines needs to be done to resolve the problem, an alternative approach would be to provide an assetCache.Update to replace a wire asset with the corresponding stream and call that if HasAsset was true, or to split the StoreAsset into GetStream+StoreAsset and add the asset to the cache between those calls.

I've reverted the "More CF asset handling changes" so as to split the stats commits from the logic changes. I branched to ```asset-logic-tweaks`` before reverting so that branch includes this reverted commit: 50da64c860c3f1630022e2bdcf78b5f8bfd8aa94  I've also restored some stats reporting changes lost in the revert, and doing one more commit to tune the report to be more readable and practical.


pio ci --project-option "targets=upload" ignored when using --project-conf

When I try to use --project-option "targets=upload" and --project-conf options simultaneously, the project gets build but nothing gets uploaded.
I have a couple of build options in project.ini (which to my suprise wasn't used unless explicitly putting --project-conf into the command line) that I would like to supply along with optional uploading of the resulting firmware.
Here is my command line
(py27) pio ci --lib . --board uno --project-conf platformio.ini --project-option "targets=upload" examples\scope_fixed_duration.ino
I'm running PlatformIO 3.1.0

Solved it using a custom project_upload.ini configuration file with targets property added:
[env:uno]
//....
targets = upload

Commandline then turns into
 (py27) pio ci --lib . --board uno --project-conf project_upload.ini examples\scope_fixed_duration.ino
The not so nice about the above approach is that I now have 2 files to keep up to date.


[Sema] InitAccessors: Don't synthesize default memberwise arg for ini…

…t accessor initializations
Default arguments for init accessors are not fully supported at the moment,
so we shouldn't attempt to synthesize them in Sema just to crash during linking.

@swift-ci please test


When I set LV_COLOR_DEPTH in lv_conf.h to 16, an error was reported during compilation.

When I set LV_COLOR_DEPTH in lv_conf.h to 16, an error was reported during compilation.
../../lib/lv_bindings/lvgl/src/lv_draw/lv_draw_label.c: In function 'lv_draw_label':
../../lib/lv_bindings/lvgl/src/lv_draw/lv_draw_label.c:310:24: error: 'color' may be used uninitialized in this function [-Werror=maybe-uninitialized]
             lv_color_t color ;

Are you using the latest version? Line 310 of the latest version is blank. It's possible the issue has already been fixed.

Thank you, it has indeed been fixed in the new version.


Addition of 'View Projects' section

User can click the 'View Projects' button in the header. This opens up a section about the projects listed on the Tech Radar. A user can:

search for a project by typing the the input box.
filter (sort by) the projects by Name (A to Z, Z to A), Technologies (projects with most/least tech), Technology Status (Adopt/Trial/Assess/Hold Most/Least Ratio)
refresh the list of projects by making another request to the /api/csv to return the project data
click on the project to take them to the project details modal
view a bar with the 'Adopt, Trial, Assess, Hold, Unknown' technology information, supported by tooltips

Can you merge main into your projects-feature branch so I can see the changes for this fix in isolation please.


chore: allow scroll to delete alert button

This PR resolves [ONXY-459]
Description
Allow users to scroll to delete alert button in edit alert flow

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

allow users to scroll to delete alert button in edit alert flow - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (allow users to scroll to delete alert button in edit alert flow - mounir)

  Generated by :no_entry_sign: dangerJS against 345d29ddbe76a7edbc6bb210727e9060425b9f67


rm not implemented

Here is some code I tried
import dropboxdrivefs
token = 'secret' # not a real token
fs = dropboxdrivefs.DropboxDriveFileSystem(token=token)

test_path = '/my_test_path.txt'
with fs.open(test_path, mode='w') as f:
    f.write('some data')
fs.rm(test_path)

I got
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-22-f707f2b37254> in <module>
      2 with fs.open(test_path, mode='w') as f:
      3     f.write('some data')
----> 4 fs.rm(test_path)

~/opt/miniconda3/envs/pangeo-py38/lib/python3.8/site-packages/fsspec/spec.py in rm(self, path, recursive, maxdepth)
    702                     self.rmdir(pa_)
    703             else:
--> 704                 self._rm(p)
    705
    706     @classmethod

~/opt/miniconda3/envs/pangeo-py38/lib/python3.8/site-packages/fsspec/spec.py in _rm(self, path)
    673     def _rm(self, path):
    674         """Delete a file"""
--> 675         raise NotImplementedError
    676
    677     def rm(self, path, recursive=False, maxdepth=None):

NotImplementedError:

Removing files is pretty important in order for this to be useful. Would you consider implementing it?

I did not have the use case until now but after checking in the dropbox api doc, yes it seems totally doable (3-4 code lines).
Give me the weekend, I will do it. :)

Hello @rabernat.
It should be okay. You can install the package from the master branch to have the feature.
However, I noticed a bug when writing in the file with your code, it seems the text is wrote 2 times in the file. It is your case too? This feature is coming from the fsspec package but I will definitely look at it closely.

Hello @rabernat,
I fixed the write bug and released a new package version 1.3.0.
Note the  mode "a" usually used to append a file, cannot be used in the same way with dropbox. It will create a new file by adding "(2)" in the name file and wrote in it.

Hello @rabernat,
Can I close this issue ?
Thanks :)

Hi Marine. Sorry I was not responsive to your earlier comments. The past weeks have been very busy for me. Thank you so much for working on this feature. I will test it as soon as possible.


Python is missing required capability flags!

I'm trying to connect my Tilt.  I ran the "troubleshoot connection" and received the "Python is missing required capability flags!" message.  I followed the directions and here's what I got:
pi@raspberrypi:~ $ sudo setcap cap_net_raw,cap_net_admin+eip/usr/local/bin/python3.7
usage: setcap [-q] [-v] (-r|-|)  [ ... (-r|-|)  ]
Note  must be a regular (non-symlink) file.
Any suggestions?  BTW - the Tilt is working with "Tiltpi" on the same device so I know the bluetooth connection is working.

There should be a space after iep and /usr in the command.

There should be a space after iep and /usr in the command.

I tried it again with the space after eip and all I get is the "pi@raspberrypi:~ $" prompt again.  Nothing happens.  I rebooted and I'm still getting the "Python is missing required capability flags!" message.

I tried it again with the space after eip and all I get is the "pi@raspberrypi:~ $" prompt again.  Nothing happens.  I rebooted and I'm still getting the "Python is missing required capability flags!" message.

Can you type this commands and post the result? It will show the linux version used.
I've had issues with setcap on older versions of linux. I'm running on v10 buster which works fine.
cat /etc/os-release

Can you type this commands and post the result? It will show the linux version used.
I've had issues with setcap on older versions of linux. I'm running on v10 buster which works fine.
cat /etc/os-release

On my installation of raspian the path to the python binary is as follows;
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/python3.7
You can verify if its the binary file with the ls command like this;
pi@raspberrypi:~ $ ls -al /usr/bin/python3.7
-rwxr-xr-x 2 root root 4275580 jul 25 15:03 /usr/bin/python3.7
If the line starts with an like this it's a link and the setcap command will not work,
lrwxrwxrwx 1 root root       9 mar 26  2019 /usr/bin/python3 -> python3.7

On my installation of raspian the path to the python binary is as follows;
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/python3.7
You can verify if its the binary file with the ls command like this;
pi@raspberrypi:~ $ ls -al /usr/bin/python3.7
-rwxr-xr-x 2 root root 4275580 jul 25 15:03 /usr/bin/python3.7
If the line starts with an like this it's a link and the setcap command will not work,
lrwxrwxrwx 1 root root       9 mar 26  2019 /usr/bin/python3 -> python3.7

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi:~ $ ls -al /usr/bin/python3.7
ls: cannot access '/usr/bin/python3.7': No such file or directory

pi@raspberrypi:~ $ ls -al /usr/bin/python3.7
ls: cannot access '/usr/bin/python3.7': No such file or directory

I would recommend that you update to release 10 (buster) to see it that works. Here is a link to a guide,
https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/

I would recommend that you update to release 10 (buster) to see it that works. Here is a link to a guide,
https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/

Can you post the result of this command ?
ls -al /usr/local/bin/python*

Can you post the result of this command ?
ls -al /usr/local/bin/python*

pi@raspberrypi:~ $ ls -al /usr/local/bin/python*
-rwxr-xr-x 2 root staff 10986216 Jan  1 13:44 /usr/local/bin/python3.7
-rwxr-xr-x 2 root staff 10986216 Jan  1 13:44 /usr/local/bin/python3.7m
-rwxr-xr-x 1 root staff     2908 Jan  1 13:47 /usr/local/bin/python3.7m-config

pi@raspberrypi:~ $ ls -al /usr/local/bin/python*
-rwxr-xr-x 2 root staff 10986216 Jan  1 13:44 /usr/local/bin/python3.7
-rwxr-xr-x 2 root staff 10986216 Jan  1 13:44 /usr/local/bin/python3.7m
-rwxr-xr-x 1 root staff     2908 Jan  1 13:47 /usr/local/bin/python3.7m-config

From what i can see the command should work. Ive read that the capability flags depend on support in the filesystem and linux kernel. So my best bet would be to either run fermentrack as root or try a new version of raspian (buster) to see if that works.

From what i can see the command should work. Ive read that the capability flags depend on support in the filesystem and linux kernel. So my best bet would be to either run fermentrack as root or try a new version of raspian (buster) to see if that works.

Ok.  Going through the upgrade process now.  Takes forever.  I'll let you know how it goes...

Ok.  Going through the upgrade process now.  Takes forever.  I'll let you know how it goes...

So I've tried to do the update to release 10 (buster) twice following the directions carefully on the website you provided.  However, I'm still getting this:
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Do I need to do something to switch to the release 10 that's not on the website directions?
Here's what I got on the second install attempt:
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Fetched 40.3 kB in 1s (23.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt dist-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
#############################################################
WARNING: This update bumps to rpi-5.10.y linux tree
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=288234
'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer or if you want to help the testing effort
and are comfortable with restoring if there are regressions.
DO NOT use 'rpi-update' as part of a regular update process.
##############################################################
Would you like to proceed? (y/N)
*** Downloading specific firmware revision (this will take a few minutes)
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    293      0 --:--:-- --:--:-- --:--:--   293
100  119M  100  119M    0     0   362k      0  0:05:38  0:05:38 --:--:--  303k
*** Updating firmware
*** Updating kernel modules
*** depmod 5.10.7-v7+
*** depmod 5.10.7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to 246f5ead8d2d017fd2734d79e1f9a606fb65b72c
*** A reboot is needed to activate the new firmware
pi@raspberrypi:~ $ sudo reboot
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
MattWesselsiMac:~ F15Weazel$ ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>password:
Linux raspberrypi 5.10.7-v7+ #1395 SMP Mon Jan 18 16:14:16 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jan 18 11:34:41 2021 from <IP_ADDRESS>
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/raspi.list
pi@raspberrypi:~ $ sudo apt-get remove apt-listchanges
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apt-listchanges' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Fetched 25.3 kB in 1s (14.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt purge timidity lxmusic gnome-disk-utility deluge-gtk evince wicd wicd-gtk clipit usermode gucharmap gnome-system-tools pavucontrol
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'clipit' is not installed, so not removed
Package 'deluge-gtk' is not installed, so not removed
Package 'evince' is not installed, so not removed
Package 'gnome-disk-utility' is not installed, so not removed
Package 'gnome-system-tools' is not installed, so not removed
Package 'gucharmap' is not installed, so not removed
Package 'lxmusic' is not installed, so not removed
Package 'pavucontrol' is not installed, so not removed
Package 'timidity' is not installed, so not removed
Package 'usermode' is not installed, so not removed
Package 'wicd' is not installed, so not removed
Package 'wicd-gtk' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt autoremove -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
pi@raspberrypi:~ $ sudo reboot

So I've tried to do the update to release 10 (buster) twice following the directions carefully on the website you provided.  However, I'm still getting this:
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Do I need to do something to switch to the release 10 that's not on the website directions?
Here's what I got on the second install attempt:
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Fetched 40.3 kB in 1s (23.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt dist-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
#############################################################
WARNING: This update bumps to rpi-5.10.y linux tree
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=288234
'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer or if you want to help the testing effort
and are comfortable with restoring if there are regressions.
DO NOT use 'rpi-update' as part of a regular update process.
##############################################################
Would you like to proceed? (y/N)
*** Downloading specific firmware revision (this will take a few minutes)
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   168  100   168    0     0    293      0 --:--:-- --:--:-- --:--:--   293
100  119M  100  119M    0     0   362k      0  0:05:38  0:05:38 --:--:--  303k
*** Updating firmware
*** Updating kernel modules
*** depmod 5.10.7-v7+
*** depmod 5.10.7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to 246f5ead8d2d017fd2734d79e1f9a606fb65b72c
*** A reboot is needed to activate the new firmware
pi@raspberrypi:~ $ sudo reboot
Connection to <IP_ADDRESS> closed by remote host.
Connection to <IP_ADDRESS> closed.
MattWesselsiMac:~ F15Weazel$ ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>password:
Linux raspberrypi 5.10.7-v7+ #1395 SMP Mon Jan 18 16:14:16 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jan 18 11:34:41 2021 from <IP_ADDRESS>
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/raspi.list
pi@raspberrypi:~ $ sudo apt-get remove apt-listchanges
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apt-listchanges' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Fetched 25.3 kB in 1s (14.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt purge timidity lxmusic gnome-disk-utility deluge-gtk evince wicd wicd-gtk clipit usermode gucharmap gnome-system-tools pavucontrol
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'clipit' is not installed, so not removed
Package 'deluge-gtk' is not installed, so not removed
Package 'evince' is not installed, so not removed
Package 'gnome-disk-utility' is not installed, so not removed
Package 'gnome-system-tools' is not installed, so not removed
Package 'gucharmap' is not installed, so not removed
Package 'lxmusic' is not installed, so not removed
Package 'pavucontrol' is not installed, so not removed
Package 'timidity' is not installed, so not removed
Package 'usermode' is not installed, so not removed
Package 'wicd' is not installed, so not removed
Package 'wicd-gtk' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt autoremove -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
pi@raspberrypi:~ $ sudo reboot

Have you edited the sources file to point to buster repositories?
sudo nano /etc/apt/sources.list
you should replace strech with buster in that file to make sure its using the right repos.

Have you edited the sources file to point to buster repositories?
sudo nano /etc/apt/sources.list
you should replace strech with buster in that file to make sure its using the right repos.

So I got frustrated and decided to just start over.  I re-flashed my micro SD with a fresh, new version of linux and pi desktop software.  Then I re-installed Fermentrack.  The Tilt is connected and working!  But now my arduino is not showing the temperature probe temps on the little black screen with the yellow characters.  Do I need to re-flash that?

So I got frustrated and decided to just start over.  I re-flashed my micro SD with a fresh, new version of linux and pi desktop software.  Then I re-installed Fermentrack.  The Tilt is connected and working!  But now my arduino is not showing the temperature probe temps on the little black screen with the yellow characters.  Do I need to re-flash that?

Do you mean the brewpi? What type of display is it?
It could be low power to the display or the audrino is not starting up, some displays have a potentiometer on the back to control contrast. If that isnt working try to reflash

Do you mean the brewpi? What type of display is it?
It could be low power to the display or the audrino is not starting up, some displays have a potentiometer on the back to control contrast. If that isnt working try to reflash

And make sure you use the config to assign the probes
\Greg
From: Magnus<EMAIL_ADDRESS>Sent: Thursday, January 21, 2021 3:03 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: Re: [thorrak/fermentrack] Python is missing required capability flags! (#578)
Do you mean the brewpi? What type of display is it?
It could be low power to the display or the audrino is not starting up, some displays have a potentiometer on the back to control contrast. If that isnt working try to reflash
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthorrak%2Ffermentrack%2Fissues%2F578%23issuecomment-764902622&data=04|01||3d40a66e275e4ae4cab808d8be479791|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637468561976307507|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=tii7ioM1YP6fdaGdPm0SSA3z%2B8n6N1So8Uiunn2EnBo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGEO6Z2GLB37LN4672EBYCLS3CCADANCNFSM4V2YQBLQ&data=04|01||3d40a66e275e4ae4cab808d8be479791|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637468561976317499|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=te%2FsLK2O3yzDbVeBaPwacicoMDP5q%2FW%2F7EUYb7OZePk%3D&reserved=0.

And make sure you use the config to assign the probes
\Greg
From: Magnus<EMAIL_ADDRESS>Sent: Thursday, January 21, 2021 3:03 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: Re: [thorrak/fermentrack] Python is missing required capability flags! (#578)
Do you mean the brewpi? What type of display is it?
It could be low power to the display or the audrino is not starting up, some displays have a potentiometer on the back to control contrast. If that isnt working try to reflash
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthorrak%2Ffermentrack%2Fissues%2F578%23issuecomment-764902622&data=04|01||3d40a66e275e4ae4cab808d8be479791|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637468561976307507|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=tii7ioM1YP6fdaGdPm0SSA3z%2B8n6N1So8Uiunn2EnBo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGEO6Z2GLB37LN4672EBYCLS3CCADANCNFSM4V2YQBLQ&data=04|01||3d40a66e275e4ae4cab808d8be479791|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637468561976317499|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=te%2FsLK2O3yzDbVeBaPwacicoMDP5q%2FW%2F7EUYb7OZePk%3D&reserved=0.

It's an Arduino UNO.  The Fermentrack flash page gets to the "running" stage and never says "finished" - like the documentation says it should?

It's an Arduino UNO.  The Fermentrack flash page gets to the "running" stage and never says "finished" - like the documentation says it should?

The temps are all dashes in the upper right...

The temps are all dashes in the upper right...

Fermentrack is flashing in the background. Go to the flash page again and you should see the status.
It looks like the pins are not configured for the device. You need to tell it where the temp probes are connected

Fermentrack is flashing in the background. Go to the flash page again and you should see the status.
It looks like the pins are not configured for the device. You need to tell it where the temp probes are connected

How long does a flash take?  It's been going for over 2 hours...  Can I restart it?

How long does a flash take?  It's been going for over 2 hours...  Can I restart it?

Ok - I got the temperature pins assigned and that all looks good.  I've been trying to get the heating and cooling relays figured out and I'm struggling.  Is there an easy way?  I had pin 5 assigned to cooling and it seemed to work correctly but then I assigned pin 6 to heating and both the heating and cooling came on at the same time.

Ok - I got the temperature pins assigned and that all looks good.  I've been trying to get the heating and cooling relays figured out and I'm struggling.  Is there an easy way?  I had pin 5 assigned to cooling and it seemed to work correctly but then I assigned pin 6 to heating and both the heating and cooling came on at the same time.

Ok - I got the temperature pins assigned and that all looks good. I've been trying to get the heating and cooling relays figured out and I'm struggling. Is there an easy way? I had pin 5 assigned to cooling and it seemed to work correctly but then I assigned pin 6 to heating and both the heating and cooling came on at the same time.

I can't help you with Arduino-based builds, unfortunately, but heating and cooling coming on at the same time sounds like a wiring issue. When you say they both come on at the same time, do you mean that the LEDs both come on, or the actual heating/cooling both come on? Is the same true when the cooling pin is engaged?

Ok - I got the temperature pins assigned and that all looks good. I've been trying to get the heating and cooling relays figured out and I'm struggling. Is there an easy way? I had pin 5 assigned to cooling and it seemed to work correctly but then I assigned pin 6 to heating and both the heating and cooling came on at the same time.

I can't help you with Arduino-based builds, unfortunately, but heating and cooling coming on at the same time sounds like a wiring issue. When you say they both come on at the same time, do you mean that the LEDs both come on, or the actual heating/cooling both come on? Is the same true when the cooling pin is engaged?

I wired in lights on the front of my chamber - blue for cooling and red for heat. They are connected to the load side of my relays so I can tell when they are running. I haven’t changed any of the wires and it was working perfectly last year so I don’t think it’s wired wrong.
i set the temp to 33 degrees an d the cooling came on - perfect. Then I changed the temp to 80 degrees and the heat came on but the cooling did not shut off. Could I be causing it by quickly changing from cold to hot?

I wired in lights on the front of my chamber - blue for cooling and red for heat. They are connected to the load side of my relays so I can tell when they are running. I haven’t changed any of the wires and it was working perfectly last year so I don’t think it’s wired wrong.
i set the temp to 33 degrees an d the cooling came on - perfect. Then I changed the temp to 80 degrees and the heat came on but the cooling did not shut off. Could I be causing it by quickly changing from cold to hot?

Its hard to say what could be wrong. It depends on your build and firmware. Did you flash the device? What was the version you had when it worked? I would check the bulild and see if the wiring is ok and try to test the different parts. Also check the pin configs so everything is correct. I have only used esp builds so i can help in more details.

Its hard to say what could be wrong. It depends on your build and firmware. Did you flash the device? What was the version you had when it worked? I would check the bulild and see if the wiring is ok and try to test the different parts. Also check the pin configs so everything is correct. I have only used esp builds so i can help in more details.

I went through all of the wiring and everything is correct.  I ordered a new Arduino UNO thinking that maybe I had fried it.  I decided this morning to try flashing the current Arduino again.  Here's the error I found poking around on my iPad.  Does this help?

I went through all of the wiring and everything is correct.  I ordered a new Arduino UNO thinking that maybe I had fried it.  I decided this morning to try flashing the current Arduino again.  Here's the error I found poking around on my iPad.  Does this help?

What were you doing/trying to do when this error popped up?

What were you doing/trying to do when this error popped up?

I was trying to flash the Arduino UNO.

I was trying to flash the Arduino UNO.

I bought a brand new Arduino UNO.  It's installed and I started over with a fresh download of Fermentrack.  When I go through the guided flash for a new device, the Firmware Flash Status never goes beyond "running."  I've left it running for over an hour.  I'm getting a little frustrated.  Is there a way to do it through terminal?  Or a way to see what's going on?  Maybe a way to flash the Arduino directly from my Mac with the Arduino app?

I bought a brand new Arduino UNO.  It's installed and I started over with a fresh download of Fermentrack.  When I go through the guided flash for a new device, the Firmware Flash Status never goes beyond "running."  I've left it running for over an hour.  I'm getting a little frustrated.  Is there a way to do it through terminal?  Or a way to see what's going on?  Maybe a way to flash the Arduino directly from my Mac with the Arduino app?

I'm guessing this is actually issue #589.
I just pushed a fix to the dev branch - when you have a second, please update your copy of Fermentrack, and see if that resolves the issue.

I'm guessing this is actually issue #589.
I just pushed a fix to the dev branch - when you have a second, please update your copy of Fermentrack, and see if that resolves the issue.

THANK YOU! THANK YOU!  THANK YOU!  That fixed it.  I'm up and running again.  Tilt is connected and Fermentrack is heating and cooling my chamber as required.  You guys are amazing...

THANK YOU! THANK YOU!  THANK YOU!  That fixed it.  I'm up and running again.  Tilt is connected and Fermentrack is heating and cooling my chamber as required.  You guys are amazing...


forge test --zksync crashes

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.0.2 (a1155ab 2024-09-01T00:28:04.703903000Z)
What command(s) is the bug in?
forge test --zksync
Operating System
macOS (Apple Silicon)
Describe the bug
I'm running "forge test --zksync" on this. This is the output:
jordan@Air-Alex contracts % forge test --zksync
[⠊] Compiling...
No files changed, compilation skipped
[⠃] Using zksolc-1.5.2
[⠊] Compiling (zksync)
[⠒] Compiling 8 files with zksolc and solc 0.8.20
[⠢] zksolc and solc 0.8.20 finished in 48.82s
Compiler run successful!
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: crates/zksync/compiler/src/zksolc/mod.rs:136

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   2: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   3: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   4: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   5: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   6: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   7: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   8: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   9: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  10: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  11: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  12: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  13: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  14: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  15: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  16: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  17: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  18: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  19: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  20: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  21: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  22: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
zsh: abort      forge test --zksync

Running the tests without --zksync, however, works properly:
...
[PASS] test_stopOrder_RevertIf_NonCreatorStopsOrder() (gas: 589949)
[PASS] test_stopOrder_StopOrder() (gas: 531739)
Suite result: ok. 38 passed; 0 failed; 0 skipped; finished in 3.92ms (13.13ms CPU time)

Ran 3 tests for test/UntronState.t.sol:UntronStateTest
[PASS] test_changeRateLimit_RevertIf_NotUpgraderRole() (gas: 15907)
[PASS] test_changeRateLimit_SetRateLimit() (gas: 26426)
[PASS] test_setUp() (gas: 20606)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.87ms (526.33µs CPU time)

Ran 5 test suites in 163.40ms (15.90ms CPU time): 52 tests passed, 0 failed, 0 skipped (52 total tests)
jordan@Air-Alex contracts %

I don't know if it worked before, because I've always used forge test without --zksync. I'll try running the tests before that commit and update this issue. forge build works properly both with and without --zksync.

@alexhooketh this is known to happen in some cases due to non deterministic builds. Check the discussing here, cleaning the cache or setting force_evmla to true in zksolc settings should serve as a good wrokaround until we find a better solution.
If the issue still persists for you, could you give us an example reproducing it so we can look into it?

Closing due staleness. Re-open if needed.


i don't know why, help me. [test/nbt] failed

Error Output :
[test/nbt] failed. Expected: [3.4028234663852886e+38], Actual: [3.4028234663852886e+38d]
[test/nbt]    at nbt (Z:\root\bdsx\example_and_test\test.ts:1314:13)
[test] FAILED (2/33)

Thanks for reporting it.
it's a bug of the test and ignorable.
it's fixed now.


Use Distributed's new Cluster interface

Makes user of the new Cluster interface available in Distributed. Should make it a bit nicer to work with adaptive scaling amongst other things.
cc @mrocklin @azjps

+1 from me

Makes sense and works fine for me. :+1:

Thanks for taking a look all. :)


Project tags not showing on some questions

Seems like none of the questions in the Forecast With GiveWell project are showing the project tag on the page.
Example: https://www.metaculus.com/questions/28395/will-who-prequalify-moxidectin-by-2027/

@ryooan that question is not in the project.

@SylvainChevalier it is, or at least should be. Shows up here like it should: https://www.metaculus.com/tournament/forecast-with-givewell/

Also says it is when you click edit

I just set it public and see them now. Maybe the issue is that project tags aren't showing on private questions?

I think private project tags aren't shown on questions. Making a new issue.

https://github.com/Metaculus/metaculus/issues/1126


dendrogram class

I put the dendrogram in analysis and there is the example dendrogram2.py which is the visualization of the dendrogram. The latter will probably migrate in view.

Current coverage is 100.00%

Merging #176 into master will not affect coverage as of c298f56

@@            master    #176   diff @@
======================================
  Files           32      33     +1
  Stmts         1199    1280    +81
  Branches         0       0
  Methods
======================================
+ Hit           1199    1280    +81
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of c298f56

Powered by Codecov. Updated on successful CI builds.

This is peculiar. All the tests pass on my laptop.

Try to remove coverage file:
rm .coverage

Still passes the tests. :/

I suggest checking whether there has been some change in pylint which could cause these warnings to appear. If there has been, then maybe we need evaluate whether to fix the "problems" or disable the warnings.

This is most likely because of pylint 5.0, which is a newer version. I am trying to use an older version but ran into other problems.

I simplified the setting of the recursion limit. I see no point behind having a decorator for the recursion limit at all, thus I just put it inside the function generate. If in the future there will be another function with recursion then I will refactor this part and create a decorator or a context class (with Context: etc). However, because recursion is not preferred in general, I believe that this not very probable.

I am merging this now. I think it needs some re-factoring, especially to avoid deep recursions. But that can be done at a later stage.


introduce connection params

DO NOT MERGE for preview only

Coverage increased (+0.16%) to 83.09% when pulling c57c9a4ba32e4282c9d34f0cb8f7c2dc09a24b42 on jmi-params into 6329dea9e641f40cbba8102d6a9c93c2209cd8c9 on master.

This is a bit overcomplicated and and worse - it exposes the internal structures to the client code.

Well it was meant as preview idea for discussion.
At the second look, you are true the GoodDataSetting.apply is bad design - would it be better simplified to one configuration object? Or would it be still too complex for you? The reason for configuration object was to avoid exponential constructor expansion and keeping creation of GoodData simple for user.
We can also rethink the way how GoodData is created to be more flexible to future changes - may be introduce some builder?

I would go with a simple java bean with setters (with some smart defaults).

Ok I will rewrite it that way

Coverage decreased (-0.57%) to 82.15% when pulling 86e9fdd39668c449ad2c6afb8391055d9b0d07a4 on jmi-params into f3c84ceee71a01805fcc22a041022e2c6bc9afeb on master.

Are we there yet? GoodDataSetting.apply() is still there and it still exposes internal structures to the client code.

I moved the apply() logic to GoodData class.

Coverage decreased (-0.53%) to 82.19% when pulling 3d2eda038035dbe136d9799cec52fbd3dbbea269 on jmi-params into f3c84ceee71a01805fcc22a041022e2c6bc9afeb on master.

Coverage decreased (-0.55%) to 82.17% when pulling 674ac0fab84f8729679bc1c0789808489ce8488a on jmi-params into f539de11c4f17e681c261e4cf675088157ca4194 on master.


Update formatting in ABOUT.md for Nextercism

Issue https://github.com/exercism/meta/issues/85 needs some checks in this track

I can take a stab at this in the next few days if it still needs to be done.

@trvrfrd I believe this does still need a look.  Thanks!

@trvrfrd are you still interested in this one?

Hi @matthewmorgan! I have a PR open for this (#374) which I only just realize was linking to the wrong issue, so it did not show up on this one. Oops!!!
I believe the PR was still waiting for some feedback from other maintainers about what exactly the scope of the change was.

(smacks forehead) of course!
I think you have @rchavarria 's feedback, and a couple of 'thumbs up ' from me and @tejasbubane so I think you're one minor change away rom being ready to go.  Sorry to keep you waiting on this, I'll comment further on #374.


investigating Authentication=SqlPassword issue on appveyor

the equivalent test in pdo_sqlsrv passed in appveyor but for unknown reason it failed to connect using sqlsrv

Coverage remained the same at 62.416% when pulling fb96560c6c283f7c39c44497684a66dfcb30217b on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling 081523103cf399f44ef51ce6d450d0a515e8c043 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling 895067026a88de6e3f7c16cbc6a248f8f0108e79 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage decreased (-32.2%) to 30.247% when pulling 895067026a88de6e3f7c16cbc6a248f8f0108e79 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling 28f14af4e0e98eb134542523684b7ae7280590f8 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling 4c99f57a8a6cfa466cf177864a528176a1a96d27 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling 155cbb6926f286521fb37077ed179ef5d3bf8aeb on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling e2f1d0260fe8079710ca3a14415a777a2f59b2ec on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling f58ce88297466b722d763db79c8c264b2f274280 on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage remained the same at 62.416% when pulling fd60027d0ede5c0b207ce9dd04d0b664ad77693f on yitam:sqlpassword into d5dcf9b4bca5a2e8b67e13d0f490925078cdf631 on Microsoft:dev.

Coverage increased (+0.2%) to 67.921% when pulling 8112a8458c7873b7669efd8afbd26ac8a83f3c90 on yitam:sqlpassword into 7c5b04e5c878ca5b3d2ca8a7bc0580045953b42e on Microsoft:dev.

Coverage increased (+0.07%) to 67.832% when pulling 8fba5389173ac9a34e263350d1b6c1a34ef0d8c3 on yitam:sqlpassword into 7c5b04e5c878ca5b3d2ca8a7bc0580045953b42e on Microsoft:dev.


Uncaught TypeError: Cannot set property 'textContent' of null

I get this error - it seems to be an internal issue with Moon itself.

It's not really helpful when you just give an error. I'll need a jsFiddle or something similar reproducing the issue to help.

will do :slightly_smiling_face: was hoping it was an issue you knew of straight away

Closing due to inactivity. Feel free to open it again once you have a reproduction.


Changing device name or model

Hey great work on this plugin! Just wondering if it is possible to change the device name or model in homebridge - I am using several of these devices in Node-red to integrate with my CBUS lighting system and each shows up as switch-switch (name-model) - node red seems to be unable to distinguish between them and defaults to just controlling the first instance. It would be amazing if there was a way of changing either of these in the config?

HomeKit should (and always did) report the names correctly (based on the name you set in the Tuya app).
That is the best I can do sadly, i would have no clue how I could otherwise change the node-red name.

Thanks for getting back to me so quickly Milo! No worries I think it's a tuya thing - I'll forget the node red bit and just do the automations in homebridge.


pwsh does not wait to run when in a pipe

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Trying to run a very simple set of commands: fd '(ps1$|sh$)' C:\Users\Username\bin\ | fzf --sync | pwsh
fd every ps1 script in my ~/bin folder, pipe them through synchronous fzf for selection, pipe fzf result to run in powershell (tried with -File/-File - also).
Expected behavior
I make an fzf selection, then `pwsh` launches runs the ps1 script in the terminal.

Actual behavior
A new `pwsh` launches in the middle of my fzf selection, never waits for the pipe to get to it. Running this in Windows PowerShell, as opposed to Powershell 7, actually produces the expected behavior.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Can you try ... | pwsh -noprofile -command - instead?

Yep, that works exactly as expected! (thank you!)
I am not sure if it is intended behavior for pwsh to launch itself in the middle if a pipe, so I'll keep the issue open, feel free to close as appropriate.


Student methods for retrieving registration

For example Student::getRegistration($term, $year)
Returns results per SWS Registration Search Resource

Provided in 1.0.0


build: pass along CMAKE_BUILD_PROGRAM to sub-build

Pass along our CMAKE_BUILD_PROGRAM to the libdispatch build which is
done as part of the build for SourceKit.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @alblue

Thanks, will let you know if this resolves the issue I was seeing in SR-6132

@swift-ci please test and merge


138702235-save-and-continue-and-save-button-on-declr

All on the declarations page:

Save and continue
See what is coming Next
Save and return to the declaration overview.
Remove 'make decl' button from last page
Hook up the breadcrumb back to the overview page

Have you managed to get away without breaking any tests here? If so that's a little on the worrying side.

Couple of comments but looking good.  Let's get it rebased up and un x-fail the tests.

Looks good to go :+1:


Integration fails to initialise if a USB Bluetooth adaptor is present.

Logs show:
This error originated from a custom integration.

Logger: custom_components.bermuda
Source: custom_components/bermuda/__init__.py:314
Integration: Bermuda BLE Triangulation (documentation, issues)
First occurred: 25 August 2023 at 19:58:13 (1967 occurrences)
Last logged: 01:26:08

Unexpected error fetching bermuda data: 'XX:XX:XX:XX:XX:XX'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/bermuda/__init__.py", line 314, in _async_update_data
    self.devices[discovered.scanner.source].area_id,
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'XX:XX:XX:XX:XX:XX'

Where XX:XX:XX:XX:XX:XX is the MAC address of the USB bluetooth adaptor installed in the system.
Version of the custom_component
All versions up to v0.2.1 inclusive.
Describe the bug
Faulty logic in _refresh_scanners fails to find bluetooth usb adaptors.

Fixed in release v0.2.2 by commit #23


Split mixing campaign in one campaign for each primary

Adding the reco stage to mixed and unmixed primaries made the mdc2020_mix campaign too complicated. I split it into one campaign for each primary (at the moment NoPrimary, CeEndpoint, CePlusEndpoint, FlateMinus, FlatePlus).
Now the job loads the cfg file from cvmfs and not from my local area
The mixing+digi+reco 1% campaigns will name the output dataset with the description MDC2020km since they use k tag as input and m tag as output.

:hourglass: The following tests have been triggered for dabe054a519348771a5a6cb50705636854f5c5df: build  (Build queue has 1 jobs)

:sunny: The tests passed at dabe054a519348771a5a6cb50705636854f5c5df.

Test
Result
Details

merge
:white_check_mark:
Merged dabe054a519348771a5a6cb50705636854f5c5df at de9a0efde413f192d05552538fb2f1dbe5eb8afd

build (prof)
:white_check_mark:
Log file. Build time: 14 min 47 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at dabe054a519348771a5a6cb50705636854f5c5df after being merged into the base branch at de9a0efde413f192d05552538fb2f1dbe5eb8afd.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

global.stage_name is a good suggestion, although the name of the stage (e.g. [stage_flateplusmix]) will stay the same. But unfortunately there is no way to avoid the repeated code because there is no #include feature.


Updated Testbed run_scenarios to use an ENV dictionary rather than an ENV file

Why are these changes needed?
In the Testbed, environment variables were handled by populating and ENV file and sharing it with the Docker container via a shared folder. However, we then needed to be extremely sure to delete this file when sharing the results of a run. The current script handles deletion in most cases, but not if Docker times out, or if there is a keyboard interrupt. By passing environment variables through the sanctioned Docker mechanism, we remove the need to manage this file ourselves.
Related issue number
Closes #987 (though it replaces rather than deprecates)
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2ee944d) 26.63% compared to head (c46bce5) 26.44%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #988      +/-   ##
==========================================
- Coverage   26.63%   26.44%   -0.19%
==========================================
  Files          28       28
  Lines        3777     3777
  Branches      858      858
==========================================
- Hits         1006      999       -7
- Misses       2700     2706       +6
- Partials       71       72       +1

Flag
Coverage Δ

unittests
26.44% <ø> (-0.14%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Superseded by #997


Strange autocomplete suggestion

Wow what even is this thing?

@forki @vasily-kirichenko Yeah I know, it's odd.  I saw them yesterday too

They are generated by roslyn for lambdas, etc. AFAIK these classes are internal, so either the visibility filter does not work, or you have a InternalsVisibleTo?

@0x53A It's odd as I'm sure we have a filter in place.  We don't have an IVT into Roslyn AFAIK

@dsyme you must have an IVT, the whole class is internal:
http://source.roslyn.io/#Microsoft.CodeAnalysis.Features/Completion/CommonCompletionItem.cs,02f200b007a2f8e7,references

@0x53A Oh, the power :) OK, closing this for now.  I mean, from one perspective we shouldn't show these I suppose.  But internal is internal, and we can see internals.

They should have  attributes on them (CompilerGenerated?) that you might be able to filter on.  Roslyn's symbol model has ISymbol.CanBeReferencedByName as well for things that appear in the symbol API but aren't mentionable.


Ruby 2.2.0 Fails during "Generating RI"

I suspect this is a server issue but I cannot find a solution. 2.1.5 installed just fine. And if I skip rdoc install, 2.2.0 works as well. Anyone have any ideas how to fix this issue?
Downloading ruby-2.2.0.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/7671e394abfb5
d262fbcd3b27a71bf78737c7e9347fa21c39e58b0bb9c4840fc
Installing ruby-2.2.0...

BUILD FAILED (CentOS release 6.6 (Final) using ruby-
build 20150130-2-g8106d8f)

Inspect or clean up the working tree at /tmp/ruby-bu
ild.20150210151702.4709
Results logged to /tmp/ruby-build.20150210151702.470
9.log

Last 10 log lines:
 99% [961/967]  vm_dump.c
 99% [962/967]  vm_eval.c
 99% [963/967]  vm_exec.c
 99% [964/967]  vm_insnhelper.c
 99% [965/967]  vm_method.c
 99% [966/967]  vm_trace.c
100% [967/967]  vsnprintf.c

Generating RI format into /tmp/ruby-build.2015021015
1702.4709/ruby-2.2.0/.ext/rdoc...
make: *** [rdoc] Killed

Is it a virtual machine? Is it possible that it ran out of RAM or disk space on /tmp partition?

It is a VM. It just seems crazy that 2.2.0 is a problem and other else is. I'll look into that idea though.

It seems to happen OOM killer. Please increase your RAM or add "--disable-install-doc" into configuration.

I am also having this problem..

@adrivanrex It's not related this issue. Please create new issue and attach build log.

I had this problem on a VM that was only 512mb RAM.
CONFIGURE_OPTS="--disable-install-rdoc" rbenv install 2.2.2 enabled the install to work.

I had this also, and I increased the memory of my VM with Vagrant:
config.vm.provider "virtualbox" do |v|
  v.memory = 1024
end


Added word counter and toggle

Hi Carlos,
I enjoyed you Medium article.
I added a word counter and the ability to toggle between the old character counter and the new word counter by just clicking it.
I chose not to add any words to the counter to keep it minimalist but there's no reason they couldn't be.

Hi Lewis, this is brilliant! thank you! I will think of a way to make the switch intuitive enough! Thanks for your contribution!

Hey @Lewis-Marshall I just added a tooltip to the counter so when you hover you can see you can switch now between characters and words. Thanks again for your contribution and feel free to contribute more in the future if you will 😊 I still have a couple of things on the wishlist. Cheers!


typo fix on the FLUTTER_STORAGE_BASE_URL usage

Description
A small fix to #56164, also @xster .
Since the FLUTTER_STORAGE_BASE_URL has been set up to a complete URL like:
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
hence the scheme https:// which in the maven URL setting should be removed as well as added it to the default setting: storage.googleapis.com,
or the final URL will be like: https://https/storage.flutter-io.cn/download.flutter.io as Issue #56678 mentioned, which will be connection failed.
Related Issues
#55134
Fixes #56678
Tests
Could we use the existing tests that @xster created?
dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

Ah this looks right. Thanks for the quick fix!
You can also add yourself to the AUTHORS file :)
We can change this line https://github.com/flutter/flutter/pull/56164/files#diff-d56182dedf1e8eaecb470e8900b4e19eR61 in the test.
LGTM

嗯，谢谢程路


Daily Tasks will create empty ammo boxes/packages if asking for ammo type.

General information:
Project issue is for:
3.8.0
Expected result:
Ammo boxes should be consumed when turning in ammo for daily tasks / Ammo boxes should not be able to be used for daily tasks.
Actual result:
Ammo box ammo was consumed.
Daily tasks which ask for specific ammo, for example, PP, will take ammo from ammo box without the player opening the ammo box prior. This leaves behind an ammo box item in the stash with size 0. (EX: PP Box 0/30)
How to reproduce:

Obtain a Daily Task which requires a certain type of ammo
Have a box/package/wrap in your stash of that ammo type
Turn In items.

Attachments

server-2024-01-13.log (301 KiB)
LogOutput.log (102 KiB)
2024.01.13_7-38-15_<IP_ADDRESS>.28375 traces.log (287 KiB)

Originally written by Dx-B

most likely fixed in https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/312

Originally written by CWX