Homebrewery not loading right

Was working on my brew and it suddenly stopped saving anything at all and now when i try and load it, all the pages are completely missing, or black. The brew code is below. also none of the last stuff got saved proper and the share page doesnt load either.
Additional Details
Share Link :
or
Brew code to reproduce : Click to expand
PASTE BREW CODE HERE

Autumn's Guide to D&D 5e
Personal Player's Handbook

##### In a land of dreams and fantasy, danger, and distrust, we must all learn to work together, or we shall all perish.

Credit:TylerEdlinArt - DeviantArt
\page# Guide to Autumn's
# Homebrewed World
## Welcome
Welcome to my own continent of the world of our DnD 5e Homebrew game. Here you will find accessible information on each of our locations in-game. You can also view the map here, that has been created for easy-viewing and understanding. Included is a short clarification for character creation, and further races for character building.
Understand, that in this world our characters are working with Prejudices and Biases that have been breeding ill for generations. Most races distrust outsiders, and most villages, cities, or towns, do not welcome Race mixing. It is your parties job to get to the bottom of the reason why, and fix it. For the good of all.  *For all further questions not listed in this Guide, please see your DM.*
Frequently asked Questions
How Does Combat Work? We are by the book. Refer to the DMG and the PHB for these rules unless in specific circumstances, when the DM says otherwise.
What if I get three 9's on my Stats? You would have three 9's on that column. Remember, you are choosing the best of three columns total. Ultimately, it will be up to you if you choose the column that has three 9's. If you have three columns, and they all seem terrible. Refer to the DM for their ultimate opinion.
If we are on a different continent, how do I choose where my character is from? You can feel free to choose any of the locations that would apply to your character. The Dungeon Master, can help to explain how you got where you are, or you can think of some other creative story. Example, Kidnapped by pirates and sold into slavery where you eventually escaped or bought your freedom. You no longer are on the same continent, but you are pretty stuck all the same.
If I want to pick up a mace, but don't have that proficiency, am I at a disadvantage to attack? No. You would not be at a disadvantage to pick up this weapon and hit something. It is assumed that all characters know how to pick something up, and accordingly, can hit someone with it. If however, whatever weapon or weapons you attempt to pick up, require some sort of affinity, or two handed weilding, you are at a disadvantage because it has become unwieldy. Or because you may hurt yourself. Examples: You pick up a large battleaxe, it is heavier than you expected so you may drop it on your toe. If you find a blowdart gun, it would be simple to blow through it, but this is an example of a weapon where you need to roll first to see if your character remembers not to breathe in over the tube and suck the dart into their mouth accidentally. Since that is a weapon that requires a knowledge of dartguns.
Why doesn't anyone Trust Dragons? This is what you have to figure out. Dragons and other species have been causing discord for several generations. Why? This is the overall Quest of the Game.
Character Creations
All character general column stats, are rolled with a 3d6 unless otherwise specified.  If a character roll is made with more than one '1', or if the total is less than 9. Then reroll that die group. example. 3d6 = 1, 1, 5. *** This would be rerolled. If *** 3d6 = 6, 3, 4. Then this is an 13 total. Do not Reroll.  Roll your stats: Strength, Intelligence, Wisdom, Dexterity, Constitution, and Charisma, once each for one column.  Make three columns, and choose the one that is the best for your needs.  You can put the resulting numbers in whatever statistic you prefer. Your results cannot be higher than an 18, or lower than a 9, in any category when rolled in this way. Any other bonuses or feats may still be added. Characters do not cap at 20 points for level 1 in stat categories. The cap at level 1 is 30.

A Note about proficiency bonuses
Any character has the ability to try and gain a bonus to a proficiency.
Choosing Skills
Be aware, Skills and proficiencies are able to be learned, if you want to take the time out of the game to do so. Certain rolls must be met for use of tools, or use of stat increases. Tables listed with the XP charts will give more detailed information on these requirements.

Changes to some Races
All Races in the PHB
Races in the PHB are welcome, with changes to Dragonborn. Dwarf, Elf, Gnome, Half-Elf, Half-Orc, Halfling, Human, and Tiefling have no notable changes. Below, are listed the Dragonborn changes, and other included Races for the game. Note that in one party of adventurers, we try to make sure everyone gets along. If a race states that they do not get along with persons outside their species, everyone in the party should be the same species. Example of this is a Minotaur. Minotaurs can be found in the Unearthed Arcana book. All other races please refer to your DM for clarifcation and approval for use.

##### Races found in other tomes.
Understand that races in other books have not yet been completely approved for use in this game. Unearthed Arcana for example, is not  approved at this time for Race variants. Any authorized Races not in the PHB will be listed here.
Dungeon Master Rules Use this guide, and any other specific questions you may have can be referred to the DM.
Have Fun Obviously. That is the point.

PART 1 | Welcome
\page
Dragonborn
Dragonborn in this world is not the same as with the PHB. Dragonborn characters are in fact much the same builds as humans but with marks of the dragon on their skin, and in their hands and feet. Some are born much more heavily marked than others, in some cases it may not become apparent that they are dragonborn until they have reached the ages of 5-8, in other cases, even as a newborn they have claws or scales already. Over time, scales grow out to replace their human skin in places, and claws grow from their tips beneath fingernails. This is a permanent change. With claws they will get bonuses to climbing and dexterity, but will not stand any taller than the average human. Some Dragonborn produce tails, and some do not have this. Some dragonborn also can grow wings in their maturity. Dragonborns are born from humans as live young, and not hatched from eggs. The characteristics of many children Dragonborn are similar to the Humans. As a child grows older though, the marks are more and more apparent. This is common in places like Rain City, but the humans there are distrustful, and if a child begins to show the marks of being Dragonborn, they are usually outcasted from society, abandoned, or culled.  Some Dragonborn have managed to live with the dragons in harmony in the Spine of the Dragon mountain range. Others have created their own tribes or societies, and are living separately. If a Dragonborn is not living with other dragons, they have a much shorter lifespan. Dragons help them to cope with their growing scales and dragonlike appearances throughout their lifetime. Dragonborns within the presence of dragons reach maurity at age 18 and can live to be 150 years old. Dragonborns not in the general company of dragons age much faster, so they only live to a maximum age of 40. See below the notes for building a DragonBorn.

Credit: Google Images

Credit: Google Images

PART 2 | Races
\page
Additional Monsters

Phoenix
Tiny Magical Beast, Celestial, Lawful Good

Credit:Google Images

The Phoenix is a magical creature of celestial bloodlines that is extremely protective of whomever it has become bonded with. These creatures are given by a God or Goddess as a sign of Favor  to their devoted followers. Phoenixes, once bonded, will never bond to another being. If the one they have bonded with, should perish, they will then return to the God or Goddess that granted them to their bond.  A friend of their bond, is a friend of theirs. Enemies of the one they have bonded to, beware the powers of the Phoenix. If you have targeted the one they are bonded with, they go to great lengths to make your life miserable until you have stopped harassing their allies. These creatures are extremely rare.

Armor Class 13
Hit Points 8(1d4 + 5)
Speed 45ft in air 5ft walking
Senses Passive Perception 15
Challenge 2 (60 XP)

STR
DEX
CON
INT
WIS
CHA

5 (+1)
17 (+3)
8 (+1)
12 (+1)
12 (+5)
10 (+2)

Immunities Fire Damage
Resistances Poison
Vulnerabilities Cold, Ice, Being Reborn (see Rebirth).
Languages Understands Celestial, Common, Elven, Gnomish, Infernal, can speak telepathically in images.

Keen Hearing and Sight Phoenix has an advantage on Wisdom (perception) checks that rely on hearing or sight.
Flyby Doesn't provoke opportunity attacks when it flies out of an Enemy's Reach.
Rebirth Phoenixes can be reborn of their own ashes. This takes a number of 1d4 days before they are back to their normal appearance and health. Until that time, health and stats are all reduced by half. Abilities unavailable, exceptions: Death Burst, Rebirth, False Appearance (looks like a baby bird that just hatched).
False Appearance While this is a magical bird, it still looks like an ordinary red bird.
Healing Tears Producing 1d4 healing for every 60 seconds. Cannot cry during Combat, Must be in contact with the target of the healing or the wound. Tears are collectible for healing potions.
Birdsong of Strength Gives bonus to all allies within hearing distance for up to one hour. +1 to all saving throws.
Actions
Talons Melee Weapon Attack: +3 to hit, reach 5ft., one target. Hit 1 slashing damage.

Beak Melee Weapon Attack +4 to hit, reach 5ft., one target. Hit 4 (1d4+2) piercing damage.
Birdsong of Attack Attack deals 1d4 psychic damage and 1d4 radiant damage to one targeted enemy within hearing and 30ft. One action. Unlimited.

Death Burst When the Phoenix dies, it explodes in a burst of Flames. Each creature within 5 ft. of it must make a DC 11 Dexterity saving throw, taking 7(2d6) fire damage on a failed save, or half as much damage on a successful one. Death activates Rebirth.

