text:
K drive no longer showing

For whatever reason my K drive folders no longer show up
my log id: a329d8b2fc4acf8922450e1c

C:\Users\XXXXXXXXXX\AppData\Local\Keybase>kbfsdokan -log-to-file -debug k:
kbfsdokan error: (2) Dokan failed: code=-3 "Driver install error"
Microsoft Windows [Version 10.0.14393]

When did it stop working? The logs show restart was required on Feb 14, was that restart completed? If not, try that first. The installer seems to think Dokan (our filesystem driver) is installed, but it doesn't appear in the list of drivers.
Next thing to try would be to go to the control panel and uninstall Dokan if it is listed, then run our installer again.

@zanderz Thanks for the response! Yeah the restart was done. After uninstalling Dokan I got an error saying another version of the product is installed. Here's the log file
[4120:2D90][2017-02-17T17:02:25]i001: Burn v3.10.2.2516, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Users\XXXXXXX\AppData\Local\Temp{F06E196A-CCE3-4F48-A917-04C2C951604D}.cr\keybase_setup_386.exe
[4120:2D90][2017-02-17T17:02:25]i000: Initializing string variable 'DokanInstallFolder' to value '[ProgramFiles6432Folder]Dokan\Dokan Library-1.0.0'
[4120:2D90][2017-02-17T17:02:25]i009: Command Line: '-burn.clean.room=C:\Users\XXXXXX\Downloads\keybase_setup_386.exe'
[4120:2D90][2017-02-17T17:02:25]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\XXXXXXX\Downloads\keybase_setup_386.exe'
[4120:2D90][2017-02-17T17:02:25]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\XXXXX\Downloads'
[4120:2D90][2017-02-17T17:02:25]i000: Setting string variable 'LOGPATH_PROP' to value 'C:\Users\XXXXX\AppData\Local\Temp\Keybase_20170217170225.log'
[4120:2D90][2017-02-17T17:02:25]i000: Setting string variable 'WixBundleName' to value 'Keybase'
[4120:2D90][2017-02-17T17:02:25]i000: Setting string variable 'WixBundleManufacturer' to value 'Keybase, Inc.'
[4120:4B64][2017-02-17T17:02:25]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[4120:4B64][2017-02-17T17:02:25]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.18.565'
[4120:2D90][2017-02-17T17:02:26]i100: Detect begin, 13 packages
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{65A3A986-3DC3-0100-0001-161027133015}'
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'NOT DokanUninstallString' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{65A3A964-3DC3-0100-0001-161027133015}'
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'Software\Microsoft\Windows\CurrentVersion\Uninstall{70E747DE-4E09-44B0-ACAD-784AA9D79C02}_is1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting numeric variable 'InnoCLIInstalled' to value 0
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'NOT InnoCLIInstalled' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'Software\Microsoft\Windows\CurrentVersion\Uninstall{70E747DE-4E09-44B0-ACAD-784AA9D79C02}_is1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting numeric variable 'InnoCLIInstalled' to value 0
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{357F272E-BE0E-409F-8E39-0BB9827F5716}_is1'
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'NOT InnoKBFSUninstallString' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{357F272E-BE0E-409F-8E39-0BB9827F5716}_is1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting string variable 'NETFRAMEWORK40' to value '1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting version variable 'ADVAPIVERSION' to value '10.0.14393.0'
[4120:2D90][2017-02-17T17:02:26]i000: Setting version variable 'UCRTVERSION' to value '10.0.14393.0'
[4120:2D90][2017-02-17T17:02:26]i000: Setting version variable 'UCRTVERSION64' to value '10.0.14393.0'
[4120:2D90][2017-02-17T17:02:26]i000: Setting string variable 'vcredist_2015_x64_installed' to value '1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting numeric variable 'vcredist_2015_x64_version' to value 1
[4120:2D90][2017-02-17T17:02:26]i000: Setting string variable 'vcredist_2015_x64_versionnumber' to value '14.0.23918'
[4120:2D90][2017-02-17T17:02:26]i000: Setting string variable 'vcredist_2015_x86_installed' to value '1'
[4120:2D90][2017-02-17T17:02:26]i000: Setting numeric variable 'vcredist_2015_x86_version' to value 1
[4120:2D90][2017-02-17T17:02:26]i000: Setting string variable 'vcredist_2015_x86_versionnumber' to value '14.0.23918'
[4120:2D90][2017-02-17T17:02:26]i000: Setting version variable 'WINTRUSTVERSION' to value '10.0.14393.351'
[4120:2D90][2017-02-17T17:02:26]i102: Detected related bundle: {d218c8c3-ec6b-4c95-8820-23e0a3e0ee41}, type: Upgrade, scope: PerUser, version: 1.0.18.588, operation: Downgrade
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'NETFRAMEWORK40' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'DokanUninstallString OR nodriver' evaluates to false.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'vcredist_2015_x86_installed AND vcredist_2015_x86_version AND vcredist_2015_x86_versionnumber >= v14.0.23918' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'vcredist_2015_x64_installed AND vcredist_2015_x64_version AND vcredist_2015_x64_versionnumber >= v14.0.23918' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'UCRTVERSION64 >= v6.2.10585.0' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i103: Detected related package: {8FDEEBF9-3DB0-48D5-9F43-62D424176255}, scope: PerUser, version: 1.0.18.588, language: 0 operation: Downgrade
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: NetFx40Web, state: Present, cached: Complete
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: dokanclean.exe, state: Absent, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: vcredist_2015_x86.exe, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: vcredist_2015_x64.exe, state: Present, cached: Complete
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win71_KB2999226_x86, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win71_KB2999226_x64, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win80_KB2999226_x86, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win80_KB2999226_x64, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win81_KB2999226_x86, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Win81_KB2999226_x64, state: Present, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Dokan_x86.msi, state: Absent, cached: None
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: Dokan_x64.msi, state: Absent, cached: Complete
[4120:2D90][2017-02-17T17:02:26]i101: Detected package: KeybasePrograms, state: Obsolete, cached: None
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ServicePackLevel >= 1)' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'Installed OR VersionNT > v6.1 OR (VersionNT = v6.1 AND ((WINTRUSTVERSION >= v6.1.7601.18741 AND WINTRUSTVERSION < v6.1.7601.22000) OR WINTRUSTVERSION >= v6.1.7601.22948))' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i052: Condition 'NOT InnoCLIInstalled AND NOT InnoKBFSUninstallString' evaluates to true.
[4120:2D90][2017-02-17T17:02:26]i199: Detect complete, result: 0x0
[4120:4B64][2017-02-17T17:02:27]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

