CocoaPods could not find compatible versions for pod "flutter_macos_webview"

I have a coca pod install issue on my mac m1
Error:
[!] CocoaPods could not find compatible versions for pod "flutter_macos_webview":
In Podfile:
flutter_macos_webview (from Flutter/ephemeral/.symlinks/plugins/flutter_macos_webview/macos)
Specs satisfying the flutter_macos_webview (from Flutter/ephemeral/.symlinks/plugins/flutter_macos_webview/macos) dependency were found, but they required a higher minimum deployment target.
My flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (2 available)
• No issues found!
My pubspec.yaml file:
name: dsm_macos
description: Manage your driving school easily.
version: 0.0.1+1
publish_to: "none"
environment:
sdk: '>=2.15.1 <3.0.0'
dependencies:
flutter:
sdk: flutter
flutter_macos_webview: ^0.0.6
cupertino_icons: ^1.0.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: false
My Podfile:
platform :osx, '10.11'
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure "flutter pub get" is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run "flutter pub get""
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_macos_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_macos_pods File.dirname(File.realpath(FILE))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_macos_build_settings(target)
end
end

The error text says:

...but they required a higher minimum deployment target.

So, you could try to update MINIMUM_DEPLOYMENT_TARGET env variable in Build Settings in Xcode

Is there no way you can lower your target from .14?


please prepare znc for python3.8

checking for python3 >= 3.0... yes
configure: error: python not found. Try --disable-python.
checking for Py_Initialize... no
python3-3.8.0~b2
https://docs.python.org/3.8/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
Fedora Bug Report: https://bugzilla.redhat.com/show_bug.cgi?id=1718369

Does it work with CMake build? It uses a different method of finding python. For a quick test, you can replace configure with configure.sh in the existing command.
I can't test this (or test the fix) myself because python 3.8 isn't available yet.


Index page

New feature implemented
This PR includes the forms app developed in #2, merged with the main app

What is the current behavior?
A user can be either authenticated or not: the homepage won't change

What is the new behavior?
If an user is authenticated, the page will display the profile pic (model not created yet ), witch on click, will display a menu, where the user will be able to access profile related pages

Next Step
The app should check whether or not a user has configured an email yet and in not, forse to do so.
This is necessary due to #3

LGTM


Documentation: Speech Dispatcher for Firefox

Problem
Speech Dispatcher for Firefox hasn't been documented properly, and may cause confusion for users who want to use speech synthesis.
Proposal
Add nixpkgs.config.firefox.speechSynthesisSupport option in the Nixpkg manual.
Checklist

[x] checked latest Nixpkgs manual (source) and latest NixOS manual (source)
[x] checked open documentation issues for possible duplicates
[x] checked open documentation pull requests for possible solutions

It should default to true imo; it's an accessibility option.

It should default to true imo; it's an accessibility option.

For yesterday.

Disagree :-1:


Cannot send keyboard keys

Im using appium-flutter-driver with a robot framework library. Im trying to send a key using Press Keycode which is the implementation of: driver.press_keycode(key code, metastate).
On the console log I have the following error:
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Command not support: "mobile: pressKey"
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Command not support: "mobile: pressKey"
at getResponseForW3CError (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:1092:9)
at asyncHandler (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/protocol.js:491:57)
on the appium server console I have the following:
[debug] [FlutterDriver@a881 (92bb8268)] Calling AppiumDriver.execute() with args: ["mobile: pressKey",[{"keycode":"66"}],"92bb8268-ea8f-48bc-8226-465d16f1389b"]
[debug] [FlutterDriver] Executing Flutter driver command 'execute'
[debug] [FlutterDriver@a881 (92bb8268)] Encountered internal error running command: Error: Command not support: "mobile: pressKey"
Im using Appium v2.1.3 and appium-flutter-driver v2.1.0
Can you help?

Except for https://github.com/appium/appium-flutter-driver?tab=readme-ov-file#commands commands, you need to change the context to NATIVE_APP like https://github.com/appium/appium-flutter-driver?tab=readme-ov-file#context-management . Then, the mobile: command will work

Thanks @KazuCocoa  for your quick answer ! Will try to implemente that!

I've implemented what you suggested, and I was able to send the 'enter' key, the problem now is that somehow this key is being "ignored" by the application, I think its related to the problems reported on these tickets: https://github.com/appium/appium-flutter-driver/issues/40
https://github.com/flutter/flutter/issues/15415
Do you have any suggestion on how to fix this issue ?

Hn, then, it seems like the flutter_driver (developed by the Flutter team) 's limitation. If so, the only way to use keyboard is probably uiautomator2 driver with non-enableFlutterDriverExtension build (so this driver may not work for the use case)

Hm, according to https://github.com/appium/appium-flutter-driver/issues/246 , sending key code via adb worked?
Then, you could do the same thing via https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-shell


Allow running symlink-based tests on supported Windows environments

The logic to detect the symlink support on Windows is copied from the Symfony Filesystem component testsuite. The original implementation is from @nicolas-grekas.

Thanks! :)

@webmozart note that the filesystem repository is running the same tests many times, as you have several test classes extending EditableRepositoryTest for it, and so all tests of the parent classes are running multiple times. This may need to be improved


[FEATURE REQUEST] reduce image size.

If it is possible to reduce the size of the Image, a lot of storage space would be saved.
Also it would be amazing if we could cut the image.

If it is possible to reduce the size of the Image, a lot of storage space would be saved. Also it would be amazing if we could cut the image.

Hi, did you mean the size is storage size? For example, if an image is 3MB, you want to reduce it to lower size?
BTW, if it's what you want, the reduced image may reduce the quality or resolution of the image.

Yes that's what I want very often. Reduce the resolution for, so that it takes less space, but also to have only a small image displayed.
Often I include book cover in my vault and I want them to be displayed just so that I can recognize it visually

Yeah Image Resize would be useful! Drag the corner of the image, and it resizes (usually wanting to make an image that is much to large a smaller more useful size for a standard screen). The aspect ratio should remain the same.
Something like this:


Use goreleaser for releasing code

Set up repo for release.

I tested this release by tagging it at v0.0.0 and then installing with homebrew and pulling from docker hub. Both worked. The release is also available here: https://github.com/trussworks/health-checker/releases


[Forwardport] ingress controller workload fails to deploy in a windows 1.21 cluster

Forwardport of https://github.com/rancher/rancher/issues/33756

Closing this issue as we will be doing a diff between master and 2.6 to make sure PRs make it in


Set up notifier immediately after creating results table view

We previously did not set up the notifier until update_tableview was called while m_mode was Mode::TableView. This led to us not creating the notifier until the second access (since m_mode is query on the first access when the table view is created). This PR corrects this buggy behavior to what was intended.
Note that this fall through leads to sync_if_needed being unnecessarily called, but it's supposedly cheap. We could duplicate the notifier setup code in the query case if we're worried about this.
//cc @bdash @tgoyne

The code change looks fine. @tgoyne, can you comment as to whether it was intentional to defer creating the notifier in this case? I dug around the PR that added this code and couldn't find any confirmation one way or the other.

I had thought that it was being created on the first access that required a TV, and I don't remember ever thinking that it should only be on the second. I guess it'd be worth making sure that the cocoa notification tests still pass with this change, but assuming they do 👍 .

Seems to pass after a rebase! 💃


Do not allow to connect devices while lid is closed

The App works great when you have a device connected and you close the lid.
But if your lid is already closed and you open your earphones they connect to the macbook again, and if you are walking and want to connect it to the phone... then you should take out the laptop to continue (I know some earphones allow multiple connect, not mines...)
Would be great to have an option to say that a device can't be connected while the lid is closed.
Thanks for your work :-)

I don't have this problem, oddly enough. If my laptop is closed, nothing can connect to it over Bluetooth. I can even see the laptop in my phone's devices list.
Bluesnooze may not be installed properly on your laptop. Try uninstalling and reinstalling it. And check to see if you have any other applications that manage Bluetooth connections; one of them may be interfering with Bluesnooze.

The App works great when you have a device connected and you close the lid. But if your lid is already closed and you open your earphones they connect to the macbook again, and if you are walking and want to connect it to the phone... then you should take out the laptop to continue (I know some earphones allow multiple connect, not mines...) Would be great to have an option to say that a device can't be connected while the lid is closed. Thanks for your work :-)

The App works great when you have a device connected and you close the lid. But if your lid is already closed and you open your earphones they connect to the macbook again, and if you are walking and want to connect it to the phone... then you should take out the laptop to continue (I know some earphones allow multiple connect, not mines...) Would be great to have an option to say that a device can't be connected while the lid is closed. Thanks for your work :-)

I have the same problem!


fix(build): fix civetweb linking in cmake module

