Doesn't work on Rails 7.0.1

I encountered the following error on my Rails app:

action_tracer 0.2.2
rails 7.0.1
ruby 2.7.2

$ bundle exec rspec spec/controllers/my_controller_spec.rb

MyController
  #index
     (FAILED - 1)

Failures:

  1) MyController#index succeeds
     Failure/Error: get :index

     NoMethodError:
       undefined method `raw_filter' for #<ActiveSupport::Callbacks::Callback:0x00005630adf06cc8>
       Did you mean?  filter
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/filters.rb:58:in `map'
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/filters.rb:58:in `block in build'
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/filters.rb:57:in `each'
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/filters.rb:57:in `build'
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/action_tracer.rb:10:in `log'
     # /usr/local/bundle/gems/action_tracer-0.2.2/lib/action_tracer/monkey_patches/abstract_controller/callbacks.rb:8:in `process_action'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/abstract_controller/base.rb:151:in `process'
     # /usr/local/bundle/gems/actionview-7.0.1/lib/action_view/rendering.rb:39:in `process'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/metal.rb:188:in `dispatch'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/test_case.rb:601:in `block in process_controller_response'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/test_case.rb:593:in `wrap_execution'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/test_case.rb:601:in `process_controller_response'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/test_case.rb:511:in `process'
     # /usr/local/bundle/gems/actionpack-7.0.1/lib/action_controller/test_case.rb:404:in `get'
     # /usr/local/bundle/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb:16:in `block (2 levels) in <module:Integration>'
     # ./spec/controllers/my_controller_spec.rb:16:in `block (3 levels) in <top (required)>'

Finished in 1.24 seconds (files took 17.46 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/controllers/my_controller_spec.rb:14 # MyController#index succeeds

This is not a reproducible and accurate minimal report, but hopefully it will help with Rails 7.0 support.

@makicamel Nice work 👍

@r7kamura
Thank you for your report!!


Multimodal

@apostolosfilippas / @onmyraedar This PR (still very much a draft) will ultimately have important remote inference implications. In a nutshell, our very limited multi-modal support (single image passed w/ base64 encoded string) is insufficient for what's actually possible with many models: they can take lots of different file formats (audio, video, PDF, etc.) and can take multiple files per call.
To that end, I'm re-factoring the LanguageModel class so that calls can take an optional files_list parameter that is a list of file objects. Different models will handle these differently. To enforce some consistency, the files in the file list will all be of the the class FileStore but how the files are send to the model will differ from service to service. For example, Google requires the files to be uploaded to google services; OpenAI gives you options, as does Anthropic. More to come.

Failing integration tests:
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/comparing_model_responses.ipynb] FAILED                                                           [ 14%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/docs_questions.ipynb] FAILED                                                                      [ 34%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/edsl_intro.ipynb] FAILED                                                                          [ 38%]
ntegration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/edsl_with_cloud_providers.ipynb] FAILED                                                           [ 42%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/edsl_with_offline_inference_services.ipynb] FAILED                                                [ 44%]
ntegration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/explore_llm_biases.ipynb] FAILED                                                                  [ 53%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/google_form_to_edsl.ipynb] FAILED                                                                 [ 61%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/model_votes.ipynb] FAILED                                                                         [ 68%]
integration/active/test_notebooks.py::test_notebook_execution[docs/notebooks/next_token_probs.ipynb] FAILED                                                                    [ 70%]

@zer0dss take a look!


Switch to combined summary endpoint

Follow up on https://github.com/DataBiosphere/azul/pull/460

@achave11 did most of the work here.


Plugin work for "Exclude PV snapshots from stage restore for stage migrations"

Plugin work for https://github.com/konveyor/mig-controller/issues/653

Closed by https://github.com/konveyor/openshift-velero-plugin/pull/56


add endpoint for league standings and set default season 2017-18

Thanks @mihaisavezi! 🎉
I'll get a new version up later today.


Inquiring : Swarm movements

Greetings, awesome project, thanks a lot for all your work.
Could you please explain in greater details how your multi-agent movement algorithm is working? - Is it boids?

Which pathfinding algo do you use, A*?
How do they get back in formation at the destination arrival?
Would it work well for agents of different sizes in a group?
Do you see an interest in using Delaunay's triangulation for the calculations? (cf. https://www.jdxdev.com/blog/2021/07/06/rts-pathfinding-2-dynamic-navmesh-with-constrained-delaunay-triangles/)

Thanks again for all your work, please keep going, you're an inspiration! 🙏

hi,
everything is Godot 4 built-in except for the way I calculate target positions when moving more than one unit at the same time i.e. this:
https://twitter.com/pawel_lampe/status/1621187942747086852
When multiple units are supposed to be moved to the position X I basically calculate the AABB of the swarm, take midpoint M, calculate offset vector of each unit pointing towards M, and then I use those offset vectors in a way that I subtract them from X - this way I get target position for each unit. There's also I additional trick - I attract new target positions of units to the X in a way they won't collide (I take radiuses into account). All that is done in: https://github.com/lampe-games/godot-open-rts/blob/main/source/match/utils/UnitMovementUtils.gd

I see, thanks for the info and tips !


update unordered list to ordered list

Thank you for the PR, @SRKVRM!
As per issue #34, bullet points in all CatchUp sessions from 54 to 63 have to be changed. You have made the change only for session 54. Please make the changes in all the remaining sessions as well.

Looks good to me. Thank you!


500 error at /retire/

