brew <IP_ADDRESS> upgrade failure

relates to https://github.com/Homebrew/homebrew-core/pull/45310, https://github.com/Homebrew/homebrew-core/pull/50981
local test failure:
$ brew test create-dmg
Testing create-dmg
==> /usr/local/Cellar/create-dmg/<IP_ADDRESS>/bin/create-dmg --sandbox-safe --eula /private/tm
Last 15 lines from /Users/ruichen/Library/Logs/Homebrew/create-dmg/test.01.create-dmg:
Reading Apple (Apple_partition_map : 1)…
Reading DiscRecording 9.0.3d5 (Apple_HFS : 2)…
Reading  (Apple_Free : 3)…
Elapsed Time:   3.380ms
Speed: 260.0Mbytes/sec
Savings: 0.0%
created: /private/tmp/create-dmg-test-20200307-78550-hqrblp/rw.Brew-Test.dmg
Mounting disk image...
Unmounting disk image...
Mount directory: /Volumes/Brew-Test
Device name:     /dev/disk2
Running Applescript: /usr/bin/osascript "/var/folders/cb/s5w4_0p50639mbdvqhnmf7wm0000gn/T/createdmg.tmp.XXXXXXXXXX.EvLGx6N1" "Brew-Test"
/var/folders/cb/s5w4_0p50639mbdvqhnmf7wm0000gn/T/createdmg.tmp.XXXXXXXXXX.EvLGx6N1:85:89: execution error: Finder got an error: A privilege violation occurred. (-10004)
Failed running AppleScript
"disk2" ejected.
Error: create-dmg: failed

I've created a new create-dmg/create-dmg custom tap with a formula for the new create-dmg so we can work on this before submitting it to Homebrew.
I can reproduce a similar error when installing from --HEAD:
[Formula] $ pwd
/usr/local/Homebrew/Library/Taps/create-dmg/homebrew-create-dmg/Formula
[Formula] $ brew install --HEAD create-dmg/create-dmg/create-dmg
==> Installing create-dmg from create-dmg/create-dmg
==> Cloning https://github.com/create-dmg/create-dmg.git
Updating /Users/janke/Library/Caches/Homebrew/create-dmg--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 7b6955e Disable tests/ in install because apparently we don't have any yet?
==> make install prefix=/usr/local/Cellar/create-dmg/HEAD-7b6955e
🍺  /usr/local/Cellar/create-dmg/HEAD-7b6955e: 10 files, 62.4KB, built in 4 seconds
[Formula] $ brew test create-dmg
Testing create-dmg/create-dmg/create-dmg
==> /usr/local/Cellar/create-dmg/HEAD-7b6955e/bin/create-dmg --sandbox-safe --eula /private/tmp/create-dmg-test-20200528-3972-1mtn3xu/Brew-Eula.txt /private/tmp/create-dmg-test-20
Last 15 lines from /Users/janke/Library/Logs/Homebrew/create-dmg/test.01.create-dmg:
Reading Apple (Apple_partition_map : 1)…
Reading DiscRecording 9.0.3d5 (Apple_HFS : 2)…
Reading  (Apple_Free : 3)…
Elapsed Time:   8.047ms
Speed: 109.2Mbytes/sec
Savings: 0.0%
created: /private/tmp/create-dmg-test-20200528-3972-1mtn3xu/rw.Brew-Test.dmg
Mounting disk image...
Unmounting disk image...
Mount directory: /Volumes/Brew-Test
Device name:     /dev/disk3
Running AppleScript: /usr/bin/osascript "/var/folders/_4/9mx5ryp52bb_z6drbcbrhwl40000gn/T/createdmg.tmp.XXXXXXXXXX.vNylqITG" "Brew-Test"
/var/folders/_4/9mx5ryp52bb_z6drbcbrhwl40000gn/T/createdmg.tmp.XXXXXXXXXX.vNylqITG:85:89: execution error: Finder got an error: A privilege violation occurred. (-10004)
Failed running AppleScript
"disk3" ejected.
Error: create-dmg/create-dmg/create-dmg: failed
An exception occurred within a child process:
  BuildError: Failed executing: /usr/local/Cellar/create-dmg/HEAD-7b6955e/bin/create-dmg --sandbox-safe --eula /private/tmp/create-dmg-test-20200528-3972-1mtn3xu/Brew-Eula.txt /private/tmp/create-dmg-test-20200528-3972-1mtn3xu/Brew-Test.dmg /private/tmp/create-dmg-test-20200528-3972-1mtn3xu/Test-Source
/usr/local/Homebrew/Library/Homebrew/formula.rb:2013:in `block in system'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1951:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1951:in `system'
/usr/local/Homebrew/Library/Taps/create-dmg/homebrew-create-dmg/Formula/create-dmg.rb:23:in `block in <class:CreateDmg>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1821:in `block (3 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/utils.rb:474:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1820:in `block (2 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:888:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1819:in `block in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2063:in `block in mktemp'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `block in run'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `chdir'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `run'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2062:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1813:in `run_test'
/usr/local/Homebrew/Library/Homebrew/test.rb:35:in `block in <main>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `block in catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:108:in `timeout'
/usr/local/Homebrew/Library/Homebrew/test.rb:34:in `<main>'
[Formula] $

Looks like a sandboxing issue. This is on macOS 10.14.6.

Fixed in https://github.com/create-dmg/create-dmg/commit/f76ddf5665969168c8848ee189d50024fd33a421 and https://github.com/create-dmg/create-dmg/commit/2b1436dada08fb72414ba48c4bb67ab98a7ae9d3, I think. Works for me locally now:
[Formula] $ brew install --HEAD create-dmg/create-dmg/create-dmg
==> Installing create-dmg from create-dmg/create-dmg
==> Cloning https://github.com/create-dmg/create-dmg.git
Updating /Users/janke/Library/Caches/Homebrew/create-dmg--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2b1436d Use xcode-select to locate Rez by default
==> make install prefix=/usr/local/Cellar/create-dmg/HEAD-2b1436d
🍺  /usr/local/Cellar/create-dmg/HEAD-2b1436d: 10 files, 62.8KB, built in 3 seconds
[Formula] $ brew test create-dmg
Testing create-dmg/create-dmg/create-dmg
==> /usr/local/Cellar/create-dmg/HEAD-2b1436d/bin/create-dmg --sandbox-safe --eula /private/tmp/create-dmg-test-20200528-8667-jw4a2w/Brew-Eula.txt /private/tmp/create-dmg-test-202
[Formula] $

Since self-submission is discouraged by Homebrew, I've asked on the #machomebrew channel on Freenode IRC if someone can have a look at my new 1.0.8 release and do a PR for getting that in to core Homebrew.

Created a version bump PR in core Homebrew for the new 1.0.8 release: https://github.com/Homebrew/homebrew-core/pull/55413. I think this one will work.

1.0.8 has been accepted by Homebrew core: https://github.com/Homebrew/homebrew-core/commit/2c1b1ab476ddbc04ad7c6ed6cdc3362280b063ed.
This is fixed.


Fix FreeRTOS_setsockopt()

Description
bug fix to "ARG FV Finding: FreeRTOS_setsockopt() returns wrong error codes".
ticket number: E039512548
Please check with current on-call for status update.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

/bot run checks

/bot run checks

Current status:
Passed:
espressif - https://amazon-freertos-ci.corp.amazon.com/job/ESP/job/esp32/job/esp-linux-1/47/
winsim - https://amazon-freertos-ci.corp.amazon.com/job/pc/job/windows/job/sim-win-2/25/
microchip - https://amazon-freertos-ci.corp.amazon.com/job/mchip/job/pic32/job/win-2/15/
- Failed baseline's intermittently failing test  AFQP_SECURE_SOCKETS_Threadsafe_DifferentSocketsDifferentTasks, so this project is still green for this PR.


Compare function for Items

User story

As a frontend-developer I want to pass two versions of an item to the backend.
I need to get back the differences between the versions.
So that I can display them #98.

Acceptance criteria
Look up for library implemeting git diff functionality.
Otherwise own implementation.
Feature DoD
Feature has been fully implemented
No known errors
All acceptance criteria were met
Test passes
Peer code review passed

Discussion:

proposal to start with just indicating what columns changed


How to style maps with this plugin

What kind of style you want, every option is there.

Maybe someone could give some approach to solve this issue. In Controller i have this code:
$estils = '{             "featureType": "poi.business",             "stylers": {"visibility": "off"}     }'; $config['styles'] = json_decode($estils, true);
But it returns an error: "Illegal string offset 'definition'"


Update mockito-scala to 1.17.7

Updates org.mockito:mockito-scala from 1.17.5 to 1.17.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.17.5).
You might want to review and update them manually.
CHANGELOG.md

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.mockito", artifactId = "mockito-scala" }
}]

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

Superseded by #375.


Created Factorial in python, go and cpp

these programs were missing in math folder

