NetworkImage Error Text not helpful enough

I am in the final days of completing a project, but whenever I do a hot reload, I get this error in the console coming from who knows where. The error shows me no point of origin, and I have tens of FadeINImage widgets in the project. It doesn't matter which page I do the hot reload, I still get the error below. I'm thinking there is no actual error in the code, just some parameter not received by one of the many buildcontext functions, as there are no issues or errors when the app is running for the first time. Either way, I believe it should not return an exception, or it should tell me what part of the code I need to fix.
======== Exception caught by image resource service ================================================
The following ArgumentError was thrown resolving an image codec:
Invalid argument(s): No host specified in URI file:///

When the exception was thrown, this was the stack:
#0      _HttpClient._openUrl (dart:_http/http_impl.dart:2667:9)
#1      _HttpClient.getUrl (dart:_http/http_impl.dart:2575:48)
#2      NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:87:59)
#3      NetworkImage.load (package:flutter/src/painting/_network_image_io.dart:50:14)
#4      ImageProvider.resolveStreamForKey.<anonymous closure> (package:flutter/src/painting/image_provider.dart:505:13)
#5      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:380:22)
#6      ImageProvider.resolveStreamForKey (package:flutter/src/painting/image_provider.dart:503:83)
#7      ScrollAwareImageProvider.resolveStreamForKey (package:flutter/src/widgets/scroll_aware_image_provider.dart:106:19)
#8      ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:333:9)
#9      ImageProvider._createErrorHandlerAndKey.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:464:26)
#10     SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:41:35)
#11     ImageProvider._createErrorHandlerAndKey.<anonymous closure> (package:flutter/src/painting/image_provider.dart:461:11)
#15     ImageProvider._createErrorHandlerAndKey (package:flutter/src/painting/image_provider.dart:453:16)
#16     ImageProvider.resolve (package:flutter/src/painting/image_provider.dart:330:5)
#17     _ImageState._resolveImage (package:flutter/src/widgets/image.dart:1119:16)
#18     _ImageState.didChangeDependencies (package:flutter/src/widgets/image.dart:1071:5)
#19     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4925:13)
#20     Element.rebuild (package:flutter/src/widgets/framework.dart:4477:5)
#21     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2659:19)
#22     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882:21)
#23     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#24     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#25     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#26     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:995:5)
#30     _invoke (dart:ui/hooks.dart:151:10)
#31     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
#32     _drawFrame (dart:ui/hooks.dart:115:31)
(elided 6 frames from dart:async)
Image provider: NetworkImage("", scale: 1.0)
Image key: NetworkImage("", scale: 1.0)
====================================================================================================

I predict this error can be caused due to one of the following errors:

I think this problem occurs when your URL is not having https:// before the URL. This problem can be solved by adding https:// before the URL.

The error may also occur if you use the following code:

image: new NetworkImage(imageUrl ?? ''),

This is because the app tries to get imageUrl asynchronously. Before the render Url is fetched back, it is null.
NetworkImage(imageUrl ?? '') then tries to use empty string as the url and result in the exception.
I am not sure if this is the best solution, but this seems to work:
  Widget get dogImage {
    return imageUrl == null ?
      Container() :
      Container(
        width: 100.0,
        height: 100.0,
        decoration: BoxDecoration(
          shape: BoxShape.circle,
          image: DecorationImage(
            fit: BoxFit.cover,
            image: NetworkImage(renderUrl),
          ),
        ),
      );
  }

I hope this will help you. If you are still experiencing a similar issue, please reply with a message, including the output of flutter doctor -v and the code which you predict that it's the reason of this error.

you should also try Uri.parse(urlPath)

@viperciyes
You seem to have filed same issue previously https://github.com/flutter/flutter/issues/101082 for which the conclusion from our side was to ask support questions on stackOverflow, so please do the same.
If you think this is a genuine bug in NetworkImage and you have concrete steps / code to replicate this error, please provide the same and we'll reopen it to further address it.
Closing for now.


update signature of Promise.all and Promise.race

This updates Promise.all and Promise.race to accept arrays of regular objects and thenable objects in accordance with the spec: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all
If something passed in the iterable array is not a promise, it's converted to one by Promise.resolve.

@sccolbert thanks mate!


Update Carthage configurations

Add Cartfile.resolved (the equivalent of Podfile.lock in CocoaPods).
Exclude Carthage/Checkouts from Git version control.

Cool!


Python: Support for validate_all function

This change implements the validate_all function through the ast module in the python standard library, which allows PGV to return all validate error messages at once.
//entities.proto
message Person {
  uint64 id    = 1 [(validate.rules).uint64.gt    = 999];

  string email = 2 [(validate.rules).string.email = true];

  string name  = 3 [(validate.rules).string = {
                      pattern:   "^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$",
                      max_bytes: 256,
                   }];

  Location home = 4 [(validate.rules).message.required = true];

  message Location {
    double lat = 1 [(validate.rules).double = { gte: -90,  lte: 90 }];
    double lng = 2 [(validate.rules).double = { gte: -180, lte: 180 }];
  }
}

from entities_pb2 import Person
from protoc_gen_validate.validator import validate, ValidationFailed, print_validate, validate_all

p = Person(id=1000, name="Foo"<EMAIL_ADDRESS>home=Person.Location(lat=0, lng=-999))
try:
    validate(p)
except ValidationFailed as err:
    print("validate(p):", err)
print("=" * 79)
try:
    validate_all(p)
except ValidationFailed as err:
    print("validate_all(p):", err)

print("=" * 79)
print(print_validate())

Result:
validate(p): p.email is not a valid email
===============================================================================
validate_all(p):
p.email is not a valid email
p.name pattern does not match ^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$
p.lng is not in range (180.0, -180.0)
===============================================================================
# Validates Person
def generate_validate(p):
    if p.id <= 999:
        raise ValidationFailed("p.id is not greater than 999")
    if not _validateEmail(p.email):
        raise ValidationFailed("p.email is not a valid email")
    if byte_len(p.name) > 256:
        raise ValidationFailed("p.name length is greater than 256")
    if re.search(r'^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$', p.name) is None:
        raise ValidationFailed("p.name pattern does not match ^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$")
    if not _has_field(p, "home"):
        raise ValidationFailed("home is required.")
    if _has_field(p, "home"):
        embedded = validate(p.home)
        if embedded is not None:
            return embedded
    return None
# Validates Person All
def generate_validate_all(p):
    err = ''
    if p.id <= 999:
        err += '\np.id is not greater than 999'
    if not _validateEmail(p.email):
        err += '\np.email is not a valid email'
    if byte_len(p.name) > 256:
        err += '\np.name length is greater than 256'
    if re.search('^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$', p.name) is None:
        err += '\np.name pattern does not match ^[^[0-9]A-Za-z]+( [^[0-9]A-Za-z]+)*$'
    if not _has_field(p, 'home'):
        err += '\nhome is required.'
    if _has_field(p, 'home'):
        err += _validate_all(p.home)
    return err
# Validates Location All
def generate_validate_all(p):
    err = ''
    if p.lat < -90.0 or p.lat > 90.0:
        err += '\np.lat is not in range (90.0, -90.0)'
    if p.lng < -180.0 or p.lng > 180.0:
        err += '\np.lng is not in range (180.0, -180.0)'
    return err

Hi team.
It Looks like the May update of Protocol Buffers (Changes made in May 2022) broke python tests in ci, according to the description:

Version 4.21.0 is a new major version, following 3.20.1. The new version is based on the upb library
Python upb requires generated code that has been generated from protoc 3.19.0 or newer.

Maybe set the python protobuf dependency version to protobuf>=3.6.1,<3.20?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ElliotMJackson:x: HaloWorldYou have signed the CLA already but the status is still pending? Let us recheck it.

A check for validate_all has been added to harness, which I have tested locally and passed, and currently has two checks:

Ensure that the result of validate_all is the same as validate
When validation fails, ensure that the first error message of validate_all is the same as the error message of validate

Also, since the ast.unparse function was not officially introduced until python 3.9, I had to bring in a third-party library (astunparse) to ensure compatibility.

Here is an example of the functions currently generated by validate_all.
proto(tests/harness/cases/kitchen_sink.proto)
syntax = "proto3";

package tests.harness.cases;
option go_package = "github.com/envoyproxy/protoc-gen-validate/tests/harness/cases/go;cases";
import "validate/validate.proto";