A bunch of these today.
Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25562] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by calicodan```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'dd45c3a1ee2406f37b8faf192af653f001532802761', 'session': '.eJx9kF1PwjAUhv_LuV7Muo59cIcSREKIGI0xxiy17bqO0Y5-KEj473YkyoWJl-e873s-niNUPTdborhyMHbG8wiYtFQbVkkGY0hzjNIUFQXGcZnlcYEggn8UVQkvu6DXpLNhWKcp6XiwSwdDJQRnw0qr1XlBgjMUwdYJXXnLjSLbwRwykmpGVMho4l2TVNYRN0ijvlMxnj8L2hau32d--sRaUYoymy4P_cXv9IYrGB-BUMqt_alhtfKbO1Xe-HdK1zp2szmrb9cfy3qBHmafIc_3vTTcViQAQSOM0wLlGboKhxZJllx0GaZlcVrEcQSG16HV_C7BE7rwE7t8bErlRyJv2yZt7r_y3QtDuwFEINyHb14DykBe1ofQO4Oz8BbBeUzlDoMFrjkx3MApgj_YHDGChzOV77rTN62Vk0s.Dpup7w.qRnOCzsMQK8txN664ipxVLwJbLk', '_ga': 'GA1.2.1754473252.1532876967'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>30967081
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25562'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: IT
X-Forwarded-For: 2001:b07:6455:93f4:318b:a038:95be:474, <IP_ADDRESS>
Cf-Ray: 466110600fcb4328-MXP
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Dnt: 1
Cookie: __cfduid=dd45c3a1ee2406f37b8faf192af653f001532802761; session=.eJx9kF1PwjAUhv_LuV7Muo59cIcSREKIGI0xxiy17bqO0Y5-KEj473YkyoWJl-e873s-niNUPTdborhyMHbG8wiYtFQbVkkGY0hzjNIUFQXGcZnlcYEggn8UVQkvu6DXpLNhWKcp6XiwSwdDJQRnw0qr1XlBgjMUwdYJXXnLjSLbwRwykmpGVMho4l2TVNYRN0ijvlMxnj8L2hau32d--sRaUYoymy4P_cXv9IYrGB-BUMqt_alhtfKbO1Xe-HdK1zp2szmrb9cfy3qBHmafIc_3vTTcViQAQSOM0wLlGboKhxZJllx0GaZlcVrEcQSG16HV_C7BE7rwE7t8bErlRyJv2yZt7r_y3QtDuwFEINyHb14DykBe1ofQO4Oz8BbBeUzlDoMFrjkx3MApgj_YHDGChzOV77rTN62Vk0s.Dpup7w.qRnOCzsMQK8txN664ipxVLwJbLk; _ga=GA1.2.1754473252.1532876967
Cf-Connecting-Ip: 2001:b07:6455:93f4:318b:a038:95be:474
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25562]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e)

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqZzg.ZZl8lK1jY6QNKV2XtcKRJXJkyWY'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 465a6b94cf34ab3c-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqZzg.ZZl8lK1jY6QNKV2XtcKRJXJkyWY
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqZxw.3ld3k82afSCUf59XA4vE4GwaNos'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 465a6b645b7eab3c-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqZxw.3ld3k82afSCUf59XA4vE4GwaNos
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqTOg.KQJYUBSdP9bC3PPjb3q8ozV7_h0'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 465a617219ca3042-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqTOg.KQJYUBSdP9bC3PPjb3q8ozV7_h0
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqTAw.s2N9H83pgkbo4nRZISV0ss_Rp40'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 465a411d3eb93036-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.DpqTAw.s2N9H83pgkbo4nRZISV0ss_Rp40
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.Dpp_vw.SzUqOTUUf_i6r1RBRRBN1E_cubc'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 4659c8b8584927d4-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.Dpp_vw.SzUqOTUUf_i6r1RBRRBN1E_cubc
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by zelytic```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.Dpp_Lw.WS66oHypJ9t1DzrY2zbBJAB0j70'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 4659c5371e8127d4-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UctuwjAQ_Befo8p5E25UagE1UCgVoFZVZJJNcIlt8KMlQfx7HSTKoVKPM7uemR2fULYHyQgHrlFfSwMOIgWjHPVLUiuLCmCUieKGqcqFLDJqKeS7kefjMPJwHMd-lEQYOeifCc8qQ-vi6lSLqoKiS6AEvyh6ses5iOlKZEaB5ISBFWuhbjTNrYIgRm-9TGmiu4GElmFoNnNuDge2W7hDPv6avc6-J29qs77ta7EDe9IJkTwHpa4YPQ-DeO1yxU0yTkfFcZ5Ohu1CDFrzsDqM7Hs47qkElRHbjhv6SRDixHXvgl7UC_zbuOsrwkEPY8dmKi21_fUop7vN0-M6VNMlf1mmlJPj9HtQDLx0lXuf1sP2ubfHvNvi7C_QsrHcpSaFPhx0kcl0062geyASJDo76E9nmsgKbEpu6vr8A6Z2mRo.Dpp_Lw.WS66oHypJ9t1DzrY2zbBJAB0j70
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Failed to execute UPDATEdeckSETretired= 1 WHERE id = %s with [25498] because of (1205, 'Lock wait timeout exceeded; try restarting transaction')

Reported on decksite by<PHONE_NUMBER>77736960```
--------------------------------------------------------------------------------
Request Method: POST
Path: /retire/?
Cookies: {'__cfduid': 'de2adfde311da8fc85b7f25f6bc6053021537135185', '_ga': 'GA1.2.1088709612.1537637090', 'hide_intro': 'True', 'deck_id': '25498', 'session': '.eJx9UMtuwkAM_Befo2rzJtyo1AJqoFAqQK2qaEkc2JJsYB_lJf69Bqlw63FmbM-MT8CLWkhol7zS6ECBtaib4o6FzhtVZIIo8N3I81kYeSyOYz9KIgYO_KPIbGlFRbpRlm413JqVl2nDDdKOwmPN8LAYS7vd1uuJ25X9n9H7aDf40Is53OZNs0YKeAKe56j1H4bXbhDPXamlTfppr9iP00H3OGk6R_s02_ZoH_cboVBn3EDbDf0kCFniug9BK2oF_l2-tI9Y0GLMoUwlUaubRzlcL16e56EeTuXbNBWS74e7TtHx0lnufZMHfWdDZT7pDSiNKA_EXUtr-HLgeiYzh8sIPCJXqOBMNFdLpFDSVtX5F3pze9w.Dpp_Hw.U5WkbsVuwSAVQiM3HZSctrN6e_o'}
Endpoint: do_claim
View Args: {}
Person:<PHONE_NUMBER>77736960
Referrer: https://pennydreadfulmagic.com/retire/
Request Data: {'entry': '25498'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: CA
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 4659c4d748d627d4-YYZ
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://pennydreadfulmagic.com/retire/
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Cookie: __cfduid=de2adfde311da8fc85b7f25f6bc6053021537135185; _ga=GA1.2.1088709612.1537637090; hide_intro=True; deck_id=25498; session=.eJx9UMtuwkAM_Befo2rzJtyo1AJqoFAqQK2qaEkc2JJsYB_lJf69Bqlw63FmbM-MT8CLWkhol7zS6ECBtaib4o6FzhtVZIIo8N3I81kYeSyOYz9KIgYO_KPIbGlFRbpRlm413JqVl2nDDdKOwmPN8LAYS7vd1uuJ25X9n9H7aDf40Is53OZNs0YKeAKe56j1H4bXbhDPXamlTfppr9iP00H3OGk6R_s02_ZoH_cboVBn3EDbDf0kCFniug9BK2oF_l2-tI9Y0GLMoUwlUaubRzlcL16e56EeTuXbNBWS74e7TtHx0lnufZMHfWdDZT7pDSiNKA_EXUtr-HLgeiYzh8sIPCJXqOBMNFdLpFDSVtX5F3pze9w.Dpp_Hw.U5WkbsVuwSAVQiM3HZSctrN6e_o
Cf-Connecting-Ip: <IP_ADDRESS>
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Connection: Keep-Alive
Content-Length: 11

--------------------------------------------------------------------------------
DatabaseException
Failed to execute `UPDATE `deck` SET `retired` = 1 WHERE id = %s` with `[25498]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')`
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/auth.py", line 14, in decorated_function
return f(*args, **kwargs)
File "./decksite/main.py", line 342, in do_claim
lg.retire_deck(d)
File "./decksite/league.py", line 337, in retire_deck
db().execute(sql, [d.id])
File "./shared/database.py", line 45, in execute
[n, _] = self.execute_anything(sql, args, False)
File "./shared/database.py", line 60, in execute_anything
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Dupe of #5372


Send CSRF Value in Remove Pledge Form Submit

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #8794

Description

I added the CSRF Token to the POST request for removing an existing pledge. This was as simple as adding a hidden input in the form with the name _csrf and value being the token itself.

Well spotted! Thanks and congratulations on your first Open Source contribution! 🎉


Prevent pipeline sync while communicating with outdated CL

The EL node might have a more recent state than CL. If CL issues an FCU with head that was already inserted into the database, the make_canonical call to BlockchainTree will fail, engine will proceed to trigger pipeline resync and Headers stage would fail while attempting to insert a known block.

Closing optimistically - I think we fixed in an old PR (@mattsse may remember)


Remove the auth check for volume server reads