/Factorial in GO/
package main
import "fmt"
func factorial(num int) int{
if num == 1 || num == 0{
return num
}
return num * factorial(num-1)
}
func main(){
fmt.Println(factorial(3))
}
/Factorial in Python/
Factorial of a number using recursion
def recur_factorial(n):
if n == 1:
return n
else:
return n*recur_factorial(n-1)
num = 7
check if the number is negative
if num < 0:
print("Sorry, factorial does not exist for negative numbers")
elif num == 0:
print("The factorial of 0 is 1")
else:
print("The factorial of", num, "is", recur_factorial(num))
/Factorial in Cpp/
#include
using namespace std;
int factorial(int n){
if(n==0 || n==1){
return 1;
}
else{
return n*factorial(n-1);
}

}
int main(){
int n;
cin>>n;
cout<<factorial(n);
return 0;
}

Factorial of 3 language files

[Factorial.cpp] #1629
[Factorial.py] #1630
[Factorial.go] #1631

Please assign me


Duplicate key error when updating PR

Describe the issue
When I have a ruletype that applies to pull requests, and I create a pull request and then update it, I see the following error in minder-server:
error storing originating entity: pq: duplicate key value violates unique constraint \"entity_instances_project_id_provider_id_entity_type_name_key\"

Additional details:
{
  "level": "error",
  "messageStrategy": "toEntityInfoWrapper",
  "refreshStrategy": "addOriginatingEntityStrategy",
  "exception.message": "error storing originating entity: pq: duplicate key value violates unique constraint \"entity_instances_project_id_provider_id_entity_type_name_key\"",
  "caller": "github.com/mindersec/minder/internal/entities/handlers/handler.go:79",
  "Timestamp":<PHONE_NUMBER>698836421,
  "message": "error refreshing entity"
}

To Reproduce

Create a profile with the ruletype mixed_scripts_check.
Register a repository in Minder
Create a PR in the repository
Update the PR you created by changing a file

What version are you using?
v0.0.77 and latest main

Interesting! We probably are issuing the wrong event type when getting a PR modification/update event from GH.


Hot fix/max token message manager

This lets users specify max input tokens.
If the messages get too long, we first delete old messages. Then we remove the image of the current state. Then we cut the current state until we are in the limit.
For now, if models don't have a tokenizer I assume 1 token is approx 3 characters.
For images, I assume they have 800 tokens.
If you still get token errors with your model, decrease the limit.
When you use models with small context this can lead to that we lose important messages from the past.
One problem that could arise:
If a page is very very long and we are over the limit - we will delete first old messages.
Maybe it's smarter to first remove text from the current state.

I changed it now so that the first the image and then the state is cut. Old messages are never cut out.


Vertex_Nomination_edge_list

add_table

59_umls

the timeseries for ll1_736_stock_market is in the form of datetime and timeseries_to_list cannot solve it. Cleaner also not work for this situation. For official solution, they are reading a list of pkl file so I cannot get what is happening inside.

For Vertex_Nomination with edge_list, though don't like result, we have something

59_umls will run with SRILinkPredictionTemplate, ll1_736_stock_market will run by TimeSeriesForcastingTemplate, All somehow "fixed"(hopefully)


Update availability-group-lease-healthcheck-timeout.md

There was an error in which the cluster network thresholds were incorrectly listed.

@tnbarkhouse : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

Nice catch @tnbarkhouse! Thank you :) #sign-off


Microsoft Teams AzureBot is unresponsive

Just started using Microsoft Teams this week. I opened Chat, 'Discovered Bots' and added the AzureBot which now shows up in the Chat panel.
I can enter messages to AzureBot but there is no response - or error messages. I cannot find any way to confifgure or try re-installing the bot. Is AzureBot a hosted service or do I have to clone and host it myself?

The Azure Bot is a sample that we host and maintain it on a best effort basis. You might have caught it right as we were fixing this issue with updating its Cognitive Services key: https://github.com/Microsoft/AzureBot/issues/133
Try again and let us know. It seems to be working for me in Microsoft Teams and other channels now.

Still unresponsive, doesn't display any options or responses. I can't see any way to configure or debug the bot.
Any suggestions to try?

Hmm, that is quite strange indeed. If you open this URL does it take you to the same AzureBot instance?
https://teams.microsoft.com/l/chat/0/0?users=28:9a38affe-4fa0-493c-b802-432a83d8842f
Also, if you send "/deleteprofile" does it still not say anything? It should reply with this:

I'm now getting a response from AzureBot. Typed in 'hi' today and it worked. I can login and interact as expected.
Not sure the root cause - nothing changed on my side. Marking this issue as closed.

I had enabled extra error tracing on the bot to help try figure this out but haven't had time to yet - this was most likely something fixed on the Teams side. Will keep track of it. Thanks for the follow up!


fix(network): changes to p2p sync to support bytes behaviour

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1782  👈
#1729 : 1 other dependent PR (#1740 )
#1743
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nagmo-starkware and the rest of your teammates on  Graphite


feat(qt): added hpmn count in qt information window

Issue being fixed or feature implemented

What was done?

Added a new label showing the number of total and enabled HPMN.
The existing label was updated to show the number of total and enabled regular MNs instead.
How Has This Been Tested?

Breaking Changes

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

@UdjinM6 @PastaPastaPasta What is the procedure regarding translations ?

I like it 👍 Looking at it though, it's not clear if "Number of Masternodes" is "regular MNs" or "All MNs" (regular + HPMN). Maybe it would be better to list them as "Regular Masternodes" and "High-Performance Masternodes"?

@thephez I acknowledge your point, but renaming "Number of Masternodes" to "Regular Masternodes" means that we need to update all translations as well, no?

"Number of Masternodes" is simply wrong/misleading with the current implementation. Should either change it back to all in code or change the label to "regular". I'd prefer the latter. Having some strings not translated is ok-ish imo.


Write a Kata about Using Chorus and UBI with sensitive private data

This is unblocked once #107 is merged.

Okay, this is done and live!


Restore the proper scale of Lab and Lch

This restores the scale of Lab and Lch to be the same as in all of the specifications within reach. That is:

Lab::l and Lch::l goes from 0 to 100,
Lab::a and Lab::b goes from -128 to 127,
Lch::chroma goes from 0 to about 128-181.

Also added additional tests for Lab <-> Lch and Lab<->Xyz conversions. Removed tests for lab and lch from the color mine data as it is not accurate.
This is a breaking change, since everything that uses these values directly will be wrong. Closes #49.

I have also added tests from the color checker data http://www.babelcolor.com/colorchecker-2.htm
This has additional data for RgbSpaces to Cie tests. Once the rgb standards are added, these can be used as a comprehensive test for gamma encoded color space to cie tests.

This is great, and look at those decimals! I think we are set for life with that precision, given that it's also correct. I'm sure it is.

Yeah, but I was hoping it would be within the default epsilon :)

epsilon = 0.000000000001

:heart_eyes:
Sorry, it's just so refreshing after the blunt xyY numbers from color mine. Are we ready to go?

Yes

Great! @homu r+

:pushpin: Commit dbad81f has been approved by Ogeon

:zap: Test exempted - status


Unhandled TypeError — possible regression?

Hey,
I noticed that a fair amount of extractions are failing with a seemingly unnecessary TypeError.
steps to reproduce:
downloaded = trafilatura.fetch_url('https://fortelabs.co/blog/para/')
trafilatura.extract(downloaded, include_links=True)

gives:
TypeError                                 Traceback (most recent call last)
<ipython-input-28-33fce83a7b3f> in <module>
----> 1 trafilatura.extract(downloaded, include_formatting=False, include_links=True)

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in extract(filecontent, url, record_id, no_fallback, include_comments, output_format, tei_validation, target_language, include_tables, include_images, include_formatting, include_links, deduplicate, date_extraction_params, with_metadata, max_tree_size, url_blacklist, settingsfile, config)
    776         url_blacklist = set()
    777     # extraction