import "google/protobuf/wrappers.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/any.proto";

enum ComplexTestEnum {
    ComplexZero = 0;
    ComplexONE  = 1;
    ComplexTWO  = 2;
}

message ComplexTestMsg {
    string                              const  = 1 [(validate.rules).string.const = "abcd"];
    ComplexTestMsg                      nested = 2;
    int32                               int_const = 3 [(validate.rules).int32.const = 5];
    bool                                bool_const = 4 [(validate.rules).bool.const = false];
    google.protobuf.FloatValue          float_val = 5 [(validate.rules).float.gt = 0];
    google.protobuf.Duration            dur_val = 6 [(validate.rules).duration.lt = {seconds: 17}, (validate.rules).duration.required = true];
    google.protobuf.Timestamp           ts_val = 7 [(validate.rules).timestamp.gt = {seconds: 7}];
    ComplexTestMsg                      another = 8;
    float                               float_const = 9 [(validate.rules).float.lt = 8];
    double                              double_in = 10 [(validate.rules).double = {in: [456.789, 123]}];
    ComplexTestEnum                     enum_const = 11 [(validate.rules).enum.const = 2];
    google.protobuf.Any                 any_val = 12 [(validate.rules).any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
    repeated google.protobuf.Timestamp  rep_ts_val = 13 [(validate.rules).repeated = { items { timestamp { gte { nanos: 1000000}}}}];
    map<sint32, string>                 map_val = 14 [(validate.rules).map.keys.sint32.lt = 0];
    bytes                               bytes_val = 15 [(validate.rules).bytes.const = "\x00\x99"];
    oneof o {
        option (validate.required) = true;

        string       x = 16;
        int32        y = 17;
    }
}

message KitchenSinkMessage { ComplexTestMsg val = 1; }

function genereated by validate
# Validates KitchenSinkMessage
def generate_validate(p):
    if _has_field(p, "val"):
        embedded = validate(p.val)
        if embedded is not None:
            return embedded
    return None
# Validates ComplexTestMsg
def generate_validate(p):
    present = False
    if _has_field(p, "x"):
        present = True
    if _has_field(p, "y"):
        present = True
    if not present:
        raise ValidationFailed("Oneof o is required")
    if p.const != "abcd":
        raise ValidationFailed("p.const not equal to abcd")
    if _has_field(p, "nested"):
        embedded = validate(p.nested)
        if embedded is not None:
            return embedded
    if p.int_const != 5:
        raise ValidationFailed("p.int_const not equal to 5")
    if p.bool_const != False:
        raise ValidationFailed("p.bool_const not equal to False")
    if p.HasField("float_val"):
        if p.float_val.value <= 0.0:
            raise ValidationFailed("p.float_val.value is not greater than 0.0")
    if not _has_field(p, "dur_val"):
        raise ValidationFailed("p.dur_val is required.")
    if _has_field(p, "dur_val"):
        dur = p.dur_val.seconds + round((10**-9 * p.dur_val.nanos), 9)
        lt = 17.0
        if dur >= lt:
            raise ValidationFailed("p.dur_val is not lesser than 17.0")
    if _has_field(p, "ts_val"):
        ts = p.ts_val.seconds + round((10**-9 * p.ts_val.nanos), 9)
        gt = 7.0
        if ts <= gt:
            raise ValidationFailed("p.ts_val is not greater than 7.0")
    if _has_field(p, "another"):
        embedded = validate(p.another)
        if embedded is not None:
            return embedded
    if p.float_const >= 8.0:
        raise ValidationFailed("p.float_const is not lesser than 8.0")
    if p.double_in not in [456.789, 123.0]:
        raise ValidationFailed("p.double_in not in [456.789, 123.0]")
    if p.enum_const != 2:
        raise ValidationFailed("p.enum_const not equal to 2")
    if _has_field(p, "any_val"):
        if p.any_val.type_url not in ['type.googleapis.com/google.protobuf.Duration']:
            raise ValidationFailed("p.any_val not in ['type.googleapis.com/google.protobuf.Duration']")
    for item in p.rep_ts_val:
        validate(item)
    for item in p.rep_ts_val:
        if item:
            ts = item.seconds + round((10**-9 * item.nanos), 9)
            gte = 0.001
            if ts < gte:
                raise ValidationFailed("item is not greater than or equal to 0.001")
        pass
    for key in p.map_val:
        if key >= 0:
            raise ValidationFailed("key is not lesser than 0")
        pass
    if p.bytes_val != b'\x00\x99':
        raise ValidationFailed("p.bytes_val not equal to b'\x00\x99'")
    return None

function generated by validate_all
# Validates KitchenSinkMessage All
def generate_validate_all(p):
    err = []
    if _has_field(p, 'val'):
        err += _validate_all(p.val)
    return err
# Validates ComplexTestMsg All
def generate_validate_all(p):
    err = []
    present = False
    if _has_field(p, 'x'):
        present = True
    if _has_field(p, 'y'):
        present = True
    if (not present):
        err.append('Oneof o is required')
    if (p.const != 'abcd'):
        err.append('p.const not equal to abcd')
    if _has_field(p, 'nested'):
        err += _validate_all(p.nested)
    if (p.int_const != 5):
        err.append('p.int_const not equal to 5')
    if (p.bool_const != False):
        err.append('p.bool_const not equal to False')
    if p.HasField('float_val'):
        if (p.float_val.value <= 0.0):
            err.append('p.float_val.value is not greater than 0.0')
    if (not _has_field(p, 'dur_val')):
        err.append('p.dur_val is required.')
    if _has_field(p, 'dur_val'):
        dur = (p.dur_val.seconds + round(((10 ** (- 9)) * p.dur_val.nanos), 9))
        lt = 17.0
        if (dur >= lt):
            err.append('p.dur_val is not lesser than 17.0')
    if _has_field(p, 'ts_val'):
        ts = (p.ts_val.seconds + round(((10 ** (- 9)) * p.ts_val.nanos), 9))
        gt = 7.0
        if (ts <= gt):
            err.append('p.ts_val is not greater than 7.0')
    if _has_field(p, 'another'):
        err += _validate_all(p.another)
    if (p.float_const >= 8.0):
        err.append('p.float_const is not lesser than 8.0')
    if (p.double_in not in [456.789, 123.0]):
        err.append('p.double_in not in [456.789, 123.0]')
    if (p.enum_const != 2):
        err.append('p.enum_const not equal to 2')
    if _has_field(p, 'any_val'):
        if (p.any_val.type_url not in ['type.googleapis.com/google.protobuf.Duration']):
            err.append("p.any_val not in ['type.googleapis.com/google.protobuf.Duration']")
    for item in p.rep_ts_val:
        err += _validate_all(item)
    for item in p.rep_ts_val:
        if item:
            ts = (item.seconds + round(((10 ** (- 9)) * item.nanos), 9))
            gte = 0.001
            if (ts < gte):
                err.append('item is not greater than or equal to 0.001')
        pass
    for key in p.map_val:
        if (key >= 0):
            err.append('key is not lesser than 0')
        pass
    if (p.bytes_val != b'\x00\x99'):
        err.append("p.bytes_val not equal to b'\x00\x99'")
    return err

@HaloWorld, CI is unhappy with
ERROR: /go/src/github.com/envoyproxy/protoc-gen-validate/python/protoc_gen_validate/validator.py Imports are incorrectly sorted and/or formatted.

I'm interested in improving the dev experience on this repo, just out of interest did this not get picked up on your local?

Sorry, I was previously unaware to the point that I could run ci directly locally with the make ci command, so I missed the lint check. Now I have fixed this issue and passed the ci test locally.
I'm relying on the Development section in README, I don't have bazel locally and I don't want to install bazel, so the only option for me is to build a docker image for testing.
docker build -t lyft/protoc-gen-validate .

Then I get to the container shell with the following command:
docker run --rm -ti -v $(pwd):/go/src/github.com/envoyproxy/protoc-gen-validate --entrypoint=/bin/bash lyft/protoc-gen-validate

Then I ran the make build command and got the following result:

I followed the prompt and added the environment variable GOFLAGS="-buildvcs=false" with the following command:
docker run --rm -ti -e GOFLAGS="-buildvcs=false" -v $(pwd):/go/src/github.com/envoyproxy/protoc-gen-validate --entrypoint=/bin/bash lyft/protoc-gen-validate

Then ran make build again, after which I ran the python tests with:
bazel test //tests/harness/executor:executor_python_test

After the test passed, I committed and pushed the code.

There are two things that I find most troublesome in the whole development process.

finding the entry for python test. I am not very familiar with bazel and go syntax, so this took me some time. Maybe explain how to run different tests for developers of different languages? If I just modified the python code, I don't think running the whole test with bazel is necessary, even if I need to run the whole test, I can run it before committing the PR.

add test cases against validate_all. Honestly, the current test set is not complete, it only guarantees that validate_all behaves the same as validate, but it does not guarantee that validate_all can find all validation exceptions. I know that the go version of PGV implements validateAll, but I can only see the first error message compared in the go test code(harnesss.go):

Wanted to chime in to say thank you. This is a great change.


MySQL does not work with thoth --migrate

It will not work at all without the changes in #2 as it cannot find the MySQL installation.
But even if it finds the installation this happens,

And if I manually create the db, it throws this.

Can you please post you thoth.conf file from your testone project here

#
# thoth.conf - Thoth configuration file.
#
# Customize this file as desired. You must restart Thoth before configuration
# changes will take effect.
#
# This file is YAML, but you may also use Erubis expressions to insert variables
# or run Ruby code.
#

# Settings for live mode.
live:

  # Connection URI for the database. Currently SQLite3 and MySQL are supported.
  # PostgreSQL may work, but hasn't been tested.
  #
  # Sample SQLite3 config:
  #   db: sqlite:////absolute/path/to/database.db
  #
  # Sample MySQL config:
  #   db: mysql://user:pass@hostname/database
  db: mysql2://user:password@hostname/t1

  # General site settings.
  site:
    # Name of your blog. This will be displayed as the title of your blog's
    # index page and in your blog's feeds.
    name: New Thoth Blog

    # A brief description or subtitle for your blog.
    desc: Thoth is awesome.

    # Base URL of your site. This is necessary in order for Thoth to know how
    # to construct links. Be sure to set this correctly or links may not work.
    url: http://localhost:7000/

    # URLs of CSS files to load in addition to the default Thoth CSS. You can
    # override Thoth's default styles by specifying your own CSS files here.
    # These can be relative or absolute URLs.
    #
    # Example:
    #   css:
    #     - /css/foo.css
    #     - 'http://example.com/bar.css'
    #
    css: []

    # URLs of JS files to load in addition to the default Thoth JS. You can
    # extend or override Thoth's JS or add functionality by specifying your own
    # JS files here. These can be relative or absolute URLs.
    #
    # Example:
    #   js:
    #     - /js/foo.js
    #     - 'http://example.com/bar.js'
    #
    js: []

    # Whether or not to allow visitors to post comments in response to blog
    # posts.
    enable_comments: true

    # Whether or not you want to expose a sitemap for your blog. A sitemap is
    # an XML file that gives search engines information about all the URLs on
    # your site so they can index them more easily.
    #
    # If enabled, you'll be able to see your sitemap at
    # http://yourdomain.com/sitemap and you can submit this URL to search
    # engines to improve the indexing of your site (and possibly your pagerank).
    enable_sitemap: true

    # Gravatar settings.
    gravatar:
      # Whether or not to enable Gravatar images on comments. Gravatar is a free
      # service that allows people to associate profile images with an email
      # address so that their postings on blogs and other websites are easily
      # identifiable. Learn more at http://www.gravatar.com/.
      enabled: true

      # Default icon set to use for users who don't have custom Gravatars. See
      # gravatar.com for the latest options. As of this writing, the available
      # choices are "identicon" (geometric shapes), "monsterids" (cutesy little
      # monsters), and "wavatars" (cutesy geometric shapes).
      #
      # Alternatively, you can specify the URL of your own custom image here and
      # that image will be used instead.
      default: identicon

      # Maximum Gravatar rating to allow. Available ratings are "g", "pg", "r",
      # and "x". Just like with movies, "r" and "x"-rated Gravatars may contain
      # adult content.
      rating: g

      # Gravatar size in pixels. This sets both the width and the height.
      size: 32

  # Administrator settings.
  admin:
    # Your name. This will be displayed in the copyright notice at the bottom of
    # the page, and will be used as the author name for your site's feeds.
    name: John Doe

    # Your email address. If you leave this blank or comment it out, it won't be
    # displayed.
    email: ''

    # Administrator username. This is the name you'll use to log into Thoth.
    user: thoth

    # Administrator password. By default this is a random number, so you won't
    # be able to log in until you change this!
    pass: thoth

    # String of random characters to add uniqueness to the admin auth cookie
    # hash. Just fill this with some made-up nonsense.
    seed: 6d552ac197a862b82b85868d6c245feb

  # Plugins that should be loaded when Thoth starts. Usually it's not
  # necessary to load a plugin until the first time it's used, but some plugins
  # alter core functionality and thus must be loaded at start time.
  #
  # Example:
  #   plugins:
  #     - foo
  #     - bar
  #     - baz
  #
  plugins: []

  # Absolute path to a directory where uploaded media files (images, videos,
  # etc.) for your blog posts and pages should be stored. This directory needs
  # to be readable and writeable by the user running the Thoth server.
  media: <%= Thoth::HOME_DIR %>/media

  # Server settings.
  server:
    # Server adapter to use. This can be any adapter Ramaze supports.
    adapter: webrick

    # IP address on which Thoth should listen for connections. Specify <IP_ADDRESS>
    # if you want Thoth to listen on all addresses.
    address: <IP_ADDRESS>

    # Port on which the Thoth server should listen for connections.
    port: 7000

    # Whether or not to enable caching. Enabling caching will significantly
    # improve Thoth's performance under heavy traffic.
    enable_cache: true

    # Whether or not to enable automatic, on the fly minification of your blog's
    # external CSS and JavaScript files. Enabling minification will reduce
    # page weight and is a great way to improve performance, but you'll need to
    # restart Thoth in order for CSS and JS changes to take effect.
    #
    # Note: this setting will have no effect if you're running Thoth under
    # Phusion Passenger or any other environment in which static file requests
    # are handled by a frontend server without passing through Ramaze.
    enable_minify: true

    # Filename to which errors should be logged when running in production mode,
    # or blank if you don't care about errors.
    error_log: <%= Thoth::HOME_DIR %>/log/error.log

    # Memcache settings.
    memcache:
      # Whether or not to enable memcache. When enabled along with the
      # server.enable_cache setting above, Thoth will use memcache for all cache
      # operations instead of the default per-process Hash-based cache.
      #
      # This may be beneficial if you have a very high-traffic blog and
      # distribute load across multiple Ramaze processes or physical servers,
      # but in most cases it's overkill.
      #
      # Note: This option requires that the memcache-client gem be installed.
      enabled: false

      # Memcache servers to use. Each entry in this list must contain at least
      # a hostname, and optionally a port number and priority.
      #
      # Example:
      #   servers:
      #     - 'localhost:11211:1'
      #     - 'foo.example.com:11211:2'
      #
      servers:
        - 'localhost:11211:1'

  # Timestamp formats.
  timestamp:
    # Format for long timestamps. For details, see:
    # http://www.ruby-doc.org/core/classes/Time.html#M000297
    long: '%A %B %d, %Y @ %I:%M %p (%Z)'

    # Format for short timestamps. For details, see:
    # http://www.ruby-doc.org/core/classes/Time.html#M000297
    short: '%Y-%m-%d %I:%M'

# Settings for dev mode. Any setting that you don't explicitly specify here will
# just inherit from live mode.
dev:
  db: sqlite:///<%= Thoth::HOME_DIR %>/db/dev.db

  server:
    enable_cache: false
    enable_minify: false

I can see that you are in directory t1 but  the exception refers to testone.

Did you do thoth --create t1 or thoth --create testone?
Looks like something is out of sync there. For example the error message refers to testone whereas the thoth.conf refers to t1. Can you do it again from the start and post the steps here please?

Can you see what tables have been generated in MySQL please?

Are the user:password@hostname set to the correct credentials?

Have you created a user in MySQL with these credentials? (are there in the MySQL users table?)

Okay, I created a new one.

I did thoth --create t1, I just thought not to name the db t1.

Steps.
thoth --create test
cd test
change to mysql2 and enter my credentials, doing /test for the database name.
thoth --migrate
E [2017-07-06 12:39:49 $28409] ERROR | : Unable to connect to database: Mysql2::Error: Unknown database 'test'
In MySQL, no database has been created
+----------------------+
| Database             |
+----------------------+
| information_schema   |
| ebenezerDB           |
| ebenezer_development |
| ebenezer_test        |
| finaldb              |
| my_accounts          |
| my_training          |
| mydb                 |
| mysql                |
| performance_schema   |
| sys                  |
| tmp                  |
| user                 |
+----------------------+

Manually creating a database named test and then running the migration causes this.
Error: Mysql2::Error: Table 'test.posts' doesn't exist

The credentials are correct.

@GusAndrianos it seems from the first error message that you didn't create the database.
However, the last part of your post is relevant to the problem here because it suggests that the database was then created successfully.
Please paste here the steps/commands for how you created the test database and how you granted the credentials to it.

Does the migration run ok? What does it say?
In MySQL what is the schema of that database after the migration?

I created the database myself through mysql server with create database test;
The credentials I gave were the same I give when launching mysql like mysql -u user -p
I described at the end of my last comment what happens when I run the migration again.
The schema remains the same throughout the process, that is, empty.

First of all, just to clarify. When not using SQLite3, a database must be created manually by the database admin with the right credentials. Therefore this must always be the case before migrations are run.
Try this.
create  a new MySQL database testx with the right credentials and access rights.
then
thoth --create testx
cd testx
thoth --log-sql sqllog --migrate 01
thoth --irb

In the IRB type
Thoth::open_db

and please post here what is the result of the open_db as well as the contents of the sqllog.

The result of
thoth --log-sql sqllog --migrate 01
is
Error: Mysql2::Error: Table 'testx.posts' doesn't exist
and the result of
Thoth::open_db
is
=> #<Sequel::Mysql2::Database: "mysql2://user:mypassword@localhost/testx" {:encoding=>"utf8"}>
So I assume that it find the database, has access to it, but cannot complete the migration.

Silly questions but does the  "mysql2://user:mypassword@localhost/testx" really have user and mypassword as credentials?

Migration 01 only creates the tables, so the error message is a bit odd. Can you please check the sqllog inside the testx folder and copy it here please?

Silly indeed.
Have you tried it yourself and got a different result?
The database I create is empty, but, after the migration
+-----------------+
| Tables_in_testx |
+-----------------+
| schema_info     |
+-----------------+
1 row in set (0,00 sec)

Which implies that the credentials are indeed correct (and they are) and thoth has access to mysql.
Here's the log.
# Logfile created on 2017-07-11 17:04:10 +0300 by logger.rb/56815
I, [2017-07-11T17:04:10.626830 #6470]  INFO -- : (0.111593s) CREATE TABLE IF NOT EXISTS `schema_info` (`version` integer NOT NULL DEFAULT 0)
I, [2017-07-11T17:04:10.630201 #6470]  INFO -- : (0.003036s) SELECT * FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.630953 #6470]  INFO -- : (0.000279s) SELECT 1 AS `one` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.642361 #6470]  INFO -- : (0.011103s) INSERT INTO `schema_info` (`version`) VALUES (0)
I, [2017-07-11T17:04:10.644400 #6470]  INFO -- : (0.001733s) SELECT count(*) AS `count` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.644995 #6470]  INFO -- : (0.000264s) SELECT `version` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.645936 #6470]  INFO -- : Begin applying migration version 1, direction: up
E, [2017-07-11T17:04:10.646582 #6470] ERROR -- : Mysql2::Error: Table 'testx.comments' doesn't exist: SELECT NULL AS `nil` FROM `comments` LIMIT 1
E, [2017-07-11T17:04:10.649407 #6470] ERROR -- : Mysql2::Error: Table 'testx.posts' doesn't exist: DESCRIBE `posts`

I assume you posted the whole log right?
This is very interesting, we may have stumbled on a bug outside our control.
Please can you list the exact versions of your mysql2 gem, Sequel gem and MySQL server?

Of course I did.
Here's the versions.

It seems that when Sequel tries to check that a table is not there (before it attempts to create it  during the migration) the database driver throws an exception, which Sequel cannot handle.
For the testx project that you previously created (as discussed above), please try the following
cd testx
thoth --irb
Thoth::open_db
Thoth.db.table_exists?("schema_info")
Thoth.db.table_exists?("comments")

The result is false and false...

Can you please paste all the output from the IRB session?

Sorry, true for schema_info
gus@main:~/Desktop/testx$ thoth --irb
2.4.1 :001 > Thoth::open_db
 => #<Sequel::Mysql2::Database: "mysql2://USER:PASS@localhost/testx" {:encoding=>"utf8"}>
2.4.1 :002 > Thoth.db.table_exists?("schema_info")
 => true
2.4.1 :003 > Thoth.db.table_exists?("comments")
 => false

ok, now please check the following
    unless Thoth.db.table_exists?(:comments)
      Thoth.db.create_table :comments do
        primary_key :id

        varchar  :author,        :null => false
        varchar  :author_url
        varchar  :title,         :null => false
        text     :body,          :default => ''
        text     :body_rendered, :default => ''
        varchar  :ip
        datetime :created_at,    :null => false
        datetime :updated_at,    :null => false

        foreign_key :post_id, :table => :posts
        index :post_id
      end
    end

Does the above complete ok?
What does Thoth.db.table_exists?("comments") no say?

Hello. This is what happened.
2.4.1 :033 > Thoth::open_db
 => #<Sequel::Mysql2::Database: "mysql2://USER:PASS@localhost/testx" {:encoding=>"utf8"}>
2.4.1 :034 >     unless Thoth.db.table_exists?(:comments)
2.4.1 :035?>         Thoth.db.create_table :comments do
2.4.1 :036 >               primary_key :id
2.4.1 :037?>
2.4.1 :038 >               varchar  :author,        :null => false
2.4.1 :039?>             varchar  :author_url
2.4.1 :040?>             varchar  :title,         :null => false
2.4.1 :041?>             text     :body,          :default => ''
2.4.1 :042?>             text     :body_rendered, :default => ''
2.4.1 :043?>             varchar  :ip
2.4.1 :044?>             datetime :created_at,    :null => false
2.4.1 :045?>             datetime :updated_at,    :null => false
2.4.1 :046?>
2.4.1 :047 >               foreign_key :post_id, :table => :posts
2.4.1 :048?>             index :post_id
2.4.1 :049?>           end
2.4.1 :050?>       end
Sequel::DatabaseError: Mysql2::Error: Table 'testx.posts' doesn't exist
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/mysql2-0.4.6/lib/mysql2/client.rb:120:in `_query'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/mysql2-0.4.6/lib/mysql2/client.rb:120:in `block in query'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/mysql2-0.4.6/lib/mysql2/client.rb:119:in `handle_interrupt'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/mysql2-0.4.6/lib/mysql2/client.rb:119:in `query'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/mysql2.rb:141:in `block in _execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/logging.rb:45:in `log_connection_yield'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/mysql2.rb:136:in `_execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/utils/mysql_mysql2.rb:37:in `block in execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/connecting.rb:301:in `synchronize'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/utils/mysql_mysql2.rb:37:in `execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/dataset/actions.rb:1073:in `execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/mysql2.rb:291:in `execute'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/mysql2.rb:254:in `fetch_rows'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/dataset/actions.rb:153:in `each'
... 2 levels...
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:493:in `schema_parse_table'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/query.rb:163:in `schema'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:459:in `primary_key_from_schema'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:394:in `block in create_table_sql'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:412:in `block in create_table_sql'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:409:in `each'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/adapters/shared/mysql.rb:409:in `create_table_sql'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/schema_methods.rb:697:in `create_table_from_generator'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/sequel-4.47.0/lib/sequel/database/schema_methods.rb:213:in `create_table'
	from (irb):35
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/rethoth-0.4.1/bin/thoth:182:in `<module:Thoth>'
	from /home/gus/.rvm/gems/ruby-2.4.1/gems/rethoth-0.4.1/bin/thoth:34:in `<top (required)>'
	from /home/gus/.rvm/gems/ruby-2.4.1/bin/thoth:22:in `load'
	from /home/gus/.rvm/gems/ruby-2.4.1/bin/thoth:22:in `<main>'
	from /home/gus/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
	from /home/gus/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
2.4.1 :051 >

This was expected to fail if you have a foreign key constraint on the posts  table which it can't find.
Can you provide code to create the posts table first?

Super!

The migrations are very old and adhere to the default mode of SQLite3 (and of the MySQL MyISAM engine I guess) where foreign key constraints are by default not enforced.
Just for completeness of the defect report can you please disable foreign key checks in MySQL, from the MySQL CLI:
SET GLOBAL FOREIGN_KEY_CHECKS=0;
and then run thoth --log-sql sqllog --migrate  and post the sqllog here?

# Logfile created on 2017-07-11 17:04:10 +0300 by logger.rb/56815
I, [2017-07-11T17:04:10.626830 #6470]  INFO -- : (0.111593s) CREATE TABLE IF NOT EXISTS `schema_info` (`version` integer NOT NULL DEFAULT 0)
I, [2017-07-11T17:04:10.630201 #6470]  INFO -- : (0.003036s) SELECT * FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.630953 #6470]  INFO -- : (0.000279s) SELECT 1 AS `one` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.642361 #6470]  INFO -- : (0.011103s) INSERT INTO `schema_info` (`version`) VALUES (0)
I, [2017-07-11T17:04:10.644400 #6470]  INFO -- : (0.001733s) SELECT count(*) AS `count` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.644995 #6470]  INFO -- : (0.000264s) SELECT `version` FROM `schema_info` LIMIT 1
I, [2017-07-11T17:04:10.645936 #6470]  INFO -- : Begin applying migration version 1, direction: up
E, [2017-07-11T17:04:10.646582 #6470] ERROR -- : Mysql2::Error: Table 'testx.comments' doesn't exist: SELECT NULL AS `nil` FROM `comments` LIMIT 1
E, [2017-07-11T17:04:10.649407 #6470] ERROR -- : Mysql2::Error: Table 'testx.posts' doesn't exist: DESCRIBE `posts`
I, [2017-07-21T16:20:47.454855 #10211]  INFO -- : (0.015190s) CREATE TABLE IF NOT EXISTS `schema_info` (`version` integer NOT NULL DEFAULT 0)
I, [2017-07-21T16:20:47.456241 #10211]  INFO -- : (0.000915s) SELECT * FROM `schema_info` LIMIT 1
I, [2017-07-21T16:20:47.456572 #10211]  INFO -- : (0.000152s) SELECT 1 AS `one` FROM `schema_info` LIMIT 1
I, [2017-07-21T16:20:47.457614 #10211]  INFO -- : (0.000903s) SELECT count(*) AS `count` FROM `schema_info` LIMIT 1
I, [2017-07-21T16:20:47.457901 #10211]  INFO -- : (0.000155s) SELECT `version` FROM `schema_info` LIMIT 1
I, [2017-07-21T16:20:47.459863 #10211]  INFO -- : Begin applying migration version 1, direction: up
E, [2017-07-21T16:20:47.460676 #10211] ERROR -- : Mysql2::Error: Table 'testx.comments' doesn't exist: SELECT NULL AS `nil` FROM `comments` LIMIT 1
E, [2017-07-21T16:20:47.463423 #10211] ERROR -- : Mysql2::Error: Table 'testx.posts' doesn't exist: DESCRIBE `posts`

Did you set SET GLOBAL FOREIGN_KEY_CHECKS=0; can you check they have been globally applied please and not nly on one session?

Of course I did... Maybe there's a compatibility problem? If I am not mistaken, mysql now uses InnoDB.
| foreign_key_checks                                       | OFF

Hmmm this is strange.
Can you please switch on the MySQL logging on, repeat the migration and post the logs here?
Also can you post all the results of show global variables please?

The log.
/usr/sbin/mysqld, Version: 5.7.19-0ubuntu<IP_ADDRESS> ((Ubuntu)). started with:
Tcp port: 3306  Unix socket: /var/run/mysqld/mysqld.sock
Time                 Id Command    Argument
2017-07-25T22:45:39.031096Z	   22 Quit
2017-07-25T22:45:55.746985Z	   23 Connect	root@localhost on testx using Socket
2017-07-25T22:45:55.747313Z	   23 Query	SET NAMES utf8
2017-07-25T22:45:55.747568Z	   23 Query	SET @@wait_timeout = 2147483
2017-07-25T22:45:55.747806Z	   23 Query	SET SQL_AUTO_IS_NULL=0
2017-07-25T22:45:55.748296Z	   23 Query	CREATE TABLE IF NOT EXISTS `schema_info` (`version` integer NOT NULL DEFAULT 0)
2017-07-25T22:45:55.748692Z	   23 Query	SELECT * FROM `schema_info` LIMIT 1
2017-07-25T22:45:55.749164Z	   23 Query	SELECT 1 AS `one` FROM `schema_info` LIMIT 1
2017-07-25T22:45:55.749549Z	   23 Query	SELECT count(*) AS `count` FROM `schema_info` LIMIT 1
2017-07-25T22:45:55.749962Z	   23 Query	SELECT `version` FROM `schema_info` LIMIT 1
2017-07-25T22:45:55.751153Z	   23 Query	SELECT NULL AS `nil` FROM `comments` LIMIT 1
2017-07-25T22:45:55.751606Z	   23 Query	DESCRIBE `posts`
2017-07-25T22:45:55.753598Z	   23 Quit

And the vars
mysql> show global variables
    -> ;
+----------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Variable_name                                            | Value                                                                                |
+----------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| auto_increment_increment                                 | 1                                                                                |
| auto_increment_offset                                    | 1                                                                                |
| autocommit                                               | ON                                                                                |
| automatic_sp_privileges                                  | ON                                                                                |
| avoid_temporal_upgrade                                   | OFF                                                                                |
| back_log                                                 | 80                                                                                |
| basedir                                                  | /usr/                                                                                |
| big_tables                                               | OFF                                                                                |
| bind_address                                             | <IP_ADDRESS>                                                                                |
| binlog_cache_size                                        | 32768                                                                                |
| binlog_checksum                                          | CRC32                                                                                |
| binlog_direct_non_transactional_updates                  | OFF                                                                                |
| binlog_error_action                                      | ABORT_SERVER                                                                                |
| binlog_format                                            | ROW                                                                                |
| binlog_group_commit_sync_delay                           | 0                                                                                |
| binlog_group_commit_sync_no_delay_count                  | 0                                                                                |
| binlog_gtid_simple_recovery                              | ON                                                                                |
| binlog_max_flush_queue_time                              | 0                                                                                |
| binlog_order_commits                                     | ON                                                                                |
| binlog_row_image                                         | FULL                                                                                |
| binlog_rows_query_log_events                             | OFF                                                                                |
| binlog_stmt_cache_size                                   | 32768                                                                                |
| block_encryption_mode                                    | aes-128-ecb                                                                                |
| bulk_insert_buffer_size                                  | 8388608                                                                                |
| character_set_client                                     | latin1                                                                                |
| character_set_connection                                 | latin1                                                                                |
| character_set_database                                   | latin1                                                                                |
| character_set_filesystem                                 | binary                                                                                |
| character_set_results                                    | latin1                                                                                |
| character_set_server                                     | latin1                                                                                |
| character_set_system                                     | utf8                                                                                |
| character_sets_dir                                       | /usr/share/mysql/charsets/                                                                                |
| check_proxy_users                                        | OFF                                                                                |
| collation_connection                                     | latin1_swedish_ci                                                                                |
| collation_database                                       | latin1_swedish_ci                                                                                |
| collation_server                                         | latin1_swedish_ci                                                                                |
| completion_type                                          | NO_CHAIN                                                                                |
| concurrent_insert                                        | AUTO                                                                                |
| connect_timeout                                          | 10                                                                                |
| core_file                                                | OFF                                                                                |
| datadir                                                  | /var/lib/mysql/                                                                                |
| date_format                                              | %Y-%m-%d                                                                                |
| datetime_format                                          | %Y-%m-%d %H:%i:%s                                                                                |
| default_authentication_plugin                            | mysql_native_password                                                                                |
| default_password_lifetime                                | 0                                                                                |
| default_storage_engine                                   | InnoDB                                                                                |
| default_tmp_storage_engine                               | InnoDB                                                                                |
| default_week_format                                      | 0                                                                                |
| delay_key_write                                          | ON                                                                                |
| delayed_insert_limit                                     | 100                                                                                |
| delayed_insert_timeout                                   | 300                                                                                |
| delayed_queue_size                                       | 1000                                                                                |
| disabled_storage_engines                                 |                                                                                |
| disconnect_on_expired_password                           | ON                                                                                |
| div_precision_increment                                  | 4                                                                                |
| end_markers_in_json                                      | OFF                                                                                |
| enforce_gtid_consistency                                 | OFF                                                                                |
| eq_range_index_dive_limit                                | 200                                                                                |
| event_scheduler                                          | OFF                                                                                |
| expire_logs_days                                         | 10                                                                                |
| explicit_defaults_for_timestamp                          | OFF                                                                                |
| flush                                                    | OFF                                                                                |
| flush_time                                               | 0                                                                                |
| foreign_key_checks                                       | ON                                                                                |
| ft_boolean_syntax                                        | + -><()~*:""&|                                                                                |
| ft_max_word_len                                          | 84                                                                                |
| ft_min_word_len                                          | 4                                                                                |
| ft_query_expansion_limit                                 | 20                                                                                |
| ft_stopword_file                                         | (built-in)                                                                                |
| general_log                                              | ON                                                                                |
| general_log_file                                         | /var/log/mysql/logfile.log                                                                                |
| group_concat_max_len                                     | 1024                                                                                |
| gtid_executed                                            |                                                                                |
| gtid_executed_compression_period                         | 1000                                                                                |
| gtid_mode                                                | OFF                                                                                |
| gtid_owned                                               |                                                                                |
| gtid_purged                                              |                                                                                |
| have_compress                                            | YES                                                                                |
| have_crypt                                               | YES                                                                                |
| have_dynamic_loading                                     | YES                                                                                |
| have_geometry                                            | YES                                                                                |
| have_openssl                                             | DISABLED                                                                                |
| have_profiling                                           | YES                                                                                |
| have_query_cache                                         | YES                                                                                |
| have_rtree_keys                                          | YES                                                                                |
| have_ssl                                                 | DISABLED                                                                                |
| have_statement_timeout                                   | YES                                                                                |
| have_symlink                                             | YES                                                                                |
| host_cache_size                                          | 279                                                                                |
| hostname                                                 | main                                                                                |
| ignore_builtin_innodb                                    | OFF                                                                                |
| ignore_db_dirs                                           |                                                                                |
| init_connect                                             |                                                                                |
| init_file                                                |                                                                                |
| init_slave                                               |                                                                                |
| innodb_adaptive_flushing                                 | ON                                                                                |
| innodb_adaptive_flushing_lwm                             | 10                                                                                |
| innodb_adaptive_hash_index                               | ON                                                                                |
| innodb_adaptive_hash_index_parts                         | 8                                                                                |
| innodb_adaptive_max_sleep_delay                          | 150000                                                                                |
| innodb_api_bk_commit_interval                            | 5                                                                                |
| innodb_api_disable_rowlock                               | OFF                                                                                |
| innodb_api_enable_binlog                                 | OFF                                                                                |
| innodb_api_enable_mdl                                    | OFF                                                                                |
| innodb_api_trx_level                                     | 0                                                                                |
| innodb_autoextend_increment                              | 64                                                                                |
| innodb_autoinc_lock_mode                                 | 1                                                                                |
| innodb_buffer_pool_chunk_size                            | 134217728                                                                                |
| innodb_buffer_pool_dump_at_shutdown                      | ON                                                                                |
| innodb_buffer_pool_dump_now                              | OFF                                                                                |
| innodb_buffer_pool_dump_pct                              | 25                                                                                |
| innodb_buffer_pool_filename                              | ib_buffer_pool                                                                                |
| innodb_buffer_pool_instances                             | 1                                                                                |
| innodb_buffer_pool_load_abort                            | OFF                                                                                |
| innodb_buffer_pool_load_at_startup                       | ON                                                                                |
| innodb_buffer_pool_load_now                              | OFF                                                                                |
| innodb_buffer_pool_size                                  | 134217728                                                                                |
| innodb_change_buffer_max_size                            | 25                                                                                |
| innodb_change_buffering                                  | all                                                                                |
| innodb_checksum_algorithm                                | crc32                                                                                |
| innodb_checksums                                         | ON                                                                                |
| innodb_cmp_per_index_enabled                             | OFF                                                                                |
| innodb_commit_concurrency                                | 0                                                                                |
| innodb_compression_failure_threshold_pct                 | 5                                                                                |
| innodb_compression_level                                 | 6                                                                                |
| innodb_compression_pad_pct_max                           | 50                                                                                |
| innodb_concurrency_tickets                               | 5000                                                                                |
| innodb_data_file_path                                    | ibdata1:12M:autoextend                                                                                |
| innodb_data_home_dir                                     |                                                                                |
| innodb_deadlock_detect                                   | ON                                                                                |
| innodb_default_row_format                                | dynamic                                                                                |
| innodb_disable_sort_file_cache                           | OFF                                                                                |
| innodb_doublewrite                                       | ON                                                                                |
| innodb_fast_shutdown                                     | 1                                                                                |
| innodb_file_format                                       | Barracuda                                                                                |
| innodb_file_format_check                                 | ON                                                                                |
| innodb_file_format_max                                   | Barracuda                                                                                |
| innodb_file_per_table                                    | ON                                                                                |
| innodb_fill_factor                                       | 100                                                                                |
| innodb_flush_log_at_timeout                              | 1                                                                                |
| innodb_flush_log_at_trx_commit                           | 1                                                                                |
| innodb_flush_method                                      |                                                                                |
| innodb_flush_neighbors                                   | 1                                                                                |
| innodb_flush_sync                                        | ON                                                                                |
| innodb_flushing_avg_loops                                | 30                                                                                |
| innodb_force_load_corrupted                              | OFF                                                                                |
| innodb_force_recovery                                    | 0                                                                                |
| innodb_ft_aux_table                                      |                                                                                |
| innodb_ft_cache_size                                     | 8000000                                                                                |
| innodb_ft_enable_diag_print                              | OFF                                                                                |
| innodb_ft_enable_stopword                                | ON                                                                                |
| innodb_ft_max_token_size                                 | 84                                                                                |
| innodb_ft_min_token_size                                 | 3                                                                                |
| innodb_ft_num_word_optimize                              | 2000                                                                                |
| innodb_ft_result_cache_limit                             |<PHONE_NUMBER>                                                                                |
| innodb_ft_server_stopword_table                          |                                                                                |
| innodb_ft_sort_pll_degree                                | 2                                                                                |
| innodb_ft_total_cache_size                               | 640000000                                                                                |
| innodb_ft_user_stopword_table                            |                                                                                |
| innodb_io_capacity                                       | 200                                                                                |
| innodb_io_capacity_max                                   | 2000                                                                                |
| innodb_large_prefix                                      | ON                                                                                |
| innodb_lock_wait_timeout                                 | 50                                                                                |
| innodb_locks_unsafe_for_binlog                           | OFF                                                                                |
| innodb_log_buffer_size                                   | 16777216                                                                                |
| innodb_log_checksums                                     | ON                                                                                |
| innodb_log_compressed_pages                              | ON                                                                                |
| innodb_log_file_size                                     | 50331648                                                                                |
| innodb_log_files_in_group                                | 2                                                                                |
| innodb_log_group_home_dir                                | ./                                                                                |
| innodb_log_write_ahead_size                              | 8192                                                                                |
| innodb_lru_scan_depth                                    | 1024                                                                                |
| innodb_max_dirty_pages_pct                               | 75.000000                                                                                |
| innodb_max_dirty_pages_pct_lwm                           | 0.000000                                                                                |
| innodb_max_purge_lag                                     | 0                                                                                |
| innodb_max_purge_lag_delay                               | 0                                                                                |
| innodb_max_undo_log_size                                 |<PHONE_NUMBER>                                                                                |
| innodb_monitor_disable                                   |                                                                                |
| innodb_monitor_enable                                    |                                                                                |
| innodb_monitor_reset                                     |                                                                                |
| innodb_monitor_reset_all                                 |                                                                                |
| innodb_numa_interleave                                   | OFF                                                                                |
| innodb_old_blocks_pct                                    | 37                                                                                |
| innodb_old_blocks_time                                   | 1000                                                                                |
| innodb_online_alter_log_max_size                         | 134217728                                                                                |
| innodb_open_files                                        | 431                                                                                |
| innodb_optimize_fulltext_only                            | OFF                                                                                |
| innodb_page_cleaners                                     | 1                                                                                |
| innodb_page_size                                         | 16384                                                                                |
| innodb_print_all_deadlocks                               | OFF                                                                                |
| innodb_purge_batch_size                                  | 300                                                                                |
| innodb_purge_rseg_truncate_frequency                     | 128                                                                                |
| innodb_purge_threads                                     | 4                                                                                |
| innodb_random_read_ahead                                 | OFF                                                                                |
| innodb_read_ahead_threshold                              | 56                                                                                |
| innodb_read_io_threads                                   | 4                                                                                |
| innodb_read_only                                         | OFF                                                                                |
| innodb_replication_delay                                 | 0                                                                                |
| innodb_rollback_on_timeout                               | OFF                                                                                |
| innodb_rollback_segments                                 | 128                                                                                |
| innodb_sort_buffer_size                                  | 1048576                                                                                |
| innodb_spin_wait_delay                                   | 6                                                                                |
| innodb_stats_auto_recalc                                 | ON                                                                                |
| innodb_stats_include_delete_marked                       | OFF                                                                                |
| innodb_stats_method                                      | nulls_equal                                                                                |
| innodb_stats_on_metadata                                 | OFF                                                                                |
| innodb_stats_persistent                                  | ON                                                                                |
| innodb_stats_persistent_sample_pages                     | 20                                                                                |
| innodb_stats_sample_pages                                | 8                                                                                |
| innodb_stats_transient_sample_pages                      | 8                                                                                |
| innodb_status_output                                     | OFF                                                                                |
| innodb_status_output_locks                               | OFF                                                                                |
| innodb_strict_mode                                       | ON                                                                                |
| innodb_support_xa                                        | ON                                                                                |
| innodb_sync_array_size                                   | 1                                                                                |
| innodb_sync_spin_loops                                   | 30                                                                                |
| innodb_table_locks                                       | ON                                                                                |
| innodb_temp_data_file_path                               | ibtmp1:12M:autoextend                                                                                |
| innodb_thread_concurrency                                | 0                                                                                |
| innodb_thread_sleep_delay                                | 10000                                                                                |
| innodb_tmpdir                                            |                                                                                |
| innodb_undo_directory                                    | ./                                                                                |
| innodb_undo_log_truncate                                 | OFF                                                                                |


[Best Practices] register_cli_argument calls should not construct CliArgumentType objects

instead we should pass the arguments directly to the method's kwargs.

PR #744 merged.


Charcoal Pit no longer displays smoke particles when burning

Charcoal Pit was rendering smoke using particle system, but it stopped working. Maybe it was affected by OpenGL changes @begla has made?
We have confirmed that the particles are being generated correctly, and the renderParticle(Particle particle, float light) is called correctly.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1612332-charcoal-pit-no-longer-displays-smoke-particles-when-burning?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Closing as obsolete. The instructions above are outdated and I'm not sure the current charcoal oven even works. We also know smoke particles work elsewhere.


Custom Tags allowed as output

what

the tags input allows us to add additional tags, but not necessarily use them in the output. this PR fixes that using the priority to sort the output.
adds pass through no-cache option
Fixes Tests with multi arch through docker buildx inspect

why

Custom tagging of applications

References

Duplicate of and closes #52 - testing GHA from non fork

Will address Version updates from automated PRs


CSR not created in self hosted setup

What happened:
I am trying to setup pod identity webhook on a self hosted kubernetes cluster. Here's what I did:

Followed the instructions in https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md
Ran make cluster-up IMAGE=amazon/amazon-eks-pod-identity-webhook:latest

The output of make cluster-up is Waiting for CSR to be created because of https://github.com/aws/amazon-eks-pod-identity-webhook/blob/b19c295a269ad9de50b10e3a9cdc9ec1f7d48a19/Makefile#L86
It looks like from v0.3.0 CSR will not be created because of in-cluster=False as per https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/README.md#in-cluster
Use in-cluster=false so that the webhook reloads certificates from the filesystem rather than creating CSRs to request certificates (using CSRs is now deprecated and will not work versions later than v0.3.0).

Does the Makefile need an update?
Is this https://github.com/aws/amazon-eks-pod-identity-webhook/blob/b19c295a269ad9de50b10e3a9cdc9ec1f7d48a19/Makefile#L88 not required anymore?
What you expected to happen:
make cluster-up IMAGE=amazon/amazon-eks-pod-identity-webhook:latest to run without errors
How to reproduce it (as minimally and precisely as possible):
Setup a kubernetes v1.21.5 cluster
Install cert-manager
Follow https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md
Run make cluster-up IMAGE=amazon/amazon-eks-pod-identity-webhook:latest
Anything else we need to know?:
Environment:

AWS Region:
EKS Platform version (if using EKS, run aws eks describe-cluster --name <name> --query cluster.platformVersion):
Kubernetes version (if using EKS, run aws eks describe-cluster --name <name> --query cluster.version): v1.21.5
Webhook Version:

Running into the same issue here.

Hey @kadawe , sorry no I never solved this. 😭

Anyone who solved?


Error fetching garmin mapshare link

Hi,
I configured my link, but there is an error with the setup.
This is debug message:
2023-12-14 14:37:04.905 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXX data: no element found: line 1, column 0
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1716, in close
    self.parser.Parse(b"", True) # end of data
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xml.parsers.expat.ExpatError: no element found: line 1, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 37, in fetch_data
    root = ET.fromstring(r.text)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/defusedxml/common.py", line 127, in fromstring
    return parser.close()
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1718, in close
    self._raiseerror(v)
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1618, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
2023-12-14 14:37:04.933 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Garmin MapShare' for garmin_mapshare integration not ready yet: no element found: line 1, column 0; Retrying in background
2023-12-14 14:37:10.290 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] MapShareCoordinator: {'link_name': 'mushroomXXXXXXXX '}
2023-12-14 14:37:10.617 DEBUG (MainThread) [custom_components.garmin_mapshare.kml_fetch] Fetched KML data:
2023-12-14 14:37:10.618 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXX data: no element found: line 1, column 0
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1716, in close
    self.parser.Parse(b"", True) # end of data
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xml.parsers.expat.ExpatError: no element found: line 1, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 37, in fetch_data
    root = ET.fromstring(r.text)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/defusedxml/common.py", line 127, in fromstring
    return parser.close()
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1718, in close
    self._raiseerror(v)
  File "/usr/local/lib/python3.11/xml/etree/ElementTree.py", line 1618, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
2023-12-14 14:37:10.633 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] Finished fetching garmin_mapshare-mushroomXXXXXXXX data in 0.342 seconds (success: False)
2023-12-14 14:37:10.634 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Garmin MapShare' for garmin_mapshare integration not ready yet: no element found: line 1, column 0; Retrying in background

It looks like it's getting an empty response when it tries to download the feed.
You can try downloading the feed yourself by visiting (using your browser, or curl):
# (Replace NAME and PASSPHRASE below)
<EMAIL_ADDRESS>
If that succeeds in downloading a KML file, then the name/passphrase should have worked in Home Assistant too. Consider sharing the contents of that file here (after editing out any private info) if it's still not working.
If not, please confirm that you are able to visit https://share.garmin.com/share/NAME in a browser (the normal way) using the same name and passphrase you provided during setup.

Yes, my mapshare without password set, so replacing 'NAME' allows you to download feed.kml.
So, I visited this link  https://share.garmin.com/share/NAME , and my mapshare appeared as expected.
Thanks.
feed.kml.zip

The feed seems fine, and is parsed correctly when I load it into the integration code manually. I'm not sure why, but it seems like the fetch came back empty (which Garmin will typically do if the NAME is wrong or does not exist).
I've just pushed a new version (v0.2.4) with slightly better logging which may help with identifying the problem.

Hi,
this is debug messages, thanks your debug.
2023-12-16 21:32:15.910 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXXXXX data: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 38, in fetch_data
    raise ValueError(
ValueError: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
2023-12-16 21:32:15.927 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Garmin MapShare' for garmin_mapshare integration not ready yet: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False; Retrying in background
2023-12-16 21:32:21.315 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXXXXX data: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 38, in fetch_data
    raise ValueError(
ValueError: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
2023-12-16 21:32:30.724 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] MapShareCoordinator: {'link_name': 'mushroomXXXXXXXXXXX'}
2023-12-16 21:32:31.057 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXXXXX data: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 38, in fetch_data
    raise ValueError(
ValueError: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
2023-12-16 21:32:31.069 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] Finished fetching garmin_mapshare-mushroomXXXXXXXXXXX data in 0.343 seconds (success: False)
2023-12-16 21:32:31.070 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Garmin MapShare' for garmin_mapshare integration not ready yet: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False; Retrying in background
2023-12-16 21:32:35.728 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] MapShareCoordinator: {'link_name': 'mushroomXXXXXXXXXXX'}
2023-12-16 21:32:36.002 ERROR (MainThread) [custom_components.garmin_mapshare.coordinator] Unexpected error fetching garmin_mapshare-mushroomXXXXXXXXXXX data: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/coordinator.py", line 80, in _async_update_data
    self.raw_values = await self.mapshare.fetch_data()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/garmin_mapshare/kml_fetch.py", line 38, in fetch_data
    raise ValueError(
ValueError: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False
2023-12-16 21:32:36.013 DEBUG (MainThread) [custom_components.garmin_mapshare.coordinator] Finished fetching garmin_mapshare-mushroomXXXXXXXXXXX data in 0.284 seconds (success: False)
2023-12-16 21:32:36.014 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Garmin MapShare' for garmin_mapshare integration not ready yet: Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX using auth: False; Retrying in background

Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX

Does the logged URL here exactly match the URL you used earlier to download the KML feed?

I got bit by using my full URL where it really just wants the NAME component of the url in the setup

Received empty response from https://explore.garmin.com/Feed/Share/mushroomXXXXXXXXXXX

Does the logged URL here exactly match the URL you used earlier to download the KML feed?

Yes, I can use this to download feed.kml

In that case I'm out of ideas for now 😕 Perhaps it's a temporary issue with Garmin's server and the updates will catch up eventually, or if you're using an outbound http proxy behind Home Assistant maybe there could be an issue there. The same request should have the same response in both cases.

In that case I'm out of ideas for now 😕 Perhaps it's a temporary issue with Garmin's server and the updates will catch up eventually, or if you're using an outbound http proxy behind Home Assistant maybe there could be an issue there. The same request should have the same response in both cases.

Thank you for your response. I also use Sonoff and August components in Home Assistant and haven't encountered any network issues.
Thanks to the author!

I wonder if the issue might be a redirect? I noticed that in some other regions, the direct feed URL points to different regional hostnames -- maybe this could explain the difference between the results before.
Can you run the following using your map's NAME (and be sure to redact the NAME in the output if you don't want it visible here):
curl -sv https://explore.garmin.com/Feed/Share/NAME 2>&1 | grep -i location

If that turns out to be the issue, I have a change in main that may fix it. You can try it out by going to HACS -> Integrations -> Garmin MapShare -> menu (top-right corner) -> Redownload and select the version main.

Version v1.0.1 includes that change as well as better logging / error handling messages; Hopefully these can help track down the problem.

@LW-Ho - I've just tagged version v1.1.0 with a new base URL, which I believe may fix this issue for non-USA accounts. Please update using HACS and let me know if that works!

@LW-Ho - I've just tagged version v1.1.0 with a new base URL, which I believe may fix this issue for non-USA accounts. Please update using HACS and let me know if that works!

Thank you very much! This version successfully connects now! Forgot to mention, my account is under the name Taiwan. Also, grateful to the author for identifying this issue.


Clean up middleware docs

Fixed reference to ordering of AsyncActions.md
Fixed interval/timeout consistency in examples

Good call!


add full hypridle example work with hyprlock.

added full hypridle example work with hyprlock for better understanding.

since this is meant as an example, the notify-send stuff in general {} can be removed for better readability

done.

The example could be expanded to avoid questions/issues. It doesn't lock before suspend, connects to dbus or shows how to lock/suspend manually.
I'd suggest something like:
general {
    lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances
    before_sleep_cmd = loginctl lock-session # lock before suspend
    after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display
}

# turn off keyboard backlight
#listener {
#    timeout = 30
#    on-timeout = brightnessctl -sd rgb:kbd_backlight set 0
#    on-resume = brightnessctl -rd rgb:kbd_backlight
#}

# set monitor backlight to minimum
listener {
    timeout = 60
    on-timeout = brightnessctl -s set 0
    on-resume = brightnessctl -r
}

# lock
listener {
    timeout = 120
    on-timeout = loginctl lock-session
}

# turn display off
listener {
    timeout = 150
    on-timeout = hyprctl dispatch dpms off
}

# suspend
listener {
    timeout = 180
    on-timeout = systemctl suspend
}

You also most probably want to have something like this in hyprland.conf:
exec-once = hypridle
...
misc {
  mouse_move_enables_dpms = true
  key_press_enables_dpms = true
  ...
}
...
bind = $mainMod, L, exec, loginctl lock-session
bind = $mainMod ALT, L, exec, systemctl suspend

that'd be better off for the hypridle page

Yes, but the documentation is very... Abstract? "notify-send" for every option doesn't give users much of a direction of how is it supposed to be integrated with rest of the system.
If you look at github dotfiles repos containing hypridle, you will hardly find one where it's integrated "properly", so I'd say that even powerusers have troubles with full config. I needed hours to come up with a config that works in all edge cases. :)

@vaxerski so, are we going to add @dpredovic's example?.

idk feel free to mr


Added more anisotropy handling + fix global in review

Anisotropy :

Added to inference
Added to crop
Moved all anisotropy functions to AnisoWIdgets class

Fixed logo for helper

Removed global var in review, now always opens in new window

Added weights to gitignore (.pth)

Codecov Report

Merging #14 (8694093) into main (ba6a91f) will decrease coverage by 0.06%.
The diff coverage is 52.94%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   37.46%   37.40%   -0.07%
==========================================
  Files          37       37
  Lines        3283     3294      +11
==========================================
+ Hits         1230     1232       +2
- Misses       2053     2062       +9

Impacted Files
Coverage Δ

napari_cellseg3d/model_framework.py
58.33% <ø> (ø)

napari_cellseg3d/model_instance_seg.py
26.15% <ø> (ø)

napari_cellseg3d/model_workers.py
15.27% <ø> (ø)

napari_cellseg3d/plugin_crop.py
0.00% <0.00%> (ø)

napari_cellseg3d/plugin_dock.py
75.92% <ø> (ø)

napari_cellseg3d/plugin_helper.py
0.00% <ø> (ø)

napari_cellseg3d/plugin_metrics.py
0.00% <0.00%> (ø)

napari_cellseg3d/plugin_model_inference.py
0.00% <0.00%> (ø)

napari_cellseg3d/plugin_utilities.py
0.00% <ø> (ø)

napari_cellseg3d/setup.py
0.00% <ø> (ø)

... and 8 more

Continue to review full report at Codecov.

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


readme-contains-values-schema check not implemented

Documentation via the README.md indicate that the readme-contains-values-schema has been implemented, however this is not the case.
In addition, how was this check planned to validate the README of the chart?

There is a check with the name as contains-values-schema. This checks for the presence of the schema JSON file in the chart.

@baijum where is this located?

@baijum where is this located?

Sorry, the feature is not documented. But you can see the code here: https://github.com/redhat-certification/chart-verifier/blob/0fd6cd6231d885059dcda7c76e71f99bc157beb1/pkg/chartverifier/checks/checks.go#L119
And test: https://github.com/redhat-certification/chart-verifier/blob/0fd6cd6231d885059dcda7c76e71f99bc157beb1/pkg/chartverifier/checks/checks_test.go#L130
I will work on updating the docs.


Circular layout reference leads to OutOfMemoryException

In one of my views folders, I renamed a controller-specific layout from the default to something custom. The layout itself referenced a shared layout of the same name prior to renaming. DropBox then, unbeknownst to me, malfunctioned (as it is prone to do) and dropped a copy of the old layout, before it had been renamed, into my views folder, thus creating a situation where the newly-renamed layout was now erroneously trying to use the old layout which it now sat side-by-side with, instead of the old layout's namesake in the shared views folder. As a result, a circular reference was set up and I spent the next 20 minutes trying to figure out why I was getting OutOfMemoryExceptions when I hadn't changed anything significant.
I'd suggest some kind of circular reference detection in layouts and an exception being thrown to that effect, which would help prevent this kind of confusion.

@pranavkm If you merge the fix for this for beta8 please change the milestone of this bug.