PART 3 | Monsters
\page
Locations in Game
Enchanted Forest of Mysts
This location is home to a very important path. The path in and out of this Forest, leads North and South. It is also home to much more magic than in other places. The path traveling to the North, will lead you straight to the Bridge of Siensnan, and the South Entrance to the city of Siensnan. The path, traveling South, leads you through the Forest and out to the Grassy Plains. This is home to select few Humans, several Faerie species, including but not limited to Nixies, Dryads, Nyads (or Naiads), Tree Changers, Nymphs, and Pixies. This is also the home of several Elementals, Giants, enchanted creatures, and some Dragonborn and human folk in selected locations. Some say the forest itself is enchanted. To stray from the path is dangerous if you do not know where you are going, and even if you do in some cases. This Forest is the hub of faerie and magically mysterious activity, and is known to turn out adventurers and unwary travelers into places unexpected. Stay with your group if you can. It is very easy to get lost or separated from your party.
Enchanted forest of Myst (fae, faerie, celestial, human, most mythlike creatures, regular creatures. Path is widely used by all.)
Eriand
(Gnome City NorthEast of the Spine of the Dragon.) Fae, faeries, humans, dwarves, halflings, celestial,) dragonborn, infernals, dragons, evil alignment people not welcome here. The City floats above a glittery lake and is surrounded by misty valleys, safe haven for good creatures and beings.
Faar
The Lost City of Faar is Lost. The legend says it was a wealth of treasure and knowledge and then, the people of the city angered the Gods by not offering proper tribute. The city was cast from the world into the Sea, by their anger, It has never been found. If it even exists, we have no idea what race of people lived there or if there really was a treasure. People laugh at others who mention trying to find it. A childrens tale.
Faerie Crystal Caves
(hidden faerie city, only faeries and accepted friends know how to find this place) It's existence is Common Knowledge.
Five Village Circle
These five villages all are set together in one large circle and have one large gathering location for all of their inhabitants. They are located in the southern section of the Grassy Plains on the Edge of the Woods. It is strictly a set of human villages that all work harmoniously together to provide each others' needs. They are each individually governed by a council of their Elders, which has a 'Head' that is voted on each season.
(Penn, Stix, Tak, Crow, Din)
Penn
This village is responsible for hunting and trapping food, and growing food in the fields, feeds all five villages. Also trains the children and tests them for fighting, hunting, and other skills of this nature.
Stix
This village is responsible for the gathering of Wood, chopping, and also the preservation of the forest. They are careful to use trees that are infested with termites, diseased, or otherwise unhealthy so that they can preserve the overall health of the woods and life of the forest creatures.
Tak
This village is responsible for cloth, they tend sheep and use the wool to create the clothes, they also have tanners, and create cloth dyes. Some items are traded outside of the village.
Crow
This village is responsible for messages and scribing. They raise birds which are trained to fly back and forth to various locations. They keep the records for the village circle and make their own ink and paper from the local plants.
(Penn, Stix, Tak, Crow, Din)  (human villages, outsiders not trusted)
Grassy Plains
(home to many creatures, faeries, tree changers, humans expected, halflings live here too.) several villages.
Rain City
(hidden city, home to humans and dragonborn) Rain City exists, but unless you live there, have been there, or were born there you have no idea how to get to it.
Sands of Lost Souls
(hidden desert city is here, yuan ti, dragonborn, elven, human, infernal)
Savage Seas (just like what it sounds like.)
Siensnan
Siensnan is the Elven City. It is heavily guarded and is the biggest marketplace hub on the North or South Side of the River. All races shop and trade here, but Dragons. Dragonborn are welcome here but distrusted. To get to siensnan, there is one way in or out, from the south legally. They must cross a rope bridge between two cliffs. The city is surrounded by a heavy stone wall against the cliff, and the other side of this cliff, ravine, gorge type area, has a treacherous path that has to be traversed down to the rope bridge. The path can only be accessed from the edge of the Enchanted Forest of Myst. Most merchants do not have wagons, and only can bring what they can carry, or magic, across. It is fortified by several guardhouses and watchmen. The back of the city opens out onto the hot sandy plains. There is heavy protection from the back wall entrance.
Spine of the Dragon
(dwarven city, arctic, home of the dragons, and many dragonborn, faeries welcome, only select few outsiders accepted, (half faerie half human tribes ( also live here, but not inside the mountain with dragons, only on top of it.) )
Valartha
(valartha is the goblin city, all outsiders unwelcome, ) (northwest of spine of the dragon)
Woeful woods
(home of the satyrcorns, spirits, zombies, and other evil and malevolent beings.) (northeast of the spine of the dragon)
PART 4 | Locations
\page
Crediting The Homebrewery
Thank you to the anonymous persons, for spending the time to create such a wonderful layout tool. I will be using this in future for all of my own game books creations. Much joy. Have a great life.
PART 5 | Credits
\page

Take a look at #655. It sounds like you have some broken code in your document which is causing the website to crash.

i had already found and fixed my errors, you can remove any tickets with my
username on them please. I thought i noted that on the other one, but it
all opens fine and no longer crashes for me.
On Mon, May 7, 2018 at 8:49 AM, Trevor Buckner<EMAIL_ADDRESS>wrote:

Take a look at #655 https://github.com/stolksdorf/homebrewery/issues/655.
It sounds like you have some broken code in your document which is causing
the website to crash.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stolksdorf/homebrewery/issues/648#issuecomment-387053974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkSSNNx6wrEBiOzD6SQIfLjkjl-6sGG9ks5twELNgaJpZM4TFdoA
.

Great to hear you got it working then. I'll close this issue.


Jira docs 3.0

Removed extraneous page and fixed inconsistent TOC capitalization.

Codecov Report

Merging #739 (97370f9) into master (400c924) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #739      +/-   ##
==========================================
- Coverage   32.10%   32.08%   -0.02%
==========================================
  Files          52       52
  Lines        5270     5270
==========================================
- Hits         1692     1691       -1
- Misses       3384     3385       +1
  Partials      194      194

Impacted Files
Coverage Δ

server/subscribe.go
66.31% <0.00%> (-0.22%)
:arrow_down:

Continue to review full report at Codecov.

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

/update-branch

Error trying to update the PR.
Please do it manually.

@justinegeffen Sorry when I merged https://github.com/mattermost/mattermost-plugin-jira/pull/766 it caused conflicts here

Codecov Report

Merging #739 (6db1d90) into master (5eabfd3) will increase coverage by 0.03%.
The diff coverage is n/a.

:exclamation: Current head 6db1d90 differs from pull request most recent head ade09b9. Consider uploading reports for the commit ade09b9 to get more accurate results

@@            Coverage Diff             @@
##           master     #739      +/-   ##
==========================================
+ Coverage   32.38%   32.41%   +0.03%
==========================================
  Files          52       52
  Lines        5361     5359       -2
==========================================
+ Hits         1736     1737       +1
+ Misses       3423     3421       -2
+ Partials      202      201       -1

Impacted Files
Coverage Δ

server/plugin.go
12.50% <0.00%> (ø)

server/subscribe.go
65.13% <0.00%> (+0.20%)
:arrow_up:

server/webhook.go
31.70% <0.00%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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

@justinegeffen Is there anything blocking this for merging?

@justinegeffen Is there anything blocking this for merging?

Nope, I think we're good to go! :)


Dynamic inheritance in OptionTrees

This PR is primarily to find out whether disabling merge_keywords has an effect on the test. If the tests continue to pass, then I propose keeping it disabled.
Edit: This PR turned into a fix for dynamic inheritance.

Thanks for that last fix! Hope the tests pass this time...

The existing tests passed and I am currently adding more unit tests. I should also mention that there is no need to change merge_keywordsand that this PR addresses issue #646.

I looked into the possibility of defining a utility to replace this code for generating a string specification:
components = (obj.__class__.__name__,
                        group_sanitizer(obj.group),
                        label_sanitizer(obj.label))
 '.'.join([c for c in components if c])

But decided this pattern doesn't appear often enough in the codebase to bother with after grepping for '.'.join(. For tuple specifications, there is already get_spec(obj) which seems sufficient as tuple specs are recommended anyway.
Having added unit tests to ensure the new dynamic inheritance keeps working, I think this PR is now ready for a review/merge.

I added one more unit test to simulate the %%opts magic. Ready to review/merge.

I just updated  the title of the PR as I confused myself thinking it is about options on DynamicMapinstead of dynamic inheritance!

Thanks for adding the tests. Very happy we finally fixed this.


Update Parser to reduce crud

Remove unnecessary dependencies to main method and split out to development

I really haven't found poetry to be my cup of tea.  The MD file should be dropped at some point.

@mlissner I'm also trying to speed this forward so I can move onto the next big thing.

That's too bad. Poetry and I just re-upposed our vows yesterday as I moved django-ses over to using it:
https://github.com/django-ses/django-ses/pull/238
I like how much more strict it is than pip, and it's got a lot of momentum behind it. It can be slow, yes, but the slowness is something that pip should be doing and is just being bad about. Ah well, low stakes here. We can discuss eventually.


Added more details about glasgowphp

Sorry, this one conflicts with previously added GlasgowPHP data (PR #8). Can you edit from the latest branch?

Oh, I see Thomas has already added all our stuff, great. Sorry for the duplicate. I will close this one.


Audit log not updated for certain actions

I have an action that calls upon an Entity's repository, which has a function running a DQL query.
It does a simple -1 on a record in the DB. This is the controller:
public function checkoutAction($id)
    {
$em = $this->getDoctrine()->getManager();
$article20000stock = $em->getRepository('RegenerysQMSBundle:Article20000Stock')
     ->findAndCheckOut($id);
return $this->redirect($this->generateUrl('regenerys_qms_article20000stock_individual', array('id' => $id)));
}

And this is the repo:
public function findAndCheckOut($id)
     {
        return $this->getEntityManager()
            ->createQuery(
    'UPDATE RegenerysQMSBundle:Article20000Stock s
SET
    s.unitsInStock = s.unitsInStock - 1
WHERE
    s.id = :id'
             )->setParameter('id', $id)
            ->getSingleResult();
    }

Whenever I run this, the DB gets updated, but it's not recorded in the audit log.
The Entity is listed in my config, and I have an 'edit' action that works just fine, but it's not in the repo.
Am I doing something wrong?

Hi
this isn't an entity audit issue but a doctrine orm limitation. see http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#update-queries
if you use DQL to update your entities, doctrine don't fire any events, so entity audit can't notice this.
in short: it isn't supported, sorry :-) you should update your entity objects and avoid DQL for updates or deletes.

But my beloved queries! Oh well, not the end of the world, and easy enough
to adapt. Thanks for the heads up on this, I had a hunch this might have
been the issue but would not have found the explanation.
On 15 July 2015 at 14:46, David Badura<EMAIL_ADDRESS>wrote:

Hi
this isn't an entity audit issue but a doctrine orm limitation. see
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#update-queries
if you use DQL to update your entities, doctrine don't fire any events, so
entity audit can't notice this.
in short: it isn't supported, sorry :-) you should update your entity
objects and avoid DQL for updates or deletes.
—
Reply to this email directly or view it on GitHub
https://github.com/simplethings/EntityAudit/issues/142#issuecomment-121621623
.

--
benoliver999.com


how can i remove or reduce the amount of reflect

package reflect can affect the performance. So i'd like to look for some way of remove or reduce this package.
apparently, "interface" of go make programs slow. reflect package use interface, so it will be slow.
how can i remove or reduce.

構造体からcsvにするっていう発想がある時点で、どのみちreflect packageを使わざるを得ない感じ。
When there is the concept of "From struct, to csv", maybe i have to use reflect package.
Because it is necessary that to retrieve struct field data to generate record of csv.
is there any fast and easy way to get those data without "struct tag"?

When there is the concept of "From struct, to csv", maybe i have to use reflect package.
Because it is necessary that to retrieve struct field data to generate record of csv.
is there any fast and easy way to get those data without "struct tag"?


⚠ Bofrost.at has degraded performance

In dd41631, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1051 ms

Resolved: Bofrost.at performance has improved in 594ef77.


Introduce pre-commit

Overview
In my opinion, it would be good to introduce pre-commit to develop dbt-osmosis so that we consistently format files and coding standards a head of pushing the default branch.
We can run the hooks with the subsequent commands.
pip install -U pre-commit

pre-commit install

pre-commit run --all-files

@z3z1ma Can you review the pull request?

Same as other.
Once we rebase and resolve conflicts, I will merge and cut a release. Good call on pre-commit.

I will resolve the conflicts as soon as possible.

@z3z1ma Can you review it again? I have resolved the conflicts. To do so, I had to get poetry.lock updated with poetry lock --no-update. But, I don't think it breaks anything in the existing functions.


replace tutorial with latest on BTP

I think the new tutorial on BTP is better suited for a new developer.
Also, there are about 40 hours of content here.

Great support. Thanks very much!


add support for ffmpeg 6.1

title says it all, prolly missing some stuff here and there.
idk i just want to get av-metrics working again

Can you add  an ffmpeg_6_1 entry in build.rs (ffmpeg_lavc_versions)? Would also be good to have support for 6.1 in the CI scripts, but maybe out of scope for this PR

+1 for FreezyLemon's suggestions. Also seems like the CI is mad because of formatting.

The CI script for FFmpeg 6.0 seems to be borked. The docker images have 6.0 and 6.1 releases now, removing the manual build job should work..
So removing this:
https://github.com/shssoichiro/ffmpeg-the-third/blob/1af767b881e1c895a21a83887d03f9b15984f2bb/.github/workflows/build.yml#L43-L73
And instead adding 6.0 and 6.1 to this list:
https://github.com/shssoichiro/ffmpeg-the-third/blob/1af767b881e1c895a21a83887d03f9b15984f2bb/.github/workflows/build.yml#L16

@shssoichiro yeah sure, hold on.

The CI seems to be reporting there are some more enum items missing in ffmpeg 6.1: https://github.com/shssoichiro/ffmpeg-the-third/actions/runs/7795746682/job/21299726418?pr=13

@Simulping Do you still want to update this PR? If not, I'll take a look, I suppose...


autocomplete: Match insensitively to diacritics In @-mention results

Fixes #237
A new dependency was introduced: diacritic: ^0.1.5

To update this thread: it looks like we've identified a dependency to pull in 🙂 https://chat.zulip.org/#narrow/stream/48-mobile/topic/deps.3A.20Add.20new.20package.20to.20handle.20diacritics/near/1770345 so I/we will be happy to see a revision that does that, and review this again when it's un-marked as a draft.


ledger_app.toml manifest

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

Comparison is base (f4271f5) 84.88% compared to head (b6a5224) 84.88%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #211   +/-   ##
========================================
  Coverage    84.88%   84.88%
========================================
  Files           17       17
  Lines         2210     2210
========================================
  Hits          1876     1876
  Misses         334      334

Flag
Coverage Δ

unittests
84.88% <ø> (ø)

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.


update to go 1.20

Related Issue:  stolostron/backlog#<ISSUE_NUMBER>
Description of changes
update go version to 1.20

/cherry-pick release-2.6


Failure: No handlers could be found for logger "shapely.geos"

Obscure error when running ACME Diags on output from  a recent simulation:
/export/golaz1/ACME_diags/20170926.FCT2.A_WCYCL1850S.ne30_oECv3.anvil
Variable: LWCF
Selected region: global
no domain selector
No handlers could be found for logger "shapely.geos"
Traceback (most recent call last):
  File "/export/golaz1/conda/envs/acme_diags_env/bin/acme_diags_driver.py", line 4, in <module>
    __import__('pkg_resources').run_script('acme-diags==1.0.0', 'acme_diags_driver.py')
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1503, in run_script
    exec(code, namespace, namespace)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags-1.0.0-py2.7.egg-info/scripts/acme_diags_driver.py", line 122, in <module>
    parameters = cdp.cdp_run.serial(run_diag, parameters)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cdp/cdp_run.py", line 12, in serial
    results.append(func(p))
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags-1.0.0-py2.7.egg-info/scripts/acme_diags_driver.py", line 59, in run_diag
    single_result = module.run_diag(parameters)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags/driver/lat_lon_driver.py", line 224, in run_diag
    mv1_domain, diff, metrics_dict, parameter)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags/plot/__init__.py", line 43, in plot
    plot_fcn(ref, test, diff, metrics_dict, parameter)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags/plot/cartopy/lat_lon_plot.py", line 149, in plot
    (None, parameter.diff_title, None), parameter, stats=(max3, mean3, min3, r, c))
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/acme_diags/plot/cartopy/lat_lon_plot.py", line 61, in plot_panel
    extend='both',
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cartopy/mpl/geoaxes.py", line 1339, in contourf
    if col.get_paths()])
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/matplotlib/collections.py", line 214, in get_datalim
    paths = [transform.transform_path_non_affine(p) for p in paths]
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/matplotlib/transforms.py", line 2386, in transform_path_non_affine
    return self._a.transform_path_non_affine(path)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cartopy/mpl/geoaxes.py", line 187, in transform_path_non_affine
    geom, self.source_projection)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cartopy/crs.py", line 175, in project_geometry
    return getattr(self, method_name)(geometry, src_crs)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cartopy/crs.py", line 330, in _project_polygon
    return self._rings_to_multi_polygon(rings, is_ccw)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/cartopy/crs.py", line 541, in _rings_to_multi_polygon
    if prep_polygon.contains(interior_ring):
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/shapely/impl.py", line 37, in wrapper
    return func(*args, **kwargs)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/shapely/prepared.py", line 45, in contains
    return bool(self.impl['prepared_contains'](self, other))
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/shapely/predicates.py", line 18, in __call__
    self._check_topology(err, this, other)
  File "/export/golaz1/conda/envs/acme_diags_env/lib/python2.7/site-packages/shapely/topology.py", line 34, in _check_topology
    if not geom.is_valid:
AttributeError: 'PreparedGeometry' object has no attribute 'is_valid'

I isolated the problem. It seems to be related to plotting MAM against CERES EBAF TOA 4.0. Plotting MAM against 2.8 works. Could there be something wrong with CERES EBAF TOA 4.0 MAM file?
Here is my JSON file:
{
        "set5": [
                {
                        "sets": ["lat_lon"],
                        "case_id": "CERES-EBAF-TOA-v4.0",
                        "variables": ["LWCF"],
                        "ref_name": "ceres_ebaf_toa_v4.0",
                        "reference_name": "CERES-EBAF Jan 2000-Dec 2015",
                        "seasons": ["MAM"],
                        "contour_levels": [0, 10, 20, 30, 40, 50, 60, 70, 80],
                        "diff_levels": [-35, -30, -25, -20, -15, -10, -5, -2, 2, 5, 10, 15, 20, 25, 30, 35]
                }
        ]
}

@golaz Since this seems like a problem related to matplotlib, did you want to try just running the aforementioned diags using vcs? It seems weird that the plotting is causing the errors.

@golaz  where is the data? on which machine?

@zshaheen: I tried with VCS and it works

@golaz @chengzhuzhang So it seems like the metrics aren't an issue, because they are just floating point numbers, nothing weird.

@chengzhuzhang : I'm seeing this error on acme1.
Model data:
/export/golaz1/ACME_diags/20170926.FCT2.A_WCYCL1850S.ne30_oECv3.anvil/climo/0001-0030
Obs:
/p/cscratch/acme/data/obs_for_acme_diags

@golaz
Thank you for helping us ruling out the metrics problem. I will try to reproduce this error and trouble shooting it.

I was trying to do additional debugging by creating a development environment, but then ran into another issue: https://github.com/ACME-Climate/acme_diags/issues/99

The problem goes away when slightly tweaking the specified contour levels for the difference plot. For example, the following works:
{
        "set5": [
                {
                        "sets": ["lat_lon"],
                        "case_id": "CERES-EBAF-TOA-v4.0",
                        "variables": ["LWCF"],
                        "ref_name": "ceres_ebaf_toa_v4.0",
                        "reference_name": "CERES-EBAF Jan 2000-Dec 2015",
                        "seasons": ["MAM"],
                        "contour_levels": [0, 10, 20, 30, 40, 50, 60, 70, 80],
                        "diff_levels": [-35, -25, -15, -5, -2, 2, 5, 15, 25, 35]
                }
        ]
}