--> 778     docmeta = bare_extraction(
    779         filecontent, url=url, no_fallback=no_fallback,
    780         include_comments=include_comments, output_format=output_format,

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in bare_extraction(filecontent, url, no_fallback, include_comments, output_format, target_language, include_tables, include_images, include_formatting, include_links, deduplicate, date_extraction_params, with_metadata, max_tree_size, url_blacklist, config)
    682
    683         # extract content
--> 684         postbody, temp_text, len_text, sure_thing = extract_content(cleaned_tree, include_tables, include_images, include_links, deduplicate, config)
    685
    686         # compare if necessary

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in extract_content(tree, include_tables, include_images, include_links, deduplicate, config)
    382         # list(filter(None.__ne__, processed_elems))
    383         result_body.extend([e for e in
--> 384                             [handle_textelem(e, potential_tags, deduplicate, config) for e in subtree.xpath('.//*')]
    385                             if e is not None])
    386         # remove trailing titles

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in <listcomp>(.0)
    382         # list(filter(None.__ne__, processed_elems))
    383         result_body.extend([e for e in
--> 384                             [handle_textelem(e, potential_tags, deduplicate, config) for e in subtree.xpath('.//*')]
    385                             if e is not None])
    386         # remove trailing titles

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in handle_textelem(element, potential_tags, dedupbool, config)
    287         new_element = handle_titles(element)
    288     elif element.tag == 'p':
--> 289         new_element = handle_paragraphs(element, potential_tags, dedupbool, config)
    290     elif element.tag == 'lb':
    291         if text_chars_test(element.tail) is True:

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in handle_paragraphs(element, potential_tags, dedupbool, config)
    171                     newsub.set('rend', child.get('rend'))
    172                 elif child.tag == 'ref':
--> 173                     newsub.set('target', child.get('target'))
    174             # handle line breaks
    175             elif child.tag == 'lb':

src/lxml/etree.pyx in lxml.etree._Element.set()

src/lxml/apihelpers.pxi in lxml.etree._setAttributeValue()

src/lxml/apihelpers.pxi in lxml.etree._utf8()

TypeError: Argument must be bytes or unicode, got 'NoneType'

I believe this error could be handled in a meaningful way (perhaps excepted and passed?), but maybe I'm missing something?

Hi, thanks for the bug report, it goes farther than this TypeError, it's now fixed in the repository but I'll have to look deeper into it.

Indeed, I'm getting a different error now:
In [9]: trafilatura.extract(downloaded, include_links=True)
INFO:trafilatura.core:using custom extraction: None
INFO:trafilatura.core:not enough comments None
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/app/main/choices.py in <module>
----> 1 trafilatura.extract(downloaded, include_links=True)

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in extract(filecontent, url, record_id, no_fallback, include_comments, output_format, tei_validation, target_language, include_tables, include_images, include_formatting, include_links, deduplicate, date_extraction_params, with_metadata, max_tree_size, url_blacklist, settingsfile, config)
    811         docmeta['fingerprint'] = content_fingerprint(docmeta['raw-text'])
    812     # return
--> 813     return determine_returnstring(docmeta, output_format, include_formatting, include_links, tei_validation)
    814
    815

/usr/local/lib/python3.8/site-packages/trafilatura/core.py in determine_returnstring(docmeta, output_format, include_formatting, include_links, tei_validation)
    609             returnstring = build_json_output(docmeta)
    610         else:  # txt
--> 611             returnstring = xmltotxt(docmeta['body'], include_formatting, include_links)
    612             if docmeta['commentsbody'] is not None:
    613                 returnstring += '\n' + xmltotxt(docmeta['commentsbody'], include_formatting, include_links)

/usr/local/lib/python3.8/site-packages/trafilatura/xml.py in xmltotxt(xmloutput, include_formatting, include_links)
    219     # remove and insert into the previous tag
    220     for element in xmloutput.xpath('//hi|//ref'):
--> 221         merge_with_parent(element, include_formatting, include_links)
    222         continue
    223     # iterate and convert to list of strings

/usr/local/lib/python3.8/site-packages/trafilatura/xml.py in merge_with_parent(element, include_formatting, include_links)
    196     if parent is None:
    197         return
--> 198     full_text = replace_element_text(element, include_formatting, include_links)
    199     previous = element.getprevious()
    200     if previous is not None:

/usr/local/lib/python3.8/site-packages/trafilatura/xml.py in replace_element_text(element, include_formatting, include_links)
    180     # handle links
    181     if include_links is True and element.tag == 'ref':
--> 182         element.text = ''.join(['[', element.text, ']', '(', element.get('target'), ')'])
    183     # handle text
    184     if element.text is not None and element.tail is not None:

TypeError: sequence item 1: expected str instance, NoneType found

If you install the latest version from the repository you should no
longer see such errors:
pip3 install -U git+https://github.com/adbar/trafilatura.git
However the underlying problem isn't completely solved, they are still
links without text or target.

@tadeoos I'm closing the issue now that it appears to be fixed (I cannot reproduce it using the latest version). Please free feel to re-open it if you spot a problem.


Useless library

This library is useless.
nothing works.
You wasted an hour of my time
please remove it from internet.

Sorry you had trouble getting this to work. Maybe looking at the working example would help you out.
http://codepen.io/anon/pen/pKjmJ

I assume he was like me, tried the example and it failed. I dug and found the two errors I posted in the issue I opened and closed.


GPUs fail with Keras 3.0.3 and Keras 3.0.5

This morning I installed the "latest version" of TF Keras 3.0.5 (with tf.2.17) and tested to check if the code coud see the GPUs.
It could not so I went back and install with TF 2.16 and that also failed.
I had the same problem when I installed keras 3.0.2: The GPUs would not work. I reported that issue in this forum and a few days later one of the Keras team members sent me a fix which worked.
I followed the installation guidelines so I think I am not the source of the problem
Q1: Are you aware of this issue?
Q2: Is a fix being planned?
Thank you

UPDATE:
Last time I had this problem (GPUs not working with keras.3.02)  sachin pradash s suggested me to follow the steps below:

create a new python venv
pip install torch # also install Cuda 12
pip install tensorflow # will download TF 2.15 that should use the same cuda 12

I followed these steps this morning (March 5, 2024)  hoping that the steps above would get the APIs installed. Unfortunately
when I checked the versions of tf and keras (   tf.version) and keras.version both tell me that 2.15 was used.
The good news is that 2.15 connects to the GPUs. The sad news is that 2.16 and 2.17 can't do it, and what is worse, this issue/bug is not documented.

Hi, I was able to install TensorFlow 2.16 rc0 which has Keras 3.0.5 as a backend and detect GPU.
Here is the Gist  for reference.

It did not work. I have separate python virtual envs for keras3.02 and
keras3.05.  When I run the code in keras 3.02 I get:
TF version = 2.15.0 keras version = 2.15.0
[PhysicalDevice(name='/physical_device:GPU:0',
device_type='GPU')]
but when I run the same code in keras 3.05 I get
>>> tf.version  =   '2.16.0-rc0'   keras.version  = '3.0.5'

tf.config.list_physical_devices('GPU')
[ ]

ee listing below:
pip install tensorflow==2.16.0rc0Collecting tensorflow==2.16.0rc0
Downloading
tensorflow-2.16.0rc0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(589.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.8/589.8 MB 3.7 MB/s eta
0:00:00
Requirement already satisfied: keras>=3.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.0.5)
Requirement already satisfied: google-pasta>=0.1.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.2.0)
Requirement already satisfied: flatbuffers>=23.5.26 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.5.26)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.36.0)
Requirement already satisfied: ml-dtypes~=0.3.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.3.2)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.62.0)
Requirement already satisfied: wrapt>=1.11.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.14.1)
Requirement already satisfied: h5py>=3.10.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.10.0)
Requirement already satisfied:
protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3
in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0)
(4.25.3)
Requirement already satisfied: numpy<2.0.0,>=1.23.5 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.26.4)
Requirement already satisfied: astunparse>=1.6.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.6.3)
Requirement already satisfied: termcolor>=1.1.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.4.0)
Requirement already satisfied: six>=1.12.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.16.0)
Requirement already satisfied: setuptools in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (59.6.0)
Collecting tensorboard<2.17,>=2.16
Downloading tensorboard-2.16.2-py3-none-any.whl (5.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 10.5 MB/s eta
0:00:00
Requirement already satisfied: absl-py>=1.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.1.0)
Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.5.4)
Requirement already satisfied: libclang>=13.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (16.0.6)
Requirement already satisfied: opt-einsum>=2.3.2 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.3.0)
Requirement already satisfied: typing-extensions>=3.6.6 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (4.10.0)
Requirement already satisfied: packaging in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.2)
Requirement already satisfied: requests<3,>=2.21.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.31.0)
Requirement already satisfied: wheel<1.0,>=0.23.0 in
./.k3.05/lib/python3.10/site-packages (from
astunparse>=1.6.0->tensorflow==2.16.0rc0) (0.42.0)
Requirement already satisfied: rich in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (13.7.1)
Requirement already satisfied: dm-tree in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.8)
Requirement already satisfied: namex in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.0.7)
Requirement already satisfied: certifi>=2017.4.17 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2024.2.2)
Requirement already satisfied: idna<4,>=2.5 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2.2.1)
Requirement already satisfied: charset-normalizer<4,>=2 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.3.2)
Requirement already satisfied: markdown>=2.6.8 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.5.2)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (0.7.2)
Requirement already satisfied: werkzeug>=1.0.1 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.0.1)
Requirement already satisfied: MarkupSafe>=2.1.1 in
./.k3.05/lib/python3.10/site-packages (from
werkzeug>=1.0.1->tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (2.1.5)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in
./.k3.05/lib/python3.10/site-packages (from
rich->keras>=3.0.0->tensorflow==2.16.0rc0) (2.17.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in
./.k3.05/lib/python3.10/site-packages (from
rich->keras>=3.0.0->tensorflow==2.16.0rc0) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in
./.k3.05/lib/python3.10/site-packages (from
markdown-it-py>=2.2.0->rich->keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.2)
Installing collected packages: tensorboard, tensorflow
Successfully installed tensorboard-2.16.2 tensorflow-2.16.0rc0
(.k3.05) @.***:/drv3/hm3/code/python/keras.3.05$ python
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
2024-03-07 08:13:37.227548: I
tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary
is optimized to use available CPU instructions in performance-critical
operations.
To enable the following instructions: AVX2 FMA, in other operations,
rebuild TensorFlow with the appropriate compiler flags.
2024-03-07 08:13:38.531263: W
tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could
not find TensorRT
import keras

>>> tf.version'2.16.0-rc0'>>> keras.version'3.0.5'

tf.config.list_physical_devices('GPU')
2024-03-07 08:14:29.230681: I
external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:998]
successful NUMA node read from SysFS had negative value (-1), but there
must be at least one NUMA node, so returning NUMA node zero. See more at
https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2024-03-07 08:14:29.377989: W
tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some
GPU libraries. Please make sure the missing libraries mentioned above are
installed properly if you would like to use GPU. Follow the guide at
https://www.tensorflow.org/install/gpu for how to download and setup the
required libraries for your platform.
Skipping registering GPU devices...
[]

On Thu, Mar 7, 2024 at 12:51 AM Sachin Prasad @.***>
wrote:

Hi, I was able to install TensorFlow 2.16 rc0 which has Keras 3.0.5 as a
backend and detect GPU.
Here is the Gist
https://colab.sandbox.google.com/gist/sachinprasadhs/8d430dcccf90769b2b1c361e76cc66e3/19255.ipynb
for reference.
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1982444905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34MYSDDWIPNGV3YTEMLYW754TAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGQ2DIOJQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

The install of TF 2.16.0rc0 I tried in Google collab also failed
[image: image.png]
On Thu, Mar 7, 2024 at 8:28 AM Juan Vargas @.***> wrote:

It did not work. I have separate python virtual envs for keras3.02 and
keras3.05.  When I run the code in keras 3.02 I get:
TF version = 2.15.0 keras version = 2.15.0 [PhysicalDevice(name='/physical_device:GPU:0',
device_type='GPU')]
but when I run the same code in keras 3.05 I get
>>> tf.version  =   '2.16.0-rc0'   keras.version  = '3.0.5'

tf.config.list_physical_devices('GPU')
[ ]

ee listing below:
pip install tensorflow==2.16.0rc0Collecting tensorflow==2.16.0rc0
Downloading
tensorflow-2.16.0rc0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(589.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.8/589.8 MB 3.7 MB/s eta
0:00:00
Requirement already satisfied: keras>=3.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.0.5)
Requirement already satisfied: google-pasta>=0.1.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.2.0)
Requirement already satisfied: flatbuffers>=23.5.26 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.5.26)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.36.0)
Requirement already satisfied: ml-dtypes~=0.3.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.3.2)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.62.0)
Requirement already satisfied: wrapt>=1.11.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.14.1)
Requirement already satisfied: h5py>=3.10.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.10.0)
Requirement already satisfied:
protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3
in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0)
(4.25.3)
Requirement already satisfied: numpy<2.0.0,>=1.23.5 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.26.4)
Requirement already satisfied: astunparse>=1.6.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.6.3)
Requirement already satisfied: termcolor>=1.1.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.4.0)
Requirement already satisfied: six>=1.12.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.16.0)
Requirement already satisfied: setuptools in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (59.6.0)
Collecting tensorboard<2.17,>=2.16
Downloading tensorboard-2.16.2-py3-none-any.whl (5.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 10.5 MB/s eta
0:00:00
Requirement already satisfied: absl-py>=1.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.1.0)
Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.5.4)
Requirement already satisfied: libclang>=13.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (16.0.6)
Requirement already satisfied: opt-einsum>=2.3.2 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.3.0)
Requirement already satisfied: typing-extensions>=3.6.6 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (4.10.0)
Requirement already satisfied: packaging in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.2)
Requirement already satisfied: requests<3,>=2.21.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.31.0)
Requirement already satisfied: wheel<1.0,>=0.23.0 in
./.k3.05/lib/python3.10/site-packages (from
astunparse>=1.6.0->tensorflow==2.16.0rc0) (0.42.0)
Requirement already satisfied: rich in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (13.7.1)
Requirement already satisfied: dm-tree in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.8)
Requirement already satisfied: namex in
./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.0.7)
Requirement already satisfied: certifi>=2017.4.17 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2024.2.2)
Requirement already satisfied: idna<4,>=2.5 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2.2.1)
Requirement already satisfied: charset-normalizer<4,>=2 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.3.2)
Requirement already satisfied: markdown>=2.6.8 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.5.2)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (0.7.2)
Requirement already satisfied: werkzeug>=1.0.1 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.0.1)
Requirement already satisfied: MarkupSafe>=2.1.1 in
./.k3.05/lib/python3.10/site-packages (from
werkzeug>=1.0.1->tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (2.1.5)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in
./.k3.05/lib/python3.10/site-packages (from
rich->keras>=3.0.0->tensorflow==2.16.0rc0) (2.17.2)
Requirement already satisfied: markdown-it-py>=2.2.0 in
./.k3.05/lib/python3.10/site-packages (from
rich->keras>=3.0.0->tensorflow==2.16.0rc0) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in
./.k3.05/lib/python3.10/site-packages (from
markdown-it-py>=2.2.0->rich->keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.2)
Installing collected packages: tensorboard, tensorflow
Successfully installed tensorboard-2.16.2 tensorflow-2.16.0rc0
(.k3.05) @.***:/drv3/hm3/code/python/keras.3.05$ python
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
2024-03-07 08:13:37.227548: I
tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary
is optimized to use available CPU instructions in performance-critical
operations.
To enable the following instructions: AVX2 FMA, in other operations,
rebuild TensorFlow with the appropriate compiler flags.
2024-03-07 08:13:38.531263: W
tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could
not find TensorRT
import keras

>>> tf.version'2.16.0-rc0'>>> keras.version'3.0.5'

tf.config.list_physical_devices('GPU')
2024-03-07 08:14:29.230681: I
external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:998]
successful NUMA node read from SysFS had negative value (-1), but there
must be at least one NUMA node, so returning NUMA node zero. See more at
https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2024-03-07 08:14:29.377989: W
tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some
GPU libraries. Please make sure the missing libraries mentioned above are
installed properly if you would like to use GPU. Follow the guide at
https://www.tensorflow.org/install/gpu for how to download and setup the
required libraries for your platform.
Skipping registering GPU devices...
[]