This would happen if your client upgraded, then you tried installing from the previously downloaded package. I'm afraid you will have to again download https://prerelease.keybase.io/keybase_setup_386.exe

Issue has been resolved! Thanks a ton. Everything is working fine now. Cheers and happy friday

authors: jonathanhsong zanderz


text:
White screen on Linux when clicking the Git button

I'm attempting to use the encrypted Git feature and am seeing a white screen come up in the client instead.
my log id: 27548d96c958cf57ac380f1c

Keybase GUI Version: 1.0.34-20171006000413+5fe91ae13

We will investigate first thing.  Can you do a ‘keybase log send’ ?
On Fri, Oct 6, 2017 at 8:11 AM Matthias Niess notifications@github.com
wrote:

Keybase GUI Version: 1.0.34-20171006000413+5fe91ae13
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/8864#issuecomment-334737208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA05_w22ZKAP8dkq4ab9qkbubZQhLgZZks5sphjbgaJpZM4PwCMH
.

Log ID: 52e5f51f980733162205cd1c

Thanks. Cc @oconnor663
On Fri, Oct 6, 2017 at 8:14 AM Matthias Niess notifications@github.com
wrote:

Log ID: 52e5f51f980733162205cd1c
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/8864#issuecomment-334737895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA05_ziQJd5Qx_xgVZSCl5h9YLONZ_5dks5sphmngaJpZM4PwCMH
.

Dupe of #8872 and now fixed in master

(fix should be out already if you upgrade to latest)

Confirming fix.

I am confirming the fix as well.
On Mon, 9 Oct 2017, 10:37 am Matthias Niess, notifications@github.com
wrote:

Confirming fix.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/8864#issuecomment-335212277,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvKdqxb2qfmiK8ItZUfSDfokdouRRhPks5sqkvHgaJpZM4PwCMH
.

source: gharchive/issue

authors: MakotoTheKnight dakira maxtaco oconnor663

repo: keybase/client

license_type: permissive

license_source: github-api


text:
Sort order for team list

cc @keybase/y2ksquad

Might be easier to do this in go

@heronhaye this doesn't seem too bad to me

Should I review this or do we wanna do it in go instead

@jakob223 review away

@keybase/react-hackers bump

I put a mobile style fix in #23669, check that out if testing mobile.

source: gharchive/pull-request

authors: buoyad heronhaye jakob223


text:
fix @brentmaxwell's sigchain via PGP vendor

he had a bad PGP public key failing on short hash IDs. Fixing that fixes the rest of his sigchain
PGP eTimes live to fight another day

Fixes #3905

Cc: @oconnor663, I'm going to just go ahead and merge this once CI passes.


text:
Add babel-plugin-transform-builtin-extend so extending Error works

http://stackoverflow.com/questions/30402287/extended-errors-do-not-have-message-or-stack-trace
:eyeglasses: @keybase/react-hackers @gabriel

https://github.com/keybase/client/commit/91495289e20767e0d975021fa62b6500f7d5020c


text:
make sure the message is a error free edit

Sanity check edits before trying to access them as such.

cc @chrisnojima


text:
Does not work to find a user by userId parameter

At the file  keycloak-admin-client/lib/users.js:
if (options.userId) {
        req.url = `${client.baseUrl}/admin/realms/${realm}/users/${options.userId}`;
} else {
        req.url = `${client.baseUrl}/admin/realms/${realm}/users`;
        req.qs = options;
}

If you want to find a user using:
 client.users.find(realm, { userId: 'someId' })
It does not work.
NOTE: I am using Keycloak 4.0.0, the final release.

It is not a bug. Mixed results. Find method return an object when you search by id, and an array when you find by others parameters.

repo: keycloak/keycloak-admin-client

license_source: bigquery


text:
Blocks have default config merged into user config

Adds some functionality which #1099 requires; setting a default config that the user can overwrite for querying cloudinary image blocks.
NOTE: This change was originally part of #1097, but has been extracted here to avoid blocking on that discussion.

Nope, this shouldn't be a separate PR... See #1097 for the implementation of this.

license: MIT


text:
🛑 Storstockholms Lokaltrafik is down