Signed-off-by: Luca Guerra<EMAIL_ADDRESS>Co-authored-by: Federico Di Pierro<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
On Debian or Ubuntu systems it is possible that the GNU Install dir LIBDIR (CMAKE_INSTALL_LIBDIR) can be different depending on the install prefix chosen (https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html) . This can create issues when trying to compute the civetweb lib path using the main CMakeFile CMAKE_INSTALL_LIBDIR, leading to linking errors like:
make[2]: *** No rule to make target 'civetweb-prefix/src/civetweb/install/lib/x86_64-linux-gnu/libcivetweb.a', needed by 'userspace/falco/falco'.  Stop.

This forces the install directory to lib so it's possible to deterministically compute the path.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: LucaGuerra
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 1fe84e17c60614873f6be4da8a7ba376dfd4d008

/milestone 0.32.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Imports failing - bad table definition.

The Nexus log, during import, shows:
Createtable command IF OBJECT_ID ('tbl_TopN_QueryPlanStats') IS NULL CREATE TABLE [tbl_TopN_QueryPlanStats] (...(hoondehoon, borkborkbork) [stmt_text] VarChar(8192)...
Error is:
System.Data.SqlClient.SqlException (0x80131904): The size (8192) given to the column 'stmt_text' exceeds the maximum allowed for any data type (8000).
This is reading the text files -
(servername)__SQL Server Perf Stats Snapshot_startup.OUT
(servername)__SQL Server Perf Stats_Startup.OUT (and, of course, ...snapshot_shutdown.OUT

Side note: I downloaded the "release" - <IP_ADDRESS>.
Since a table definition is a typo-style error, I looked through the files to see if I could find 8192. I couldn't; so I kept searching.
Since I get the error above on tbl_TopN_QueryPlanStats; I looked for that. I found it in:
https://github.com/Microsoft/SqlNexus/blob/master/RowsetImportEngine/TextRowsets.xml
The error was on column stmt_text - but when the table shows up in TextRowsets.xml, it doesn't even have a column stmt_text.
Okay: I'm not a .Net guru by any stretch! But there's something non-obvious that went wrong here. Is it possible that the "release" copy of SQL Nexus that I downloaded here isn't the current release with fixes?

@JohnP-AWS , The error you mentioned is expected, as data type stmt_text can have maximum 8000 character, so it will not accept any data which is more that 8000 character.
Error is:
System.Data.SqlClient.SqlException (0x80131904): The size (8192) given to the column 'stmt_text' exceeds the maximum allowed for any data type (8000).
If this is not you trying to say , please explain in detail with repro steps.

Closing this for now, please open a new case in case of more clarification or help needed.

@JohnP-AWS , just to repro the issue at our end ,could you please share the log which you tried to import and facing the issue.

Based on some preliminary research, the table definition (specifically column lengths for this issue) is dynamically built based on column length of the data.
There is a comment that states that truncation can occur in RowsetImportEngine.VarCharColumn , but I don't see a truncation taking place here:
data = (string)Convert.ToString(columndata);
Perhaps, this is exactly where we should truncate down to 8000 characters.
I think Pradeep also found another workaround. We will investigate further and see what we find

We did not find a way to reproduce the original issue reported here and cannot understand how exactly it was encountered. But we resolved the immediate issue by making the stmt_text column a varchar(max) as well as resolved a couple of related bugs that got exposed in the process.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Coverage remained the same at 100.0% when pulling 8e4dcc1255d4b06c904f0e2ff0c95bb876c467eb on template-sync-1 into d72cc7f4d899138e21dcbbc813e1c6da9f8b10e5 on master.


Google TTS responding no 'group' attribute in log

Home Assistant release with the issue:

Last working Home Assistant release (if known):
77.3
Operating environment (Hass.io/Docker/Windows/etc.):
RPi 3B+ running HASSBIAN
Component/platform:
TTS:
  - platform: google

Description of problem:
I am getting an error stating that no 'group' attribute from my log when activating any automation calling for google_tts_say
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- id: '1534539041835'
  alias: "Google Todays Time/Temperature"
  trigger:
    platform: time
    at: '09:00:00'
  condition:
    condition: time
    weekday:
    - sun
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
  action:
  - service: media_player.turn_on
    entity_id:
    - media_player.family_room_speaker
    - media_player.living_room_speaker
  - delay: 00:00:02
  - service: media_player.volume_set
    data_template:
      entity_id:
      - media_player.family_room_speaker
      - media_player.living_room_speaker
      volume_level: '0.7'
  - delay: 00:00:02
  - service: tts.google_say
    entity_id:
    - media_player.family_room_speaker
    - media_player.living_room_speaker
    data_template:
      message: "The current time is {{ states('sensor.clock_time') }},
        Today's weather will be a {{ states('sensor.dark_sky_icon') }},
        with a high of {{ states('sensor.dark_sky_daytime_high_temperature') }} degrees."
      cache: false
  - delay: 00:00:15
  - service: media_player.turn_off
    entity_id:
    - media_player.family_room_speaker
    - media_player.living_room_speaker

Traceback (if applicable):
2018-09-20 09:56:10 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall tts.google_say (c:d42417654cae40589b5a4472389d13da): cache=$
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1117, in _event_to_service_call
    await service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 134, in async_say_handle
    options=options
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 300, in async_get_url
    engine, key, message, use_cache, language, options)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 313, in async_get_tts_audio
    message, language, options)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/google.py", line 83, in async_get_tts_audio
    token.calculate_token, part)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/gtts_token/gtts_token.py", line 28, in calculate_token
    seed = self._get_token_key()
  File "/srv/homeassistant/lib/python3.5/site-packages/gtts_token/gtts_token.py", line 62, in _get_token_key
     a = re.search("a\\\\x3d(-?\d+);", tkk_expr).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Additional information:
The automation worked before the release of 0.78 and the announcement of a the paid cloud service (not saying that is the issue)

#16749

I have the same issue with "AttributeError: 'NoneType' object has no attribute 'group'"

i

I have the same issue with "AttributeError: 'NoneType' object has no attribute 'group'"

i have tried the fixes on the other post linked above. but now I have a different error.

Thank you, @rotcop4u2 , now it is clear.
I'm using hassio, therefore, I will not be able to implement the fix in such way. Maybe it would be good to keep this issue open then?

@Molodax do you use samba at all for remote file access on your pc? or mac?

I use Samba, however, it seems that I have no access to /usr/ on hassio unfortunatelly

Same problem here, same error message.  Also using hass.io so no hope for a DIY patch.  Hope this gets resolved soon!

Same issue here.  No patch possible in hass.io.
This combined with https://github.com/home-assistant/home-assistant/issues/16686 makes a real mess of tts.google_say and cast since 0.78....
Hope this gets fixed with highest priority.  You have basically broken everything that works with tts.google and/or cast....

Tried rolling back to 0.77.3 but still not working.  Guess I'll have to move over all my notifications to Alexa Media Player TTS for now.

Until it's fixed try this.
Unpack this zip file with two folders to custom_components folder
gtts_token.zip
i tested this in docker but thus should work in hassio too.

this is fixed in: https://github.com/home-assistant/home-assistant/pull/16775

@rpitera @vladosam I also reverted back to 0.77.3 without any luck.
Afterwards I tried the fix of vladosam and everything works again now.
So on 0.77.3 with this fix, everything is up and running.

@dshokouhi Thanks for the info.  I hope they fix the cast issue also in 0.78.3.  For now I stick to 0.77.3

@ArnoutVerbeken the cast issue was fixed in 0.78.1 unless you still have the issue you need to provide your logs to the developers

I see you did provide info, ok seems like a few people still have issues.  Personally I just used a config entry and let my devices get discovered on their own.

@vladosam - Giving it a try now.  Will report back.

This fix works with 0.78.1 so go ahead and update. ;)

Fixed via #16775

Issue recurring for me again on hassio 0.83.0
Traceback (most recent call last):   File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call     await service_handler.func(service_call)   File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 137, in async_say_handle     options=options   File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 306, in async_get_url     engine, key, message, use_cache, language, options)   File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 318, in async_get_tts_audio     message, language, options)   File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/google.py", line 83, in async_get_tts_audio     token.calculate_token, part)   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run     result = self.fn(*self.args, **self.kwargs)   File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 28, in calculate_token     seed = self._get_token_key()   File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 57, in _get_token_key     tkk_expr = re.search(".*?(TKK=.*?;)W.*?", line).group(1) AttributeError: 'NoneType' object has no attribute 'group'

Issue recurring for me again on hassio 0.83.0
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call await service_handler.func(service_call) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 137, in async_say_handle options=options File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 306, in async_get_url engine, key, message, use_cache, language, options) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 318, in async_get_tts_audio message, language, options) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/google.py", line 83, in async_get_tts_audio token.calculate_token, part) File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 28, in calculate_token seed = self._get_token_key() File "/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 57, in _get_token_key tkk_expr = re.search(".*?(TKK=.*?;)W.*?", line).group(1) AttributeError: 'NoneType' object has no attribute 'group'

Same.  I updated to v1.1.3 of gtts-token but that didn't resolve the issue.  Running in venv.