On Thu, Mar 7, 2024 at 12:51 AM Sachin Prasad @.***>
wrote:

Hi, I was able to install TensorFlow 2.16 rc0 which has Keras 3.0.5 as a
backend and detect GPU.
Here is the Gist
https://colab.sandbox.google.com/gist/sachinprasadhs/8d430dcccf90769b2b1c361e76cc66e3/19255.ipynb
for reference.
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1982444905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34MYSDDWIPNGV3YTEMLYW754TAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGQ2DIOJQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

The install of TF 2.16.0rc0 I tried in Google collab also failed [image: image.png]
…
On Thu, Mar 7, 2024 at 8:28 AM Juan Vargas @.> wrote: It did not work. I have separate python virtual envs for keras3.02 and keras3.05. When I run the code in keras 3.02 I get: TF version = 2.15.0 keras version = 2.15.0 [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] but when I run the same code in keras 3.05 I get >>> tf.version = '2.16.0-rc0' keras.version = '3.0.5' >>> tf.config.list_physical_devices('GPU') [ ] ee listing below: pip install tensorflow==2.16.0rc0Collecting tensorflow==2.16.0rc0 Downloading tensorflow-2.16.0rc0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (589.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.8/589.8 MB 3.7 MB/s eta 0:00:00 Requirement already satisfied: keras>=3.0.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.0.5) Requirement already satisfied: google-pasta>=0.1.1 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.2.0) Requirement already satisfied: flatbuffers>=23.5.26 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.5.26) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.36.0) Requirement already satisfied: ml-dtypes~=0.3.1 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.3.2) Requirement already satisfied: grpcio<2.0,>=1.24.3 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.62.0) Requirement already satisfied: wrapt>=1.11.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.14.1) Requirement already satisfied: h5py>=3.10.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.10.0) Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (4.25.3) Requirement already satisfied: numpy<2.0.0,>=1.23.5 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.26.4) Requirement already satisfied: astunparse>=1.6.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.6.3) Requirement already satisfied: termcolor>=1.1.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.4.0) Requirement already satisfied: six>=1.12.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.16.0) Requirement already satisfied: setuptools in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (59.6.0) Collecting tensorboard<2.17,>=2.16 Downloading tensorboard-2.16.2-py3-none-any.whl (5.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 10.5 MB/s eta 0:00:00 Requirement already satisfied: absl-py>=1.0.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.1.0) Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.5.4) Requirement already satisfied: libclang>=13.0.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (16.0.6) Requirement already satisfied: opt-einsum>=2.3.2 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.3.0) Requirement already satisfied: typing-extensions>=3.6.6 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (4.10.0) Requirement already satisfied: packaging in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.2) Requirement already satisfied: requests<3,>=2.21.0 in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.31.0) Requirement already satisfied: wheel<1.0,>=0.23.0 in ./.k3.05/lib/python3.10/site-packages (from astunparse>=1.6.0->tensorflow==2.16.0rc0) (0.42.0) Requirement already satisfied: rich in ./.k3.05/lib/python3.10/site-packages (from keras>=3.0.0->tensorflow==2.16.0rc0) (13.7.1) Requirement already satisfied: dm-tree in ./.k3.05/lib/python3.10/site-packages (from keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.8) Requirement already satisfied: namex in ./.k3.05/lib/python3.10/site-packages (from keras>=3.0.0->tensorflow==2.16.0rc0) (0.0.7) Requirement already satisfied: certifi>=2017.4.17 in ./.k3.05/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2024.2.2) Requirement already satisfied: idna<4,>=2.5 in ./.k3.05/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in ./.k3.05/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2.2.1) Requirement already satisfied: charset-normalizer<4,>=2 in ./.k3.05/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.3.2) Requirement already satisfied: markdown>=2.6.8 in ./.k3.05/lib/python3.10/site-packages (from tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.5.2) Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in ./.k3.05/lib/python3.10/site-packages (from tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (0.7.2) Requirement already satisfied: werkzeug>=1.0.1 in ./.k3.05/lib/python3.10/site-packages (from tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.0.1) Requirement already satisfied: MarkupSafe>=2.1.1 in ./.k3.05/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (2.1.5) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in ./.k3.05/lib/python3.10/site-packages (from rich->keras>=3.0.0->tensorflow==2.16.0rc0) (2.17.2) Requirement already satisfied: markdown-it-py>=2.2.0 in ./.k3.05/lib/python3.10/site-packages (from rich->keras>=3.0.0->tensorflow==2.16.0rc0) (3.0.0) Requirement already satisfied: mdurl~=0.1 in ./.k3.05/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich->keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.2) Installing collected packages: tensorboard, tensorflow Successfully installed tensorboard-2.16.2 tensorflow-2.16.0rc0 (.k3.05) @.:/drv3/hm3/code/python/keras.3.05$ python Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf 2024-03-07 08:13:37.227548: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-03-07 08:13:38.531263: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT >>> import keras >>> tf.version'2.16.0-rc0'>>> keras.version'3.0.5' >>> tf.config.list_physical_devices('GPU') 2024-03-07 08:14:29.230681: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:998] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2024-03-07 08:14:29.377989: W tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... [] On Thu, Mar 7, 2024 at 12:51 AM Sachin Prasad @.> wrote: > Hi, I was able to install TensorFlow 2.16 rc0 which has Keras 3.0.5 as a > backend and detect GPU. > Here is the Gist > https://colab.sandbox.google.com/gist/sachinprasadhs/8d430dcccf90769b2b1c361e76cc66e3/19255.ipynb > for reference. > > — > Reply to this email directly, view it on GitHub > <#19255 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AAGK34MYSDDWIPNGV3YTEMLYW754TAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGQ2DIOJQGU > . > You are receiving this because you authored the thread.Message ID: > @.> >