My current best hypothesis is that this is a cartopy bug. The behavior is very similar to an older cartopy bug (https://github.com/SciTools/cartopy/issues/811). It supposedly was corrected in version 0.15.1 that we are using, but maybe not quite (?)
Maybe we need a simple test illustrating the problem.

@golaz Hi Chris,
Would you give me permission for:
/export/golaz1/ACME_diags/20170926.FCT2.A_WCYCL1850S.ne30_oECv3.anvil/climo/0001-0030/
Thank you!

@golaz Zeshawn helped to moved the data, no permission needed now..

I can totally reproduce this issue. A cartopy bug needs to be fixed...

@chengzhuzhang We should isolate this bug from our software and write a short script that demonstrates this. Then we can show this to the maintainers of cartopy.

@zshaheen I agree with you. It seems to me a  random case, since it only happens to one variable (derived) for one season so far. It's wired. I'm thinking in our software, we can raise this error but continue with some remedy.

@chengzhuzhang and @zshaheen: I like your two prongs approach:

Implement a work-around so that ACME diags continues even if a single plot fails (we also need something like this for https://github.com/ACME-Climate/acme_diags/issues/95).
If possible, create a simple test case that isolates the problem and submit it as a bug report to cartopy. I wonder if we can make use of the option to save the regridded netCDF files and then create a simple one-panel plot that would trigger the bug.

@golaz  Yes! I actually also thought save_neccdf should be used right here. I'm creating the simple sample.

@chengzhuzhang and @zshaheen: I encountered a similar problem on NERSC yesterday with a different set of climatology files:
/global/cscratch1/sd/golaz/ACME_simulations/20171011.beta2_FCT2-rt02_branch.A_WCYCL1850S.ne30_oECv3_ICG.edison/pp/clim_rgr/0051-0060
This time, the error occurred when creating SWCF MAM figures with EBAF 2.8. The version of ACME diags I was using included PR https://github.com/ACME-Climate/acme_diags/pull/103, so additional changes are probably needed to recover from this specific type of failure.

@golaz Jill and I came up with a solution that should step around most of these issues. We'll present this to you tomorrow. Since this is an issue with a library we use, stepping around this probably the only thing we can do.

@golaz With this new error Chris, did the diagnostics continue past the error, or did it prematurely break?
Also, can you post the stack trace if possible?

It broke prematurely. Traceback looks very similar to the one above; should be reproducible with the climo files mentioned above.
test file: /global/cscratch1/sd/golaz/ACME_simulations/20171011.beta2_FCT2-rt02_branch.A_WCYCL1850S.ne30_oECv3_ICG.edison/pp/clim_rgr/0051-0060/20171011.beta2_FCT2-rt02_branch.A_WCYCL1850S.ne30_oECv3_ICG.edison_MAM_005103_006005_climo.nc
reference file: /global/project/projectdirs/acme/acme_diags/obs_for_acme_diags/ceres_ebaf_toa_v2.8_MAM_200103_201605_climo.nc
Variable: SWCF
Selected region: global
no domain selector
No handlers could be found for logger "shapely.geos"
Traceback (most recent call last):
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/bin/acme_diags_driver.py", line 4, in <module>
    __import__('pkg_resources').run_script('acme-diags==1.0.0', 'acme_diags_driver.py')
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/pkg_resources/__init__.py", line 748, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1517, in run_script
    exec(code, namespace, namespace)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags-1.0.0-py2.7.egg-info/scripts/acme_diags_driver.py", line 122, in <module>
    parameters = cdp.cdp_run.serial(run_diag, parameters)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cdp/cdp_run.py", line 12, in serial
    results.append(func(p))
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags-1.0.0-py2.7.egg-info/scripts/acme_diags_driver.py", line 59, in run_diag
    single_result = module.run_diag(parameters)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags/driver/lat_lon_driver.py", line 224, in run_diag
    mv1_domain, diff, metrics_dict, parameter)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags/plot/__init__.py", line 43, in plot
    plot_fcn(ref, test, diff, metrics_dict, parameter)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags/plot/cartopy/lat_lon_plot.py", line 149, in plot
    (None, parameter.diff_title, None), parameter, stats=(max3, mean3, min3, r, c))
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags/plot/cartopy/lat_lon_plot.py", line 61, in plot_panel
    extend='both',
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cartopy/mpl/geoaxes.py", line 1339, in contourf
    if col.get_paths()])
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/matplotlib/collections.py", line 214, in get_datalim
    paths = [transform.transform_path_non_affine(p) for p in paths]
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/matplotlib/transforms.py", line 2386, in transform_path_non_affine
    return self._a.transform_path_non_affine(path)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cartopy/mpl/geoaxes.py", line 187, in transform_path_non_affine
    geom, self.source_projection)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cartopy/crs.py", line 175, in project_geometry
    return getattr(self, method_name)(geometry, src_crs)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cartopy/crs.py", line 330, in _project_polygon
    return self._rings_to_multi_polygon(rings, is_ccw)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/cartopy/crs.py", line 541, in _rings_to_multi_polygon
    if prep_polygon.contains(interior_ring):
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/shapely/impl.py", line 37, in wrapper
    return func(*args, **kwargs)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/shapely/prepared.py", line 45, in contains
    return bool(self.impl['prepared_contains'](self, other))
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/shapely/predicates.py", line 18, in __call__
    self._check_topology(err, this, other)
  File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/shapely/topology.py", line 34, in _check_topology
    if not geom.is_valid:
AttributeError: 'PreparedGeometry' object has no attribute 'is_valid'

@golaz You don't have the latest installed. In your stack trace, you have the following error:
File "/global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags-1.0.0-py2.7.egg-info/scripts/acme_diags_driver.py", line 59, in run_diag
   single_result = module.run_diag(parameters)

It says that on line 59 of acme_diags_driver.py, the line of code is single_result = module.run_diag(parameters). But look at line 59 of acme_diags_driver.py on master and you'll see it's a blank line. Hence, you don't have the latest code from master.
When you build the env from the acme_diags_env.yml (or even if you conda install it) it installs v1.0.0 of acme_diags from Anaconda. Then you install from source, but for whatever reason which Jill and I have experienced countless times, it does not install the latest from source.
So do:
rm -r /global/project/projectdirs/acme/golaz/conda/envs/acme_diags_dev/lib/python2.7/site-packages/acme_diags*

and reinstall from source. That should fix it.
I think the reason that you need to remove it is because when you install from source, there might be two different acme_diags in /path/to/your/env/lib/python2.7/site-packages/.

Ok, that could explain it. Please document the proper installation procedure on the documentation page:
https://acme-climate.github.io/acme_diags/docs/html/install-config-run.html

@golaz Yes, I'm getting to that now.

Updates: Strange thing!
I can't reproduce the error using a single script with the same data.
So we continued troubleshooting and think it might be problem from our end. We have a add_cyclic function to make up the last longitude, as follows:
def add_cyclic(var):
lon = var.getLongitude()
return var(longitude=(lon[0], lon[0] + 360.0, 'coe'))
When add_cyclic was commented out, no error. Plots all good (but you can notice the white gap at longitude 0W compared to the old plots).

Now it starts to get mysterious...

So it seems like this is not entirely a cartopy issue. But why does add_cyclic() only break for that certain variable, season, and contour levels? So for the most part, add_cyclic() with cartopy is okay.
This is quite strange. It might even be a bug related to cdms.
However, now that errors can be gracefully handled, this is not so urgent.

It is so random. It makes things more complicated with cdms envolved. The problem now becomes if we can reproduce this error without cdms to identify if this is a cartopy problem or cdms problem.

@chengzhuzhang,  cartopy comes with its own version of add_cyclic, maybe you could try it out:
http://scitools.org.uk/cartopy/docs/v0.15/cartopy/util/util.html
There is also a matplotlib basemap one:
https://matplotlib.org/basemap/api/basemap_api.html
It probably would also be easy to do it with numpy.

Thank you, @golaz
I tried the add_cyclic_point from cartopy, the error remains. But I think I found the problem. It's mis-implementation from our side.
'''
p1 = ax.contourf(lon, lat, var,
                 transform=proj,#ccrs.PlateCarree(),
                 norm=norm,
                 levels=levels,
                 cmap=cmap,
                 extend='both',
                 )

'''
where,
'''
proj = ccrs.PlateCarree(central_longitude=180)
'''
See commit https://github.com/ACME-Climate/acme_diags/commit/0b1644ba691ecafd699031773aad61067a5686ed
I will try a full lat_lon run to see if this impact other diags

I ran the full lat_lon, non of the seasons broken :)

Attached is the new figure, just to verify that  everything is okay

@chengzhuzhang : unfortunately, this does not look right. The three bright spots along the equator should be over (1) Africa, (2) Maritime continent, (3) Americas. Everything is shifted in the figure above and the African bright spot ends up in the middle of the Pacific.

It's bad..I reverted the commit. working on matching the data and basemap.

I can't get the data and base map to match without a hack. I think we should submit following example to carroty team. Any suggestions?
cartopy_issue.zip

@chengzhuzhang : Thank you, I'll try your example.

Filed an issue for cartopy:
https://github.com/SciTools/cartopy/issues/946

Waiting on a future release of cartopy for a fix.

any updates on this? i've been getting this issue consistently for certain variables using cartopy 0.16.0.
cheers

@jonnyhtw Thanks for using our software! We just tested it and it mysteriously looks fine. The latest version of this software uses cartopy 0.16.0, build py27h81b52dc_2 from the conda-forge channel. However, the issue that @chengzhuzhang posted here is still reproducible with the attached zip on that issue.
Some questions:

What version of e3sm_diags are you using?

You can look at the green bar on the viewer, like here
Or run this command to get the version: python -c 'import acme_diags; print(acme_diags.__version__)'

What variables give you this error?
What machine are you running the diags on?