In d4bbe57, Storstockholms Lokaltrafik (https://sl.se/privat/min-profil) was down:

HTTP code: 403
Response time: 694 ms

Resolved: Storstockholms Lokaltrafik is back up in 07d2143 after 7 hours, 3 minutes.

repo: keywordnew/stockholm-watchtower


text:
🛑 Elisa Eesti AS is down

In ddfe0f5, Elisa Eesti AS (https://www.elisa.ee/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Elisa Eesti AS is back up in 145568b after 12 minutes.

repo: keywordnew/tallinn-watchtower


text:
Update K to generate kore from IELE

Updates K to support generating KORE from the IELE semantics.

Jenkins: test this please

Jenkins: test this please

Jenkins: test this please

The tests are not going to pass because of bugs in the C semantics that @chathhorn will fix after this is merged, but this is ready for review.

Quite difficult actually. I have a test that tests imp that was part of a previous pr, but it doesn't actually compare the result because as tests go that would be incredibly fragile. Doing a fuzzier comparison would require a diff engine that understood kore, which would be extremely complicated and time consuming to write. We are probably better off trying to do functional testing by feeding the result of the generated kore into the haskell backend when the time comes.

Jenkins: test this please

BTW, sorry it took so long to get it reviewed.

authors: dwightguth traiansf

repo: kframework/k


text:
Build Haskell backend as a submodule, hook into Maven

This is in preparation of running the K tests on all the backends, not just the Java backend.
It will help root out deficiencies in the Haskell backend.

Note that this should wait for: https://github.com/kframework/kore/pull/393
Once that is merged, I'll update the submodule and this will be ready.

Also, it would be nice to add a test that the haskell backend works, or maybe even calling make k-test in the kore repo.

@traiansf I'm holding off the changes for making sure the Haskell backend works for another PR. My plan is to also make it possible to run the test-set in k-distribution with any of the backends, then to have a list of tests to run with each backend. Currently we just run some of them with OCaml and others with Java.
The Haskell backend integration tests will be tested on it's PR job for now, so there I think I'm going to focus on running as many of the tests in k-distribution that the Haskell backend can in a reasonable amount of time.
I also plan on making a weekly build job that run all integration tests on nightly builds to find a nightly release which is working for all the semantics we care about. Once that build is up, the Haskell backend PR will use that version for testing instead of the nightly.

Also, what defaults in HaskellKRunOptions need to change? We discussed on Slack, and I think the conclusion was that the current defaults actually work well. Right now it will default to using the binaries bundled in k-distribution/target/release/k/bin, and the binaries built by the haskell backend are being copied there.
You can override this by explicitly calling the options, which the testing for the Haskell backend needs. But the default is to use the version pinned by the submodule.

authors: ehildenb traiansf


text:
Docker file errors

The generation with the docker file does not encode the strings correctly (accents in Spain, etc.).

Could it be that the RMLMapper that is used is outdated?

Same version of the tools in local works... So I'm assuming that the issue is with the version of the JVM or with Ubuntu.

authors: dachafra pheyvaer

repo: kgb-workshop/sad-generator


text:
Updated Class/List usage to Class & List

Using wildcards for the type lets you do things like
Business.getOwnClassInfo().getAxioms().stream()
  .map((o) -> (PropertyInfo) o)
  .filter(propMap::containsKey)
  .forEach((prop) -> f(prop, business, bdd));

without casting the axiom list to an List<Object> or some some other container with a concrete type.
Going forward, I think we should be using List<?> in most cases instead of List
Also a Stackoverflow post about it https://stackoverflow.com/questions/14983489/difference-between-list-and-list where it's recommended to stop using List or other raw types

Wouldn't this line throw a class cast exception if you had other types of axioms:
.map((o) -> (PropertyInfo) o)
Can you show me how the above code would look without this change?

authors: kgrgreer nick-prat


text:
🛑 Portainer is down

In 0c2f2e2, Portainer (https://portainer.nest.gq) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portainer is back up in 76bb941.

repo: khadanja/upptime


text:
Strip XML element text

Hi,
I downloaded BIS SDMX files using their bulk download website (https://data.bis.org/static/bulk/{dataset_id}_sdmx-compact-2.1.zip, for example https://data.bis.org/static/bulk/WS_CBPOL_sdmx-compact-2.1.zip ).
Because those XML files are non-indented (they only have 1 line), I re-indented them using xmlindent, and now read_sdmx does not work anymore, because of the \n inserted in element.text:

--- SS without structure ---
1 (140191632947744) False

--- <class 'sdmx.message.StructureMessage'> ---
2 (140189840089040) <sdmx.StructureMessage>
  <Header>
    source:
    test: False

--- ID ---
3 (140189838191248) IDREFc71e5f8d-5182-411e-8910-40010bd38ab1

--- Test ---
4 (140191565313648) false

Ignore:
 {140191632913024}
<mes:Prepared xmlns:mes="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:str="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure" xmlns:com="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common">2024-06-10T14:35:22Z
    </mes:Prepared>

2024-06-11 01:06:47,774 CRITICAL root: Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/sdmx/reader/xml/common.py", line 204, in read_message
    result = func(self, element)
             ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sdmx/reader/xml/v21.py", line 362, in _datetime
    reader.push(elem, isoparse(text))
                      ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dateutil/parser/isoparser.py", line 37, in func
    return f(self, str_in, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dateutil/parser/isoparser.py", line 138, in isoparse
    components += self._parse_isotime(dt_str[pos + 1:])
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dateutil/parser/isoparser.py", line 346, in _parse_isotime
    components[-1] = self._parse_tzstr(timestr[pos:])
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dateutil/parser/isoparser.py", line 395, in _parse_tzstr
    raise ValueError('Time zone offset requires sign')
ValueError: Time zone offset requires sign

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

Traceback (most recent call last):
  File "/app/download.py", line 8, in <module>
    main()
  File "/app/src/bis_fetcher/download.py", line 12, in main
    Downloader(downloader_helper=downloader_helper).start()
  File "/app/src/bis_fetcher/downloader.py", line 92, in start
    for dataset_id, dataflow_definition in self._source_data_loader.load_dataflow().items():
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/bis_fetcher/source_data_loader.py", line 73, in load_dataflow
    dataflow_msg = self._parse_sdmx_structure_message(self.dataflow_file)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/bis_fetcher/source_data_loader.py", line 144, in _parse_sdmx_structure_message
    msg = sdmx.read_sdmx(input_file)  # type:ignore[no-untyped-call]
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sdmx/reader/__init__.py", line 126, in read_sdmx
    return reader().read_message(obj, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sdmx/reader/xml/__init__.py", line 45, in read_message
    import_module(f"sdmx.reader.xml.{version}")
  File "/usr/local/lib/python3.12/site-packages/sdmx/reader/xml/common.py", line 221, in read_message
    raise XMLParseError from exc
sdmx.exceptions.XMLParseError: ValueError: Time zone offset requires sign

To add tests, I have seen the sdmx-test-data repository, but did not want to modify those files directly. How would you proceed about tests?
PR checklist

[ ] Checks all ✅
[ ] Update documentation
[ ] Update doc/whatsnew.rst

Thanks for this contribution and the explanation of the issue it's intended to address.
For the specimens:

You can indeed open a separate PR on khaeru/sdmx-test-data that adds files. That would be very welcome. See khaeru/sdmx-test-data#1 for an example (the only one thus far!).
If you not able/confident to do so, you could also give the files as attachments to another comment on this GitHub PR (docs).
In either case, please provide both (a) one of the raw files and (b) one of the files you have processed with xmlindent. If the files are large, please delete some other elements besides the ones that trigger the error.

With those specimens, I will try to validate the indented file against the official XSD schemas. In particular, I will check whether the standards/schemas actually allow that an XML element with leading or trailing whitespace is valid:
...
<URN>
  urn:sdmx:etc.etc=etc(1.0)
</URN>
...

If it is valid, then I think your changes in this PR are the right fix and definitely should be accepted.
If it is not valid, then I think the code should additionally warn that invalid SDMX-ML is being handled; and the docs should warn that other tools (for instance xmlindent) can output this technically invalid SDMX-ML. We could extend your PR to add such warnings.

authors: cbenz khaeru

repo: khaeru/sdmx


text:
🛑 Trady is down

In 7081cda, Trady (https://www.trady.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Trady is back up in 21deb59 after 12 minutes.


text:
Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 (#10)

User description
Bumps golangci/golangci-lint-action from 6.1.0 to 6.1.1.

Release notes
Commits

updated-dependencies:

dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-patch ...

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

PR Type
dependencies

Description

Updated the golangci/golangci-lint-action in the GitHub Actions workflow from version 3.3.1 to 6.1.1.
Ensured the linter uses the latest version by setting the version parameter to latest.

Changes walkthrough 📝
Relevant filesDependencies

go.ymlUpdate golangci-lint-action version in GitHub workflow

.github/workflows/go.yml
Updated the golangci/golangci-lint-action version from 3.3.1 to 6.1.1.  Set the version parameter to latest.

+1/-1

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)

repo: khulnasoft/congo


text:
In rate us page after submit form not reset and thank you message not shown.

I will fix it and make it working form.

@sunny0625 Please assign me this task !
and merge #1307

@sunny0625 Please assign me this task !
Thank You !


text:
无法在线更新

请教下这是为什么，直接复制这个链接打开也是404，https://dl.openwrt.ai/firmware/x86_64/这个链接可以打开，点进去也能下载。

文件下载失败或超时：https://dl.openwrt.ai/firmware/x86_64/09.26.2024-openwrt-x86-64-generic-squashfs-combined.img.gz
同样的问题

大佬们有解决方案吗？我也有这个问题，已经好久没法更新了

大佬们有解决方案吗？我也有这个问题，已经好久没法更新了

直接修改/usr/lib/lua/luci/model/cbi/gpsysupgrade/sysupgrade.lua

authors: Ikeltis hisune kukudemajia


text:
[master][KOGITO-1597] Refactor Cucumber tests to get rid of KogitoAppDeployment

Signed-off-by: Karel Suta ksuta@redhat.com
https://issues.redhat.com/browse/KOGITO-1597
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

Cucumber tests passed (apart from Jobs service which is broken now)
Ready for review.

@radtriste setupBuildImageStreams and namespace declaration moved to GetKogitoAppStub, all values in cliDeployService are taken from KogitoApp.

@sutaakar ahah about setupBuildImageStreams I was just thinking about letting it like it was :S
that will impact (for now) the travel agency and it has been moved to kogito-examples (or still in progress but soon enough) and will then follow the different versions of Kogito for now.
so better to override with the test version.

@Sgitario nil checks removed

authors: radtriste sutaakar

repo: kiegroup/kogito-cloud-operator


text:
A way to get better results for vid2vid

I used the develop branch to create the vid2vid effect, and after some testing I realized that vid2vid works better if the mouth of the source video is closed, and not so well if the mouth of the source video is open and changes all the time.
So we can use Retargeting to close the mouth of the source video, which should give us a better result, but this node doesn't seem to be able to do that at the moment. I've found that the Retargeting part of the original project can do it (i.e., the Retargeting function at the bottom of the app.py), so it would be nice to add that function to this node, so that we can use it in the current one. node, that would be great!
Another thing is that whether the eyes are closed or not doesn't seem to have a big effect on the final result, so it would be better to handle the mouth in a way that doesn't affect the eyes, which the current function in app.py does, and this can get very strange if there is eye movement.
I've tried lip_retargeting in LivePortraitProcess and it doesn't achieve a similar effect, if it does, please tell me the correct procedure!

The English above is translated from the Chinese below.
我使用 develop 分支来创建 vid2vid 效果，经过测试我发现，如果原视频的嘴部是闭合的，那么 vid2vid 的效果就会比较好，反之，如果原视频的嘴部是张开的并且是一直变化的，那么效果就不太好。
所以我们可以使用 Retargeting 来闭合原视频的嘴部，这样能应该能获得更好的效果，但是目前这个节点好像无法实现这个功能。我发现原项目的 Retargeting 部分是可以做到的（也就是 app.py 最底部的Retargeting功能），所以如果能在当前这个节点上添加这个功能，那就太好了！
另外还有一点，就是眼睛是否闭合，对最终效果影响似乎不是很大，所以最好在处理嘴部的时候，能不影响到眼睛，目前 app.py 里的这个功能是会影响到眼睛的，如果眼部有运动的话，这会变得非常奇怪。
我尝试过 LivePortraitProcess 的 lip_retargeting，并不能实现类似效果，如果可以的话，请告诉正确的操作步骤

This is exactly what I'm trying to do, would be nice if we can have a retarget node for video.

The video processing is now much better in the develop branch, new relative_only -mode or smoothed video mode should take care of that.

The video processing is now much better in the develop branch, new relative_only -mode or smoothed video mode should take care of that.

Thank you very much! I will try it.

authors: henjicc kijai vienduong88

repo: kijai/ComfyUI-LivePortraitKJ


text:
Rename?

Just a thought. There's nothing remix-specific in this package. This should probably be "zod-params-helper".

That's true. When I first created it, I wasn't sure if I would include Remix-specific stuff in it.
I've actually cleaned up the API for use in my current app, but I wasn't ready to publish since it included some breaking changes. Creating a new package may be the way to go.
Thanks for the nudge.

Another note, this library is more than just params. It's also forms which feels different. I wonder if this should be split into two? Just a thought. Either that or the name should reflect what it really does.

I'm actually just renaming it to zod-helper.
Its main purpose is to not only validate your input but parse and convert it. Similar to the new coerce feature in zod.
For example, if the schema is z.object({ id: z.number() }), it will verify that the id is a number and convert it automatically. You won't have to use z.coerce.number().

The forms/input helper uses the same schema as the parser/validation, that's why I had it in the same package.
I'll think about the best way to organize it. Thanks!

Bumping this because I want to derive input props from (potentially complex) zod schema defs outside of remix and it feels weird to pull in a package called remix-params-helper 😄

@solomonhawk Ha, yeah. I built this mainly to help with remix projects, but I realize that it goes beyond that. Thanks for giving me the push. I'll try to clean this up this week.

authors: kentcdodds kiliman solomonhawk

repo: kiliman/remix-params-helper


text:
added basic structure

Added the basic HTML Structure to index.html

comment

+1 approved

Nice Job!

repo: kimberlylpalmer/TheBartenders


text:
timeout_analysis

When I use option timeout_analysis I get the following error.

Fatal error: exception Unix.Unix_error(Unix.ENOENT, "stat", "\194\150")

The error was coming from my command. :)


text:
Multiple channel support on Linux

Convert cubeb_channel_layout to pa_channel_map
Set pa_channel_map in pa_stream_new
Add pulse_get_preferred_channel_layout
Convert pa_channel_map to cubeb_channel_layout

The pulseAudio already has its own mixing mechanism[0], so we could leave the up/downmix for now. However, the mixing mechanism is different from the spec for 5.1-to-stereo, so I'll try to upstream some patches to pulseAudio.
[0] https://github.com/ChunMinChang/pulseaudio/blob/1d5dfccbb2b72abca6989a1c85b92e3e6e23bded/src/pulsecore/resampler.c#L841-L900

Thanks!

authors: ChunMinChang kinetiknz

repo: kinetiknz/cubeb

license: isc


text:
【Table】在 Vite5 下无法渲染

重现链接或代码
  const dataSource = [
    {
      id: '1',
      order: 'AP-202009-00001',
    },
    {
      id: '2',
      order: 'AP-202009-00001',
    },
  ];
  const columns = [
    { code: 'id', name: 'id' },
    { code: 'order', name: '单据号' },
  ];

  return <Table dataSource={dataSource} columns={columns} />;

重现问题步骤
用 Vite React App 启动
期望的结果是什么
正常渲染
实际的结果是什么
白屏报错

组件库版本号、浏览器信息
组件库与浏览器均为最新版本。感觉是 React 18.2.0 的兼容问题。

在版本v1.7.45版本已处理完，看这里 https://github.com/kingdee/kdesign/issues/695

authors: albyben makeng

repo: kingdee/kdesign


text:
feature: break out templates

Break templates out somehow.
Into their own repos, e.g.?

#212

repo: kinode-dao/kit


text:
403 error when using stak

Hello,
first off, thank you for creating this!
i'm receiving the 403 error below when using the stak command. however, when manually listing accounts as favorites in ~/.kion.yml and using the fav command, everything works fine. i assume it has to do with permissions, but when first running the stak command, i am able to see all the projects i have access to.
e@mbp kion-cli %
e@mbp kion-cli % kion stak

 Choose a project: dev
 Error: received 403
 {"status":403,"message":"Insufficient permission to view project accounts"}

e@mbp kion-cli %

@sixth thanks for opening the issue. Yeah it sounds like a permissions configuration issue. Can you take a look and let me know what permissions you have on the dev project?

doesn't seem like i have access to view my permissions? attaching screenshots of the webUI below;

Thanks for the screenshots. We were able to replicate the issue here. Take a look at this branch, if you are able to pull that down and give it a go let me know if it resolves it on your end.

The fix has been merged into main. Let me know if the problem persist.

that was fast! confirming it works on my end as well. thanks again

authors: codybuell sixth

repo: kionsoftware/kion-cli


text:
GUI for inputs

New GUI required to enter input and setup variables

usage: mivisionx_inference_analyzer.py [-h]
                             	       --model_format MODEL_FORMAT
                                       --model_name MODEL_NAME
                                       --model MODEL
                                       --model_input_dims MODEL_INPUT_DIMS
                                       --model_output_dims MODEL_OUTPUT_DIMS
                                       --label LABEL
                                       --output_dir OUTPUT_DIR
                                       --image_dir IMAGE_DIR
                                       [--image_val IMAGE_VAL]
                                       [--hierarchy HIERARCHY]
                                       [--add ADD]
                                       [--multiply MULTIPLY]
				       [--fp16 FP16]
                                       [--replace REPLACE]
                                       [--verbose VERBOSE]

Read setup text file into GUI

@hansely you can submit the PR here for the GUI and I will move the updates to ML Model Validation repo.

@hansely any update on this?

If the setup text is not previously created, the app does not work
The replace function is not accessible when the dropdown list for models is chosen.


text:
seatd: Package outdated

0.4.0 was released on the 19th of October, and contains a decent list of fixes.
The announce mailing list is available here: https://lists.sr.ht/~kennylevinsen/seatd-announce.
@muevoid

My bad I really need to make a script for when i update one of the packages i maintain in my repo so I can make a pr here I will open up a pr later today when I am at my pc(answering from my phone).

@muevoid While you're at it, you have 5 other packages needing updates. https://repology.org/projects/?maintainer=38061852%2Bmuevoid%40users.noreply.github.com&inrepo=kiss_community&outdated=1

@dylanaraps Yep my bad, I have all of those up to date other then icu(has issues still working on) just need to make a pr.

My bad

No worries, just thought I'd notify as it seems like it might have been missed. :)

authors: dylanaraps kennylevinsen muevoid

repo: kisslinux/community


text:
new package: sinit 1.0

Description of package
$ pstree
sinit-+-ubase-box---runsvdir-+-runsv---syslogd
      |                      |-runsv---udevd---udevd
      |                      `-runsv---dhcpcd
      |-ubase-box---emacsfgdaemon-+-Xorg---{InputThread}
      |                         t  |-emacsclient
      |                           `-pstree
      |-5*[ubase-box---ubase-box]
      `-wpa_supplicant

It works.
Offers simple alternative to busybox init and easy way to switch service supervisors using /etc/rc.supervisor file [if exists]. All commands are sinit->dash +sbase-box+ ubase-box from pid1 to the getty. Kept orginality of @dylanaraps's boot and shutdown scripts as close as possible to the original kiss init.
cat <<EOF

NOTE:
        This package is installed as /usr/bin/sinit
        Please update your kernel parameters
        accordingly,
        -> e.g. init=/bin/sinit
NOTE:
        Also keep in mind that sinit does not use
        the /etc/inittab file. The default busybox
        runit service supervisor will still be
        initialized. To use a different supervisor,
        place the needed code in /etc/rc.supervisor
        and it will automatically be sourced
        instead of busybox runit.
NOTE:
        The 'poweroff' and 'reboot' commands are
        located in /usr/local/bin . Modify your
        'PATH' accordingly or use alias functions.
        In the future this may change when kiss
        gains slotting ability.
        -> poweroff () { /bin/kill -s USR1 1 ; }
        -> reboot () { /bin/kill -s INT 1 ; }

EOF

Checklist

[x] Latest upstream version.
[x] I agree to maintain this package (required).
[x] I agree to notify KISS if I can no longer maintain this package (required).

give this one a minute if you're looking at it... found a slight issue

Okay fixed.

in the future i will consider mod this to use /etc/rc.conf to make it with options to e.g. use a different service supervisor than busybox runit. However, with the work done here, it is trivial now to copy this to an overlay and apply changes.

Looks good. :+1:
What I'll do is change the default init scripts to define everything as functions. This way you can . /usr/lib/init/rc.boot and call the functions you've left unchanged directly. This should reduce the duplication in code between the scripts and ensure you receive any fixes I make to the default.
What do you think?

Looks good.
What I'll do is change the default init scripts to define everything as functions. This way you can . /usr/lib/init/rc.boot and call the functions you've left unchanged directly. This should reduce the duplication in code between the scripts and ensure you receive any fixes I make to the default.
What do you think?

Thank you.
Let's cross this bridge later. Yes I like your idea very much, but it was not as simple as simply using ubase-box mount instead of mount everywhere, while it worked most of the time, I did have to modify a couple of your mount commands where ubase did not support all of the flags you were using.

These could be issues we can fix in the default boot scripts. Got some kind of list of issues on my end?

These could be issues we can fix in the default boot scripts. Got some kind of list of issues on my end?

I would recommend diffing the 4 files and taking a look. I have good memory, but not that good. HEH

Since baseinit is completely init-neutral (it can be executed by busybox init, sinit, runit-init, sysvinit, anything really), I reckon it'll be better if the config.h from this package points to baseinit instead with some of @a-schaefers' changes.

I agree with this idea. There's no real reason for sinit to use ubase, sbase and dash is there?

I disagree on this. Using the [suckless] sinit with all of the [suckless] base makes a lot of sense. Surely we can have init freedom in kiss and not be forced to busybox? :P

It is "init freedom" to swap busybox init for sinit. What's more difficult is swapping the busybox suite for something else.
If you'd like to also swap the system coreutils you can create a secondary repository and maintain a small fork of the busybox package (removing any conflicts with ubase, sbase and dash).
Here's what it'd look like:
busybox/
├─ build  -> /var/db/kiss/repo/core/busybox/build
├─ checksums
├─ depends  -> /var/db/kiss/repo/core/busybox/depends
├─ files/
│  ├─ .config # Make your changes here.
│  ├─ .config-suid # Also make changes here if needed.
│  ├─ acpid.run  -> /var/db/kiss/repo/core/busybox/files/acpid.run
│  ├─ crond.run  -> /var/db/kiss/repo/core/busybox/files/crond.run
│  ├─ syslogd.run  -> /var/db/kiss/repo/core/busybox/files/syslogd.run
├─ sources  -> /var/db/kiss/repo/core/busybox/sources
├─ version -> /var/db/kiss/repo/core/busybox/version
┘

Basically, you only maintain the checksums file and the .config. Modifying the .config to disable the build of sh and the utilities provided by ubase and sbase.
Users could then use your repository, install busybox, sbase, ubase, sinit and dash and not have any duplicates at all.
Any incompatibilities in the init scripts or package manager are portability bugs on my end which need to be fixed when found.
I know this isn't a full busybox removal as it provides a lot of extra utilities normally provided by other suites but this exact idea can later be extended to replace any busybox tool with another.

I have in mind a full conversion at some point, with ability to remove busybox from base, using a base more like that of oasis. Using this PR, I am converted from pid 1 to getty busybox-free. Currently kiss breaks without busybox, but I believe this [sinit PR] could have some future value here.

Yup. See my above reply if you haven't yet. :)

I think it's time to revisit https://github.com/kisslinux/kiss/issues/37 if that's the case. I have a very rough implementation here https://github.com/konimex/kiss/commit/22126019b7ad0de461f9a7302ae52d6bf11425f1 but that's about it.

Okay, so I see merit in 1. slotted packages and 2. what @dylanaraps has said, that at some point (probably) forking the busybox package will be unavoidable (because going forward I can't just keep PR'ing installation alternatives in to /usr/local/bin !)
I think the answer here is:
"Both."
1.We need package slotting. 2. Also the default sinit package should hopefully use
[modified] rc.boot and rc.shutdown from core baseinit package.

And @dylanaraps I do apologize, when you asked earlier I should have just posted a diff myself for everybody to see.

Looks good.
What I'll do is change the default init scripts to define everything as functions. This way you can . /usr/lib/init/rc.boot and call the functions you've left unchanged directly. This should reduce the duplication in code between the scripts and ensure you receive any fixes I make to the default.
What do you think?

Coming back to ^^^ this, let me see what I can do here, perhaps I may just open a PR to kiss-init, in addition to a new, additional sinit PR here in community (leaving this one here for the archives) and we may move forward in that way.

Any incompatibilities in the init scripts or package manager are portability bugs on my end which need to be fixed when found.
And  thank you for saying this. I will keep this in mind.

authors: a-schaefers dylanaraps konimex


text:
🛑 Avance Import is down

In b736b78, Avance Import (https://avanceimport.com) was down:

HTTP code: 500
Response time: 12309 ms

Resolved: Avance Import is back up in 04c2b0f.


text:
🛑 DMZ UK Home Website is down

In 4677de2, DMZ UK Home Website ($DMZ_UK_HOME_DOMAIN) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DMZ UK Home Website is back up in 5b97618.


text:
AudioOutput channels remains at value 2

Cannot set AudioOutput channels at value 1
Test program:
from kivy.core.audio import SoundLoader
from audiostream import get_output
sound = SoundLoader.load('sounds/kit1/clap.wav')
if sound:
print("Sound found at %s" % sound.source)
print("Sound is %.3f seconds" % sound.length)
sound.play()
stream = get_output(channels=1, rate=44100, buffersize=1024)
print(type(stream))
Output:
Sound found at C:...\sounds\kit1\clap.wav
Sound is 0.522 seconds
AudioOutput ask for 44100 1
AudioOutput got 44100 2

if
stream = get_output(channels=1, rate=22050, buffersize=512)
then
AudioOutput ask for 22050 1
AudioOutput got 22050 2
Environment:
Python 3.7.3
[INFO   ] [Logger      ] Record log in C:\Users\User.kivy\logs\kivy_21-03-11_72.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.1.18
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.1.12
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.1.23
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "C:\Users\User.pyenv\pyenv-win\versions\3.7.3\lib\site-packages\kivy_init_.py"
[INFO   ] [Python      ] v3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\Users\User.pyenv\pyenv-win\versions\3.7.3\python.exe"
[INFO   ] [AudioGstplayer] Using Gstreamer 1.16.0.0
[INFO   ] [Audio       ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)
Windows 8.1

Hi, same problem here on windows 10, it's doing a speedy sound for me.
Thanks to helping us

Same problem,
For a long time  I had exactly the same error (2 channels) and then suddenly I even get 8 channels.
So the number of channels allowed can change, over time (not during execution, on different run() ), surprising, isn't it ?

authors: PascaL-IT steforte vladimir-gui

repo: kivy/audiostream

license: mit


text:
Create standard Kivy dialog widgets (LoadDialog, SaveDialog, maybe others)

It's a feature request to upgrade functionality of FileChooser.
See: http://kivy.org/docs/api-kivy.uix.filechooser.html
Current example doesn't provide an easy way to use either LoadDialog or SaveDialog independently easily.

Here is how to do it in kivy:
#:kivy 1.8.0
MyLabel@Label:
font_size: '20 sp'
RootWidget:
# choose File
MyLabel:
size_hint: 1,0.07
text: 'Where's your file?'
#FileChooserIconView:
FileChooserListView:
id: file_chooser_kalschein
show_hidden: True
	BoxLayout:
		orientation: 'horizontal'
		size_hint: 1, 0.1
		padding: 0
		spacing: 6

		BoxLayout:
			orientation: 'vertical'

			# file feedback
			MyLabel:
				text: 'Your file:  ' + str(file_chooser_kalschein.selection)[2:-2]

			# button
			Button:
				size_hint: 0.2,1
				text: 'save / load'
				#on_release: root.save(str(file_chooser_kalschein.selection)[2:-2])
				on_release: root.load(str(file_chooser_kalschein.selection)[2:-2])

@picibucor Thank you very much. Looks like it's the same template for both. Gonna test as soon as possible.

It was chosen deliberately to have a self contained widget set in the core that can be easily extended into anything you want, what kind of save or load dialog you want may depend on your preferences and there are a few types already defined in the garden. Just look at https://github.com/kivy-garden/garden.filechooserthumbview and https://github.com/kivy-garden/garden.filebrowser

There is a example of this on the examples/RSTEditor folder of kivy for easy understanding too.

@akshayaurora  The current FileChooser is good as is, I'm not suggesting to remove it. However, I think there is a real gain from a user experience point of view to get those examples out of garden into core. Why force new users to work that hard for something so basic, is beyond me. Intuitiveness / usability is important too.

Is this what you suggest: #2473 ?

authors: akshayaurora picibucor victor-rene

repo: kivy/kivy


text:
Thread deadlock issue with property on Windows

The following code is blocking on Windows but is not blocking on Linux
from kivy.app import App
from kivy.uix.textinput import TextInput
from threading import Thread
import time

class TestThread(Thread):

    def __init__(self, ti):
        super().__init__()
        self.ti = ti

    def run(self):
        while True:
            time.sleep(3)
            print("change focus")
            self.ti.focus = True

class TestApp(App):
    def build(self):
        ti = TextInput()
        t = TestThread(ti)
        t.daemon = True
        t.start()
        return ti

if __name__ == "__main__":
    app = TestApp()
    app.run()

After investigation, it turns out that "self.ti.focus=True" blocks

No. t.daemon = True blocks. Put it in __init__() like this:
def __init__(self, ti):
    super(TestThread, self).__init__()
    self.daemon = True
    self.ti = ti

Maybe daemons need to be set in inits i.e. before objects are even created (for Win for some reason)? ^^

Indeed, this is just a simple example to reproduce the issue. In reality, I do have a client thread that communicates with a server. According to feedback of the server, the client will update the kivy user interface to get the data from users. So, normally in this circumstance, I would say the thread should be started after the ui is created. Otherwise, the client thread will happend to update an ui component that was not yet created.

Does anyone know why there is such a difference between linux and windows?

Don't have a clue, but anyway, you inherit from Thread. Is there any reason you want to set daemon=True outside of the thread? Btw in Python3 there's even daemon keyword argument for Thread()

Yes, that's true. But it is not just a big deal, as the daemon is well set
before starting the thread. I would be more interested by the diff btw W$
and Linux that make such a behavior..
2016-09-14 18:07 GMT+02:00 Peter Badida notifications@github.com:

Don't have a clue, but anyway, you inherit from Thread. Is there any
reason you want to set daemon=True outside of the thread? Btw in Python3
there's even daemon keyword argument for Thread()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4604#issuecomment-247064942, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcfr5wSYglbiqvve6TicC0aqyBaQkQ1ks5qqBu3gaJpZM4J6UdZ
.

Your original example doesn't block for me (on py2). What exactly do I need to do to get it to block?

You mean python 2 on Windows? I produced that using python 3.5.2 on Windows
with Kivy downloaded from http://www.lfd.uci.edu/~gohlke/pythonlibs/
Le mer. 14 sept. 2016 à 21:13, matham notifications@github.com a écrit :

Your original example doesn't block for me (on py2). What exactly do I
need to do to get it to block?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4604#issuecomment-247122614, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcfryzT_mRCLNDops1D8tz7IayIfEKgks5qqEdCgaJpZM4J6UdZ
.

I can replicate it on py3 now. Here's your fix, do
def delay(*largs):
    self.ti.focus = True
Clock.schedule_once(delay)

instead of just self.ti.focus = True. The problem is that you're setting a kivy property from an external thread, which is not allowed. Kivy properties that cause graphics changes (i.e. gl interaction, practically every property is like that) are not allowed from external threads. You need to do it with Clock.

Yes, thank you. I have came up with this solution also. That works.
However, if as you said, we are not supposed to set a kivy property from an
external thread, how are we supposed to design the backend of kivy user
interface? With this assumption, the backend's mainloop might be highly
kivy dependent.
2016-09-17 1:07 GMT+02:00 matham notifications@github.com:

I can replicate it on py3 now. Here's your fix, do
def delay(*largs):
self.ti.focus = True
Clock.schedule_once(delay)
instead of just self.ti.focus = True. The problem is that you're setting
a kivy property from an external thread, which is not allowed. Kivy
properties that cause graphics changes (i.e. gl interaction, practically
every property is like that) are not allowed from external threads. You
need to do it with Clock.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4604#issuecomment-247728895, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcfr2GK3GA54InxYEF03OB-OnkzgH3wks5qqyEggaJpZM4J6UdZ
.

authors: KeyWeeUsr matham pptime