You need to change the runtime to GPU and then install 2.16rc0 in colab

Perhaps changing the runtime in Collab with work, but unfortunately
I am not using Collab, I only ran the issue on it to show you that it would
not work for me on that platform.
Therefore as far as I can see the issue I reported still persists. TF 2.16
can't see GPUs on desktops running Linux (at least in Ubuntu 22.04 LTS).
I am running NVIDIA  Driver Version: 550.54.14 with CUDA Version: 12.4
BTW,  TF 2.15 can see the GPUs, as can the other libs and APIs that I use,
including torch and Julia.
Thanks,
Juan
On Thu, Mar 7, 2024 at 1:09 PM Sachin Prasad @.***>
wrote:

The install of TF 2.16.0rc0 I tried in Google collab also failed [image:
image.png]
… <#m_-413556793126101587_>
On Thu, Mar 7, 2024 at 8:28 AM Juan Vargas @.> wrote: It did not work.
I have separate python virtual envs for keras3.02 and keras3.05. When I run
the code in keras 3.02 I get: TF version = 2.15.0 keras version = 2.15.0
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] but when
I run the same code in keras 3.05 I get >>> tf.version = '2.16.0-rc0'
keras.version = '3.0.5' >>> tf.config.list_physical_devices('GPU') [ ] ee
listing below: pip install tensorflow==2.16.0rc0Collecting
tensorflow==2.16.0rc0 Downloading
tensorflow-2.16.0rc0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
(589.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 589.8/589.8 MB 3.7 MB/s
eta 0:00:00 Requirement already satisfied: keras>=3.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.0.5)
Requirement already satisfied: google-pasta>=0.1.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.2.0)
Requirement already satisfied: flatbuffers>=23.5.26 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0)
(23.5.26) Requirement already satisfied:
tensorflow-io-gcs-filesystem>=0.23.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.36.0)
Requirement already satisfied: ml-dtypes~=0.3.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.3.2)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.62.0)
Requirement already satisfied: wrapt>=1.11.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.14.1)
Requirement already satisfied: h5py>=3.10.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.10.0)
Requirement already satisfied:
protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3
in ./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0)
(4.25.3) Requirement already satisfied: numpy<2.0.0,>=1.23.5 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.26.4)
Requirement already satisfied: astunparse>=1.6.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.6.3)
Requirement already satisfied: termcolor>=1.1.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.4.0)
Requirement already satisfied: six>=1.12.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (1.16.0)
Requirement already satisfied: setuptools in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (59.6.0)
Collecting tensorboard<2.17,>=2.16 Downloading
tensorboard-2.16.2-py3-none-any.whl (5.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 10.5 MB/s eta 0:00:00
Requirement already satisfied: absl-py>=1.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.1.0)
Requirement already satisfied: gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (0.5.4)
Requirement already satisfied: libclang>=13.0.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (16.0.6)
Requirement already satisfied: opt-einsum>=2.3.2 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (3.3.0)
Requirement already satisfied: typing-extensions>=3.6.6 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (4.10.0)
Requirement already satisfied: packaging in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (23.2)
Requirement already satisfied: requests<3,>=2.21.0 in
./.k3.05/lib/python3.10/site-packages (from tensorflow==2.16.0rc0) (2.31.0)
Requirement already satisfied: wheel<1.0,>=0.23.0 in
./.k3.05/lib/python3.10/site-packages (from
astunparse>=1.6.0->tensorflow==2.16.0rc0) (0.42.0) Requirement already
satisfied: rich in ./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (13.7.1) Requirement already
satisfied: dm-tree in ./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.1.8) Requirement already satisfied:
namex in ./.k3.05/lib/python3.10/site-packages (from
keras>=3.0.0->tensorflow==2.16.0rc0) (0.0.7) Requirement already satisfied:
certifi>=2017.4.17 in ./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2024.2.2) Requirement already
satisfied: idna<4,>=2.5 in ./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.6) Requirement already
satisfied: urllib3<3,>=1.21.1 in ./.k3.05/lib/python3.10/site-packages
(from requests<3,>=2.21.0->tensorflow==2.16.0rc0) (2.2.1) Requirement
already satisfied: charset-normalizer<4,>=2 in
./.k3.05/lib/python3.10/site-packages (from
requests<3,>=2.21.0->tensorflow==2.16.0rc0) (3.3.2) Requirement already
satisfied: markdown>=2.6.8 in ./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.5.2) Requirement already
satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in
./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (0.7.2) Requirement already
satisfied: werkzeug>=1.0.1 in ./.k3.05/lib/python3.10/site-packages (from
tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (3.0.1) Requirement already
satisfied: MarkupSafe>=2.1.1 in ./.k3.05/lib/python3.10/site-packages (from
werkzeug>=1.0.1->tensorboard<2.17,>=2.16->tensorflow==2.16.0rc0) (2.1.5)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in
./.k3.05/lib/python3.10/site-packages (from
rich->keras>=3.0.0->tensorflow==2.16.0rc0) (2.17.2) Requirement already
satisfied: markdown-it-py>=2.2.0 in ./.k3.05/lib/python3.10/site-packages
(from rich->keras>=3.0.0->tensorflow==2.16.0rc0) (3.0.0) Requirement
already satisfied: mdurl~=0.1 in ./.k3.05/lib/python3.10/site-packages
(from markdown-it-py>=2.2.0->rich->keras>=3.0.0->tensorflow==2.16.0rc0)
(0.1.2) Installing collected packages: tensorboard, tensorflow Successfully
installed tensorboard-2.16.2 tensorflow-2.16.0rc0 (.k3.05) @.:/drv3/hm3/code/python/keras.3.05$
python Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information. >>>
import tensorflow as tf 2024-03-07 08:13:37.227548: I
tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary
is optimized to use available CPU instructions in performance-critical
operations. To enable the following instructions: AVX2 FMA, in other
operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-07 08:13:38.531263: W
tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could
not find TensorRT >>> import keras >>> tf.version'2.16.0-rc0'>>>
keras.version'3.0.5' >>> tf.config.list_physical_devices('GPU')
2024-03-07 08:14:29.230681: I
external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:998]
successful NUMA node read from SysFS had negative value (-1), but there
must be at least one NUMA node, so returning NUMA node zero. See more at
https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2024-03-07 08:14:29.377989: W
tensorflow/core/common_runtime/gpu/gpu_device.cc:2251] Cannot dlopen some
GPU libraries. Please make sure the missing libraries mentioned above are
installed properly if you would like to use GPU. Follow the guide at
https://www.tensorflow.org/install/gpu for how to download and setup the
required libraries for your platform. Skipping registering GPU devices...
[] On Thu, Mar 7, 2024 at 12:51 AM Sachin Prasad @.*> wrote: > Hi, I
was able to install TensorFlow 2.16 rc0 which has Keras 3.0.5 as a >
backend and detect GPU. > Here is the Gist >
https://colab.sandbox.google.com/gist/sachinprasadhs/8d430dcccf90769b2b1c361e76cc66e3/19255.ipynb
https://colab.sandbox.google.com/gist/sachinprasadhs/8d430dcccf90769b2b1c361e76cc66e3/19255.ipynb