@golaz, if you view this comment you made last year, everything works with a vcs (so not using cartopy) backend. The contour levels are fine and that bright spots are in the correct spot, unlike an incorrect fix we had, that you noticed here.
Rerunning the diags with the latest code and latest env resulted in the image below. We used the same model (20170926.FCT2.A_WCYCL1850S.ne30_oECv3.anvil), same obs dataset (CERES EBAF TOA 4.0, the same variable (LWCF), and the more fine-grain contour levels.
Everything seems to look fine. Now the diff metrics are a little off, probably due to cdms using a newer version of the regridder.


Fix typo in developer's guide

Just noticed a typo as I was reading through the developer's guide that is fixed in this PR.
Semi-related -- the CONTRIBUTING.md file says to send pull requests to the develop branch, but that one is about two months behind the master branch and I saw that the current open PRs are targeting the master branch, so I disregarded the advice in CONTRIBUTING.md. If that is wrong, please tell me so and I can send a new PR to the develop branch (also happy to update CONTRIBUTING.md if it is indeed wrong).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @paulromano. Also ah yes the contributing file is out of date at the moment. We may ramp back up that kind of branching model in the future but for now we're just running on master as we get a feel for the community.

PS I fixed the contributing thing in d852c5c38f2ed8. Thanks again for the tip.


Fix Debug.Assert when hovering over radial set buttons

Overview
You should be able to hover over radial buttons without getting debug asserts. I fixed this bug, added a test to verify the fix, fixed another issue highlighted by the test, and fixed a third logic issue I discovered just by reading the code.
Changes

Fixes: #5553
Add test to validate fix (verified that test does not pass without fix, and passes with fix)
Test uncovered issue: IsToggled returns incorrect value when radial button instantiated. Fixed.
Fixed another logic issue: bitwise AND was being used instead of boolean AND.

Verification

Tested in editor
Playmode tests pass.

/azp run

Argh wrong base branch! This is going into GA, moving there and kicking off a test.

/azp run


Do not display unavailable criteria in the test-step attributes

In the test-step view, there are several criteria shown, which can be used for selecting the correct control from the page or which are used for assertions. Under some circumstances, it is possible that there are no valid selections available for a criterion. Nevertheless, the criterion is shown while the subcriterion and its value is left empty.
For better user experience, unavailable criteria should not be presented to the user. For example, if there is no binding in a selected control, the criterion Binding should not be shown.

The problem is only resolvable by disabling the items which can not be selected.
As shown at the picture.

For me, this is fixed by commit 1c45d58204d7fa07254f5730e04d51afac70f0a1. I will close here.


how to show "all day"

how to show "all day" on the page "Week". Thanks!

All day events are at the top of the week view? Are they not?


Update PresentMon to Version 2.1.0 to fix security issues

Description of the feature, modification, idea or suggestion
https://github.com/GameTechDev/PresentMon/releases/tag/v2.1.0

Bug Fixes

Addressed various low impact security CVEs.
Proposed implementation details (optional)
No response

Addressed various low impact security CVEs.

System Informer only includes the win32k present event trace from PresentMon. We don't use any of the PresentMon application related support like NPM:
https://github.com/GameTechDev/PresentMon/commit/e5aa9c9068f9e850db45cdb7cd59580c85475b65

ok


How to add a manufacturer specific attribute to a Standard cluster (TZ-350)

Question
Hi,
Im using the SDK to add a standard cluster Electrical Measurement which have everything we need but we need a custom attribute (manufacturer specific) for our application.
My question is how to add a manufacturer specific attribute, if I use the API esp_zb_electrical_meas_cluster_add_attr() with the custom attribute id I get an error:
E (1028) ESP_ZIGBEE_ATTRIBUTE: incorrect/unsupported attribute_id!

And I cant use the API esp_zb_custom_cluster_add_custom_attr() because it complains the cluster is not a custom cluster.
So, how can I add a custom attribute (manufacturer specific) to a standard cluster like the electrical measurement?
Additional context.
No response

Hello @jkano ,
The SDK provides the get attribute function esp_zb_zcl_get_attribute(), which allows you to retrieve the attribute you have registered. You can utilize this function to modify the manufacturer-specific attribute.

Hello @jkano ,
The SDK provides the get attribute function esp_zb_zcl_get_attribute(), which allows you to retrieve the attribute you have registered. You can utilize this function to modify the manufacturer-specific attribute.

That api is to get the attribute value when its registered, but how do I register a manufacturer specific attribute to an standard cluster like the electrical measurement?
I want to add an attribute with id 0x0518, S64 type, read only access and manuf code (our code)
As I said, if I use the function esp_zb_electrical_meas_cluster_add_attr() I get an error and if I use the function esp_zb_custom_cluster_add_custom_attr(esp_zb_attribute_list_t *attr_list, uint16_t attr_id, uint8_t attr_type, uint8_t attr_access, void *value_p);  I get another error.

@jkano ,
Alright, I understand what you mean.
The SDK does not provide an API to add a manufacturer-specific attribute. However, there is a workaround for this issue.
    esp_zb_attribute_list_t *electrical_means_attr_list = esp_zb_electrical_meas_cluster_create(&electrical_cfg);
    esp_zb_attribute_list_t *new_elem = (esp_zb_attribute_list_t *)malloc(sizeof(esp_zb_attribute_list_t)); // Create manufacturer node
    int16_t value = 0;
    new_elem->attribute.id = 0x0518;
    new_elem->attribute.access = ESP_ZB_ZCL_ATTR_ACCESS_READ_ONLY;
    new_elem->attribute.type = ESP_ZB_ZCL_ATTR_TYPE_S64;
    new_elem->attribute.manuf_code = 0x1234;
    new_elem->attribute.data_p = malloc(sizeof(int16_t));
    *(int16_t *)new_elem->attribute.data_p = value;
    new_elem->cluster_id = ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT;
    esp_zb_attribute_list_t *head = electrical_means_attr_list;
    head = head->next; // skip the head
    while (head) {
        if (head->next) {
            head = head->next;
        } else {
            break;
        }
    }
    head->next = new_elem; // add new element to list

By the way, the handling of manufacturer-specific attributes is required to be done by the user.

I found the following comment about how to handle raw commands: #94, but I'm having an error when handling:
I added new attribute using your code:
    // Creeate cluster list
    esp_zb_cluster_list_t *esp_zb_cluster_list = esp_zb_zcl_cluster_list_create();

    // Create basic cluster
    esp_zb_attribute_list_t *esp_zb_basic_cluster = esp_zb_zcl_attr_list_create(ESP_ZB_ZCL_CLUSTER_ID_BASIC);

    // Create electrical measurement
    esp_zb_attribute_list_t *esp_zb_el_meas_cluster = esp_zb_electrical_meas_cluster_create(&electrical_cfg);
    esp_zb_attribute_list_t *new_elem = (esp_zb_attribute_list_t *)malloc(sizeof(esp_zb_attribute_list_t));
    int16_t value = 0;
    new_elem->attribute.id = 0x0518;
    new_elem->attribute.access = ESP_ZB_ZCL_ATTR_ACCESS_READ_ONLY;
    new_elem->attribute.type = ESP_ZB_ZCL_ATTR_TYPE_S64;
    new_elem->attribute.manuf_code = 0x1234;
    new_elem->attribute.data_p = malloc(sizeof(int16_t));
    *(int16_t *)new_elem->attribute.data_p = value;
    new_elem->cluster_id = ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT;
    new_elem->next = NULL;

    esp_zb_attribute_list_t *head = esp_zb_el_meas_cluster ;
    head = head->next;
    while (head) {
        if (head->next) {
            head = head->next;
        } else {
            break;
        }
    }
    head->next = new_elem; // add new element to list

    // Create cluster lists for this endpoint
    esp_zb_cluster_list_t *esp_zb_cluster_list = esp_zb_zcl_cluster_list_create();

    // Add the clusters
    esp_zb_cluster_list_add_basic_cluster(esp_zb_cluster_list, esp_zb_basic_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
    esp_zb_cluster_list_add_electrical_meas_cluster(esp_zb_cluster_list, esp_zb_el_meas_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);

    // Create ep list
    struct esp_zb_ep_list_s* esp_zb_ep_list = esp_zb_ep_list_create();

    // Add cluster list to endpoint list
    esp_zb_ep_list_add_ep(esp_zb_ep_list, esp_zb_cluster_list, 1, ESP_ZB_AF_HA_PROFILE_ID, ESP_ZB_HA_METER_INTERFACE_DEVICE_ID);

    // Register the endpoint and device
   esp_zb_device_register(esp_zb_ep_list);

Then, I registered the raw cmd handler callback using: esp_zb_raw_command_handler_register(zb_raw_cmd_handler)
And added the function:
static bool zb_raw_cmd_handler(uint8_t bufid)
{
    ESP_LOGI(TAG, "zb_raw_cmd_handler(): %d", bufid);
    zb_zcl_parsed_hdr_t *cmd_info = ZB_BUF_GET_PARAM(bufid, zb_zcl_parsed_hdr_t);

    uint8_t data[zb_buf_len(bufid)];
    memcpy(data, zb_buf_begin(bufid), sizeof(data));
    ESP_LOGW(TAG, "Got data, size: %d", sizeof(data));

    if ((cmd_info->cluster_id == ESP_ZB_ZCL_CLUSTER_ID_ELECTRICAL_MEASUREMENT) &&
        (cmd_info->is_common_command) &&
        (cmd_info->cmd_id == ZB_ZCL_CMD_READ_ATTRIB))
    {
        bool handle_read_attr_request = false;
        uint8_t dst_ep = cmd_info->addr_data.common_data.dst_endpoint;

        // Iterate on the number of requested attributes
        int req_len= sizeof(uint16_t);
        for (int i = 0; i < sizeof(data); i += req_len)
        {
            uint16_t attr_id = (data[i] << 8) | data[i+1];
            ESP_LOGI(TAG, "Read attr: 0x%04x", attr_id);

            // If request includes custom attribute, mark handle request
            if (attr_id == 0x0518)
            {
                handle_read_attr_request = true;
            }

            esp_zb_zcl_attr_t* pAttr = esp_zb_zcl_get_attribute(dst_ep,
                                                                cmd_info->cluster_id,
                                                                ZB_ZCL_CLUSTER_SERVER_ROLE,
                                                                attr_id);
            ESP_LOGI(TAG, "pAttr: %p", pAttr);
            if (pAttr != NULL)
            {
                ESP_LOGI(TAG, "pAttr->Id  : %d", pAttr->id);
                ESP_LOGI(TAG, "pAttr->Data: %p", pAttr->data_p);
                // Add data to response request...
            }
        }

        // If the read attr request needs to be handled by us (not the stack)
        if (handle_read_attr_request)
        {
            // How to send the response?

            // return true;
            //zb_zcl_send_default_handler();
        }
    }

    return false;
}

When I send a read attr request for attribute 0x0000 from the coordinator I get:
I (9234) RAW_CMD_HANDLER: zb_raw_cmd_handler(): 10
I (9234) RAW_CMD_HANDLER: Got data, size: 2
I (9234) RAW_CMD_HANDLER: Read attr: 0x0000
I (9234) RAW_CMD_HANDLER: pAttr: 0x4087ef32
I (9234) RAW_CMD_HANDLER: pAttr->Id: 0
I (9234) RAW_CMD_HANDLER: pAttr->Data: 0x4087ec90

This is the log when I send an attribute request for 0x0518 from the coodinator:
I (9594) RAW_CMD_HANDLER: zb_raw_cmd_handler(): 12
I (9594) RAW_CMD_HANDLER: Got data, size: 2
I (9594) RAW_CMD_HANDLER: Read attr: 0x0518
I (9594) RAW_CMD_HANDLER: pAttr: 0x0

So, as you see, the pAttr variable is NULL, so the function esp_zb_zcl_attr_t* pAttr = esp_zb_zcl_get_attribute(dst_ep, cmd_info->cluster_id, ZB_ZCL_CLUSTER_SERVER_ROLE, attr_id); its not finding the attribute in the electrical measurement cluster.
Do you know what can be happening here?
Also, once I get the attr data, how should I send a response?

Any update with this one?
Thanks!

Hi @xieqinan,
Any update with this one?
Thanks!

            esp_zb_zcl_attr_t* pAttr = esp_zb_zcl_get_attribute(dst_ep,
                                                                cmd_info->cluster_id,
                                                                ZB_ZCL_CLUSTER_SERVER_ROLE,
                                                                attr_id);

Regarding this code, I suggest using zb_zcl_get_attr_desc_manuf_a() instead. This is because the manufacturer_code has been specified.

        if (handle_read_attr_request)
        {
            // How to send the response?

            //zb_zcl_send_default_handler();
            // return true;
        }

For this code, it is both correct and necessary. If the command has been handled correctly, it is essential to send a default response as shown below and return true to prevent the stack from handling the command again.
zb_zcl_send_default_handler(bufid, cmd_info, ZB_ZCL_STATUS_SUCCESS);

@xieqinan
Thanks for the reply!
For the second part:

If the command has been handled correctly, it is essential to send a default response as shown below and return true to prevent the stack from handling the command again

I'm handling the read attribute request and returning a read attribute response with the value of the read attribute, is it necessary to send a default response too? (so the stack does not handle it)

specific attributes and returning a read attribute response with the value of the read attribute, is it necessary to send a default response too?

If the read attribute response has already been sent, the default response is unnecessary. However, you still need to call zb_buf_free() to release the bufid.
Additionally, it's worth noting that zb_zcl_send_default_handler() has a dual effect: it sends the default response and frees the bufid.

Ok thank you!
Gonna test and close the issue if I dont have anything else to ask.

Hi @xieqinan
I have another question, I can't find an API to send a read attribute response do you know how can build and send a read attribute response? (noting that it need to be for a manuf. specific attribute)
I found the following one to send a cmd:
zb_zcl_send_cmd_tsn(zbuf_id,
                    cmd_info->addr_data.common_data.source.u.short_addr,
                    ZB_APS_ADDR_MODE_16_ENDP_PRESENT,
                    cmd_info->addr_data.common_data.src_endpoint,       // dst ep is the cmd source ep
                    ZB_ZCL_FRAME_DIRECTION_TO_SRV,
                    cmd_info->addr_data.common_data.dst_endpoint,       // src ep is the cmd dst ep
                    payload,            // <----- What to put here?
                    payload_size,       // <----- What will be the size?
                    put_payload_cb,     // <----- What is this callback for?
                    cmd_info->cluster_id,
                    ZB_ZCL_DISABLE_DEFAULT_RESPONSE,
                    ZB_ZCL_CMD_READ_ATTRIB_RESP,
                    cmd_info->seq_number,
                    zb_cb);

But I dont know what to put on payload and payload_size (for a read attribute response for a manuf. specific attribute). Also what is the put_payload_cb used for?

Hello,
You can attempt to utilize multiple zb_zcl_read_attr_res_t structs to fill the payload. The payload_size should be set equal to the number of zb_zcl_read_attr_res_t * sizeof(zb_zcl_read_attr_res_t). The put_payload_cb can use NULL as a temporary placeholder. I am not sure it whether is valid, but you can try it, first.

@jkano Closing the issues since the questions are all addressed.


alencon, dezincify (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Change default text "Your browser does not support the playback of this video..."

How can I change this text? I need to localize this.
Your browser does not support the playback of this video. Please try using a different browser.

looks like its here: https://github.com/clappr/clappr/blob/ee93bbb79b142bc2105815f91a0de1375b5b7850/src/playbacks/no_op/no_op.js

Cool - but how to change this :/

Are you wanting to add another translation of the message that's there, or customise it for your own needs?

On 16 Nov 2015, at 17:03, David A. Viramontes<EMAIL_ADDRESS>wrote:
looks like its here: https://github.com/clappr/clappr/blob/ee93bbb79b142bc2105815f91a0de1375b5b7850/src/playbacks/no_op/no_op.js
—
Reply to this email directly or view it on GitHub.

@FDiskas you can submit improvements/bugfixes/feature requests by following this workflow: https://github.com/clappr/clappr#contributing

@tjenkinson Yes I need to customize this message but the text will be created on the fly - like entering the username "Sorry John - your browser can't play this video" :)

try to override the getNoOpMessage method

This PR https://github.com/clappr/clappr/pull/700 should fix this issue.


nsiddamshetty : added test cases 2,3,4,5 for dates, address, concept (global), names

Hi Professor, thank you for reviewing the test cases. Removed the extension.


fix build (dummy production build)

To clarify: prior to this PR, running NODE_ENV=production webpack -p would fail – this set of changes fixes this error.


[ci skip] [cf admin skip] NO_CI adding bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I've added bot automerge as instructed in #11.
Merge this PR to enable bot automerging.
Fixes #11

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

license_file entry is missing, but is required.


fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI #10302

Backport of #10302

@sapk I can't update this branch... BTW are you able to update my branches?

@zeripath done


doc(Algebra/Ring): add docstring for CommRing and CommSemiring

This PR resolves some nolints by adding docstrings for CommRing and CommSemiring.

Done @eric-wieser

These docstrings existed in Lean 3. Can you see what they were?

Can you see what they were?

https://github.com/leanprover-community/mathlib/blob/65a1391a0106c9204fe45bc73a039f056558cb83/src/algebra/ring/defs.lean#L192C1-L197C67
https://github.com/leanprover-community/mathlib/blob/65a1391a0106c9204fe45bc73a039f056558cb83/src/algebra/ring/defs.lean#L403C1-L405C59

Yep!

Ok, should I copy-paste them here with the obvious minor adjustments or those committed in this PR are fine?

Done @YaelDillies

Please merge when CI clears. Thanks.
bors delegate+

bors merge

bors merge


Unable to find the table containing the main content

These pages were identified as:

docs/googlea854a897a9f3409b.html
docs/_includes/banner.html
docs/_includes/scroll_bar.html
docs/_includes/search_box.html
docs/_includes/sub_pages.html
docs/_includes/navigation.html
docs/_includes/footer.html
docs/_includes/breadcrumbs.html
docs/_includes/table_of_contents.html
docs/_includes/head.html
docs/_layouts/default.html
docs/test_page.html

docs/test_page.html has been deleted.
scripts/classify_web_pages.sh has been updated to exclude other files from classification.
Other files excluded are:

ASH_report_*
workload_report_*


Localization: remove duplication

shared/localisation/_default.json:

is particular duplication of en.json and ru.json
it contains RU and EN phrases together

Task

remove _default.json (merge it with en.json and ru.json)
set en as default

Benefits

less code - less time to change the code
these files are involved in many tasks
stop mixing languages in the interface

+remove coin-specific translations: _ghost_to_btc
+remove _copy items


Duplicate key error on resources

packages\sqlalchemy\engine\default.py", line 717, in do_execute
    cursor.execute(statement, parameters)
sqlite3.IntegrityError: UNIQUE constraint failed: resource.path, resource.checksum

The above exception was the direct cause of the following exception:

Fixed in a794c4597dc4127c979d93c295af47bfe707738c


Show error msg without losing keyboard focus

First, thanks for this wonderful package.
Currently, the validator works only when the pin is completed, which is fine. However this makes the keyboard to loose its focus prompting user to tap before focus is regained for correction. Is it possible to validate the pin after it's completed without losing keyboard focus inorder to enable faster user's interaction.
I am running app on desktop by the way.

Hi @Princewil, you can set the closeKeyboardWhenCompleted property to false.


LateInitializationError: Field 'annotationAst' has not been initialized, when annotation in a TypeName.

const a = 0;
List<void Function(@a int b)> foo() => [];

The issue is that ResolverVisitor.visitTypeName() does nothing. I guess that is because there were no annotations possible there before. But we have GenericFunctionType now, and it can have annotations on parameters.
  LateInitializationError: Field 'annotationAst' has not been initialized.
  #0      ElementAnnotationImpl.annotationAst (package:analyzer/src/dart/element/element.dart)
  #1      ConstantEvaluationEngine.computeDependencies (package:analyzer/src/dart/constant/evaluation.dart:338:30)
  #2      _ConstantWalker._computeDependencies (package:analyzer/src/dart/constant/compute.dart:75:22)
  #3      _ConstantNode.computeDependencies (package:analyzer/src/dart/constant/compute.dart:43:19)
  #4      Node.getDependencies (package:analyzer/src/summary/link.dart:148:40)
  #5      DependencyWalker.walk.strongConnect (package:analyzer/src/summary/link.dart:53:40)
  #6      DependencyWalker.walk (package:analyzer/src/summary/link.dart:119:18)
  #7      computeConstants (package:analyzer/src/dart/constant/compute.dart:26:14)
  #8      LibraryAnalyzer._computeConstants (package:analyzer/src/dart/analysis/library_analyzer.dart:250:5)
  #9      LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:135:5)
  #10     LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:103:12)
  #11     AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1626:63)

Hi, I'm facing same issue here
did you solve this?

I thought that I did.
If you still seeing this, can you provide a test case on which in can be reproduced?

Sorry I couldn't send you the project because it wasn't for myself and I couldn't reproduce the error.
BTW the problem was solved after upgrading flutter to 2.5.1
Thank you

Actually, it seems that the original issue was still happening.
I think this CL will fix it.
https://dart-review.googlesource.com/c/sdk/+/214101


feat(platform): add clear methods to remove the audience provider cache

Added [...]Audiences.clear() and [...]Audiences.clear(Plugin) to all three audiences. This will remove the audience from the static cache. This functionality may be needed by test environments.
This is related to this request on discord.

I might be missing something, but why can't you just clear the instance from the static map when the existing close method is called?

I might be missing something, but why can't you just clear the instance from the static map when the existing close method is called?

No you are right, I am the one that missed something ;)
I did not see the existing close method.

Ok I updated the PR so that the AudienceProvider removes itself from the cache when close() is called. Thank you @kezz


Define and document user journey for each plugin

What happened (or feature request):
Feature Request
What you expected to happen:
We need to ensure this product delivers a quality experience across the diverse set of end-users that will be using it as well as the different workflows they may be using. Examples:

I am an advanced user looking to rapidly pull in a drush archive and get operational.
I am an intermediate user that wishes to solely work by pulling directly from my 3rd party PaaS.
I am a beginner that wants a GUI to assist in getting started with my first site (this is a later use case).
I'm a company that develops across WordPress, Drupal, and static sites. I need a consistent way to interact with sites across these different application types.
I'm an organization that uses both macOS and Linux and need to get ddev installed and managed across multiple machines.

Anything else do we need to know:
The main purpose of this task to inform roadmap choices, but it could also be useful for end-user documentation or as part of marketing efforts to highlight features.
Acceptance Criteria

Flow diagram generated and stored in the ddev documentation.
The following use cases are addressed: importing from archive, importing from 3rd party provider, starting from scratch.
OS installation steps for ddev are identified

Moving the milestone because this has not been a first-class focus, but it needs to be resolved in conjunction with the planning for provider plugins.

This is kinda/sortof getting addressed in individual issues. I won't let this be a release blocker for v0.8, but it should get handled sooner than later.

This is a non-dev task that can probably be re-opened/revisited later.


Update timestamp description and value to be withing used Plan

This doc update is here, since it took me more than a week to figure this out. I hope this will save some time to other people testing this Hive solution :)