I'm still on 1.1.2 and I am getting the same issue again
On Thu, Nov 29, 2018, 7:26 PM Trejep<EMAIL_ADDRESS>wrote:

Issue recurring for me again on hassio 0.83.0
Traceback (most recent call last): File
"/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177,
in _event_to_service_call await service_handler.func(service_call) File
"/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/init.py",
line 137, in async_say_handle options=options File
"/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/init.py",
line 306, in async_get_url engine, key, message, use_cache, language,
options) File
"/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/init.py",
line 318, in async_get_tts_audio message, language, options) File
"/usr/local/lib/python3.6/site-packages/homeassistant/components/tts/google.py",
line 83, in async_get_tts_audio token.calculate_token, part) File
"/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(self.args, **self.kwargs) File
"/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 28,
in calculate_token seed = self._get_token_key() File
"/usr/local/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 57,
in _get_token_key tkk_expr = re.search(".?(TKK=.?;)W.?", line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Same. I updated to v1.1.3 of gtts-token but that didn't resolve the issue.
Running in venv.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/16766#issuecomment-443044965,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkOsJkm4uMaY6OdSpSvU2yG0m9fBSWP0ks5u0HtLgaJpZM4Wzd3h
.


Running the code without Jupyter

I'm trying to run the sample code without Jupyter (i can do it with Jupyter) but i'm running into errors.
Is there any instructions / insights on how to run the code by iteself ?
(i'm new to python, so very possible its just something i dont understand about the environment)
errors i'm getting :
Traceback (most recent call last):
File "\examples\JobSpy_AllSites.py", line 4, in
jobs: pd.DataFrame = scrape_jobs(
File "\jobspy_init_.py", line 118, in scrape_jobs
site_value, scraped_data = future.result()
File "_base.py", line 451, in result
return self.__get_result()
File "_base.py", line 403, in _get_result
raise self.exception
File "thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "\jobspy_init.py", line 109, in worker
site_val, scraped_info = scrape_site(site)
File "\jobspy_init.py", line 99, in scrape_site
scraper = scraper_class(proxy=proxy)
TypeError: IndeedScraper.init() got an unexpected keyword argument 'proxy'

id just use the example in the readme. apologies need to update the examples folder.


Fix deprecation warning with sass 1.56.0

Closes #37424
Description
With the new sass version 1.56.0 (https://github.com/sass/dart-sass/releases/tag/1.56.0) I get following deprecation warning:
Deprecation $weight: Passing a number without unit % (100) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units

Type of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Can we release it? :)

Deprecation Warning: $weight: Passing a number without unit % (100) is deprecated.
To preserve current behavior: $weight * 1%
More info: https://sass-lang.com/d/function-units
```╷

201 │   @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
│           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_functions.scss 201:11            opaque()
node_modules/bootstrap/scss/mixins/_table-variants.scss 4:28  table-variant()
node_modules/bootstrap/scss/_tables.scss 147:3                @import
node_modules/bootstrap/scss/bootstrap.scss 20:9               @import
resources/sass/app.scss 5:9                                   root stylesheet```

Deprecation Warning: $weight: Passing a number without unit % (0) is deprecated.
To preserve current behavior: $weight * 1%
More info: https://sass-lang.com/d/function-units
╷

207 │   @return mix(white, $color, $weight);
│           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/bootstrap/scss/_functions.scss 207:11  tint-color()
node_modules/bootstrap/scss/_functions.scss 217:57  shift-color()
node_modules/bootstrap/scss/_alert.scss 61:18       @import
node_modules/bootstrap/scss/bootstrap.scss 33:9     @import
stdin 31:9                                          root stylesheet

I have sass 1.57.1, still getting same warning

Hey @Janatbek, if so please create a new issue with all the versions used to reproduce the problem.

@Janatbek Which bootstrap version do you use? This bugfix is only included in the current version v5.2.3

I'm on 5.2.3 and I am still seeing this issue.
Deprecation Warning: $weight: Passing a number without unit % (80) is deprecated.

To preserve current behavior: $weight * 1%

More info: https://sass-lang.com/d/function-units

    ╷
207 │   @return mix(white, $color, $weight);
    │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    node_modules/bootstrap/scss/_functions.scss 207:11      tint-color()
    src/website/web/src/theme/variables/palette.scss 26:15  @import
    src/website/web/src/theme/variables/index.scss 1:9      @import
    src/website/web/src/theme/theme.module.scss 7:9         @import
    src/website/web/src/theme/index.scss 3:9                root stylesheet

❯ npm ls bootstrap
<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
    node_modules/bootstrap/scss/_functions.scss 207:11      tint-color()

⬇
// scss-docs-start color-functions
// Tint a color: mix a color with white
@function tint-color($color, $weight) {
  @return mix(white, $color, $weight);
}

Also, the notice on GH says:

The pull request first appeared in v5.3.0-alpha1

This was fixed in 5.2.3. If you are getting the warning, it's either your local modules or another part in your Sass.
https://github.com/twbs/bootstrap/actions/runs/3517040211/jobs/5894345876


Enable command line arguments for serve target

This feature enables users to specify extra command line arguments for the serve target. Beyond just go run main.go, we can now have invocations of the form go run main.go subcommand -flag --double-dash-option (as an example).
This PR also brings the serve executor's JSON schema in sync with its TypeScript definition. Additionally, it removes the outputPath field from the schema, which was not being used by this target (as there is no build output when running the application).

This has been released as<EMAIL_ADDRESS>🥳. Thanks for your contribution @counterposition!


Serialization documentation

The first paragraph of
https://www.boost.org/doc/libs/1_82_0/libs/serialization/doc/index.html
contains the following sentence:

Depending on the context, this might used implement object persistence, remote parameter passing or other facility.

It seems to be missing a few words; this is a suggestion to make it a little more readable:

Depending on the context, this might [be] used [to] implement object persistence, remote parameter passing or other facility.

@mclow can i work on it?


don't use google fonts, fixes #1

The fonts weren't used, so I made some changes to the PR:

--md-text-font und --md-code-font CSS variables needed to be set for the fonts to be used
I added the extra.css to mkdocs.conf
The fonts were not copied into the webroot, I fixed that by moving the assets folder to ./docs/

Renamed LICENSE.md to LICENSE.txt to prevent mkdocs thinking it's a page

Some font weights were missing, I added them and updated the fonts while being at it.

Now the page looks exactly the same as before and no external resources are fetched.


Problem Matcher is not localized

the problem exists in vscode build task for extension development
the problem matcher $tsc-watch is not localized.
it cannot detect the end of tsc --watch when my pc locale is set to Persian
locale: English - works✔
[11:41:46 AM] Starting compilation in watch mode...

[11:41:49 AM] Found 0 errors. Watching for file changes.

locale: Persian - doesn't work❌
[۱۱:۴۳:۲۲] Starting compilation in watch mode...

[۱۱:۴۳:۲۵] Found 0 errors. Watching for file changes.

@mjbvz fyi


Auto start not working

Hello,
This script works great once I run it manually. However it will not auto start for me. I followed your guide and placed the file on the nas and setup the smart settings and task. rebooted and the drives stay spinning. If I run the command manually it will work and keep spinning the disks down after the time set.
FreeNAS-11.3-U3.1
No VM's or anything
OS installed on 2 240GB SSD's
Pool is 24 1TB HDD's in 3 vdevs of Raid-z2 (15tb usable space)
The dataset is set to freenas-boot
The system hardware is:
Dell R730xd
2x Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz
PERC H730 Min (in HBA mode)
384GB DDR4 1866Mhz ECC ram
24x 1TB 7200RPM HDD
2x 240GB SSD (for mirrored os)

Heyho supra89t,
can you please provide the following additional information?

Where have you placed the spindown_timer.sh script? Is this location accessible right after boot? Do you might need to use the delayed start script? See: https://github.com/ngandrass/freenas-spindown-timer#delayed-start-ie-script-placed-in-encrypted-pool
Is the scripts execution bit set? Which command do you use to start the script manually?
Please provide a screenshot of the configured "Init/Shutdown Script".

Apart from that you can check if the script is actually getting executed after boot. See: https://github.com/ngandrass/freenas-spindown-timer#verify-autostart
I hope that we can quickly fix your issue :)

I placed it on the root of the boot drive, that did not work, placed it on a SSD pool, same issue. Both can be run manually though.

I ran the chmod -x on the file, when I run it manually i run it as bash ./spindown_timer.sh

I think we found the problem: It's chmod +x spindown_timer.sh with a + not a -.
Using -x actually discards the executable flag, hereby leading to an unexecutable script (unless you explicitly run it via bash). You should be able to execute the script as /mnt/SSD/Scripts/spindown_timer.sh (note the missing bash in front).
Please try setting the executable bit correctly by chmod +x /mnt/SSD/Scripts/spindown_timer.sh and run the script trough either /mnt/SSD/Scripts/spindown_timer.sh or when in the Scripts-folder directly as ./spindown_timer.sh.

Thank you! you are right. Its working now, system is idle at 140W compared to 240W. Seeing as this will be a plex media server, newer movies will be kept in the cache and will not need to spin up the disks. And with 384GB of RAM @ 8Gb/Movie ... thats a lot of movies lol

I'm glad to hear that the script now works for you :)
If you experience problems in the future feel free to open another issue.


HTTP exception mapping missing ALREADY_EXISTS

On HTTP exceptions, exceptions that should be ALREADY_EXISTS (409) are being propagated as ABORTED (also 409).
This code change seems to have removed the behavior: https://github.com/googleapis/sdk-platform-java/commit/cdf461425812f5392436fcd8b4dc6096347036c9#diff-ecd504e117f5a7eedb2f2df5df3a32ac6bc85e21c870ff702c0de2771b33a21eL125-L129

Is there a reason for this, or can we restore this logic?
Thanks!

The pull request associated to the commit points to a wrong URL due to repository relocation. The correct pull request is https://github.com/googleapis/gax-java/pull/1570

gax-java surfaces errors in terms of ApiExceptions, which are modeled precisely following the canonical status codes (go/canonical-codes). (That is, there's a one-to-one correspondence between the canonical error codes and the Java exceptions.)

go/canonical-codes does have ALREADY_EXISTS.
@chanseokoh Do you happen to remember why the condition for ALREADY_EXISTS was removed at that time?

ALREADY_EXISTS (409) are being propagated

409, which is an HTTP response status code, is CONFLICT, not ALREADY_EXISTS: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409

as ABORTED (also 409).

OTOH, ABORTED is a canonical error code, not an HTTP status code. And its value is 10, not 409.
The conversion mapping between the two code spaces is defined by go/http-canonical-mapping.
However, I just realized that the doc also says

The guiding principle is that a mapping is only defined when it is unequivocally correct. In particular, there may be some circumstances where there is a more appropriate HTTP status code for a canonical code (because HTTP codes are finer-grained), and when you know that is the case it is fine to substitute an alternative code.

, so maybe it's fine to restore the previous best-effort logic to identify ALREADY_EXISTS?

But I don't have the expertise on this subject. At least I think the current behavior isn't wrong based on go/http-canonical-mapping.

Memo: "It was compatibility testing errors for gRPC and HTTP for Datastore. gRPC throws ALREADY_EXISTS, but I ran into this issue for HTTP (reGAPIC)." (Kristen)


VS Code Locks files

Issue Type: Bug
Steps to Reproduce:

Run a node container with a simple node application source mounted to it from WSL
Open the Source folder using Remote WSL in VS Code
Open a terminal and bash exec into the container and try the following
run npm install some-package command, it will create a temp package.json and package-lock.json
run any npm script, like npm start or npm run build, npm will complain that there is no package.json
however ls on the folder will still show it
when I close vscode, the package.json file would have been removed along with the temp files, it could still be the way npm tries to write to the file, however I guess its because vscode locking the file.
instead of npm commands, using command like rm or mv to remove or rename file will throw error that permission denied for any files inside the source folder

VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.52GB (14.75GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

Memory (System)
31.52GB (14.75GB free)

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

Memory (System)
31.52GB (14.75GB free)

VM
0%

Extensions (16)

Extension
Author (truncated)
Version

better-comments
aar
2.0.5

vscode-peacock
joh
3.1.5

remote-containers
ms-
0.74.0

remote-ssh
ms-
0.46.1

remote-ssh-edit
ms-
0.46.1

remote-ssh-explorer
ms-
0.46.1

remote-wsl
ms-
0.39.5

vscode-remote-extensionpack
ms-
0.17.0

vscode-icons
vsc
9.3.0

vscode-postgres
cko
1.1.11

docs-markdown
doc
0.2.18

vscode-pull-request-github
Git
0.11.2

vscode-docker
ms-
0.8.1

python
ms-
2019.9.34911

vscode-typescript-tslint-plugin
ms-
1.2.2

markdown-preview-enhanced
shd
0.4.3

This is an issue with the current version of WSL. WLS v2 is in the works that will resolve this issue.

See https://code.visualstudio.com/docs/remote/wsl#_i-see-eaccess-permission-denied-error-trying-to-rename-a-folder-in-the-open-workspace


update deploy host in secrets for staging and prod

What
Link to story
fix deploy host name after updating ingress hosts
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

A version of this is already live, thanks for the PR, but closing now


handling gzip encoded http responses?

A lot content on the web is hosted using gzip encoding.
For example the following command produces a lot of binary data output since github responds with gzip encoding by default.
megfile head https://raw.githubusercontent.com/huyng/table-bench/main/table.csv

To see the raw text, you have to pipe it through gunzip like so:
megfile head https://raw.githubusercontent.com/huyng/table-bench/main/table.csv | gunzip

Do you plan on supporting this gzip streaming in your library? Thank you for creating this amazing tool.

I will support decoding gzip content over http, is that enough for you?
I think http is a special situation that i should decode the gzip content like browser, but .gz files should be decoded by user.

yes I think the behavior you outline is the one I had in mind as well. Mainly: if the server sends back an http header of Content-Encoding: gzip then the library will take care of gunzipping the content for the user.

Header Content-Encoding has been supported in megfile>=3.0.5. Thank you for your issue, it's very important for us.

Excellent it works! Thank you for adding this functionality.


use varint packet numbers in IETF QUIC headers

Fixes #1379.

Codecov Report

Merging #1388 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1388      +/-   ##
==========================================
+ Coverage   89.98%   90.02%   +0.05%
==========================================
  Files         120      121       +1
  Lines        8381     8400      +19
==========================================
+ Hits         7541     7562      +21
+ Misses        550      548       -2
  Partials      290      290

Impacted Files
Coverage Δ

packet_packer.go
92.07% <ø> (-0.02%)
:arrow_down:

session.go
78.52% <100%> (+0.31%)
:arrow_up:

internal/ackhandler/sent_packet_handler.go
80.64% <100%> (+0.06%)
:arrow_up:

server_tls.go
76.19% <100%> (+0.33%)
:arrow_up:

internal/utils/varint_packetnumber.go
100% <100%> (ø)

internal/protocol/packet_number.go
100% <100%> (ø)
:arrow_up:

internal/protocol/version.go
100% <100%> (ø)
:arrow_up:

internal/wire/ietf_header.go
95.28% <100%> (-0.8%)
: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 1fc6c5a...f309e2b. Read the comment docs.

@lucas-clemente: We will need this PR. Please review it.


Fix undefined error text in actions/signup

@keybase/react-hackers
Fixes DESKTOP-{1960,1929}

The commits d86439e35b4e...9af916ebe867 introduce visual changes on linux. :mag_right: 1 changed

Changed: New_Proof_PGP_generating-Generating_PGP (before) (after)

👍


Check Performance exists before using it

Purpose (TL;DR) - mandatory
Fixes https://github.com/sinonjs/lolex/issues/171#issuecomment-389487264 since apparently some environments expose global.performance but not global.Performance.
Solution  - optional
Guard checking performance with global.Performance.

This means environments with performance.now but no Performance will not be mocked, right?
Would it be better to guard around specifically https://github.com/sinonjs/lolex/blob/f7d11449c955556652d662b463f9e42903d41903/src/lolex-src.js#L751-L759 but leave performance.now to be mocked?

@SimenB Looking at https://developer.mozilla.org/en-US/docs/Web/API/Performance and https://developer.mozilla.org/en-US/docs/Web/API/Performance/now I don't really understand what environments do one but not the other.

BTW - If you feel strongly about it I'll gladly edit the PR. I just want a better understanding of where this problem bites people.
Another option is to get Performance by performance.__proto__ (performance doesn't exist in IE which doesn't have proto - we can also do Object.getPrototypeOf).

Doesn't impact me, just throwing out suggestions 🙂

Ok, let's wait to see if the user who complained shows up to provide an environment we can produce a failing case for then :)

Please, not only check is Performance or performance present, this fragment cause serious problem on node, 8, 10, whatever due to Performance does not present, and more over:
> perf_hooks.performance.__proto__
Performance {}
> perf_hooks.performance.prototype
undefined

so any sinon's fake timers does not work

@Kyr thanks for stepping in and contributing. Note that Performance is the performance prototype - which is the same as performance.__proto__
So generally since performance instanceof Performance that means performance.__proto__ === Performance.prototype. Note the uppercase P

Also, in Node 8 performance isn't exported a global which would mean the entire piece of code wouldn't get hit at all initially. If you have code reproducing the issue I'd be very interested in seeing it.
Thanks again.

Thanks for explanation @benjamingr , but may I apoint you to something another

node v8.11.2

@Kyr thanks a lot. Can you tell us what environment this is running in? (Node?)
Can you please share:

What version is running (Node 8.x?)
What's the value of _global?
What's the value of _global.performance?
Is this a JSDOM test (or something similar to a JSDOM test?)

@benjamingr I apologize for being misled, I completely forgot about the years made that custom jsdom setup which broke everything.
After removing already unnecessary patches, everything started to work fine.

After removing already unnecessary patches, everything started to work fine.

I would still like to make sure that we don't break user deployments. I'm a firm believer in lolex not breaking peoples' code and I'll do better in the future.
Thanks for the report - that's helpful.
@SimenB given the above - what do you think we should do?

Looks like this is an "overriding globals" issue https://github.com/jsdom/jsdom/issues/2231 - given that and not a misconfiguration I'm going to go ahead and go with @SimenB's suggested approach

Updated, PTAL


Question about vendor packages for custom Socialite providers

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
I am new to Bookstack and set up a fresh instance earlier today. I've found the app to be great so far and am currently trying to inject the Laravel Passport Socialite provider into my instance by way of the logical theme system, but am running into troubles due to vague documentation.
The logical theme system documentation doesn't give specifics about how custom Composer packages are to be installed. In the example Reddit provider configuration, it mentions that PHP require() statements can be used to reference the Socialite provider files contained within a vendor folder inside the custom theme folder, but when installing "socialiteproviders/laravelpassport" into that folder via Composer, I notice that base packages (like "laravel/socialite", "socialiteproviders/manager", etc.) are installed as well, duplicating packages already provided within the main Bookstack vendor directory.
Is there a way to add custom Socialite providers into Bookstack without having to install all of the base Socialite dependencies since they are already installed?
Exact BookStack Version
22.11.1
Log Content
No response
PHP Version
8.0.27
Hosting Environment
Laravel Valet on a local testing environment (for now)

Hi @neosonic2,
I have not yet found a good way to support additional composer packages via the theme system.
For my example, I simply copied the additional provider's source files into a relative local directory then require'd them in.

Hi @ssddanbrown and thanks for your reply.
After some research, it appears there may be a way that Bookstack could support custom composer.json files located in theme folders, using a "merge plugin" package. The first answer in this StackOverflow post has details: https://stackoverflow.com/questions/46580522/composer-install-from-two-composer-json-file
Is this something that could be implemented? From what I read on StackOverflow and the example composer.json file shown in the answer, it appears one could create a themes/[my-theme]/composer.json file and that could then be merged into the main Bookstack composer.json file using the merge plugin, without any additional work required on anyone's part as long as the merge plugin package is installed with Bookstack.

Yeah, I'm aware of that approach but from testing a while back, I wasn't too keen on sacrificing the composer.lock usage we currently enjoy and the addition of a fundamental dependency, for little benefit (This is the first actual request I've had for composer package support) that can be worked around via simple manual means for current use-cases.
It would also complicate theme system usage, which I want to keep unobstructed as we find it's use-cases and as it develops into something further.

Ah, I understand. Those are all very good points; I wouldn’t want to sacrifice composer.lock either or make the logical theme system (which seems very promising) any more complicated.
So I guess my next question is this - can I create a composer.json file in my custom theme and put my Laravel Passport Socialite provider package (socialiteproviders/laravelpassport) in it, and run “composer install” in that folder to install what I need, but somehow exclude all of the base packages (like laravel/socialite) that Bookstack already has in its vendor directory?
I don’t want to duplicate things here (by installing packages in my custom theme which Bookstack already has), but at the same time manually copying in vendor files and using require() on them means I also have to keep them manually updated, etc. If Composer can do this for me via a custom composer.json file in my theme folder but also not have to pull in base packages Bookstack already has, that would be the ideal setup. I am unfortunately not advanced enough with Composer to know if this is possible though, outside of doing something like a merge as we’ve discussed.

On Jan 11, 2023, at 6:52 PM, Dan Brown @.***> wrote:
Yeah, I'm aware of that approach but from testing a while back, I wasn't too keen on sacrificing the composer.lock usage we currently enjoy and the addition of a fundamental dependency, for little benefit (This is the first actual request I've had for composer package support) that can be worked around via simple manual means for current use-cases.
It would also complicate theme system usage, which I want to keep unobstructed as we find it's use-cases and as it develops into something further.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1379630081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDASACENGX7LC4H2RHDWR5BU7ANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

You could probably use composer within your theme folder, then manually require in the files.
You just can't autoload files/packages within that folder since that's when you'll get conflicts.
TBH. you'd still have to manually update that theme composer folder to keep up with changes and possibly manually resolve conflicts, It doesn't really solve much to use composer in this context, apart from easier downloading.
You could instead clone this repo to a subfolder via git, then you can use git to update the files via a git pull with that subfolder.

I think I see what you’re saying; cut out Composer entirely (i.e. no composer.json file in my theme’s folder) and just clone in the Socialite provider package I need and manually require the files that way, updating the folder by hand when new versions are released.
That may work, especially considering right now all I want to do in my custom logical theme is bring in the Laravel Passport Socialite provider (i.e. my theme isn’t going to use any other top level packages), but what about its dependencies? I know the base Bookstack installation already provides Laravel Socialite and many of its requirements, but are there dependencies in the Passport provider that Bookstack doesn’t already supply? If so, I’d have to either clone all of their folders as well and manage them with Git, or actually resort to Composer without autoloading.
My main point of contention here, which I think we’re coming down to a solution for, is that Bookstack already provides Laravel Socialite and the dependencies needed for its operation. I don’t want to duplicate those in my custom theme when I bring in the Laravel Passport Socialite provider package, especially if I can somehow tell that package to look in the base Bookstack vendor folder for its dependencies that Bookstack already satisfies. As an example, here are the many packages Composer tries to install simply because I required Socialite’s Passport provider; I haven’t looked at Bookstack’s base composer.json file but I assume it already has many of these:

Installing doctrine/inflector (2.0.6): Extracting archive
Installing guzzlehttp/promises (1.5.2): Extracting archive
Installing illuminate/conditionable (v9.47.0): Extracting archive
Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
Installing symfony/mime (v6.0.17): Extracting archive
Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
Installing symfony/deprecation-contracts (v3.0.2): Extracting archive
Installing symfony/http-foundation (v6.0.17): Extracting archive
Installing psr/event-dispatcher (1.0.0): Extracting archive
Installing symfony/event-dispatcher-contracts (v3.0.2): Extracting archive
Installing symfony/event-dispatcher (v6.0.17): Extracting archive
Installing symfony/var-dumper (v6.0.17): Extracting archive
Installing psr/log (3.0.0): Extracting archive
Installing symfony/error-handler (v6.0.17): Extracting archive
Installing symfony/http-kernel (v6.0.18): Extracting archive
Installing voku/portable-ascii (2.0.1): Extracting archive
Installing symfony/translation-contracts (v3.0.2): Extracting archive
Installing symfony/translation (v6.0.14): Extracting archive
Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
Installing nesbot/carbon (2.65.0): Extracting archive
Installing illuminate/macroable (v9.47.0): Extracting archive
Installing psr/simple-cache (3.0.0): Extracting archive
Installing psr/container (2.0.2): Extracting archive
Installing illuminate/contracts (v9.47.0): Extracting archive
Installing illuminate/collections (v9.47.0): Extracting archive
Installing illuminate/support (v9.47.0): Extracting archive
Installing symfony/finder (v6.0.17): Extracting archive
Installing illuminate/filesystem (v9.47.0): Extracting archive
Installing illuminate/session (v9.47.0): Extracting archive
Installing fruitcake/php-cors (v1.2.0): Extracting archive
Installing illuminate/http (v9.47.0): Extracting archive
Installing ralouphie/getallheaders (3.0.3): Extracting archive
Installing psr/http-message (1.0.1): Extracting archive
Installing psr/http-factory (1.0.1): Extracting archive
Installing guzzlehttp/psr7 (2.4.3): Extracting archive
Installing psr/http-client (1.0.1): Extracting archive
Installing guzzlehttp/guzzle (7.5.0): Extracting archive
Installing league/oauth1-client (v1.10.1): Extracting archive
Installing laravel/socialite (v5.5.8): Extracting archive
Installing socialiteproviders/manager (v4.2.0): Extracting archive
Installing socialiteproviders/laravelpassport (4.3.0): Extracting archive

On Jan 11, 2023, at 8:28 PM, Dan Brown @.***> wrote:
You could probably use composer within your theme folder, then manually require in the files.
You just can't autoload files/packages within that folder since that's when you'll get conflicts.
TBH. you'd still have to manually update that theme composer folder to keep up with changes and possibly manually resolve conflicts, It doesn't really solve much to use composer in this context, apart from easier downloading.
You could instead clone this repo https://github.com/SocialiteProviders/Laravel-Passport to a subfolder via git, then you can use git to update the files via a git pull with that subfolder.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1379694183, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDHDLKCLX7EPRUZBTLLWR5M3RANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

Here are the current top-level dependancies for the provider:
https://github.com/SocialiteProviders/Laravel-Passport/blob/de93b2de640809c0ac247da44e12767e2d040510/composer.json#L24-L26
They're quite simple and already satisfied by BookStack's composer dependencies, and they will exist in the "live PHP environment" since they'll be accessible via BookStack's own composer autoloading.
You simply need to require in the two files that BookStack won't know about already, as per our socialite example, since they're not part of BookStack's own autoloading.

Oh wow, that definitely seems a lot simpler than I surmised. So because Bookstack already includes all of the dependencies of the Passport Socialite provider, I just need to pull the provider package itself into my custom theme and the live PHP environment will find the rest of the requirements through Bookstack’s existing autoloading mechanisms. At least I then only have to manage one package rather than a package and its dependencies, and I can definitely drop using Composer in my theme if everything it would install is already satisfied by Bookstack.
On a related note, are there any plans to support oAuth authentication in Bookstack? I know OpenID Connect/OIDC is already supported, as well as many third party providers, even those who themselves use oAuth, but Bookstack itself doesn’t support oAuth and Laravel Passport doesn’t support OIDC. I have an existing Passport instance that uses Google as its backend, and so rather than creating a new Google project for my Bookstack-powered app I figured I could just use my existing Passport instance and create a client key pair for Bookstack instead. I was honestly surprised to hear Bookstack supported OIDC but not oAuth since oAuth appears to be the more popular authentication framework, but for now it looks like the logical theme system will allow me to do exactly what I want without having to modify core app code directly.

On Jan 11, 2023, at 8:43 PM, Dan Brown @.***> wrote:
Here are the current top-level dependancies for the provider:
https://github.com/SocialiteProviders/Laravel-Passport/blob/de93b2de640809c0ac247da44e12767e2d040510/composer.json#L24-L26
They're quite simple and already satisfied by BookStack's composer dependencies, and they will exist in the "live PHP environment" since they'll be accessible via BookStack's own composer autoloading.
You simply need to require in the two files that BookStack won't know about already, as per our socialite example, since they're not part of BookStack's own autoloading.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1379704536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDCJGRUWRGYOJ42ZCR3WR5OUVANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

Yeah, you just need to require in those two php files within the provider-specific repo. Works fine from my testing and others have done the same for other providers.

On a related note, are there any plans to support oAuth authentication in Bookstack?

Not really since I like to stick to standards. OAuth is only partially a standard, with the other part varying (Hence having separate providers). OIDC builds it into a much more complete standard.
While we could add a generic provider, and expose a whole bunch of options, it'll be a pain to assess and support all the variation required. I don't mean just from a technical point of view, but that variation would have a burden on my (or the project's) time as people try to configure for their environment and need support. Auth issues can be a significant pain to debug since they're very reliant on environment so can take a lot of time.
We already have SAML2, email+password, OIDC & LDAP. I really don't want to grow this scope further, Not at least without very significant benefit, which I don't see there being looking back over the last 7 years.

Your response makes sense, and in fact I’m very impressed at all the authentication providers Bookstack already supports and I can’t imagine adding one more, or a generic provider, would make the burden of project development and maintenance any easier. I also didn’t know oAuth wasn’t a complete standard so I’ve learned something new today. I always thought it was as the majority of sites and services I’ve seen use oAuth in some capacity but Bookstack is the first project I’ve co me across that supports OpenID.
Anyways, at least the logical theme system seems like a way for me to quickly add oAuth support via the provider I want and in lieu of adding additional authentication mechanisms to Bookstack itself this was probably the best solution. I’ll continue working on my implementation for now and come back to this issue if I run into problems with it, but I think you’ve given me enough to go on for now. I’ll close the issue once I get my implementation working which should be within the next 24 hours or so. Thanks for your consistent responses and assistance on this issue.

On Jan 11, 2023, at 9:03 PM, Dan Brown @.***> wrote:
Yeah, you just need to require in those two php files within the provider-specific repo. Works fine from my testing and others have done the same for other providers.
On a related note, are there any plans to support oAuth authentication in Bookstack?
Not really since I like to stick to standards. OAuth is only partially a standard, with the other part varying (Hence having separate providers). OIDC builds it into a much more complete standard.
While we could add a generic provider, and expose a whole bunch of options, it'll be a pain to assess and support all the variation required. I don't mean just from a technical point of view, but that variation would have a burden on my (or the project's) time as people try to configure for their environment and need support. Auth issues can be a significant pain to debug since they're very reliant on environment so can take a lot of time.
We already have SAML2, email+password, OIDC & LDAP. I really don't want to grow this scope further, Not at least without very significant benefit, which I don't see there being looking back over the last 7 years.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1379717133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDCJHRBOPPBVJZ6SPY3WR5Q6LANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

While working on my implementation, I wanted to ask a question I can’t seem to find the answer to in the Bookstack docs (but if it has already ben answered, please feel free to point me in the right direction).
When creating an oAuth client key pair in my Laravel Passport instance, I have to specify a redirect URI to which the end user will be sent after authentication as they make their journey back to Bookstack. How do I determine what this would be in my Bookstack app? Does Bookstack have a standard callback/redirect URI so that my Socialite provider can complete the rest of the authentication process and hopefully interface with Bookstack to log the user in?

On Jan 11, 2023, at 9:03 PM, Dan Brown @.***> wrote:
Yeah, you just need to require in those two php files within the provider-specific repo. Works fine from my testing and others have done the same for other providers.
On a related note, are there any plans to support oAuth authentication in Bookstack?
Not really since I like to stick to standards. OAuth is only partially a standard, with the other part varying (Hence having separate providers). OIDC builds it into a much more complete standard.
While we could add a generic provider, and expose a whole bunch of options, it'll be a pain to assess and support all the variation required. I don't mean just from a technical point of view, but that variation would have a burden on my (or the project's) time as people try to configure for their environment and need support. Auth issues can be a significant pain to debug since they're very reliant on environment so can take a lot of time.
We already have SAML2, email+password, OIDC & LDAP. I really don't want to grow this scope further, Not at least without very significant benefit, which I don't see there being looking back over the last 7 years.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1379717133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDCJHRBOPPBVJZ6SPY3WR5Q6LANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

@neosonic2 The redirect URIs would be as follows:
https://example.com/login/service/<provider>/callback
https://example.com/register/service/<provider>/callback

Where https://example.com is the BookStack root URL and <provider> is the first param you provide to the Theme::addSocialDriver function call.

I feel like I’ve seen those endpoints somewhere in the Bookstack docs when I was reading through them the other day but can’t remember where; can you link to the page where they’re discussed?

They're listed in the per-service details of the third party auth page: https://www.bookstackapp.com/docs/admin/third-party-auth/
Not explicitly detailed for custom providers via the auth system, but just a case of following the pattern.

But since I can’t modify core files like config/services.php, what should I do instead?

You could use env() to pull in the value, which is not recommended outside of config files but will mostly be fine as long as you don't cache the config (which is never part of our guidance/instructions). Otherwise there's no custom config extension in the theme system.

OK, I think I’ve got my theme’s functions.php file and my Laravel Passport Socialite provider files set up correctly as we’ve been discussing, and I can see a link on the Bookstack login page to log in with the provider I’ve added, but when I click on that link I get a message that says “An unknown error occurred.” The storage/logs/laravel.log file shows the following:
[2023-01-13 04:53:42] production.ERROR: Driver [passport] not supported. {"exception":"[object] (InvalidArgumentException(code: 0): Driver [passport] not supported. at /Users/lmerrill/code/valet/bookstack/vendor/laravel/framework/src/Illuminate/Support/Manager.php:109)

And my functions.php file looks like this:
<?php

use BookStack\Facades\Theme;
use BookStack\Theming\ThemeEvents;

// Bring in Laravel Passport Socialite provider
require "vendor/socialiteproviders/laravel-passport/Provider.php";
require "vendor/socialiteproviders/laravel-passport/LaravelPassportExtendSocialite.php";

// Set up Laravel Passport Socialite provider
Theme::listen(ThemeEvents::APP_BOOT, function ($app) {
    Theme::addSocialDriver('passport', [
        'client_id' => env('PASSPORT_CLIENT_ID'),
        'client_secret' => env('PASSPORT_CLIENT_SECRET'),
        'name' => 'Passport',
        'host' => env('PASSPORT_HOST'),
    ], '\SocialiteProviders\LaravelPassport\LaravelPassportExtendSocialite@handle');
});

?>

Do you know the best way to begin troubleshooting this?

Never mind - I think I’ve solved my issue. It turns out the problem was simply that I had to pass “laravelpassport” as the first argument to Theme::addSocialDriver() as opposed to just “passport”. For some reason I thought the first argument was arbitrary and didn’t have to match the actual Socialite provider package name but I guess it does.
However, I do continue to see this error sprinkled throughout laravel.log that does not seem to be related to all my custom theme work, but I can open a new issue for this if you’d like:
[2023-01-13 18:46:41] production.ERROR: Cannot redeclare versioned_asset() (previously declared in /Users/lmerrill/code/valet/bookstack/app/helpers.php:13) {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Cannot redeclare versioned_asset() (previously declared in /Users/lmerrill/code/valet/bookstack/app/helpers.php:13) at /Users/lmerrill/code/valet/bookstack/app/helpers.php:13)
[stacktrace]
#0 {main}
“}

On Jan 12, 2023, at 10:00 PM, Dan Brown @.***> wrote:
I feel like I’ve seen those endpoints somewhere in the Bookstack docs when I was reading through them the other day but can’t remember where; can you link to the page where they’re discussed?
They're listed in the per-service details of the third party auth page: https://www.bookstackapp.com/docs/admin/third-party-auth/
Not explicitly detailed for custom providers via the auth system, but just a case of following the pattern.
But since I can’t modify core files like config/services.php, what should I do instead?
You could use env() to pull in the value, which is not recommended outside of config files but will mostly be fine as long as you don't cache the config (which is never part of our guidance/instructions). Otherwise there's no custom config extension in the theme system.
—
Reply to this email directly, view it on GitHub https://github.com/BookStackApp/BookStack/issues/3961#issuecomment-1381252017, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJDEDCXD4WUAZHJ4FQFCMLWSDALNANCNFSM6AAAAAATXTEYII.
You are receiving this because you were mentioned.

Sorry, lost track of this thread.
Good to see you got it working! Will therefore close this off.
I'm not sure about that error. It's not something I've see, at least in recent versions.
If you can gain any extra details regarding it's occurrence then yeah, feel free to raise  as a new issue, otherwise I feel it may be something environment specific so I'll need more clues to attempt replication. Even if it's just knowing it's frequency (Every request?) and weather or not it's only logged when your custom theme is active.


Add ability to monitor fastly_logs Athena databases

Trello: https://trello.com/c/93jgKiUX/1329-set-up-a-smoke-test-that-athena-is-still-operating-on-new-data
We want to have the means to monitor whether our fastly_logs athena
databases continue to return results, this is in response to a bad
deploy a few months ago where we discovered that the database was no
longer queryable.
To monitor Athena we need a user that has access to Athena, to AWS Glue
to access table details, to have read access to the bucket the data is
in and to have write access to a bucket to store results. The intention
is that this users credentials will be stored within Jenkins and
periodically a job will run that makes a query to Athena. This job will
be deemed successful if results can be pulled from the database.
This PR adds a new IAM user for this monitoring and creates a bucket
where results can be stored. The bucket has a short retention of 7 days
as I don't anticipate we'll have much (if any) use for the data it returns once
the query is completed. It then applies a policy so that this user can
access all the necessary resources.
I've applied this terraform to the test environment and it worked successfully.

Oh, I think you just need to run tools/update-docs.sh to make the Concourse lint happy.


electric-sql/* Typescript Path Alias

Instead of resolving the modules by hardcoding paths in metro.config.js:
https://github.com/electric-sql/electric/blob/4682c4aea72964c5240dcbe9dfd4ba88d201a6a3/examples/expo/metro.config.js#L5-L38
Is there any reason we don't just use a typescript path alias?
{
  "extends": "expo/tsconfig.base",
  "compilerOptions": {
    "jsx": "react",
    "strict": true,
    "paths": {
      "electric-sql/*": ["../../node_modules/electric-sql/dist/*"],
    }
  },
}

And then in the client:
import { electrify } from 'electric-sql/drivers/expo-sqlite'
import { makeElectricContext, useLiveQuery } from 'electric-sql/frameworks/react/'
import { genUUID } from 'electric-sql/util'

Seems like a cleaner approach?

Hi @tyrauber,
The solution you propose would indeed simplify the metro configuration.
However, it would make the imports a bit longer and more convoluted.
I prefer exposing a clean module name and mapping it to the corresponding file such that internally we can organize our project how we want.


include matching incorrect

Not sure if it was the case before, but I've noticed in vscode 1.79.2 something really weird.
If I search for ./folder1* it finds results in ./folder2 which I would not expect!

The same happens with ./whatever* so it seems the * makes it not filter any folder:

If I search for ./folder1, it does find only results from ./folder1:

Originally posted by @saidelike in https://github.com/microsoft/vscode/issues/184703#issuecomment-1614795859

I have the same case, I do a search and the results are from different directories than the one I explicitly included. I try the same opening the project folder instead of the workspace and I get a correct search.

/duplicate https://github.com/microsoft/vscode/issues/175063


Upgrade version of AWSSDK.SimpleSystemsManagement from <IP_ADDRESS> to 3.5.. to have compatibility with other AWS Packages

Steps to reproduce:

Try adding AWSSDK.SecurityToken (Latest version) and Amazon.AspNetCore.DataProtection.SSM  in asp.net core 3.1 API project.

Error message:

Scenario
We need to use ASP.NET Core data protection/persistence and Assume Role in Microservice project for compliance reason.
Root cause
Hence, we would like to use AWSSDK.SecurityToken and Amazon.AspNetCore.DataProtection.SSM but looks like both require incompatible version of AWS SDK.
Suggested action
Kindly release a new version of package with upgraded version of AWSSDK.SimpleSystemsManagement.

We've just released version 2.0.0 of this library with the 3.5 AWS SDK dependency. Thanks.


Disable rubocop FrozenStringLiteral cop

This was added in preparation for Ruby 3, which is no longer going
to enforce frozen string literals.
https://github.com/rubocop-hq/rubocop/issues/7197

@kevindew yeah, it's all benign - just a few .freeze calls added to constants here and there.


initial work to support HttpEntity

add HttpCommnadEffector
add CompositeEffector
add EntityInitializers util class to resolve DSL injected as params
into the HttpCommandEffector

It is based on https://github.com/apache/brooklyn-server/pull/152 which was not merged as it didn't handle rebind properly, happy to sort it out in this PR but I've not touched rebinding yet.

It would be good to also have some yaml-based tests (e.g. see https://github.com/apache/brooklyn-server/blob/master/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/SshCommandEffectorYamlTest.java)

And rebind tests would be very good (e.g. see https://github.com/apache/brooklyn-server/blob/master/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/AbstractYamlRebindTest.java and its sub-classes - the important thing is to call rebind() in the test method after creating your entities, and then doing some basic testing that the entity is still functional).

I've added more tests for the effectors:

add unit tests: HttpCommandEffectorTest and CompositeEffectorTest
add YamlTests: HttpCommandEffectorYamlTest and CompositeEffectorYamlTest.java
add YamlRebindTests: HttpCommandEffectorYamlRebindTest and CompositeEffectorYamlRebindTest

please @aledsage can you have another look?

rebuild please

@aledsage, @grkvlt can you have another look at this PR, please?

very nice @andreaturli -- and excellent tests.
is there a corresponding PR against the docs to explain how to use this?
looks good so merging

I will open a PR for docs ASAP, thanks @ahgittin for merging it


Feedback 'From: Rebecca Bronfein Raphael Many bids regist...'

Message from 4f724768a7aaa900010003f4 sent on 2016-06-25 13:17:07 UTC###

From: Rebecca Bronfein Raphael
Many bids registered quickly then crossed out.

Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/feedback/574282

Issue moved to artsy/auctions #182 via ZenHub


update to node-sass 3.7.0

#75 Updated and tested successfully.

Because of the ^, 3.7 will already be installed.

  Thanks.  I'm still getting problems with node-sass but it's directly related to that library and node 6.  I reverted back to node 5 for now.


Rename collateBody to collectBody

Also only require the maxUploadSize instead of the full context

@sliemeobn

I think this is a nice change, but can we add the old symbol back with deprecation until release?

Parameters have changed so that won't work. I guess I could add a wrapper function though

@Joannis added deprecated method, plus I moved the new function to Core as it doesn't use any Hummingbird symbols


[Feat] Adding a page for start shopping

Description

The start shopping button is not functional we can create on page for that
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@mdazfar2 assign this issue to me we can create a solution for this


az webapp log tail with slot option always get 403 forbidden error

Environment summary
Windows 10
Install by MSI
Powershell
Azure CLI 2.0.21
I have multiple webapp, every time I tried to get log stream of slots of the webapps, I got the following errors
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\appservice\custom.py", line 1246, in _get_log
    url, r.status, r.reason))
azure.cli.core.util.CLIError: Failed to connect to 'https://xxx-slot.scm.azurewebsites.net/logstream' with status code '403' and reason 'Forbidden'

I tried it on every my webapp, always get the same results, but every thing is ok on the production slots.

Log steam on browser also always got HTML 403. Not sure is they are the same issue.

@wy193777 i am not sure what you mean by Log stream on browser? the bug in the CLI was we were not using the credentials of the slot for obtaining the log stream & this will be fixed soon.

I'm unfortunately still seeing this error
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/opt/az/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 1222, in _get_log
    url, r.status, r.reason))
azure.cli.core.util.CLIError: Failed to connect to 'https://xxx.scm.azurewebsites.net/logstream' with status code '403' and reason 'Forbidden'

@Kannaj this means you don't have the right RBAC access on the app to access, that is failing connecting to your scm site. One thing you can try is navigate to your scm site using this link & see if you have access https://xxx.scm.azurewebsites.net

@panchagnula  - yes , i do have access to via KUDU. Currently streaming logs from there but its really slow :(


Get data on specific day

I can't see any examples for getting data on a certain date or with a starting and ending times,, am i missing something ??

The trick is that all the parameters supported by the underlying Jawbone API are supported, but they're not listed in this gem's source code.
So, for example, look at https://jawbone.com/up/developer/endpoints/sleeps
See how start_time and end_time are listed there as acceptable parameters?
Now, in my own code here's what I do:
def self.retrieve_jawbone_sleep_items(user, start_date, end_date)
  client = user.jawbone_data
  first_results = client.sleeps({:start_time => start_date.to_time.to_i - HALF_DAY,
                                :end_time => end_date.to_time.to_i + HALF_DAY})
  client.retrieve_all_items(first_results)
end

retrieve_all_items is a function i wrote, it goes in client.rb.  i didn't issue a PR for it because i haven't tested it carefully or thought about it too hard.  but in case you're interested, here it is: http://pastebin.com/xj5uPbMh

Thank You @dsjoerg very much


[BUG]

When ever i try to run it it show me this message
(copied from the AI Dungeon)
Traceback (most recent call last):
File "play.py", line 271, in
play_aidungeon_2()
File "play.py", line 106, in play_aidungeon_2
generator = GPT2Generator()
File "/content/AIDungeon/generator/gpt2/gpt2_generator.py", line 31, in init
self.enc = encoder.get_encoder(self.model_name, models_dir)
File "/content/AIDungeon/generator/gpt2/src/encoder.py", line 124, in get_encoder
with open(os.path.join(models_dir, model_name, "encoder.json"), "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'generator/gpt2/models/model_v5/encoder.json'
and then it dosn't run if I'm doing something wrong please contact me at<EMAIL_ADDRESS>please i love this game and i need i back up and running soon
Thank you for your time
P.S it worked earlier today

Pretty sure this URL needs to be updated. https://github.com/AIDungeon/AIDungeon/blob/master/install.sh#L8

Why not just to embed a magnet link into install.sh? I tried to do so in my fork (https://github.com/snglth/AIDungeon) and it works pretty well.

The thingnis i dont know how im new to coding and i just found this game i
dont know how to do anything like that
On Tue, Dec 10, 2019, 4:29 PM Illia Shestakov<EMAIL_ADDRESS>wrote:

Why not just to embed a magnet link into install.sh? I tried to do so in
my fork (https://github.com/snglth/AIDungeon) and it works pretty well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AIDungeon/AIDungeon/issues/96?email_source=notifications&email_token=AOAG72LEATRTXYDUKCNGE5DQYAC45A5CNFSM4JZEBGL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGRARPI#issuecomment-564267197,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOAG72NBVAUPU7YRSBRV6KLQYAC45ANCNFSM4JZEBGLQ
.

@Nick-AI-Generator You can copy and paste the line of code seen above in @spencerhakim comment before running AiDungeon.

Okay thank I got it now thanks alot
On Wed, Dec 11, 2019, 4:16 AM Akmp40<EMAIL_ADDRESS>wrote:

@Nick-AI-Generator https://github.com/Nick-AI-Generator You can copy
and paste the line of code seen above in @spencerhakim
https://github.com/spencerhakim comment before running AiDungeon.
[image: image]
https://user-images.githubusercontent.com/11835224/70607488-d2c52500-1bfe-11ea-8b02-a2b61244f036.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AIDungeon/AIDungeon/issues/96?email_source=notifications&email_token=AOAG72PKGEGCER4SFWJQ3CTQYCVWNA5CNFSM4JZEBGL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGSNJOQ#issuecomment-564450490,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOAG72I5XZ4745ABGAJER63QYCVWNANCNFSM4JZEBGLQ
.

Should be closed with #93


fix condition in removeListeners

Problem that this pull is solving.

You have one trap that is paused, not deactivated, and then you have another which is listening.
When you call deactivate (or pause) on first one, it passes current condition (since it is still active, even though it is paused, and there is listeningFocusTrap) and set listeningFocusTrap to null.
When you then call deactivate (or pause) on the second trap (which is listening), it doesn't pass condition, because, even though it is really listening, listeningFocusTrap was set to null in step 2. So you end up in situation where you can't remove listeners of this trap.

Problem lies in condition that allows paused trap to set listeningFocusTrap to null.

Thanks! Here's what I'll add to the changelog when this gets released:

Fixed: bug causing problems during deactivation when there are multiple focus traps.

Does that sound right?

This transfer an idea.
But just to clarify, problem in not deactivation, but in pausing ( removeListeners ). Since you can use pause methods in steps 2 and 3 without deactivating anything, and the problem will be the same. There will be unremovable listeners.


PDF versions supported ?

Hi,
I guess it's not an technical issue as it use to be but it's more like a question.
Which versions of PDF version are supported by this lib ?
I've found 10 versions :

(1993) PDF 1.0 / Acrobat 1.0
(1994) PDF 1.1 / Acrobat 2.0
(1996) PDF 1.2 / Acrobat 3.0
(1999) PDF 1.3 / Acrobat 4.0
(2001) PDF 1.4 / Acrobat 5.0
(2003) PDF 1.5 / Acrobat 6.0
(2005) PDF 1.6 / Acrobat 7.0
(2006) PDF 1.7 / Acrobat 8.0
(2008) PDF 1.7, Adobe Extension Level 3, Acrobat 9.0
(2009) PDF 1.7, Adobe Extension Level 5, Acrobat 9.1

This library uses Pdfium lib for decoding PDF documents, but unfortunately I don't know which versions are supported. Good news is that I exported PDFs from many different apps and all have worked.

Okay thanks a lot !
It could be useful to know more about this point or at least add this kind of information on the repo documentation. :-)


Cleanup backports

@daenney can you double-check my squashing? I'm willing to merge if you don't want to since you did most of the code changes? either way :)
Squashed/cleanup of #492

@daenney fixed.

@daenney that should do it, but make sure travis works first.


Run the uplift_beta job daily

Currently, the uplift_beta job to prompt patch authors for uplift requests sometimes runs on days that don't align well with our release cycle. I don't see much downside to running it daily, however. Can we just do that unless I'm missing something?

We are running it daily, but the tool is excluding bugs that were resolved within the last two days (https://github.com/mozilla/relman-auto-nag/blob/ec327387d31eb84a22b45ef96ac7dd93977de503/auto_nag/scripts/uplift_beta.py#L97-L99) to give time to bake in Nightly.
Do you think we should reduce the "bake time" to 1 day or even less?


R plugin: Reset environment & Kill all threads buttons don't work

In Language Manager in R plugin tab "Reset Environment" and "Kill All Threads" buttons are not handled in r.js and produce errors:
TypeError: this[action] is not a function
at Object.perform (http://<IP_ADDRESS>:8801/9f32ec7/beaker/plugins/eval/r/r.js:201:25)

@scottdraves , please advise what to do with buttons


Fix to properly load frontend config for ContextualBlockXformerEnc

This PR fixes a bug that prevents the frontend config to be loaded for ContextualBlockXformerEncoder (see issue https://github.com/espnet/espnet_onnx/issues/57)

@espnetUser Thank you!


How to add a payment system.

How can you add a payment so that the customer once given the cost will make payment before the repair starts.

repair

Hii
Did you find any alternate solution for this?

Hello
No I didn't find it.
On Fri, Sep 9, 2022, 10:32 AM sahil280 @.***> wrote:

repair
Hii
Did you find any alternate solution for this?
—
Reply to this email directly, view it on GitHub
https://github.com/sumitkumar1503/vehicleservicemanagement/issues/1#issuecomment-1241671719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU3SJ5JA7BD63LWI64Z5Z3DV5LYZTANCNFSM5AOLTWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Feature/remove cilex

Cilex is blocking the updates of symfony components. This
pr removes a lot of magic from the commands which were fetching dependencies
form the application.
The application is updated with some logic to access the inner container to support
the old behavior of the application like cilex provides. This needs to be removed
in the future.

Replaced by #1940


[Remote Store]  NodeId in segment and translog metadata file name may contain '-'

Coming from https://github.com/opensearch-project/OpenSearch/pull/10379#discussion_r1347046641
Relevant PR : https://github.com/opensearch-project/OpenSearch/pull/10229
We have added nodeId in metadata file names in translog and segment . NodeId is base64 UUID  which can contain '-' . Tokenizing it using our metadata separator will not work in this case
Solution

Process the nodeId to remove - before adding it to metadata file name .
Change the separator to some other value as done in https://github.com/opensearch-project/OpenSearch/pull/10379 to ... . In this solution, we will need to handle backward compatibility .

Hi @sejli, I would like to take up this issue as a part of OSCI

Hi @rohan19a , thanks, I already have a PR since this needs to go in as part of 2.11 .