for reference. > > — > Reply to this email directly, view it on GitHub >
<#19255 (comment)
https://github.com/keras-team/keras/issues/19255#issuecomment-1982444905>,
or unsubscribe >
https://github.com/notifications/unsubscribe-auth/AAGK34MYSDDWIPNGV3YTEMLYW754TAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGQ2DIOJQGU
https://github.com/notifications/unsubscribe-auth/AAGK34MYSDDWIPNGV3YTEMLYW754TAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBSGQ2DIOJQGU
. > You are receiving this because you authored the thread.Message ID: >
@.*> >

You need to change the runtime to GPU and then install 2.16rc0 in colab
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1984143717,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34JKHQC5OK2A3VWRY3TYXCUNHAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGE2DGNZRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Could you please try with these tested build configurations and let us know the outcome.

Version
Python version
Compiler
Build tools
cuDNN
CUDA

tensorflow-2.16.1
3.9-3.12
Clang 17.0.6
Bazel 6.5.0
8.9
12.3

Yes, I will try in about 2 hours when I am back to this and will let you
know. Thank you. Juan
On Thu, Mar 7, 2024 at 1:34 PM Sachin Prasad @.***>
wrote:

Could you please try with these tested build configurations and let us
know the outcome.
Version Python version Compiler Build tools cuDNN CUDA
tensorflow-2.16.1 3.9-3.12 Clang 17.0.6 Bazel 6.5.0 8.9 12.3
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1984185672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34ONNO3XHULVCEZ5Z4LYXCXLNAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGE4DKNRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

pip install tensorflow==2.16.1 fails:
ERROR: Could not find a version that satisfies the requirement
tensorflow==2.16.1 (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2,
2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3,
2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0,
2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1,
2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1,
2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.0.post1, 2.16.0rc0)
ERROR: No matching distribution found for tensorflow==2.16.1
On Thu, Mar 7, 2024 at 1:37 PM Juan Vargas @.***> wrote:

Yes, I will try in about 2 hours when I am back to this and will let you
know. Thank you. Juan
On Thu, Mar 7, 2024 at 1:34 PM Sachin Prasad @.***>
wrote:

Could you please try with these tested build configurations and let us
know the outcome.
Version Python version Compiler Build tools cuDNN CUDA
tensorflow-2.16.1 3.9-3.12 Clang 17.0.6 Bazel 6.5.0 8.9 12.3
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1984185672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34ONNO3XHULVCEZ5Z4LYXCXLNAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGE4DKNRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

2.16.1 is not yet released, it will be released in a week or so, till then you can try 2.16rc0 and match the other requirements

I already tried 2.16.rc0 and it failed with the APIs that you suggested.
On Thu, Mar 7, 2024 at 5:19 PM Sachin Prasad @.***>
wrote:

2.16.1 is not yet released, it will be released in a week or so, till then
you can try 2.16rc0 and match the other requirements
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/19255#issuecomment-1984617982,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGK34JR3F24H6JURTH3TYLYXDRVVAVCNFSM6AAAAABEHJ2EDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGYYTOOJYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

pip install tensorflow==2.16.1 is available.  If this issue persists, please open the issue in TensorFlow Repo since this is not connected to Keras.


Issues running easy-ssh.sh script locally

Surfacing 2 issues trying to run the easy-ssh.sh script on my local dev laptop (macbook m2).
1/  Document with name SSM-SessionManagerRunShellAsUbuntu does not exist.
➜  hyperpod-deploy awsome-distributed-training/1.architectures/5.sagemaker-hyperpod/easy-ssh.sh  -c controller-machine ml-cluster

=================================================

==== 🚀 HyperPod Cluster Easy SSH Script! 🚀 ====

=================================================
Cluster id: 9v77m4pll14n
Instance id: i-0971a651464cb60bb
Node Group: controller-machine

aws ssm start-session  --target sagemaker-cluster:9v77m4pll14n_controller-machine-i-0971a651464cb60bb --document SSM-SessionManagerRunShellAsUbuntu

1. Detected ml-cluster in  ~/.ssh/config. Skipping adding...

FYI instead of this script you can do:

$ ssh ml-cluster

An error occurred (InvalidDocument) when calling the StartSession operation: Document with name SSM-SessionManagerRunShellAsUbuntu does not exist.

2/ Script is still asking if I want to add my ssh key even when the SSM command fails:
➜  hyperpod-deploy awsome-distributed-training/1.architectures/5.sagemaker-hyperpod/easy-ssh.sh  -c controller-machine ml-cluster

=================================================

==== 🚀 HyperPod Cluster Easy SSH Script! 🚀 ====

=================================================

An error occurred (ResourceNotFound) when calling the DescribeCluster operation: Cluster with name ml-cluster not found

An error occurred (ResourceNotFound) when calling the ListClusterNodes operation: Cluster with name ml-cluster not found
Cluster id:
Instance id:
Node Group: controller-machine

aws ssm start-session  --target sagemaker-cluster:_controller-machine- --document SSM-SessionManagerRunShellAsUbuntu

Would you like to add ml-cluster to  ~/.ssh/config (yes/no)?
> no
❌ skipping adding ml-cluster to  ~/.ssh/config:

An error occurred (TargetNotConnected) when calling the StartSession operation: sagemaker-cluster:_controller-machine- is not connected.

@nghtm For now a easy work-around, remove the --document SSM-SessionManagerRunShellAsUbuntu in easy-ssh.sh line 121, so it looks like:
aws ssm start-session "${aws_cli_args[@]}" --target sagemaker-cluster:${cluster_id}_${node_group}-${instance_id}


OnClicking the Title like "HTML" dropdown should open

Description
Right now if you click on "Arrow"  then only content is expanding or collapsing. It would be great to click the title content to expand or collapse.
Refer ScreenShot for more infoto
Screenshots

Additional information
No response

Hi Vishal! I want to work on this issue. Kindly assign me.

There is no need of assigning issue, just go, solve and raise the PR. The First PR which solve that issue will be merged


Inconsistent CLI output when typed system user password is incorrect

General troubleshooting steps

N/A [ ] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

N/A [ ] I ran brew update-reset && brew update and retried my command.
N/A [ ] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
When the underlying logic taps into some system-level resources which require the administrator password, and the password is entered incorrectly, the output on the CLI is inconsistent. Please see below.
> brew cask upgrade
==> Upgrading 2 outdated packages, with result:
dotnet 2.0.6, dotnet-sdk 2.1.101
==> Satisfying dependencies
==> Downloading https://download.microsoft.com/download/8/D/A/8DA04DA7-565B-4372-BBCE-D44C7809A467/dotnet-runtime-2.0.6-osx-x64.pkg
######################################################################## 100.0%
==> Verifying checksum for Cask dotnet
==> Starting upgrade for Cask dotnet
==> Running uninstall process for dotnet; your password may be necessary
==> Uninstalling packages:
com.microsoft.dotnet.dev.2.1.4.component.osx.x64
Password:
Password:
==> Sorry, try again.

As you can see, there's the following at the end of the output:
Password:
Password:
==> Sorry, try again.

The first time, I entered the password incorrectly. The system correctly prompted for Password: again. But the Sorry, try again came through only after when I entered the password correctly and brew cask upgrade could continue to run.
Hope that makes sense. Any question or anything I can do to help/fix this please let me know.
Output of brew cask doctor
N/A

Seems like https://github.com/caskroom/homebrew-cask/issues/7000 returned.


If you have git.rebaseWhenSync enabled, rebase will be used when running "Commit & Sync".


drivers: serial: rp2040: fix rpi pico address mapping