Error: NormalModuleFactory.afterResolve is no longer a waterfall hook, but a bailing hook instead.

Bug report

What is the current behavior?
Webpack build crashes with error
Error: NormalModuleFactory.afterResolve is no longer a waterfall hook, but a bailing hook instead. Do not return the passed object, but modify it instead. Returning false will ignore the request and results in no module created.
If the current behavior is a bug, please provide the steps to reproduce.
Follow NormalModuleReplacementPlugin usage guide
module.exports = function(env) {
  var appTarget = env.APP_TARGET || 'VERSION_A';
  return {
    plugins: [
      new webpack.NormalModuleReplacementPlugin(/(.*)-APP_TARGET(\.*)/, function(resource) {
        resource.request = resource.request.replace(/-APP_TARGET/, `-${appTarget}`);
      })
    ]
  };
};

What is the expected behavior?
It should build as before

Other relevant information:
webpack version:  5.0.0
Node.js version: v14.9.0
Operating System: Windows 10
Additional tools: -

Could you check if you have mulitple webpack versions installed? yarn why webpack npm ls webpack

No, I don't. I've removed previous node_modules completely before doing upgrade. But I'm running lerna if this might help. So, all of my deps are hoisted to the root folder.

@creage Sorry without additional information we can't help

@evilebottnawi I'm ready to provide with whatever info you need. If you really need the output of npm ls webpack - here you go:
npm ls webpack
-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>
npm ERR! peer dep missing<EMAIL_ADDRESS>|| ^3.0.0 || ^4.0.0, required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>|| ^2.0.0 || ^3.0.0 || ^4.0.0, required by<EMAIL_ADDRESS>