According to the documentation this shouldn't be authorized. It was breaking reads from the filer.
What problem are we solving?
Issue #3352

The auth check broke the filer being able to read files from the volume server if jwt.signing.key was set in security.toml.
How are we solving the problem?
Removing the auth check on reads.

I read in the documentation:

The volume server can also check JWT for reads. This mode does not work with weed filer. But this could be useful if the volume server is exposed to public and you do not want anyone to access it with a URL, e.g., paid content.

(source: https://github.com/seaweedfs/seaweedfs/wiki/Security-Overview#jwt-for-read-access-control)

A solution could be to compute JWT for reads in filer.


Rework effects checking to maintain thrown type information.

While here, eliminate some redundancy in the implementation of effects checking be consolidating the logic for computing a Classification from a particular expression or other entity.

@swift-ci please smoke test

When will this be released?

@swift-ci please smoke test


Implement Source model - Step 1

Overview
The first step of a three step process to add a Source model between facility lists and list items, allowing for the submission of individual facilities.
Each step in the process is intended to be released separately and maintain backward compatibility.
Connects #817
Testing Instructions

Checkout develop and ./scripts/resetdb
Checkout this branch and ./scripts/migrate
Ensure that ./scripts/manage liststosources runs without error
Use ./scripts/manage shell_plus to verify that a Source is created for each FacilityList and that a Source is assigned on each FacilityListItem

>>> list(FacilityList.objects.all().order_by('id').values_list('id', flat=True))
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
>>> list(Source.objects.all().order_by('facility_list').values_list('facility_list', flat=True))
[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
>>> FacilityListItem.objects.filter(source=None).count()
0

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

This has a migration conflict. Fixing now.

Fixed the migration conflict and rebased.

Thank you for the review.

I don't have a clear sense of the larger design change that this is serving

This is the highest level view of what this set of pulls it trying to achieve.

In order to allow submission of individual facilities we are inserting Source in between Contributor and FacilityListItem rather than FacilitiyList. The FacilityList table becomes a place where we store additional metadata about a Source if the the Source is a list.
#857 is where all of the major work happens. #858 is "cleanup." I will be assigning those for review shortly.

Thanks for the reviews.


match partial wildcard content types

resolve #499

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Matteo Padovano seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Replace changelog content with hyperlink in long_description in setup.py

The exact effective date of a release cannot be known in advanced with certainty, and since the CHANGELOG.rst file goes through the review process, and includes the release date, it would be best if the CHANGELOG was merged after the release not before. This would allow us to accurately set the release date in the CHANGELOG.
As of now the content of the CHANGELOG is displayed on PyPI, and cannot be changed, without making a new release. This could be a never ending problem, hence the proposed approach.

I'm not sure I understand. What would the link URL be?

I'm not sure I understand. What would the link URL be?

oh, simply the to the file on github: https://github.com/bigchaindb/bigchaindb-driver/blob/master/CHANGELOG.rst

Sounds good.


K8SPXC-257 Use unified entrypoint for pxc containers

Test name
Status

recreate
failed

scaling
passed

storage
failed

big-data
failed

init-deploy
failed

restore-to-encrypted-cluster
passed

limits
passed

monitoring
failed

self-healing
passed

monitoring-2-0
failed

scaling-proxysql
passed

upgrade
passed

demand-backup
passed

self-healing-advanced
failed

upgrade-consistency
passed

security-context
passed

operator-self-healing
passed

affinity
passed

one-pod
passed

auto-tuning
passed

scheduled-backup
failed

proxysql-sidecar-res-limits
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

storage
failed

scaling
passed

init-deploy
failed

recreate
passed

big-data
failed

limits
passed

monitoring
failed

scaling-proxysql
passed

self-healing
passed

monitoring-2-0
failed

upgrade
failed

affinity
passed

restore-to-encrypted-cluster
passed

upgrade-consistency
passed

self-healing-advanced
failed

security-context
passed

one-pod
passed

auto-tuning
passed

operator-self-healing
passed

demand-backup
failed

proxysql-sidecar-res-limits
passed

scheduled-backup
failed

demand-backup-encrypted-with-tls
passed

Test name
Status

big-data
failed

init-deploy
failed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
failed

scaling
passed

scaling-proxysql
passed

upgrade
passed

storage
failed

limits
passed

monitoring
failed

monitoring-2-0
failed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

upgrade-consistency
passed

security-context
passed

self-healing
passed

self-healing-advanced
failed

operator-self-healing
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
passed

Test name
Status

storage
failed

big-data
passed

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

init-deploy
failed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
failed

limits
passed

monitoring
failed

monitoring-2-0
failed

self-healing
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
passed

operator-self-healing
passed

Test name
Status

big-data
passed

init-deploy
passed

storage
failed

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

limits
passed

monitoring
failed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

monitoring-2-0
failed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
passed


Refactor command history to remove node dependencies from engine

Checklist

[/] I have added tests
[/] I have updated the docs and cheatsheet
[/] I have not broken the cheatsheet

update from meet-up:

Instead of inheritance, CommandHistory receives an interface for reading and writing history entries
In file-system-common, we implement file-based entry storage

@pokey Updated and ready for review again

see my commit; added some docstrings


⚠ Bofrost.de has degraded performance

In 7a9d07f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2452 ms

Resolved: Bofrost.de performance has improved in 5bb51e0 after 16 minutes.


x/build: missing test output in case of timeouts

The test log at https://build.golang.org/log/5f3ee279eff750a1e1fbb46a5866d993c36ca7a0 ends with the following output:
#####
Test "go_test:net" ran over 20m0s limit (20m0.036448368s)

That seems to imply that the test has deadlocked, but in order to diagnose the deadlock we need the goroutine dump, which is not present.
It is not obvious to me whether the lack of goroutine dump is a bug in the builder/buildlet sharding and logging path, in cmd/dist, or in the runtime.
Probably we should start the investigation with the builders.
CC @bradfitz @toothrot @dmitshur

The examples of this sort of output seem to be numerous. I'm not sure when they started appearing.
Here's another one from over the weekend: https://build.golang.org/log/9ec791ff66e9d9d62b6f45049c0934552a176110


Traefik working config & suggestion against default HTTPS

A working traefik configuration may look like the following and you may add to your documentation:
  headscale:
    image: headscale/headscale:latest
    container_name: headscale
    restart: unless-stopped
    networks:
      - traefik_proxy
    command: headscale serve
    volumes:
      - $DOCKERDIR/headscale/config:/etc/headscale
    labels:
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.headscale-rtr.entrypoints=https"
      - "traefik.http.routers.headscale-rtr.rule=Host(`hs.${DOMAIN_PUBLIC}`)"
      ## Middlewares
      - "traefik.http.routers.headscale-rtr.middlewares=chain-no-auth@file"
      ## HTTP Services
      - "traefik.http.routers.headscale-rtr.service=headscale-svc"
      - "traefik.http.services.headscale-svc.loadbalancer.server.port=8080"

  headscale-ui:
    image: ghcr.io/gurucomputing/headscale-ui:latest
    container_name: headscale-ui
    restart: unless-stopped
    networks:
      - traefik_proxy
    labels:
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.headscale_ui-rtr.entrypoints=https"
      - "traefik.http.routers.headscale_ui-rtr.rule=Host(`hs.${DOMAIN_PUBLIC}`) && PathPrefix(`/web`)"
      ## Middlewares
      - "traefik.http.routers.headscale_ui-rtr.middlewares=chain-no-auth@file"
      ## HTTP Services
      - "traefik.http.routers.headscale_ui-rtr.service=headscale_ui-svc"
      - "traefik.http.services.headscale_ui-svc.loadbalancer.server.port=443"
      - "traefik.http.services.headscale_ui-svc.loadbalancer.server.scheme=https"
      - "traefik.http.services.headscale_ui-svc.loadbalancer.serversTransport=disableSSLCheck@file"

And an additional config file whatevername.yml:
http:
  serversTransports:
    disableSSLCheck:
      insecureSkipVerify: true

Since we are using a reverse proxy anyways, is the internal HTTPS with a self-signed certificate really necessary? I really dislike having to add an additional insecureSkipVerify configuration to either Caddy or traefik. I see that the service really is served via <IP_ADDRESS>:2019 - why not expose that port to <IP_ADDRESS>? What's the benefit of having Caddy inside the container?
I would happily forward the reverse proxy to <container>:2019 without having to deal with the self-signed certificate.

I'm happy to add additional example configs, not in the main README but in a reference directory.

Since we are using a reverse proxy anyways, is the internal HTTPS with a self-signed certificate really necessary? I really dislike having to add an additional insecureSkipVerify configuration to either Caddy or traefik. I see that the service really is served via <IP_ADDRESS>:2019 - why not expose that port to <IP_ADDRESS>? What's the benefit of having Caddy inside the container?

Yes it's necessary, the concept that internal traffic shouldn't be encrypted by default is ludicrous. Chrome has done everyone a great disservice by making self signed encryption look worse than unencrypted traffic.
If you're using my docker container, it's gonna enforce encryption by default.

the concept that internal traffic shouldn't be encrypted by default is ludicrous

100% agreed. Self-signed encryption certainly is better than unencrypted. I just don't think that insecureSkipVerify or tls_insecure_skip_verify in Caddys case are nice things to have in your configs and also go against your security-thinking. This setting wouldn't be necessary if you would use non-self-signed certificates (which Caddy would be very much able to do) or at least have the ability (via environment variables / docker secrets) to pass in a valid CA/Key combination.
I don't need the encryption reverse proxy > container, since both are running as containers on the same host. I now mounted a custom Caddyfile into the container ( /data/Caddyfile) like so and I am happy:
{
  skip_install_trust
  http_port 8080
}
:8080 {
  redir / /web
  uri strip_prefix /web
  file_server {
    root /web
  }
}

With the custom Caddyfile I don't need these labels and can change the port to 8080:
      - "traefik.http.services.headscale_ui-svc.loadbalancer.server.scheme=https"
      - "traefik.http.services.headscale_ui-svc.loadbalancer.serversTransport=disableSSLCheck@file"

Sorry yes, should have gotten off my soapbox long enough to mention that the container is easily customisable to house a custom config in /data/Caddyfile :).

I know it has been a while, but I just got a question.
I’m a novice with middleware, can either of you explain what this line do?

"traefik.http.routers.headscale-rtr.middlewares=chain-no-auth@file"

It looks like there is a line in your traefik toml that describes “chain-no-auth”
im currently getting a bad gateway when I try to access headscale itself through https
thanks

Excellent, thanks for that example.
I'll try it out and let you know, let's see if it fixes my bad gateway issue


Fix some A_Vars

Fixed

A_BatchLines
A_NumBatchLines
(Both now replaced with -1)
A_CaretX
A_CaretY
(Defined with CaretGetPos() on the line before it's used)

hey sorry again i havent had time to get to these. but i'm really pleased with the work youre doing and how youre formatting the commits. what do you think about me giving you maintainer access so you can approve these pull requests yourself and be able to push to the repository without needing me to approve the PR? do you want that access?

That would be nice! Anything I'm unsure about I'll still make a PR for

Thank you!


Support for OAuth 2.0 Token Exchange Specification

Is your feature request related to a problem? Please describe.
This specification defines a protocol for an HTTP- and JSON- based Security Token Service (STS) by defining how to request and obtain security tokens from OAuth 2.0 authorization servers, including security tokens employing impersonation and delegation. We can implement a new token grant type to facilitate delegation and impersonation as new features for Identity Server.
Deliverables

WSO2 IS compliance for token exchange Specification
Unit/Integration Tests
Documentation
Article/Blogs/Screencasts

Describe the solution you would prefer

Additional context
References
[1] https://tools.ietf.org/html/rfc8693

Any plans to implement it in the future?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Single quote: no need

Coverage decreased (-0.04%) to 50.774% when pulling 8329ab9092ebfd885a050853331413c446dbc428 on fix_escape into 12b6c8eaf6606dc3fa84daf56947c09f87a41388 on master.

Actually escaping occurs twice. Fixed by 06fc5f951f7d8a496afebbc2fd5ff1ab31f54620.


WiFi Light Controller not working in HA (works on every other platform)

Describe the bug
The device appears in the Tuya App and IoT platform as expected. The Tuya skill and device works seamlessly. However, the device is brought into HA vi the integration but does not function.
Turning the light (controller) on results in the switch remaining in the 'On' position for a second then reverting to 'Off'.  The light shows no activity.
Expected behavior
Light to come on and off as commanded by the switch created via the HA integration.
Screenshots
Device info

Top two rows results of HA requests to turn on... lower two are requests via Tuya App

Device in HA

Home Assistant Version
core-2021.10.1
supervisor-2021.09.6
HA Error Logs
No errors logged in HA
Additional context
All 6 API Authorisations completed as directed in the installation instructions.

Reboot of HA has no generated the following:

Logger: homeassistant.config_entries
Source: components/tuya/init.py:86
First occurred: 09:57:47 (1 occurrences)
Last logged: 09:57:47
Error setting up entry<EMAIL_ADDRESS>for tuya
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97cc3190>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='openapi.tuyaeu.com', port=443): Max retries exceeded with url: /v1.0/iot-01/associated-users/actions/authorized-login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97cc3190>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/usr/src/homeassistant/homeassistant/components/tuya/init.py", line 59, in async_setup_entry
success = await _init_tuya_sdk(hass, entry)
File "/usr/src/homeassistant/homeassistant/components/tuya/init.py", line 86, in _init_tuya_sdk
response = await hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 208, in connect
response = self.post(
File "/usr/local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 324, in post
return self.__request("POST", path, None, body)
File "/usr/local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 267, in __request
response = self.session.request(
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='openapi.tuyaeu.com', port=443): Max retries exceeded with url: /v1.0/iot-01/associated-users/actions/authorized-login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97cc3190>: Failed to establish a new connection: [Errno -3] Try again'))


Test error

When I test the model, I get a error(list index out of range)
python test_models.py ucf101 RGB <ucf101_rgb_val_list> ucf101_bninception_rgb_checkpoint.pth
--arch BNInception --save_scores <score_file_name>
Traceback (most recent call last):
File "test_models.py", line 128, in
rst = eval_video((i, data, label))
File "test_models.py", line 116, in eval_video
rst = net(input_var).data.cpu().numpy().copy()
........
IndexError: list index out of range

Hello, I am getting the same problem, did you figure out the solution?

Hi, I also would like to know how you managed to solve the issue ? I believe this is about the .txt file as input but I am not sure in what kind of format should I put it in and what to include.

When you make the score file, something goes wrong. Check your score file and you may find an error. Some values are empty.

@https://github.com/yjxiong/tsn-pytorch/issues/55#issuecomment-414293289When you make the score file, something goes wrong. Check your score file and you may find an error. Some values are empty.

What do you mean by creating the score file?


Fix Call Invite

Describe the problem that is addressed by this PR
CallInvite was missing MicrosoftTeamsUserIdentifier
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-call-automation


While using 'Replace' ,Search Tab shows zero matches even when no replaces happen.

Description
While fixing typos in the query( or a text) if by accident if we made the same typo while using Replace, then the search tab shows zero results(as if the word got replaced). This gives wrong impression that the typo is fixed. For reference screenshots has been attached below.

DBeaver Version
Community Edition Version: <IP_ADDRESS>403091004
Operating System
Windows 11 Pro
Database and driver
No response
Steps to reproduce
Just try to replace any word using with itself. Can use the following text:
SELECT country, currincy
FROM world.currencies;
select currincy
from world.currencies;
Additional context
No response

Hello @malipeddisaiteja
The SQL editor has an original find search replace functionality

Context find/repalce by clicking CTRL+F in editor
Search file containing text

The second method invokes the Search view with an advanced context menu and toolbar.  After applying the replace view is cleaned up to be ready for the next call, this is a default behavior.
I suggest using the button at the right of the toolbar  "Run the current search again" for your case.

The original search view (Eclipse) default behavior. Start a new search required to run the button.

Hi @serjiokov ,
Thanks for the update. Also will follow the way you suggested


Remove selected IndexPath before notifying delegate

The contract for deselectItemAtIndexPath is to remove the index path
from the array before notifying the delegate. This allows the user
to check the selectedIndexes if there are remaining selections.
This patch applies this contract to reloadData where until now
selectedIndexes was cleaned after notifying the delegate.

Thank you for putting this together! ✨
I'm debating whether this is the behavior that would be desired, however. Would it make more sense to remove all selected indexes first, then notify the delegate? That way when the delegate receives each message the state would be correct. Here's what I'm thinking:
- (void)reloadData {
	_collectionViewFlags.wantsLayout = YES;

	NSArray *selectedIndexes = self.selectedIndexes.copy;
	[self.selectedIndexes removeAllObjects];

	// Remove any selected indexes we've been tracking.
	if (_collectionViewFlags.delegateDidDeselect) {
		for (NSIndexPath *indexPath in selectedIndexes) {
			[self.delegate collectionView:self didDeselectItemAtIndexPath:indexPath];
		}
	}

	// ...
}

What do you think?

Sounds good to me. I've updated the PR

Thanks again! 🌴

np. thx for providing such an awesome library.


Extract kernel options from the syslinux.conf file if exist.

Most Linux distro contain kernel options in the syslinux.cfg file which can be directly used if not provided by user and distro contain it. Implementing this approach will help get rid of hard-coded kernel options and also provide debug message to user if it unable to get.
syslinux.conf file which exist in boot2docker
$ cat /Volumes/b2d-v1.12.2/boot/isolinux/isolinux.cfg
serial 0 9600
display boot.msg
default boot2docker
label boot2docker
	kernel /boot/vmlinuz64 com1=9600,8n1
	initrd /boot/initrd.img
	append loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base

# see http://www.syslinux.org/wiki/index.php/SYSLINUX

# If flag_val is 0, do not load a kernel image unless it has been explicitly named in a LABEL statement. The default is 1.
implicit 0

# If flag_val is 0, display the boot: prompt only if the Shift or Alt key is pressed, or Caps Lock or Scroll lock is set (this is the default). If flag_val is 1, always display the boot: prompt.
prompt 1

# Indicates how long to pause at the boot: prompt until booting automatically, in units of 1/10 s. The timeout is cancelled when any key is pressed, the assumption being the user will complete the command line. A timeout of zero will disable the timeout completely. The default is 0.
timeout 1

# Displays the indicated file on the screen when a function key is pressed at the boot: prompt. This can be used to implement pre-boot online help (presumably for the kernel command line options).
F1 boot.msg
F2 f2
F3 f3
F4 f4

@praveenkumar Originally this was exclusively for boot2docker.
But Ideally, we should parse the file, and change the "generic" driver from boot2docker only.
SGTM.
Do you have any proof-of-concept pull request?

change the "generic" driver from boot2docker only.

Yes agree.

Do you have any proof-of-concept pull request?

@zchee Right now no but I will work on that and soon send a PR for review.

@praveenkumar

Right now no but I will work on that and soon send a PR for review.

Thanks :)
minikube-iso also have append on isolinux.cfg, This feature seems to be compatible with minikube.

minikube-iso also have append on isolinux.cfg, This feature seems to be compatible with minikube.

yes,  that's right.

@praveenkumar just for the record , you are saying Arch, Ubuntu, Debian , CentOS uses syslinux.cfg, right? ISOLinux and SysLinux are related and ISOLinux is part of SysLinux as per my understanding.

Let me re-phrase,  So it has to to be either syslinux.cfg or isolinux.cfg , right?

@LalatenduMohanty I am just going to locate isolinux.cfg file and then parse it to look for append and then use that value if it failed to get it then should have err and notify user to pass the kernel option with --xhyve-kernel-cmd.

@zchee Looks like xhyve doesn't make out from all the options passed to it and it not even able to start the vm. I tried default kernel options which available for centos image as default => root=live:CDLABEL=live-centos rootfstype=auto ro rd.live.image quiet no_timer_check console=tty0 console=ttyS0,115200 net.ifnames=0 biosdevname=0 rhgb rd.luks=0 rd.md=0 rd.dm=0 and it failed to start the VM. Do you have any idea what all kernel options xhyve can support?

@praveenkumar FYI, We used static vendoring hyperkit source on libhyperkit.
So if you want to support some kernel option, It is possible to merge before hyperkit team code review.

@zchee Looks like it will take more time to add required options support to xhyve and I am not very good in internal system implementation :( Meanwhile is it feasible to implement for boot2docker kind of iso which have supported kernel-options for xhyve driver?

@zchee  I was able to do some implementation but again that only going to work with boot2docker because we don't know other distro enabled same kernel options.
# cat options_test.go
package main

import (
	"bufio"
	"fmt"
	"os"
	"regexp"
	"strings"
)

func readLine(path string) []string {
	lines := []string{}
	inFile, err := os.Open(path)
	if err != nil {
		fmt.Printf("Issue with file open")
	}
	defer inFile.Close()
	scanner := bufio.NewScanner(inFile)
	scanner.Split(bufio.ScanLines)
	for scanner.Scan() {
		lines = append(lines, scanner.Text())
	}
	return lines
}

func main() {
	lines := readLine("/tmp/isolinux.cfg")
	kernelOptionRegexp := regexp.MustCompile(`\s*append`)
	for _, line := range lines {
		if kernelOptionRegexp.MatchString(line) {
			options := strings.Join(strings.Fields(line)[1:], " ")
			fmt.Printf("%#v", options)
		}
	}
}

# go run options_test.go
"loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base"

@praveenkumar Sorry for the delay.
I'll comment later.

@praveenkumar I have tested your example .go file.
but, If target isolinux.cfg have many append option, will gets multiple option such as
"initrd=initrd.img inst.stage2=hd:LABEL=CentOS\\x207\\x20x86_64 quiet""initrd=initrd.img inst.stage2=hd:LABEL=CentOS\\x207\\x20x86_64 rd.live.check quiet""initrd=initrd.img inst.stage2=hd:LABEL=CentOS\\x207\\x20x86_64 xdriver=vesa nomodeset quiet""initrd=initrd.img inst.stage2=hd:LABEL=CentOS\\x207\\x20x86_64 rescue quiet"

using http://mirror.centos.org/centos/7/os/x86_64/isolinux/isolinux.cfg
(Note that I do not know whether it is actually used or not)
What do you think about it?

@praveenkumar Anyway, boot2docker and minikube only have one append option.
As a result, this feature will for power users who want to use alternative iso.
So, We can assume this user already known isolinux syntax and content. I think e.g.

--xhyve-use-isolinux-kernel-option
bool
or, change to the use default?
--xhyve-isolinux-label
string
optional flag for --xhyve-use-isolinux-kernel-option
By deafult, using first founded append option
If might be have multiple append, sets the label to this flag

WDYT?

@zchee Actually there will be only single append of kernel options in case of centos and others append options for memtest, rescue mode etc. what we actually need is only first append options which labeled as linux. We have to add break logic once first append find.
--xhyve-boot-cmd and --xhyve-isolinux-label should be same. I mean we don't actually require multiple append and only to pass kernel options.
My suggestion is only have --xhyve-isolinux-label options and don't put hard coded defaults if we can detect otherwise put debug message to use to pass using this options.
WDYT?

@praveenkumar

Actually there will be only single append of kernel options in case of centos and others append options for memtest, rescue mode etc. what we actually need is only first append options which labeled as linux. We have to add break logic once first append find.

agree.

--xhyve-boot-cmd and --xhyve-isolinux-label should be same. I mean we don't actually require multiple append and only to pass kernel options.
My suggestion is only have --xhyve-isolinux-label options and don't put hard coded defaults if we can detect otherwise put debug message to use to pass using this options.

Ah, sorry if my understanding is wrong, but it means like this?

Add automatically parses isolinux.cfg logic
Add --xhyve-isolinux-label: string
for parses and break conditions if have multiple label on isolinux.cfg
Remove hardcoded boot2docker kernel option
Remove --xhyve-boot-cmd
Instead of use isolinux.cfg data

Or not remove --xhyve-boot-cmd, change to for additional debug option such as debug, bootmem_debug or ignore_loglevel, use isolinux.cfg option even if set --xhyve-boot-cmd ?

Add --xhyve-isolinux-label: string

you mean like have default value for this option will be append and user can define which option to parse?

Or not remove --xhyve-boot-cmd, change to for additional debug option such as debug, bootmem_debug or ignore_loglevel, use isolinux.cfg option even if set --xhyve-boot-cmd ?

That sound good, actually --xhyve-boot-cmd should be available to pass different kernel options. I  am in support to first check isolinux.cfg options and if nothing found then tell user to use --xhyve-boot-cmd argument to pass kernel option which will make sure we are not iterating isolinux.cfg any more and respect users provided kernel parameters.

@praveenkumar

Add --xhyve-isolinux-label: string

you mean like have default value for this option will be append and user can define which option to parse?

Ah. In generally, does isolinux.cfg have a default section? (I learned it now).
At the first, I still don't understand all of isolinux.cfg file syntax.
However, if use this,
http://mirror.centos.org/centos/7/os/x86_64/isolinux/isolinux.cfg
We should parse the append kernel option in label linux section, but there are default vesamenu.c32 in the first line.
In this case,

parse default -> search label -> get append

is impossible.
Another approach as a fallback,

parse default -> search label -> not found -> use the first found label and append

will use the linux label.
But if default boot label is not at the top, such as sample isolinux.cfg, I think --xhyve-isolinux-label flags is necessary.
If the default boot label is always at the top, --xhyve-isolinux-label flag is not necessary.

That sound good, actually --xhyve-boot-cmd should be available to pass different kernel options. I am in support to first check isolinux.cfg options and if nothing found then tell user to use --xhyve-boot-cmd argument to pass kernel option which will make sure we are not iterating isolinux.cfg any more and respect users provided kernel parameters.

I understand. SGTM too.
BTW, I do not know which iso you want to use. Could you tell me centos isolinux.cfg url or gist?

Thank you for being a long time for discussing.

If the default boot label is always at the top, --xhyve-isolinux-label flag is not necessary.

Usually a bootable iso which uses isolinux can have different way to put those kernel options. like in ubuntu if you check then isolinux.cfg is looks like where it include menu.cfg which have further include section and finally isolinux/txt.cfg have details. What I propose is our parser would be as simple as possible which just parse one single file and if not able to get append then put debug message. I am not sure if we can make it so generic then works for each distro.
$ cat /Volumes/Ubuntu\ 16.04.1\ L/isolinux/isolinux.cfg
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
path
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo

Could you tell me centos isolinux.cfg url or gist?

https://paste.fedoraproject.org/481342/91948141/

@praveenkumar

Usually a bootable iso which uses isolinux can have different way to put those kernel options. like in ubuntu if you check then isolinux.cfg is looks like where it include menu.cfg which have further include section and finally isolinux/txt.cfg have details. What I propose is our parser would be as simple as possible which just parse one single file and if not able to get append then put debug message. I am not sure if we can make it so generic then works for each distro.

Understand, Thanks. that's can include ...

What I propose is our parser would be as simple as possible which just parse one single file and if not able to get append then put debug message.

Sound good to me.
It cannot be a complete parsing, but a simple is better.
And, I agree with first issue topic. We should use the isolinux.cfg kernel option if exists.
Do you have any pull request for it?

Do you have any pull request for it?

I will create a PR soon, at max tomorrow.

@praveenkumar

I will create a PR soon, at max tomorrow.

Thanks :)
I am grateful for your cooperation. Thanks again.


Node red refinement

The dapr-dependencies of velocitas are not related to this PR, hence merging.


Made a Visual Studio 2019 Project

I made a Visual Studio 2019 Project for easy compilation and modification of it. Also, here's the Release Build that I made with it (which should be v1.0 when making a Release and adding the extracted program to it):
Remote.zip

Why didn't you make a Release with the exe in the archive that I attached?


[stable/stolon] update stolon version

Is this a new chart
no
What this PR does / why we need it:
Stolon 0.13 is not working on kubernetes v1.18 (see https://github.com/sorintlab/stolon/issues/781)
This PR upgrades stolon version from 0.13 to 0.16
Which issue this PR fixes

fixes https://github.com/sorintlab/stolon/issues/781

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @lwolf

plz fix DCO https://github.com/helm/charts/pull/22184/checks?check_run_id=629441817

@lwolf, sure, fixed!

/lgtm

/approve

is it supposed to support older versions of kubernetes?

@hezise I've not tested this, but it should work fine, the new version of stolon just changed the patch type, which is solves the original problem:
k8s store: patch pod annotations instead of doing a full update

I don't think that global behavior was somehow changed


Report missing

The list mentions the following list "Details of firmware states on devices" however i have checked two instances of configmgr 1810 and the report does not exist.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a01dd64-8ff0-4bf0-a8af-6036abcad725
Version Independent ID: 48b86273-4bd1-6ec5-cb42-a202cccb0433
Content: List of reports - Configuration Manager
Content Source: sccm/core/servers/manage/list-of-reports.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @alexverboon for taking the time to share this with the Configuration Manager documentation team. I can see it in our test environment, and I don't see any active bugs about it missing.
I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.

OK, I checked with engineering. The report was pulled from 1810 due to issues with it, but is back in the later builds I was looking at. I'll reopen this issue to note that the report is not in 1810.

We closed this issue because I submitted a change to address it. It will publish live tomorrow around 11am Pacific.


[Bug] Only Showing Host Storage Other Storage Showing Empty

Description of the bug
Installed Dash. through docker command:
docker container run -it
-p 80:3001
--privileged
-v /:/mnt/host:ro
mauricenino/dashdot
I have two drives that are mounted together using lvm2
First off they show separately, which is fine. However, they both show empty.

How to reproduce
Normal install on Raspberry Pi and viewing on chrome
Relevant log output
Actions

    type: 'Wired',
    publicIp: ''
  },
  gpu: { layout: [] },
  config: {
    port: 3001,
    running_in_docker: true,
    accept_ookla_eula: false,
    use_network_interface: undefined,
    speed_test_from_path: undefined,
    fs_device_filter: [],
    fs_type_filter: [
      'cifs',
      '9p',
      'fuse.rclone',
      'fuse.mergerfs',
      'nfs4',
      'iso9660',
      'fuse.shfs'
    ],
    fs_virtual_mounts: [],
    disable_integrations: false,
    show_dash_version: undefined,
    show_host: false,
    custom_host: undefined,
    page_title: 'dash.',
    use_imperial: false,
    always_show_percentages: false,
    widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
    os_label_list: [ 'os', 'arch', 'up_since' ],
    cpu_label_list: [ 'brand', 'model', 'cores', 'threads', 'frequency' ],
    storage_label_list: [ 'brand', 'type', 'size', 'raid' ],
    ram_label_list: [ 'brand', 'type', 'size', 'frequency' ],
    network_label_list: [ 'type', 'speed_up', 'speed_down', 'interface_speed' ],
    gpu_label_list: [ 'brand', 'model', 'memory' ],
    os_widget_grow: 2.5,
    os_widget_min_width: 300,
    enable_cpu_temps: false,
    cpu_widget_grow: 4,
    cpu_widget_min_width: 500,
    cpu_shown_datapoints: 20,
    cpu_poll_interval: 1000,
    storage_widget_items_per_page: 3,
    storage_widget_grow: 3.5,
    storage_widget_min_width: 500,
    storage_poll_interval: 60000,
    ram_widget_grow: 4,
    ram_widget_min_width: 500,
    ram_shown_datapoints: 20,
    ram_poll_interval: 1000,
    speed_test_interval: 240,
    network_widget_grow: 6,
    network_widget_min_width: 500,
    network_shown_datapoints: 20,
    network_poll_interval: 1000,
    gpu_widget_grow: 6,
    gpu_widget_min_width: 700,
    gpu_shown_datapoints: 20,
    gpu_poll_interval: 1000,
    override: {
      os: undefined,
      arch: undefined,
      cpu_brand: undefined,
      cpu_model: undefined,
      cpu_cores: undefined,
      cpu_threads: undefined,
      cpu_frequency: undefined,
      ram_brand: undefined,
      ram_size: undefined,
      ram_type: undefined,
      ram_frequency: undefined,
      network_type: undefined,
      network_speed_up: undefined,
      network_speed_down: undefined,
      network_interface_speed: undefined,
      network_public_ip: undefined,
      storage_brands: {},
      storage_sizes: {},
      storage_types: {},
      gpu_brands: [],
      gpu_models: [],
      gpu_memories: []
    }
  }
}
Running speed-test (this may take a few minutes)...
First measurement [CPU]: [
  { load: 47.86070834323746, temp: 0, core: 0 },
  { load: 49.7109158186864, temp: 0, core: 1 },
  { load: 54.81947664789666, temp: 0, core: 2 },
  { load: 50.65869589283737, temp: 0, core: 3 }
]
First measurement [Network]: { up: 0, down: 0 }
First measurement [Storage]: [<PHONE_NUMBER>4, 0, 0 ]
First measurement [RAM]:<PHONE_NUMBER>
Speed-test completed successfully [speedtest-cli] {
  speedDown: 146490836.98464552,
  speedUp: 68297597.3115207,
  publicIp: undefined

-------------------------------------------------------

node -e "const si = require('systeminformation'); si.fsSize().then(data => console.log(data))"
[
  {
    fs: 'overlay',
    type: 'overlay',
    size:<PHONE_NUMBER>4,
    used:<PHONE_NUMBER>0,
    available:<PHONE_NUMBER>8,
    use: 51.05,
    mount: '/',
    rw: false
  },
  {
    fs: '/dev/mmcblk0p2',
    type: 'ext4',
    size:<PHONE_NUMBER>4,
    used:<PHONE_NUMBER>0,
    available:<PHONE_NUMBER>8,
    use: 51.05,
    mount: '/mnt/host',
    rw: true
  },
  {
    fs: '/dev/mapper/unRAIDvg-unRAIDlv',
    type: 'ext4',
    size:<PHONE_NUMBER>24,
    used:<PHONE_NUMBER>6,
    available:<PHONE_NUMBER>52,
    use: 9.95,
    mount: '/mnt/host/mnt/unRAID',
    rw: true
  },
  {
    fs: '/dev/mmcblk0p1',
    type: 'vfat',
    size: 534765568,
    used: 84359168,
    available: 450406400,
    use: 15.77,
    mount: '/mnt/host/boot/firmware',
    rw: true
  }
]

Info output of dashdot cli

Output:
const disks =  [
  {
    device: '/dev/sda',
    type: 'HD',
    name: 'USB DISK        ',
    vendor: 'SMI',
    size:<PHONE_NUMBER>0,
    bytesPerSector: null,
    totalCylinders: null,
    totalHeads: null,
    totalSectors: null,
    totalTracks: null,
    tracksPerCylinder: null,
    sectorsPerTrack: null,
    firmwareRevision: '1100',
    serialNum: '',
    interfaceType: 'USB',
    smartStatus: 'unknown',
    temperature: null
  },
  {
    device: '/dev/sdb',
    type: 'HD',
    name: 'Flash Drive     ',
    vendor: 'Samsung',
    size:<PHONE_NUMBER>92,
    bytesPerSector: null,
    totalCylinders: null,
    totalHeads: null,
    totalSectors: null,
    totalTracks: null,
    tracksPerCylinder: null,
    sectorsPerTrack: null,
    firmwareRevision: '1100',
    serialNum: '',
    interfaceType: 'USB',
    smartStatus: 'unknown',
    temperature: null
  },
  {
    device: '/dev/mmcblk0',
    type: 'SSD',
    name: '',
    vendor: '',
    size:<PHONE_NUMBER>0,
    bytesPerSector: null,
    totalCylinders: null,
    totalHeads: null,
    totalSectors: null,
    totalTracks: null,
    tracksPerCylinder: null,
    sectorsPerTrack: null,
    firmwareRevision: '',
    serialNum: '0xb6840b77',
    interfaceType: '',
    smartStatus: 'unknown',
    temperature: null
  }
]
const sizes =  [
  {
    fs: 'overlay',
    type: 'overlay',
    size:<PHONE_NUMBER>4,
    used:<PHONE_NUMBER>2,
    available:<PHONE_NUMBER>6,
    use: 51.05,
    mount: '/',
    rw: false
  },
  {
    fs: '/dev/mmcblk0p2',
    type: 'ext4',
    size:<PHONE_NUMBER>4,
    used:<PHONE_NUMBER>2,
    available:<PHONE_NUMBER>6,
    use: 51.05,
    mount: '/mnt/host',
    rw: true
  },
  {
    fs: '/dev/mapper/unRAIDvg-unRAIDlv',
    type: 'ext4',
    size:<PHONE_NUMBER>24,
    used:<PHONE_NUMBER>6,
    available:<PHONE_NUMBER>52,
    use: 9.95,
    mount: '/mnt/host/mnt/unRAID',
    rw: true
  },
  {
    fs: '/dev/mmcblk0p1',
    type: 'vfat',
    size: 534765568,
    used: 84359168,
    available: 450406400,
    use: 15.77,
    mount: '/mnt/host/boot/firmware',
    rw: true
  }
]
const blocks =  [
  {
    name: 'mmcblk0',
    type: 'disk',
    fsType: '',
    mount: '',
    size:<PHONE_NUMBER>0,
    physical: 'SSD',
    uuid: '',
    label: '',
    model: '',
    serial: '0xb6840b77',
    removable: false,
    protocol: '',
    group: '',
    device: '/dev/mmcblk0'
  },
  {
    name: 'sda',
    type: 'disk',
    fsType: '',
    mount: '',
    size:<PHONE_NUMBER>0,
    physical: 'HDD',
    uuid: '',
    label: '',
    model: 'USB DISK',
    serial: '',
    removable: true,
    protocol: 'usb',
    group: '',
    device: '/dev/sda'
  },
  {
    name: 'sdb',
    type: 'disk',
    fsType: '',
    mount: '',
    size:<PHONE_NUMBER>92,
    physical: 'HDD',
    uuid: '',
    label: '',
    model: 'Flash Drive',
    serial: '',
    removable: true,
    protocol: 'usb',
    group: '',
    device: '/dev/sdb'
  },
  {
    name: 'mmcblk0p1',
    type: 'part',
    fsType: 'vfat',
    mount: '/mnt/host/boot/firmware',
    size: 536870912,
    physical: '',
    uuid: 'D3E6-3F09',
    label: 'bootfs',
    model: '',
    serial: '',
    removable: false,
    protocol: '',
    group: '',
    device: '/dev/mmcblk0'
  },
  {
    name: 'mmcblk0p2',
    type: 'part',
    fsType: 'ext4',
    mount: '/mnt/host',
    size:<PHONE_NUMBER>4,
    physical: '',
    uuid: 'cb6f0e18-5add-4177-ab98-e9f0235e06b3',
    label: 'rootfs',
    model: '',
    serial: '',
    removable: false,
    protocol: '',
    group: '',
    device: '/dev/mmcblk0'
  },
  {
    name: 'sda1',
    type: 'part',
    fsType: 'LVM2_member',
    mount: '',
    size:<PHONE_NUMBER>4,
    physical: '',
    uuid: '4EcHF8-D6s9-Ht2C-DLo2-SlIn-cwvU-GcdeX1',
    label: '',
    model: '',
    serial: '',
    removable: true,
    protocol: '',
    group: '',
    device: '/dev/sda'
  },
  {
    name: 'sdb1',
    type: 'part',
    fsType: 'LVM2_member',
    mount: '',
    size:<PHONE_NUMBER>00,
    physical: '',
    uuid: 'f9bCp8-Rqq8-CM0K-Y9Wh-Y0YK-vzIl-4cvTui',
    label: '',
    model: '',
    serial: '',
    removable: true,
    protocol: '',
    group: '',
    device: '/dev/sdb'
  }
]

What browsers are you seeing the problem on?
Firefox, Chrome, Safari
Where is your instance running?
Raspberry Pi
Additional context
I've read through all of the issues relating to storage and tried some fixes.
When I first tried to run the dash. CLI command I got the error that systeminformation module was not found. So I entered the container that dash. is running on and ran: yarn add systeminformation. The CLI command was working after that.

same issu for me

Hi there! I have looked into the data you provided, but unfortunately I see no way of connecting the blocks to the size.
I would like to add an option to manually add mountpoints for drives via configuration, but the current way of providing config options doesn't really allow for that. If I get time to implement #730, this will be high up on my priority list, so if you want to use that, I urge you to follow that task.
For now, I will close this, as it will eventually be fixed with the linked task and I can't do much else right now here. Sorry for the inconvenience.

i don't know how , but after reboot my nas , Dash show all storage used.
But for Raids , its empty.

Yeah, that probably happened due to #882 - Now instead of 0% you have 100%. You probably pulled the newest version. Still, it means that your sizes array is empty.


BadMethodCallException: Method Illuminate\Support\Stringable::markdown does not exist.

Hey,
i am trying your software on a fresh laravel installation (latest release) and i get the following error message when i try to open the login page.
BadMethodCallException
Method Illuminate\Support\Stringable::markdown does not exist. (View: vendor\filament\filament\packages\forms\resources\views\components\field-group.blade.php)

There is nothing else installed in this testing installation. The only package installed is yours. I already did the database migration and created a new admin user.
Greetings
Leo

Hi @leo-unglaub, I am developing locally as well and facing similar issue. How did you resolve it?

@rionjau Which version of Laravel are you using?

8.23.1

Can you upgrade to the latest Laravel version please?

I have and still not working.
I have 8.51.0 now

Line 50 in vendor\filament\filament\packages\forms\resources\views\components\field-group.blade.php it the one causing the error.

The method exists? 🤷♂ https://laravel.com/docs/8.x/helpers#method-fluent-str-markdown


support *.js and *.css as FileType

in v0.1.8, FileType does not support .js and .css
Too poor.

Even if I modify the FileType class to support .js and .css, I am not sure if the Report can appropriately process the .js files and .css files. I suppose I have to modify the Report-related class but I am not sure how.


This repo has been inactive for 2 years.

This repository has seen no commits since sep 2013. there are a lot of good pull requests pending, and this is too good a project to let it go to waste. So what do we do?

what do we do depends on whether the author see this situation and take some actions such as having some collaborator or hand it over to someone who is capable of maintaining it.

@samvermette.

Same as #282.


Add support ignore_expressions?

Hi Marko,
I have a few words (using the text explainer) which are obvious and the explanation of those features is cluttering the explanations. I want to go about contributing an ignore_expression I think.
I was thinking of just use the split_expression field to do this but then I realised it might sometimes result in empty strings being matched if the ignored word at the beginning of the string. Would it replace those empty strings?
Ideas:

Instead of re.split, use something similar that will ignore the empty strings
Filter the vocab dict by not adding empty strings
Add a ignore_expression to make sure those words are never added?

Any feedback would be appreciated :)

If you pass in a split expression like this:
 split_expression = '|'.join(['\W+', 'word1', 'word2'])
Lime will keep your ignored words ('word1', 'word2') fixed just like it does spacing and punctuation (it will only perturb whatever does not match the split expression). It doesn't really matter if it matches a few empty strings, as it will not use those for anything.
I guess a conceptual question to ask is: if there are obvious features that explain your model well, why don't you want them?

That is essentially what I ended up doing. :)
Well, I don't want them because they are necessary but not sufficient phrases for a certain class to be chosen and they occur in some way or another in every pattern. Basically, they're confusing investors :P


[WC-6] Improve calendar web widget docs

This PR revises the calendar web widget documentation by elaborating on every widget property.

@ConnorLand It still needs technical review.

@ConnorLand just approved for tech perspective