Address map used for config item uart_dev and uart_regs is currently derived using the rpi hal macros uart0 and uart1 which map to the same register address as given in the reg property of the devicetree.
However, the sdk macro is generated using uart##idx which zephyr does not necessarily map to uart0 or uart1. This is, for example, the case when disabling uart0 with the devicetree status "disabled" and enabling uart1 for which then the idx==0 and not 1 which therefore maps to the wrong controller address space.
This can simply be fixed by deriving the base address from DT_INST_REG_ADDR(idx) instead
Signed-off-by: Ramon Aerne<EMAIL_ADDRESS>

@galak had to push again to fix name and commit message

@ramonaerne can you file an issue for this (if you want this to be merged before the v3.3 release).

@fabiobaltieri #54685


Queue up heyu calls

This fixes the issue where heyu calls would fail sometimes because the previous heyu call was not yet complete. Now I can tell Siri to turn off all the lights in a room and it works. Automating multiple accessories works too. You can also tap on lights as fast as you'd like in the Home app, and all those requests will get queued up and they we all complete.

@keithws tks very much for this, I’m away for a day or 2 and will merge it when I’m back

@keithws This works really well, thank you very much

@keithws Wanted to thank you again for this.  I have added this feature to several other of my plugins, and it has really helped the user experience with them.  Thanks very much


Accessing the docker container from another host

how can i access the docker container from a computer on another network ?
localhost:3000 works fine.

Is this still an issue?

Send your question to stack overflow. I think here it's not the place for this question.


Custom spy element

Similar to how we can create a custom Link, is it possible to create an element that is a custom spy element? I just want a certain element to have a certain class when a containerId is within view.
CC: @1yzo

Thank you I will try this out! Will close for now


Query settings dialog and settings usage in requests

Closes https://github.com/ydb-platform/ydb-embedded-ui/issues/1051
Please Turn Experiment ON via browser console before testing!
Stand
Please Turn Experiment OFF via browser console after testing!
to turn experiment ON use
localStorage.setItem('query_settings', true);
window.location.reload()

to turn experiment OFF use
localStorage.setItem('query_settings', false);
window.location.reload()

Need to make some design refinements

design refinements done

The buttons are stuck together.

Decided to get rid of link to documentation. Could you please check?

Decided to get rid of link to documentation. Could you please check

There was no such desicion =)


Add Courier for notifications