You need to open issue in lodash-webpack-plugin and script-ext-html-webpack-plugin repos

Could these plugins cause the error I receive?

yes
https://github.com/lodash/lodash-webpack-plugin/blob/master/src/index.js#L41
Sorry, we can't fix it on our side, my recommendation is avoid using lodash-webpack-plugin, just rewrite your code on import { something } from 'lodash';


Use .version file for hex packages

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


Define how to get a space template into the system (CLI, REST, UI maybe?)

See also:

https://github.com/fabric8io/fabric8-planner/issues/883
https://github.com/almighty/almighty-core/issues/684

Closing in favor of #833


Move car.capnp to opendbc

@deanlee interested in this? We want to replace the dataclasses with car.capnp again, but it can live in opendbc. The duplication of the structs is starting to get annoying and is error-prone if one place is forgotten to be updated.
There are some issues we need to resolve:

[ ] OnroadEvent should be in openpilot but is used in carState.events (deprecated field now). We can make a copy of that and call the struct OnroadEventDEPRECATED.
[ ] log.capnp uses some structs from car.capnp such as radar errors, audble alerts, safety model. We can duplicate most, except the safety model shouldn't need to be edited in both places. Maybe we should turn it into an int from pandaStates? Or can we just include the opendbc struct from cereal and call it a day?
Edit: I don't think so, you will get a duplicate ID error when you import both car.capnp in opendbc and the duplicate included one in log.capnp (from a symlink)

https://github.com/commaai/opendbc/pull/1288
The approach of this PR is to move car.capnp to opendbc/car while keeping all other capnp files unchanged. In opendbc, the following code is used to avoid the duplicate ID error:
try:
  from cereal import car
except ImportError:
  capnp.remove_import_hook()
  car = capnp.load(os.path.join(OPENDBC_CAR_PATH, "car.capnp"))

This ensures that car.capnp can be imported properly without conflicts


Extend analyzers

To further improve the code base the following analyzers have been enabled:

DotNetProjectFile.Analyzers
Checks the settings of MS Build project files. All suggestions have been applied.

IDisposableAnalyzers
Rules to ensure that the IDisposable pattern is applied correctly.

SonarAnalyzer.CSharp
370+ rules on writing better code.

Enabled nullability checks
To help preventing null dereference exceptions.

I moved the configuration about the analyzers from the .editorconfig to the .globalconfig file.

@Corniel I'm ready to merge, If you can resolve the conflicts, if you can't, I can resolve them, just let me know, Thanks.

Rebase applied.

@Corniel ,
Thanks, it took me a while because I was reading about DotNetProjectFile.Analyzers and IDisposableAnalyzers


Pagination design