Courier (https://www.courier.com/) is One API to design and deliver notifications across multiple channels.
While working on an app where there's a need to send a notification, typically a notification could have to be sent as an Email, SMS or Push.
IMHO it'd be super useful to have a way of designing a notification quickly, and configuring it to be sent across one or more channels - for instance, send it as an email with SendGrid, send as an SMS with Twilio or as a Push.
Courier can help achieve this process in a matter of seconds with almost no code, which can help hackers focus on their idea than having to spend their valuable time in building notification modules.
If you think this makes a solid use-case, I'd ❤ to contribute by integrating Courier's Node.js SDK (https://github.com/trycourier/courier-node)
Disclaimer: I work at Courier as a core Product engineer.
PS: I absolutely love this project - I've used this at hackathons and also for interview exercises :) (https://github.com/tk26/ExpenseTracker and https://github.com/tk26/pied-piper/)

I am closing this issue, @tk26 if you are still interested in adding a Courier integration, I would be happy to review and merge it.


SIX new version

Hello,
we are looking for a new release straight for SIX. is there any plan for release as I can see the last version is in 2021.

Why? There haven't been many changes since 2021.

If any unforeseen issue/vulnerability comes, a fix will be available in the next version?.

Yes, it's not too hard to make a release.

Hello,
I am getting code vulnerability when I am using this library, mainly in these lines - (I am working with pyawscron and dynamodb-json module which are installing this module). I want to know where you are using the six module (six.py file) dependency and if can we remove the six module which is dependent as I am getting AWS Inspector (AWS Cloud) vulnerability in the below line.
Title = CWE-77,78,88 - OS command injection
Detector name = OS command injection
Vulnerable line = Line ( #735) - exec("""exec code in globs, locs""")
and the similar lines in different parts of the code.

Refer this file for exact line (#735) - six.py

I am not sure how exactly I can fix it, also my second requirement is as now I am mostly dealing with python3-related codes for a long time and now I don't require python2-related things, but I am also not sure if some applications under the hood are using python2, I need to verify that.
I am here to ask if there is a security fix for this or if there is any custom solution.
please let me know how can i deal with my applications as I am getting code vulnerability issues.
As I am using pyawscron and dynamodb-json modules, six module is by default getting installed. As we are using this in our organizational code & we are getting the vulnerability from AWS, and we need to fix this vulnerability. Still, I didn't have any clue about this as I cannot ignore this, what options do I have now to deal with this vulnerability? My concern is that if we touch the 3rd party module files as it can break something other in the code or a different code file where it has been used, but now the question is what options we have, I have also searched the alternative modules but I didn't find anything.
Please have WORKAROUND or something which I can try and resolve this.
Thanks


Template not completely rendered if passed string is over 300k chars long

I'm trying to create a template that displays some "huge" tables with around 400 rows each.  But apparently  it only renders 300 Rows of the first table and after that nothing else. I tried to go through that array with a foreach loop but i threw the idea away and inserted the html table string directly into the template. (Table is generated via simple php class)
Here's the snippet:  (for my first approach)
`

Transactions Data

Tick the boxes which entries should be created

                        Approve
                        <?php foreach($transaction_fields as $headline): ?>
                            <?= ($headline[1] == null ? '' : '' . $headline[0] . '	')?>
                        <?php endforeach ?>

                    <?php foreach ($transaction_actions['create'] as $k => $row): ?>

                            <input type="checkbox" name="create_payment[]" value="<?= $k ?>" checked>
                            <?php foreach ($row as $field): ?>
                                <?= $this->e($field) ?>
                            <?php endforeach ?>

                    <?php endforeach  ?>

    <?php endif?>

`
The data stored in $transaction_actions['create']. is 300k+ chars long.
The button after that nor the footer is getting rendered.
Tried the same thing with providing the assembled table as string and echoing it. Same result.  Heres the code:
<?= $partner_table_generator->createTable('create') ?>
Maybe it's my fault but i don't know what i should change to get it to work.
Timeout of php is set to 0 and memory to 512mb

Have you checked your error log for messages?  Every time this has happened to me it's either been out of memory or unexpected data my code wasn't prepared for.

Yeah already checked that, no error no out of memory. Its working perfectly fine if i just echo it out in php but thats not the way i want to use it

What version of plates are you using?  What charset is the data you are trying to escape?  Are you setting escape_encoding anywhere?

I am currently using plates version 3.3 and the charset is UTF-8. It's 20 columns wide and 400+- rows in total for this one table.
Just tried to create a DOMDocument and pass that but same result.

Got it working on my vm and its working fine. Dont know what was the problem, maybe memory issue. Thanks for your help!


Fix flakey list log entries test

Coverage increased (+0.005%) to 84.572% when pulling 3115bb72b40ca99306fd7221fcf9a95f0777d16d on mziccard:logging-flakeyness into fff9a445248c4ea9cf779ef686e1aec27aa2c289 on GoogleCloudPlatform:master.

/cc @lesv this test fails in Travis from now and then, this PR should reduce the flakeyness.


[CONTRIBUTING] Propose to use a shell script to compile a list of relevant versions

tbd. Propose to use a shell script to compile a list of relevant versions and install paths.

I don't suspect that many people read this, but it certainly can't hurt. :+1:


[For Discussion] dynamic JSON input type

There are some challenges with the RequestContent.Merge API described in https://github.com/Azure/azure-sdk-for-net/issues/31943, including:

If the goal of JsonData is to look and feel like a .NET model type, we would use property-assignment for round-tripping.
Array semantics are unclear - e.g. does merging an array replace the array or update the values in the array?  If the latter, how do you update a value at a given index without having to specify all the values in the array?

Concerns about the setter APIs on JsonData were largely around user confusion about when to use the strong-typed JsonData APIs vs. accessing the type through the dynamic interface, and included:

It was not to users clear how to add/insert items to arrays
It was not clear to users how to create JSON payload that is an array at the top level. They were trying to start with the strongly typed APIs.
It was not clear how to remove properties/items.

This PR takes a look at how we might use JsonData (or something like it) as an input type to protocol methods.
For example, input creation might look like:

A sequence of property assignments: Sample

    dynamic input = RequestContent.CreateDynamic(/*optional serializer options*/);
    input.analysisInput.conversationItem.text = "Send an email to Carol about tomorrow's demo";
    input.analysisInput.conversationItem.id = "1";
    input.analysisInput.conversationItem.participantId = "1";
    input.parameters.projectName = projectName;
    input.parameters.deploymentName = deploymentName;
    input.parameters.stringIndexType = "Utf16CodeUnit";
    input.kind = "Conversation";

    Response response = client.AnalyzeConversation((RequestContent)input); // Or input.FromDynamic();

Dynamic property assignments mixed with anonymous types: Sample

    dynamic input = RequestContent.GetDynamic(/*optional serializer options*/);
    input.kind = "Conversation";
    input.analysisInput.conversationItem = new
    {
        text = "Send an email to Carol about tomorrow's demo",
        id = "1",
        participantId = "1",
    };
    input.parameters = new
    {
        projectName,
        deploymentName,

        // Use Utf16CodeUnit for strings in .NET.
        stringIndexType = "Utf16CodeUnit",
    };

    Response response = client.AnalyzeConversation(RequestContent.Create(input));

Array additions: Sample
Array at top level: Sample
Array removals: Sample

API change check
API changes are not detected in this pull request.


[stable] Backport GitHub RSA key revocation

Backports for 1.68.2 patch release:

Use the new GitHub key: #11883
Bump the stable version number
Fix semver check (to pass CI): #11817
Support revocation markers: #11635
Revoke the previous GitHub RSA key: #11889

r=me with my release team hat (not sure if bors would let me approve in this repo)

@bors r=pietroalbini

:pushpin: Commit 8c2456be5fe5a4e15e6d7221deac16dc2cdb911e has been approved by pietroalbini
It is now in the queue for this repository.

:hourglass: Testing commit 8c2456be5fe5a4e15e6d7221deac16dc2cdb911e with merge 6feb7c9cfc0c5604732dba75e4c3b2dbea38e8d8...

:sunny: Test successful - checks-actions
Approved by: pietroalbini
Pushing 6feb7c9cfc0c5604732dba75e4c3b2dbea38e8d8 to rust-1.68.0...


silencing ~errors~ warnings

I want to make this output go away,
[ { Error: ENOENT: no such file or directory, open '[pwd]\app\public\script\cytoscape-cola.min.js'
    errno: -4058,
    code: 'ENOENT',
    syscall: 'open',
    path: '[pwd]app\\public\\script\\cytoscape-cola.min.js' } ]

the inside of the function looks approximately like this
location = this.location || process.cwd()

  configuration.assets = {
    from: location
  }

  configuration.postcss.plugins = [
    require('autoprefixer'),
    require('cssnano')({preset: 'default'})
  ]

  configuration.posthtml.plugins = [
    require('posthtml-inline-assets')(configuration.assets),
    require('posthtml-postcss')(
      configuration.postcss.plugins,
      configuration.postcss.options,
      configuration.postcss.filter
    ),
    require('htmlnano')({})
  ]

  compiled = await posthtml(configuration.posthtml.plugins).process(input)

I ~want~ need a way to silence this. It's highly inappropriate in some scenarios, for example a build tool.

oops after several changes i realized its from not catching the posthtml process.
should make for a nice archive though ;)

The PR was merged, so I’m closing this. Thanks! 😄


Added Function to Remove All Annotations of CCHMapClusterController

Because of the difference between collection types of Swift and
Objective-C, it was hard to remove all annotations from
CCHMapClusterController with removeAnnotation function.
This will be only a little useful function for Swift users.

Sorry, I don't understand why calling removeAnnotations:withCompletionHandler: is inconvenient from Swift. Your implementation doesn't seem useful enough to add to a generic library.


BUG - Picker in AddMaintenanceView is not working

Describe the bug
It is not possible to select another vehicle in the AddMaintenanceView.
To Reproduce
Steps to reproduce the behavior:

Add more than on vehicle in the settings screen
Add a new maintenance
Try to select the second vehicle in the picker

Additional Context

Problem is that the picker selection should only use id not the vehicle object.

@mikaelacaron  I already have a working bugfix, but I wanted to give someone else the chance to fix it. If the solution is needed immediately I can open a PR with the fix.

@Drag0ndust This was fixed, you saw this on dev with the latest changes?

yeah, dev from around one hour ago

I'll double check this later! 👍 thanks for making the bug report!

Can you assign this to me?


⚠ Bofrost.lu has degraded performance

In b49c39e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1044 ms

Resolved: Bofrost.lu performance has improved in abae7bf after 6 minutes.


QUERY: Export whitespace % without shriking VHDs

Hi
Is it possible to export the current whitespace % for each VHD into a CSV to be used to quantify running the full script? I work in an environment with thousands of users and have been asked to provide evidence to quantify running the script. Is it possible to have a pass where it collects the data including % whitespace but does not shrink any VHDs?

Not right now, it's on the roadmap to provide a '-whatif' function.
Usually the first run will save 50-90% space.
Jim
On Tue, 17 Aug 2021 at 16:26, nmunkley @.***> wrote:

Hi
Is it possible to export the current whitespace % for each VHD into a CSV
to be used to quantify running the full script? I work in an environment
with thousands of users and have been asked to provide evidence to quantify
running the script. Is it possible to have a pass where it collects the
data including % whitespace but does not shrink any VHDs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FSLogix/Invoke-FslShrinkDisk/issues/44, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE365O55PDUWIBVISNRRDILT5J5S5ANCNFSM5CKDVIIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Thanks for confirming. That will be handy when it is available. I have already run this once before on one FSlogix data store and need to run it on a 2nd. But part of ongoing maintenance is to keep on top of this, so -whatif can be run monthly and then only run the full when it will provide a reasonable return as it took several hours the first time.

It shouldn't take several hours.
Run it remotely from a Windows 10/ 2019 machine, give the machine lots of
CPU cores and set the throttle limit to double the amount of cores should
really shorten your run time.
Jim
On Tue, 17 Aug 2021 at 16:55, nmunkley @.***> wrote:

Thanks for confirming. That will be handy when it is available. I have
already run this once before on one FSlogix data store and need to run it
on a 2nd. But part of ongoing maintenance is to keep on top of this, so
-whatif can be run monthly and then only run the full when it will provide
a reasonable return as it took several hours the first time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FSLogix/Invoke-FslShrinkDisk/issues/44#issuecomment-900419332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE365O6VSQWNSKVZB7GOVQLT5KA5RANCNFSM5CKDVIIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Avoid casting with scope object to Dynamic Object

We were wrongly casting with scope object to a Dynamic Object while trying to access this.

@curtisman @pleath @akroshg Can you please take a look?

https://github.com/Microsoft/ChakraCore/issues/3049

ActivationObject is a DynamicObject. What kind of object were we casting?

It was a WithScopeObject which is not a Dynamic Object

Okay. Thanks.


IE11 doesn't support Object.assign()

https://github.com/HelloFax/hellosign-embedded/blob/69399ddb82f7a08815494b80c90bed919d2b7bd1/src/embedded.js#L652
which results in this error in IE:
Object doesn't support property or method 'assign' index.0e9f795f01eede3c6853.js (1,1956673)
IE 11 doesn't support Object.assign(). Would you consider using a polyfill?
if (typeof Object.assign != 'function') {
  // Must be writable: true, enumerable: false, configurable: true
  Object.defineProperty(Object, "assign", {
    value: function assign(target, varArgs) { // .length of function is 2
      'use strict';
      if (target == null) { // TypeError if undefined or null
        throw new TypeError('Cannot convert undefined or null to object');
      }

      var to = Object(target);

      for (var index = 1; index < arguments.length; index++) {
        var nextSource = arguments[index];

        if (nextSource != null) { // Skip over if undefined or null
          for (var nextKey in nextSource) {
            // Avoid bugs when hasOwnProperty is shadowed
            if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
              to[nextKey] = nextSource[nextKey];
            }
          }
        }
      }
      return to;
    },
    writable: true,
    configurable: true
  });
}

I have a work around

Install babel-plugin-transform-object-assign

npm install babel-plugin-transform-object-assign --save

Modify the webpack's babel-loader to exclude /node-modules except hellosign-embedded.

exclude: /node_modules\/(?!(hellosign-embedded)\/).*/,

Convention for npm packages is to ship transpiled javascript to maximize cross browser compatibility and keep build times fast by alleviating the need for consumers of the package to transpile it at build.
Ideally you guys would include babel-plugin-transform-object-assign in your your build and ship the transpiled code.  I'm happy to help set this up if that would help.  Let me know.


⚠ Fetchers has degraded performance

In f3356f6, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 724 ms

Resolved: Fetchers performance has improved in 8ac0f01.

Resolved: Fetchers performance has improved in 8ac0f01.


SharePoint  custom property control with angular 2+

how to implement SharePoint custom property control with angular 2+?

You asked the same question, and I responded, to my post on my blog: https://www.andrewconnell.com/blog/using-angular-elements-in-sharepoint-framework-projects#comment-4603853160
Same answer as there:

The property pane controls are all built using React. I wouldn't recommend building custom controls for the property pane with Angular, but it's technically possible. This article shows how to create custom controls with React: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/build-custom-property-pane-controls
This module has a HOL that shows the same thing in a more step-by-step process: https://github.com/SharePoint/sp-dev-training-spfx-webpart-proppane
You'll have to figure out how to create the control using Angular Elements, but you can use the approaches I outline in this blog post for that.


Error for me with about.php page

At the 11:05 mark, I have replicated everything in my own domain as I watch, but for the about.php page, I'm getting this error. I used the header code from the page provided. Any ideas?
A PHP Error was encountered
Severity: Error
Message: Call to undefined function base_url()
Filename: templates/header.php
Line Number: 5
Backtrace:

Never mind. I was able to get it working.