Is it possible to show last and first 3 page numbers as shown below:
[1][1][2][3][...][40[41][42]
ngx-bootstrap component

@Ankit895 wrong repo/project.  closing.


Allow to ignore File watching for chosen files

If an adapter uses the node_modules directory of himself to (temporariely) store data then I would like to define those filenames as "Ignore by watcher" because else the adapter anytime restarts on change in watch mode

0.6.0


Bring dev branch up to date with master

Master branch was updated due to bug fixes.

Looks good except one comment has one ,2 to much.
Shall I change master or dev later as it is not important?

Let's change it later in dev.


Unable to process requests from multi-use invitations when agent uses mediation

This is a case where a mobile agent (which uses a mediator for incoming messages) creates a multi-use out of band invitation with autoAcceptConnection enabled, and another agent receives it.
At the moment of processing the DIDExchangeRequest or ConnectionRequest, the mobile agent will generate a new key pair and do a KeyListUpdate to inform the mediator and wait for the response before proceeding (in the loop from keylistUpdateAndAwait). The Agent sends the message and the mediator replies with the KeyListUpdateResponse, but the Agent is not able to get the AgentMessageReceived event generated, so a TimeoutError is thrown. Actually, the AgentMessageReceived event seems to be emitted only after the previous error is thrown and Dispatcher's loop is finished.
Note: this issue has been tested under React Native. Not sure if it happens also under Node.JS environment.

but the Agent is not able to get the AgentMessageReceived event generated

Any idea why this is?

but the Agent is not able to get the AgentMessageReceived event generated

Any idea why this is?

I don't know about rxjs/React Native EventEmitter internals, but I'm wondering if this could be related to the fact that, when we are processing the ConnectionRequest message, we are under an AgentMessageReceivedEvent listener (see Agent.ts#L118), and we are trying to subscribe to a KeylistUpdatedEvent (in keylistUpdateAndAwait) that ultimately depends on the reception of the very same event (to receive the KeyListUpdateResponse message and execute the corresponding handler).
Could this event execution nesting be an issue?

In #1143 we added a test in packages/core/tests/connections.test.ts that checks this particular flow and works properly. So that leaves me the idea that it could be React Native specific (maybe something related to the way native EventEmitter class works in that platform :thinking:).

@genaris I'm facing the exact same issue even now.
The mobile agent sends out a multi-use out-of-band invitation with autoAcceptConnection enabled, and timeout occurs. But, it keeps trying and gets connected to the mediator using a different outOfBandId. #1562 - Described it here.


Trying to use

I'm sure I'm doing something wrong but when I try to do a make infrastructure I get the following:
/aws-openshift/terraform-aws-openshift>make infrastructure
Get the modules, create the infrastructure.
terraform init && terraform get && terraform apply -auto-approve
Initializing modules...
Initializing the backend...
Initializing provider plugins...
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

provider.aws: version = "~> 2.19"
provider.local: version = "~> 1.3"
provider.template: version = "~> 2.1"

Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Error: Unsupported block type
on modules/openshift/06-nodes.tf line 10, in data "template_file" "setup-master":
10:   vars {
Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on modules/openshift/06-nodes.tf line 64, in data "template_file" "setup-node":
64:   vars {
Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on modules/openshift/07-dns.tf line 11, in resource "aws_route53_zone" "internal":
11:   tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on modules/openshift/09-inventory.tf line 5, in data "template_file" "inventory":
5:   vars {
Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.
make: *** [infrastructure] Error 1
Any help would be appreciated.

OK, to attempt to reproduce I set up a clean install:
# terraform 0.12.4
terraform init && terraform get && terraform apply -auto-approve

Exactly the same issue, I am fixing it now (moving to the latest template syntax then locking the specific provider versions so that we don't get this kind of issue again).

Fixed! Just merged to master now.

Thank you very much, it worked like a charm.

Great! Glad it is sorted @andeq4q and thanks for letting me know about the issue!


Hashie gem conflict

I'm not sure how to best fix this, or even figure out what gem dependency is causing this.
My issue is that I have active_paypal_adaptive_payment setup and in use, and am now adding amniauth-facebook to my app. In doing so I ran into a version conflict with the Hashie gem.
`
Bundler could not find compatible versions for gem "hashie":
In Gemfile:
active_paypal_adaptive_payment (>= 0) ruby depends on
hashie (~> 1.0.0) ruby
omniauth-facebook (>= 0) ruby depends on
  hashie (1.2.0)

`

I believe this commit fixes it. Check it out and let me know if you ran into any issue.


feat: add new commands

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FIX] - Make API Key retrieval backwards-compatible

Fixes #444. I was seeing the same problem, so made this change locally to get around that issue and figured I'd contribute it back.
Let me know if I made any styling faux-pas in this and I'll get those corrected

@ROSeaboyer thanks for your contribution! As main is supposed to correspond with the new UI for Mint, I'd like to avoid this type of backwards compatibility. We may be able to patch 1.x one more time to address the underlying issue and then instead of pointing at main, direct to point at that patch branch. I'll review later and let you know. Thanks again!

Thanks! I'm definitely fine with patches to 1.x if that UI is broken. If this is for the old UI, could you please branch off of the new release/1.x branch and request a PR merge to there?

@ROSeaboyer thanks for your contribution! As main is supposed to correspond with the new UI for Mint, I'd like to avoid this type of backwards compatibility. We may be able to patch 1.x one more time to address the underlying issue and then instead of pointing at main, direct to point at that patch branch. I'll review later and let you know. Thanks again!

Is there a way I am supposed to switch to using the new UI for mint? I don’t see any pop ups or other notification to switch to some new UI.


Swift implementation.

In the documentation(right here on github) that teaches on how to use it, Can you guys please also tell us how to use it with swift.

Would love this!! Can't express this enough

What you would do is import FoldingTabBar into the file that you are using it for and everything from there is pretty much the same as objective c. I had problems also trying to figure out how to implement it and this way worked best for me. Hope this help

add Swift manuals


Adding interfaces and enums to libs folder

Is your feature request related to a problem? Please describe.

no it didn't relate to any problem but I think it will be a great feature

Describe the solution you'd like

adding interfaces and enums section that will be used in common places like user interface and user role enum

Describe alternatives you've considered

I think alternatives will be to not use any of them but I feel like there is some stuff missing so the first thing I do when starting a new project is to create new sections for both of them to use TS power that we need

Additional context

I added a PR that helps to solve or add this feature to the repo so please feel free to contact or discuss it

@juanmesa2097 should I send you the PR link ?!
https://github.com/juanmesa2097/angular-boilerplate/pull/612

@Mahmoudibrahim03 I left some comments in the PR about some things that should be modified. Did you see them?

@Mahmoudibrahim03 I left some comments in the PR about some things that should be modified. Did you see them?

@juanmesa2097
Sorry but I can't find any comments in the PR can you clarify to me where can I find these comments

@Mahmoudibrahim03 I left some comments in the PR about some things that should be modified. Did you see them?

@juanmesa2097 Sorry but I can't find any comments in the PR can you clarify to me where can I find these comments

Sure, take a look at the conversation tab

@Mahmoudibrahim03 my bad, I didn't review it. Sorry

It's ok take your time @juanmesa2097

Ok, I have resolved the code review comments and pushed a new commit with the fixes @juanmesa2097

@Mahmoudibrahim03 great! the only thing missing is the "r" in the filename use-role.enum.ts

I got it @juanmesa2097

@Mahmoudibrahim03 thank you!


mat-select change

Bug, feature request, or proposal:
How I can replace the removed "change()" method in version 6 of mat-select.
I will have to change all the events in my proyect.
What is the expected behavior?
Run code in my component on user selection
What is the current behavior?
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 6.0.0
Is there anything else we should know?

You can replace change with selectionChange which does the same.


Infinite scrolling

Could be implemented with a method similiar to the one gatsby-starter-infinite-scroll uses.

Implemented in cb6c2c9


issue : installing zsh via brew does not add zsh to /etc/shells

# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh

$ which zsh
/usr/local/bin/zsh

something like this should work :
$ echo "/usr/local/bin/zsh" >> /etc/shells

solution : http://superuser.com/questions/136646/how-to-append-to-a-file-as-sudo


Unable to start program 'Mono'

Hello
I've tried this sample, aaand 'got some problems.
At first, compiling, installing (the plugin) and then creating custom-flavor project is OK.
But when I'm trying to run the created program with simple "Hello, World" it says:
"Unable to start program 'Mono'", and this is caused by DebugLauncher::LauchDebugTargets - which is inside Mono.Debugging.VisualStudio.dll.
I'm using VS2015, Windows 10 (64 bit) with installed Mono x32 in "C:\Program Files (x86)\Mono\" which is also added to PATH variable ("C:\Program Files (x86)\Mono\bin").

Actually I've fixed this problem (installed 64bit Mono 4.8.1), but got next one "Unable to start debugging." and something like (translated from Polish) "Couldn't find specified file".

@joj is out on vacation for the next few days, but he'll be able to look at it sometime next week.
Thanks!

Is he back from vacation yet?? Because I am facing similar errors.

That error means the actual mono debugger is not installed. In earlier versions of VS you had to had Xamarin to include that. In the latest releases (I think still in the preview channels) the mono debugger can be installed as an individual component. Sorry for the delay, I completely missed this conversation.

Well I am using Visual Studio 2015, does it mean I have to install it independently, if yes please can I have the link to the download?
Thank you.

Oh. I never planned for 2015. Let me check internally if there's something we can publish. To test right now, you can install Xamarin in 2015 (just the VS part, no need for the SDKs) and it will work.

It's actually in the nuget. If you look in src\packages\Mono.Debugging.VisualStudio.1.0.41-pre\tools you'll find a vsix (2 actually, ignore the "exp" one). That vsix is the debugger and needs to be installed for the sample to work.

I cant find the path. How do I locate it please?

That path is from the root of your repo, src being the first directory here: https://github.com/xamarin/vs-mono-debugger-sample/tree/master/src. This is assuming you have built and restored packages.

I've ransacked my laptop, I cannot find the path and I don't know what you're talking about. Root of my what? Project file? Xamarin path? what?

The root of your clone of this repo.

Ok I understand you now. But I do not have that nugget in my packages, why is it missing?

You shouldn't be able to compile without that. That's where Mono.Debugging.VisualStudio is coming from.

Hmmmm

Please someone else should help me!!!

@anniexclusive are you at the moment able to build the sample? If you are, then finding that package should be fairly simple. Just do a detailed build, and look for the reference to Mono.Debugging.VisualStudio.dll. Wherever that file is, you'll find the vsix (just two directories up, and down into tools).

well you can see that they are in the same directory.. both the vsix and mono.debugging.visualstudio.dll and it is not even .exe

going up the two directories into the tools directory, there is nothing "vsix" there.

Ok. You need to double-click on that to install it now.

It doesn't allow to be installed. It opens as a text in Visual Studio.
[$RootKey$\InstalledProducts\MonoDebuggingPackage]
@="Mono Debugging for Visual Studio"
"PID"="Mono.Debugging.VisualStudio"
"ProductDetails"="Support for debugging Mono processes with Visual Studio."
[$RootKey$\Packages{2315269f-53e7-4844-8213-8f954654b744}]
@="MonoDebuggingPackage"
"InprocServer32"="$WinDir$\SYSTEM32\MSCOREE.DLL"
"Class"="Mono.Debugging.VisualStudio.MonoDebuggingPackage"
"Assembly"="Mono.Debugging.VisualStudio.Vsix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ec9700d15469a0df"
[$RootKey$\BindingPaths{2315269F-53E7-4844-8213-8F954654B744}]
"$PackageFolder$"=""
[$RootKey$\AD7Metrics\PortSupplier{fcee747d-e866-4221-bd96-99c30e4b67b9}]
"CLSID"="{a2c0cc70-c265-4807-901d-2e5a6378bf43}"
"Name"="Mono.Debugger"
[$RootKey$\CLSID{a2c0cc70-c265-4807-901d-2e5a6378bf43}]
"InprocServer32"="$WinDir$\SYSTEM32\MSCOREE.DLL"
"Class"="Mono.Debugging.VisualStudio.PortSupplier"
"CodeBase"="$PackageFolder$\Mono.Debugging.VisualStudio.Vsix.dll"
"Assembly"="Mono.Debugging.VisualStudio.Vsix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ec9700d15469a0df"
[$RootKey$\AD7Metrics\Engine{9e1626ae-7db7-4138-ac41-641d55cf9a4a}]
"CLSID"="{c094c059-1786-49cd-8eb9-9c0ef6ca5454}"
"Name"="Mono.Debugging.VisualStudio.Engine"
"PortSupplier"="{a2c0cc70-c265-4807-901d-2e5a6378bf43}"
"CallstackBP"=dword:00000001
"AutoselectPriority"=dword:00000004
"Attach"=dword:00000000
"AddressBP"=dword:00000000
"Disassembly"=dword:00000000
"RemotingDebugging"=dword:00000000
"Exceptions"=dword:00000001
[$RootKey$\CLSID{c094c059-1786-49cd-8eb9-9c0ef6ca5454}]
"InprocServer32"="$WinDir$\SYSTEM32\MSCOREE.DLL"
"Class"="Mono.Debugging.VisualStudio.Engine"
"CodeBase"="$PackageFolder$\Mono.Debugging.VisualStudio.Vsix.dll"
"Assembly"="Mono.Debugging.VisualStudio.Vsix, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ec9700d15469a0df"
[$RootKey$\RuntimeConfiguration\dependentAssembly\codeBase{5B7FF5E2-755B-3790-F69E-2AB27AEA3654}]
"name"="Mono.Debugging.VisualStudio.Vsix"
"publicKeyToken"="ec9700d15469a0df"
"culture"="neutral"
"version"="<IP_ADDRESS>"
"codeBase"="$PackageFolder$\Mono.Debugging.VisualStudio.Vsix.dll"
[$RootKey$\RuntimeConfiguration\dependentAssembly\codeBase{1B680C7A-F444-FB15-0480-D9026EF1991A}]
"name"="Mono.Debugging.VisualStudio"
"publicKeyToken"="ec9700d15469a0df"
"culture"="neutral"
"version"="<IP_ADDRESS>"
"codeBase"="$PackageFolder$\Mono.Debugging.VisualStudio.dll"

You will need the Visual Studio SDK, which includes vsixinstaller.exe.

Closing this as answered


ICalender to PDF Document Conversion

Title of ticket:
Description
The purpose of this task is to convert ICalender  Files arriving into Ministry Level S3 Bucket's request folder , to a "PROPERLY FORMATTED, ALIGNED" PDF file. We can refer the code base from File Watcher and create a Module for Icelander to PDF to plugin with a centralized .NET core microservices (#2975), which is intended to run on Linux based Docker container, in turn with our BC GOV OCP
Refer this repo for EXCEL conversion assembly : https://github.com/bcgov/foi-file-conversion
Dependencies
Are there any dependencies?
DOD

[x]  Create a independent .NET core class library   for ICalender (from S3) to PDF conversion (saved back to S3)- refer File Conversion Library
[x]  Create Unit Test for ICalender to PDF
[x]  Integrated with Main FOI DOC Conversion Microservice/computing service
[ ]  Tested with Docker
[ ]

Tested on ABC-3453-45345 in TEST-Marshal

Was able to upload .ICS file to the Records tab.
Records successfully ran through deduplication and file conversion (indicated by green checkmark for unique records, or a yellow duplicate icon for duplicates).
File did not change its file extension after file conversion (i.e., on the Records tab, their native file extension is displayed as a suffix on the name of the file).
I was able to download the converted .ICS file as a PDF under the ellipsis (...) -> Download PDF. However, I was not able to open it. I received the following error when opening the file:

Related to ACs under https://github.com/bcgov/foi-flow/issues/3136.

.MSG , CALENDER to PDF conversion issue got fixed and ready for test - Refer #3321, cc: @KyEggleston , @lmullane , @m-prodan

.ICS to PDF conversions works in Test-Marshal, closing ticket.


Incorrect pt-BR translation in PowerToys Run

ℹ Computer information

PowerToys version: 0.27.0
PowerToy utility: PowerToys Run
Language: Brazilian Portuguese

📝 Provide where the issue is / 📷 Screenshots

❌ Actual phrase(s)
"Execução do PowerToys"
✔ Expected phrase(s)
"Barra de Execução"
ℹ Why is the current translation wrong
"Execução do PowerToys" is incorrect because it seems to refer to running PowerToys itself. Users won't realize it is a separate PowerToy at a glance. "Barra de Execução", on the other side, refers to a "bar" hence provides adequate meaning. This is only one of several translation problems scattered throughout the pt-BR version.

This shouldn't actually be localized actually.

https://ceapex.visualstudio.com/CEINTL/_workitems/edit/345043

Thanks for reporting also as i didn't know how bad the PT Run translation was for PT-BR

The translation is not terrible, but there is certainly room for improvement. This is possibly the worst offender because it may confuse users.

Great news!  This was resolved in the newly released 0.33 version of PowerToys!  Head to https://aka.ms/installpowertoys to grab latest.

Yes, kinda. Using the original name in English is good, but I still think a pt-BR translation would be even better. But sure it isn't wrong anymore, so thanks for the fix!


Rancher kubectl builder

Description

Add rancher-kubectl-builder repo.

No, but I doubt it will be easy. Getting the OIDC token in drone CI is non-trivial, they need to expose the OIDC inside their build jobs (if they have drone on k8s, with something like Service Account Token Volume Projection). And then, start signing images.


can schemaFile config option take in an array and not just one path?

Hello, I was wondering if it would make sense  to allow spectaql take in multiple schemaFiles. I had to split my schema into multiple files because it was getting to long but this now means I cant use spectaql to scrape the schema to generate the static pages

Hi @ahmetthepoet and thanks for using SpectaQL!
This is a good idea that falls in line with how GraphQL is used and developed...I've gone ahead and done the work already:
https://github.com/anvilco/spectaql/pull/69
Once that gets merged, I'll publish it and circle-back here.

Published in version 0.3.1

Thanks @newhouse tested it out and it works like a charm!