text:
Problem when exporting all mobiles to csv

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

Yes - I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. - We are running version:
C:\Users\pizza>gam info
GAM 4.90 - https://git.io/gam
Jay Lee jay0lee@gmail.com
Python 3.7.4 64-bit final
google-api-python-client 1.7.10
Windows-10-10.0.18362 AMD64
Path: C:\GAM

Yes I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

Running an export on all mobiles - we have around 4300 devices. "
While exporting all the data we get the following error at the end:
C:\Users\pizza>gam print mobile > C:\GAM\Deprovision\Mobiles.csv"
Getting all Mobile Devices in G Suite account (may take some time on a large account)...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 100 Mobile Devices...
Got 67 Mobile Devices...
Traceback (most recent call last):
File "gam.py", line 14761, in
File "gam.py", line 14269, in ProcessGAMCommand
File "gam.py", line 12331, in doPrintMobileDevices
File "gam.py", line 11322, in writeCSVfile
File "csv.py", line 158, in writerows
File "c:\python37\lib\encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\u1ebf' in position 289: character maps to
[10140] Failed to execute script gam

Expected outcome (what are you trying to do?):
I have a script that exports all the mobile and all terminated G-Suite accounts, and crossref those exports with the list of terminated accounts to wipe the G-Suite account off the mobile.
However, I am unable to export more than 3 mobiles due to that error.

I also tried following this: https://github.com/jay0lee/GAM/issues/965

Updated GAM to 4.93 - https://github.com/taers232c/GAMADV-XTD3/releases
ran in command: set GAM_CHARSET=utf-8
ran gam print mobile > C:\GAM\Deprovision\Mobiles.csv"

still, get the same error.

If you working with GAMADV-XTD3 you should do the following.
gam config charset utf-8 save
gam redirect csv C:\GAM\Deprovision\Mobiles.csv print mobiles
Send me a private email to discuss GAMADV-XTD3.
Ross
ross.scroggs@gmail.com
On Sun, Aug 25, 2019 at 10:21 PM poiterwilson notifications@github.com
wrote:

I also tried following this: #965
https://github.com/jay0lee/GAM/issues/965

Updated GAM to 4.93 -
https://github.com/taers232c/GAMADV-XTD3/releases
ran in command: set GAM_CHARSET=utf-8
ran gam print mobile > C:\GAM\Deprovision\Mobiles.csv"

still, get the same error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1001?email_source=notifications&email_token=ACCTYLYH4FZZ5MEY4FQQ5WDQGNR4VA5CNFSM4IPLEOUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5DJLEA#issuecomment-524719504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACCTYL26YYONDVH24D5XI2DQGNR4VANCNFSM4IPLEOUA
.

--
Ross Scroggs
ross.scroggs@gmail.com

Were you able to resolve this issue? I'm having the same problem printing devices on v4.95 & 4.96.


text:
js 文件打开然后快速退出时报错

加上trycatch，暂未复现

source: gharchive/issue

repo: jayli/vim-easycomplete

license: MIT

license_type: permissive

license_source: github-api


text:
add @once - forces a method to run only one time

After first run, the return value is saved and for every other run of the method it will return the first result right away

Thanks for the PR!
I'm hesitant to add this decorator because I'm not confident it will see much usage--I don't want core-decorators to include every decorator, especially those which overlap lodash.
e.g. you can use the @decorate decorator to apply most lodash utilities
class Foo {
  @decorate(_.once)
  runSumOnlyOnce(num1, num2) {
    return num1 + num2;
  }
}

There are some existing decorators that overlap with lodash, but mostly I felt they were more likely to see use or they were added prior to the addition of @decorate.
I'm open to discussion of course! 😄 Thoughts?

@jayphelps - actually I haven't notice lodash has once function... yet, I agree, no need to re-write lodash in decorators. Never the less, I think once capability should be part of core-decorators project. Also, thinking out loud, looks like with ES7 - all lodash utilities that are related to functions - should be transformed into decorators - this is how I see it.

@zivl

Also, thinking out loud, looks like with ES7 - all lodash utilities that are related to functions - should be transformed into decorators - this is how I see it.

Decorators aren't in ES7 aka ES2016 (they aren't in any finalized spec yet) but I get your sentiment. I really don't want to reinvent them because we'll have to deal with the same bugs they worked through. Instead, if someone wants to, I think a library could simply import lodash and provided decorator versions of them that just defer to the lodash implementations.
I'm not sure core-decorators is the place for that--maybe it is. I'd be interested to hear what the community thinks.

Going to keep this open for a couple weeks to see if someone has further thoughts on lodash duplication or some sort of lodash wrapper library.

I think it would make sense to create another package like lodash-decorators. It would be possible to have the package use the @decorate from core-decorators and import the standalone Lodash functions, e.g. lodash.once. Going one step further, the package could try to use the Lodash version installed by the user via optionalDependency to help reduce bloat.

@nrdobie that's very close to my thinking as well. I imagined you'd need to take a similar approach to lodash--providing ESM bundles so they can use Rollup/Webpack2 to tree shake.

Actually, this already exists https://www.npmjs.com/package/lodash-decorators (doesn't use core-decorators cause it really doesn't need to)
Seems like this is a solved problem?

Now that https://www.npmjs.com/package/lodash-decorators exists, I'm going to think about deprecating then removing all our decorators that overlap with it and keep core-decorators only to more fundamental ones like @readonly and @autobind

Hey,
I think that a library needs to evolve. Over time, libraries that are not evolving are eventually deprecated due to out-of-date relevance.
So sure, there are overlaps here and there, but it is up to the consumer wether to use both libraries or only one of them (or in the lodash case, can use only a single or a few functions).
let me know what's the final decision so I will resolve conflicts in order to merge

@zivl I'm confused. Certainly libraries need to evolve. Why would core-decorators duplicate the effort of lodash-decorators? If not doing so ends up meaning that core-decorators is no longer relevant, I think that'd be a good thing--but I strongly disagree. They have different goals.
I'm pretty happy with deprecating then removing decorators that overlap with lodash.
I really do appreciate your work on this PR and the discussion, but I don't want to duplicate effort. We could never keep up with the robustness of lodash.

I've made a initial PR to kick start the deprecation process of the overlapping decorators: #110 feel free to comment!

yeah I got your point... I guess you're right.
anyway, I'm happy we could discuss that issue and come to that conclusion.
Cheers!

Thanks for understanding! 🎉

We've officially deprecated all the decorators that overlap with lodash-decorators, so this one won't make it. 😢  Thank you for the work you put into this!

source: gharchive/pull-request

authors: jayphelps nrdobie zivl

license: mit

license_source: bigquery


text:
[LIC] - Needs More Licensing

Edits to the licensing of files within the project need to be made.

First up, ElementDefinition.java and AttributeDefinition.java files need to be edited to have licenses.

Just fixed last file that needed license information added to it (XMLIterator.java)


text:
Warnings caused by django_jsonfield_backport

Hi, after installing django-auditlog==1.0.0 on Django 3.2.11 I can see many warnings caused probably by the django-jsonfield-backport dependency that look like this:
WARNINGS:
auditlog.LogEntry.additional_data: (django_jsonfield_backport.W001) You are using Django 3.1 or newer, which already has a built-in JSONField.
HINT: Use django.db.models.JSONField instead.

me too ^, i solved this by adding:
SILENCED_SYSTEM_CHECKS = [
    'django_jsonfield_backport.W001'
]

in the settings.py

The suggestions silences the warning but is there a change that this will actually be fixed?

it's not an 'issue' in the sense that there is no danger or problem, its simply saying that if you'r running django >= 3.1 the library should be using the built-in implementation of JSON field, not the backports one.
I suppose the fix is to detect the django version before importing the field, here:
https://github.com/jazzband/django-auditlog/blob/master/auditlog/models.py#L15
but i understand its not a super prio for the kind person maintaining this awesome project

You are correct, I did not mean to be critical, the module is great and I find it extremely useful!
I am just silencing the error and moving on!
Thanks for the response.
From: Ivan Price @.>
Reply-To: jazzband/django-auditlog @.>
Date: Wednesday, April 6, 2022 at 01:15
To: jazzband/django-auditlog @.>
Cc: Paul West @.>, Comment @.***>
Subject: Re: [jazzband/django-auditlog] Warnings caused by django_jsonfield_backport (Issue #356)
it's not an 'issue' in the sense that there is no danger or problem, its simply saying that if you'r running django >= 3.1 the library should be using the built-in implementation of JSON field, not the backports one.
I suppose the fix is to detect the django version before importing the field, here:
https://github.com/jazzband/django-auditlog/blob/master/auditlog/models.py#L15
but i understand its not a super prio for the kind person maintaining this awesome project
—
Reply to this email directly, view it on GitHubhttps://github.com/jazzband/django-auditlog/issues/356#issuecomment-1089829113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQQ5QNAUY4WAMC7NGI5VB3DVDUMWNANCNFSM5OBQXO4Q.
You are receiving this because you commented.Message ID: @.***>

This e-mail is the property of Interact Technologies, LLC., intended for the addressee only and confidential. Any dissemination, copying or distribution of this message or any attachments is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from Interact Technologies, LLC may be monitored. Interact Technologies, LLC cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Interact Technologies, LLC does not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of Interact Technologies, LLC.

Hi!
Since Django 2.2 is not supported anymore thanks to @hramezani in PR #370, you can now remove the django-jsonfield-backport dependency. This warning should not bother you anymore.

authors: Linkid fetchittv icemac ivan-price-acted mskl

repo: jazzband/django-auditlog


text:
Fix #375 -- Add Django 5.0 classifier

Ref #375

Thanks!

Oh, I'm sorry. The PR obviously makes sense but I didn't notice that this was a different Jazzband repository.

Oh, I'm sorry. The PR obviously makes sense but I didn't notice that this was a different Jazzband repository.

No problem, it's how Jazzband works ;-)

authors: matthiask pauloxnet

repo: jazzband/django-configurations


text:
Drop support for Python 3.8, added support for Django 5.1

Description

Drop support for Python 3.8
Added support for Django 5.1
Updated pre-commit versions and applied formatters

Related Issue
Resolves #1388.
Motivation and Context
Python 3.8 has reached EoL
Types of changes

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

Is dropping a python version a breaking change?
Checklist:

[x] I have run the pre-commit run command to format and lint.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] I have added my name and/or github handle to AUTHORS.rst
[x] I have added my change to CHANGES.rst
[ ] All new and existing tests passed.

@ddabble alright, I'm done for the day. I think I created the PRs in reverse order, but 🤷 . We'll get there.

#1388 i think this issue need to be resolved

@anyidea would you be interested in doing the follow-up PR to handle that deprecation?

@tim-schilling If this PR is not ready to merge, Is it okay if we split it into different parts? pre-commit updates, 3.8 drop and 5.1 support can be handled separately, which I believe would lead to faster merges.

@ulgens I think in either case, the PR needs to be reviewed which is the blocker.

If this PR is not ready to merge, Is it okay if we split it into multiple parts? pre-commit updates, 3.8 drop and 5.1 support can be handled separately, which I believe would lead to faster merges.

I agree that splitting PRs like this in general lowers the bar of reviewing them, with regards to the time required to do so properly 👍 Though I think the size of this PR is absolutely manageable, so it's ok :)

@tim-schilling Would you mind if I rebased the commits? Both to add a few things that I think should be added (I'll request your review in any case 🙂), and to reorganize the commits to have one for dropping Python 3.8 and one for adding Django 5.1.

Sounds good to me!

@tim-schilling When you think the PR is ready, let's do a merge commit, since the commits have been cleaned up 🙂
Also, thanks @ulgens and @anyidea, for your input!

authors: anyidea ddabble tim-schilling ulgens

repo: jazzband/django-simple-history


text:
UnicodeDecodeError 'ascii' codec can't decode byte 0xe3 in position 66: ordinal not in range(128)

Running pip-compile causes a UnicodeDecodeError
Environment Versions

Debian Jessie Docker
Python version: Python 2.7.14
pip version:  pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)
pip-tools version: pip-compile, version 1.9.0

Steps to replicate

pip-compile -U

Expected result
requirements.txt updated
Actual result
Traceback (most recent call last):
  File "/usr/local/bin/pip-compile", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/piptools/scripts/compile.py", line 184, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 107, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 195, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 274, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/usr/local/lib/python2.7/site-packages/piptools/repositories/pypi.py", line 145, in get_dependencies
    self._dependencies_cache[ireq] = reqset._prepare_file(self.finder, ireq)
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url
    hashes=hashes
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 663, in unpack_http_url
    unpack_file(from_path, location, content_type, link)
  File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 605, in unpack_file
    untar_file(filename, location)
  File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 551, in untar_file
    path = os.path.join(location, fn)
  File "/usr/local/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 66: ordinal not in range(128)

Same here

in my case the error I found is coming from ansible, putting a print just before the line shows these filenames:
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/meta
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/meta/main.yml
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/tasks
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/tasks/main.yml
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/files
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/files/foo.txt
/tmp/tmpf9NBhMbuild/ansible test/integration/targets/unarchive/files/test-unarchive-nonascii-くくららととみみ.tar.gz
Traceback (most recent call last):
  File "/usr/local/bin/pip-compile", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/piptools/scripts/compile.py", line 184, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 107, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 195, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/usr/local/lib/python2.7/site-packages/piptools/resolver.py", line 274, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/usr/local/lib/python2.7/site-packages/piptools/repositories/pypi.py", line 145, in get_dependencies
    self._dependencies_cache[ireq] = reqset._prepare_file(self.finder, ireq)
  File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url
    hashes=hashes
  File "/usr/local/lib/python2.7/site-packages/pip/download.py", line 663, in unpack_http_url
    unpack_file(from_path, location, content_type, link)
  File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 606, in unpack_file
    untar_file(filename, location)
  File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 552, in untar_file
    path = os.path.join(location, fn)
  File "/usr/local/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 66: ordinal not in range(128)

it's non ascii filenames in the package causing it to error
unicode filenames should be valid
it's definitely pip-tools issue since pip install -U ansible works
seems to be similar to #433 but the fix provided there does not fix this

work around was to upgrade ansible manually and then continue using pip-tools

I confirm that this problem can be reproduced by installing ansible via pip-compile. If ansible is already installed manually the problem does not happen.

authors: dachary oppianmatt

repo: jazzband/pip-tools


text:
Present to C++ standards committee

Scheduled to be presented in Kona In November https://github.com/orgs/cplusplus/projects/19/views/1?pane=issue&itemId=41839877
We need slides for a presentation preparing. We can base them on https://github.com/jbcoe/polymorphic_value/blob/main/talks/2022_07_05_CppOnSea.md

We initially (2023-11-08) presented wg21.link/P3019r1 and later we presented wg21.link/P3019r2 (2023-11-10).
The Library Evolution working group approved the design in wg21.link/P3019r2 but did not forward to the Library Group because they wanted some amendments to the paper (Remove optional specialization, correct noexcept status on swap (follow vector)). These edits have since been applied and submitted as merged PRs.
During discussion in LEWG and at the meeting in general we were able to improve our handling of allocators in assignment and swap to model vector (a container).
We added sections to the paper to cover modelled types (namely vector, optional and unique_ptr). This gave motivation for noexcept statuses, comparison support and more.


text:
wbt.conditional_evaluation() function return 0,but no result export

whitebox version: newest
Python version: python 3.8
Operating System: Mac
Description
Describe what you were trying to get done.
replace the rasterline values with DEM values
What I Did
wbt.conditional_evaluation(
i='/home/jovyan/data/mynotebook/data/rasterline.tif',
output='/home/jovyan/data/mynotebook/data/boundry.tif',
statement='value >= 0.0',
true='/home/jovyan/data/mynotebook/data/Elevation1.tif',
false='600.0')
when i used the whitebox.Runner()
got the following message:
./whitebox_tools --run="Conditionalevaluation" --wd="/Users/gaoxiang/Downloads/data" --input='/Users/gaoxiang/Downloads/data/rasterline.tif' --statement='value >= 0.0' --true='/Users/gaoxiang/Downloads/data/Elevation1.tif' --false=600.0 --output='/Users/gaoxiang/Downloads/data/boundry.tif' --compress_rasters
thread 'main' panicked at 'failed to execute process: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', whitebox-tools-app/src/tools/mod.rs:1258:26
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

This looks like a file permission error. Do you have the file that you can share with me?

yeah, the Elevation1.tif and rasterline.tif can be download from here, https://github.com/gaowudao/pysheds/tree/master/data

I cannot replicate the error:

The tool runs perfectly in the WhiteboxTools Runner for me. I think it is a system error on your side. Looks like you have a permission error. Perhaps it is how your WhiteboxTools is installed. I would recommend downloading the binary from the Whitebox Geospatial Inc. website, and then running the WhiteboxTools Runner using the instructions in the user manual.

ok  Thank you, I will reinstall Whiteboxtools Runner from the Whitebox Geospatial Inc.  Besides, another question is still unsolved.
What I Did: using whitebox-python
wbt.conditional_evaluation(
i='/home/jovyan/data/mynotebook/data/rasterline.tif',
output='/home/jovyan/data/mynotebook/data/boundry.tif',
statement='value >= 0.0',
true='/home/jovyan/data/mynotebook/data/Elevation1.tif',
false='600.0')
results
return 0,but no result export

I solved the above problem with the binary from the Whitebox Geospatial Inc. Replaced the plugins files from python version with the plugins files in the binary

I suspect that this is a problem with the Python install of WBT, specifically the whitebox.Runner() command. But I don't believe it is a bug in the back-end and so I am closing this issue. I'm glad that you were able to work past it.

Having the same issue with a Python install. For me the raster_calculator results in the same failure and backtrace:
./whitebox_tools --run="RasterCalculator" --wd="/opt/project/utils/waterbodies/workspace/breached" --statement="raster1" --output='raster2'

thread 'main' panicked at 'failed to execute process: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', whitebox-tools-app/src/tools/mod.rs:1258:26
stack backtrace:
0:     0x5638694f19dc - std::backtrace_rs::backtrace::libunwind::trace::h7f0f727c679b121e
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
1:     0x5638694f19dc - std::backtrace_rs::backtrace::trace_unsynchronized::h27b8207adc787597
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x5638694f19dc - std::sys_common::backtrace::_print_fmt::h18c4a15687f3f453
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:67:5
3:     0x5638694f19dc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7077f94cc0b2a619
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:46:22
4:     0x56386952fdaf - core::fmt::write::hd1fcbdc89ccede50
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/core/src/fmt/mod.rs:1096:17
5:     0x5638694f11e6 - std::io::Write::write_fmt::h3030f95a96ab63e0
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/io/mod.rs:1568:15
6:     0x563869506365 - std::sys_common::backtrace::_print::hce920b6e4ede72f2
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:49:5
7:     0x563869506365 - std::sys_common::backtrace::print::h63694f3a744810f6
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:36:9
8:     0x563869506365 - std::panicking::default_hook::{{closure}}::h2f22ad38e825d5e1
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:208:50
9:     0x563869505f33 - std::panicking::default_hook::hc0998dccd7f968a3
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:225:9
10:     0x563869506995 - std::panicking::rust_panic_with_hook::h618d5ded1dbe5ea3
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:591:17
11:     0x5638694f21f7 - std::panicking::begin_panic_handler::{{closure}}::h64f3a351a9df3931
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:497:13
12:     0x5638694f1b3c - std::sys_common::backtrace::__rust_end_short_backtrace::hf7a8c7450479e920
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/sys_common/backtrace.rs:141:18
13:     0x563869506542 - rust_begin_unwind
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:493:5
14:     0x56386952fae1 - core::panicking::panic_fmt::hac8d59bba791921f
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/core/src/panicking.rs:92:14
15:     0x56386952b583 - core::result::unwrap_failed::h386947b3c6c45634
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/core/src/result.rs:1284:5
16:     0x563868c35345 - whitebox_tools::tools::ToolManager::run_tool::h324febd58ab9a2e8
17:     0x563868906abf - whitebox_tools::run::hf0adb91db1a610a3
18:     0x563868903e2a - whitebox_tools::main::h48bb4032c3c51024
19:     0x5638691096f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9669996f076d0ae7
20:     0x5638686f4dc9 - std::rt::lang_start::{{closure}}::h4d629acb5d2e5dbf
21:     0x563869506d4a - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hacf21ab16c4aa1f7
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/core/src/ops/function.rs:259:13
22:     0x563869506d4a - std::panicking::try::do_call::h002bd74c4d814788
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:379:40
23:     0x563869506d4a - std::panicking::try::hae0844c0aa736d3d
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panicking.rs:343:19
24:     0x563869506d4a - std::panic::catch_unwind::hec4fe4ae39575e8f
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/panic.rs:431:14
25:     0x563869506d4a - std::rt::lang_start_internal::h024664467cde3297
at /build/rustc-h1hlaa/rustc-1.51.0+dfsg1+llvm/library/std/src/rt.rs:51:25
26:     0x563868907f02 - main
27:     0x7f4f46d5d0b3 - __libc_start_main
28:     0x5638686f4cda - _start
29:                0x0 - <unknown>

I do encounter the exact same error using Whitebox Python frontend from the whitebox package. Running the tools locally, from the runner, or QGIS, all work fine. But ConditionalEvaluation hangs on this permission error using Python. It is the only tool so far that fails this way. All other tools work fine in the same folder, with the same permissions in my system.
import whitebox
wbt = whitebox.WhiteboxTools()

wbt.conditional_evaluation(
    i = "/path/to/raster/input.tif",
    output = "/path/to/raster/output.tif",
    statement = "'value >= 3'",
    true = 1,
    false = None
)

This appears to be the whitebox frontend issue. Please open an issue at https://github.com/giswqs/whitebox-python

authors: MarcusChMa gaowudao geotom giswqs jblindsay

repo: jblindsay/whitebox-tools


text:
Error in wbt_reclass_from_file() with whitebox 2.3.0

I've been using wbt_reclass_from_file() in R (whitebox R frontend v2.2.0) with whitebox tools 2.2.0 without any issues. After the update to version 2.3.0 the following error message is returned:
Reading data...
thread 'main' panicked at 'The filename, directory name, or volume label syntax is incorrect. (os error 123)', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I tested the routine for different raster layers and reclass files which ran without issues before and all end up in the same error message.
I tried to install a previous version of the whitebox R package from the package's CRAN archive. It seems that the frontend version and the actual whitebox versions are not linked, but whitebox::install_whitebox() will install the most recent version of whitebox. Is there a way to get an older version of whitebox without having to compile it?

The source code for this tool has not been changed in any way since July 2022, and certainly not in the time frame from v2.3.0. I suspect therefore that this issue lies with the R frontend. Are you able to please share a sample dataset for which you experienced this issue? I have tested the tool using the Whitebox Runner frontend and it works without issue.

@chrisschuerz Can you please show the output of the command that is failing with command_only=TRUE e.g. wbt_reclass_from_file(..., command_only=TRUE)?
The error is being emitted by WBT itself, not the R frontend, but it is possible there is an issue with paths,
That said, if you can install whitebox 2.2.0 from CRAN, and still have the errors, it is not likely to be something to do with the tool itself, but probably your system configuration. See this recent issue with similar issues related to file paths, which can be fixed by specifying a whitebox working directory in the settings.json file of the new WBT installation: https://github.com/opengeos/whiteboxR/issues/108

OK, I can reproduce this on a Windows machine I have with completely fresh install of 2.3.0 via wbt_install(). However I had no issues with Linux. Using your same relative paths preceded with "./"
> library(whitebox)
> wbt_install()
Performing one-time download of WhiteboxTools binary from
	 https://www.whiteboxgeo.com/WBT_Windows/WhiteboxTools_win_amd64.zip
(This could take a few minutes, please be patient...)
trying URL 'https://www.whiteboxgeo.com/WBT_Windows/WhiteboxTools_win_amd64.zip'
Content type 'application/zip' length 26587019 bytes (25.4 MB)
downloaded 25.4 MB

WhiteboxTools binary is located here:  C:/Users/Andrew/AppData/Roaming/R/data/R/whitebox/WBT/whitebox_tools.exe
You can now start using whitebox
    library(whitebox)
    wbt_version()
> wbt_version()
WhiteboxTools v2.3.0 (c) Dr. John Lindsay 2017-2023

WhiteboxTools is an advanced geospatial data analysis platform developed at
the University of Guelph's Geomorphometry and Hydrogeomatics Research
Group (GHRG). See www.whiteboxgeo.com for more details.
> wbt_reclass_from_file(input        = './data/iso_cmt_500.tif',
+                       reclass_file = './data/acc_reclass.txt',
+                       output       = './data/iso_cmt_acc.tif')

Error running WhiteboxTools (ReclassFromFile)
  whitebox.exe_path: "C:\Users\Andrew\AppData\Roaming/R/data/R/whitebox/WBT/whitebox_tools.exe"; File exists? TRUE
  Arguments: --run=ReclassFromFile  --input="./data/iso_cmt_500.tif" --reclass_file="./data/acc_reclass.txt" --output="./data/iso_cmt_acc.tif" -v

System command had status 101
******************************
* Welcome to ReclassFromFile *
* Powered by WhiteboxTools   *
* www.whiteboxgeo.com        *
******************************
Reading data...
thread 'main' panicked at 'The system cannot find the path specified. (os error 3)', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
reclass_from_file - Elapsed Time: NA [did not run]

If we set the WhiteboxTools working directory to the current R working directory with wbt_wd("."), or setting wd via wbt_init() or similar, it works again. (This is essentially same "fix" from https://github.com/opengeos/whiteboxR/issues/108)
> wbt_wd(".")
> wbt_reclass_from_file(input        = './data/iso_cmt_500.tif',
+                       reclass_file = './data/acc_reclass.txt',
+                       output       = './data/iso_cmt_acc.tif')
reclass_from_file - Elapsed Time (excluding I/O): 0.64s

I would suggest that perhaps the settings.json for your 2.2.0 v.s. 2.3.0 install are different? The input/output paths are likely being interpreted relative to a directory that does not exist on your computer. In a fresh install of 2.3.0 the default settings.json (and working_directory) are set as:
{
  "verbose_mode": true,
  "working_directory": "/Users/johnlindsay/Downloads/",
  "compress_rasters": true,
  "max_procs": -1
}

@chrisschuerz setting "working_directory": "" in C:/Users/Andrew/AppData/Roaming/R/data/R/whitebox/WBT/settings.json  (in my example) makes your code will work as expected (without wbt_wd(".")) on 2.3.0

@brownag Thank you! Yes setting the "working_directory": "" solves the issue.

authors: brownag chrisschuerz jblindsay


text:
Other log files significantly grow in size

While the openvpn.log file is now regulated, the other log files still are capable of being quite large in size.

Will you add support for the other logs then?

Yes, I am currently waiting for a user to report if adding the nolog file suppressed the other logs.

It doesn't seem to suppress them, only delete them when program is exited


text:
ISPN-8397 Automatic heap configuration

https://issues.jboss.org/browse/ISPN-8397

Actually, this commit is not needed. This sort of calculation is already performed in standalone.conf.
Sorry I'm blind :)


text:
ActionView::Template::Error (undefined method `accessor'...)

I have a brand new installation as follows:
Information

Redmine 3.3.1.stable
Default administrator account changed
Attachments directory writable
Plugin assets directory writable (./public/plugin_assets)
RMagick available (optional)
ImageMagick convert available (optional)

Environment:
  Redmine version                3.3.1.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            2.10.2
  Filesystem
  Xitolite                       2.10.2
Redmine plugins:
  redmine_bootstrap_kit          0.2.4
  redmine_git_hosting            1.2.1

I ported the database from an older (TurnkeyLinux-based) installation and created a few projects and associated Gitolite repositories before noticing the problem.
Creating new issues or accessing older ones bombs with:
Started GET "/issues/4" for 127.0.0.1 at 2016-11-15 14:08:40 +0100
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"4"}
  Current user: mcon (id=3)
  Rendered issues/_action_menu.html.erb (15.3ms)
  Rendered issue_relations/_form.html.erb (3.2ms)
  Rendered issues/_relations.html.erb (35.6ms)
  Rendered issues/_history.html.erb (15.6ms)
  Rendered issues/_action_menu.html.erb (3.8ms)
  Rendered issues/_attributes.html.erb (9.1ms)
  Rendered issues/_form.html.erb (26.3ms)
  Rendered issues/_edit.html.erb (29.9ms)
  Rendered issues/show.html.erb within layouts/base (174.2ms)
Completed 500 Internal Server Error in 722ms (ActiveRecord: 469.5ms)

ActionView::Template::Error (undefined method `accessor' for #<ActiveRecord::Type::Value:0x000000043b2488>):
    15: <% end %>
    16:
    17: <% if @issue.safe_attribute? 'assigned_to_id' %>
    18:
<%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') %>

    19: <% end %>
    20:
    21: <% if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %>
  app/models/role.rb:213:in `permissions_all_trackers'
  app/models/role.rb:222:in `permissions_all_trackers?'
  app/models/role.rb:228:in `permissions_tracker?'
  app/models/project.rb:532:in `block in assignable_users'
  app/models/project.rb:532:in `assignable_users'
  app/models/issue.rb:863:in `assignable_users'
  app/views/issues/_attributes.html.erb:18:in `block in _app_views_issues__attributes_html_erb__746098401345571946_89102060'
  app/helpers/application_helper.rb:1058:in `labelled_fields_for'
  app/views/issues/_attributes.html.erb:1:in `_app_views_issues__attributes_html_erb__746098401345571946_89102060'
  app/views/issues/_form.html.erb:42:in `block in _app_views_issues__form_html_erb__2372106100887406891_89054820'
  app/helpers/application_helper.rb:1058:in `labelled_fields_for'
  app/views/issues/_form.html.erb:1:in `_app_views_issues__form_html_erb__2372106100887406891_89054820'
  app/views/issues/_edit.html.erb:8:in `block in _app_views_issues__edit_html_erb___2066311912814283393_41061120'
  app/helpers/application_helper.rb:1051:in `labelled_form_for'
  app/views/issues/_edit.html.erb:1:in `_app_views_issues__edit_html_erb___2066311912814283393_41061120'
  app/views/issues/show.html.erb:136:in `_app_views_issues_show_html_erb___3769807404617755934_64019180'
  app/controllers/issues_controller.rb:117:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:114:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

What did I do wrong?
Any help appreciated.

After a zillion tests it turned out I had forgotten a "rake db:migrate RAILS_ENV="production"" after last update.
Shame on me :(


text:
v2 Project card doesn't have handle

Description
A clear and concise description of what could be better.
Proposal
A description of the change you'd like to see.
Screenshots

Guess this isn't a bug since v2 projects don't have handles, but curious if ya'll think a placeholder is necessary or if it's fine as-is.

@jmilldotdev I think we can add something like this for now 🤷

@peripheralist could you pls check if https://github.com/jbx-protocol/juice-interface/pull/1185 will close this issue? 🙏

sorry just realized this is in fact not a bug—if a project has a defined handle it'll show up. i'm cool with closing this, unless we wanted to add the project ID if there's no handle? doesn't seem necessary to me

yeah we can close this, i thought it was a bug at the time and didn't realize that was the case for v2 projects.

authors: aeolianeth jmilldotdev peripheralist

repo: jbx-protocol/juice-interface


text:
[CHANGE] Removed linux:i386 support starting with chromium 102

Chromium version 102 and above (and also CEF) will drop support for linux:i386 builders. Spotify also removed builds starting from this version. We will thus also need to drop support for these builds.

Removed starting with version 104.4.23

repo: jcefmaven/jcefmaven


text:
Add to more hopefully more stable jom zip archive

This JOM archive from Qt seems to work added as a workaround should the first option fail. #22

Thanks :+1:
After tweaking and testing, integrated as https://github.com/jcfr/qt-easy-build/commit/7fa71910446581e2ee80ea3dc2a0b5cfe98e11ae

authors: gordon-n-stevenson jcfr

repo: jcfr/qt-easy-build


text:
🛑 audience is down

In 4b27089, audience (https://www.audience-soest.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: audience is back up in e4516a4.

repo: jcruse-erw/UptimeReport


text:
(feature-request): add support for initial selected values in useGroupModel composable

Here's a proposed implementation that will add the possibility of specifying an array of intially selected items to the useGroupModel composable.
This implementation adds a selected property to the useGroupModel config object. The property accepts a function whose first parameter is an array of options which comes from the options property on the config object. The function can then be used to return an array values to be selected by default.
This will be a good feature to have as it comes in handy in so many use cases. Take for instance, you have a list of selected fruits stored somewhere and you want them to be selected by default on the group model.
With the above scenario, here's the proposed implementation
const alreadySelected = ["apple", "banana"]
const { options, select, value } = useGroupModel<string>({
  options: ['apple', 'banana', 'orange', 'watermelon'],
  multi: true,
  selected: (options: string[]) => {
    const select = []
    options.forEach(opt => {
      if (alreadySelected.includes(opt))
        select.push(opt)
    })

    return select
  },
})

console.log(value) // ["apple", "banana"]

This PR also helps improve some logic in a few places such as what is returned in the value property. It now returns an plain array if multiple options is selected or a single option. This is to me should be the expected result rather than a Set.
This PR also fixed the type definition of the value of the value property as returned by the composable which initially didn't match-up with the logic. It is expected to return a ref wrapping a value but was returning a plain value.
Please review. Thanks 🙏

Indeed we need an initially selected valuer for useGroupModel. But It will be more easier if we can provide it as simple as passing a value rather than an array.
const { options, select, value } = useGroupModel<string>({
  options: ['apple', 'banana', 'orange', 'watermelon'],
  multi: true,
  selected: ["apple", "banana"],
})

What do you think?

@jd-solanki Indeed it will be much easier. As a matter of fact this was my first implementation of the solution, but then it doesn't really work for all use case.
The issue with just passing in direct array is that, one could pass in a value that's not even part of the initial value passed via the options prop. Which means, you'll end up having a selected value that's not part of the options.
Another case were it might not best to pass the value straight up, is when working with nested objects as values for your options.
And finally using a straight up array might be limiting in cases where you don't know the values that should be selected by default and you depend on a logic.

Hi @therealokoro Sorry, I was busy lately and couldn't respond.
It will be better if we provide both:

Allow passing functions for cases you mentioned
Allow passing array directly. If selected has a value that doesn't exist in options we will simply discard it as we can control how we mark the option as selected.

Thanks a lot for your time and efforts.
Awaiting your response.

Hi @therealokoro
Thanks for your contribution. I will be making a new release soon and I wish to get this merged as the initial value for the group model composable is essential. If possible can you please update the PR?
Thanks.

Hello @jd-solanki so sorry for not looking into this any longer.
I will take a look at it

Hi @therealokoro
Feel free to update it, I just want to let you know that @cpreston321 is also improving it.
Thanks for the response.

Can close via https://github.com/jd-solanki/anu/commit/62399501d64aab114ef974fc0dcbef6c5761e7b5
Thanks everyone for your contribution 🙏🏻

authors: jd-solanki therealokoro

repo: jd-solanki/anu


text:
GPIO 0 (zero) not recognised any more after update

Hello,
After the last update, I got an error that GPIO 0 not been recognised any more and I should use the numbers between 1 to 40.
It was already working before update.
In your configuration you advised using the list of sensor IO ports (Raspberry Pi BCM mode pin numbers) which zero one of them.

I followed your instruction
Here is the part of log specific for the error
Other than what I mentioned before it says apply a number between 1 to 39 there is no zero.
2024-07-02 10:19:57.408 ERROR (MainThread) [homeassistant.config] Invalid config for 'switch' from integration 'gpiod' at configuration.yaml, line 97: value must be one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39] for dictionary value 'switches->4->port', got 0, please check the docs at https://github.com/jdeneef/ha_gpiod

right, I get it, not the gpio device but the swith port. I possibly limited it too much, fixed it, port is now validated against  cv.positive_int again, which is sufficient for 0. Fix pushed.

Yes, it is working again
Thanks, and keep up the good work

thanx for sharing, closing

authors: jdeneef majbah-ha


text:
License of Lua dissector

Hello - I'm one of the maintainers of the Neolink project and I noticed you're using the Wireshark dissector from it. I am very glad it's been useful!
The dissector is (and has always been) AGPLv3; based on thirtythreeforty/neolink#341 I've just added a header clarifying the license since it's easy for the dissector in particular to be picked up and moved around, since it's self contained.  Would you add a notice indicating the AGPL license of the dissector?
To be clear, I am happy for you to copy the dissector (it is free software, after all), and I don't think its presence in your repo makes the whole repo AGPL or anything, nothing drastically affecting your software's license.  But I'd like for the license notice for the dissector to be preserved - thanks!

Hi,
I removed the dissector from the git history.
Thank you for the project idea and protocol description.
Thanks to the neolink team for the support of battery powered cameras after this PoC.
I am gonna close this repo now, because i am not maintaining it anyway.

authors: jdillenkofer thirtythreeforty


text:
GENERAL: read and adhere to the Technical Restraints

[PHP 7.3] for deployment to Google App Engine for free hosting.
[CodeIgniter 4.0.4] has been used successfully in the past and provides long term file caching.
[Twitter Bootstrap 4.5.2] for responsive layout.
[Leaflet 1.6.0] for interactive maps.
[Style Sheet] is taken from https://www.shropshirebotany.org.uk/. The Online Flora is to be consistent with this website, so should where possible reuse the same CSS classes and styles.
[No database] should be used other than the NBN Web service API, to keep down maintenance costs. Any static data (such as the list of axiophytes) should be hard coded into the application.
[Commits to Github] since the Society will retain the intellectual property rights over any code produced. So all branching should be on the repository at https://github.com/joejcollins/captain-magenta.git.
[CI/CD] the develop branch deploys to https://captain-magenta.azurewebsites.net/ on Azure and will be used to review progress.

@jdrever

How hard are these requirements?

How are decisions made?

Is Bootstrap 4 a hard requirement or can we use v5 instead, which removes the jQuery dependency?

How much leeway do we have with the design and CSS?

Do the wireframes represent the target layout for the various screens? I.e. are we to copy these layouts as-is for now?

Do we need to setup GitHub actions to deploy to Azure when commits are made to the develop branch?

Hi Charles,

How hard are these requirements?

I think we fundamentally need to develop against these requirements in terms of what we are delivering for Shrop Bot Soc (see also specific question about Bootstrap 4 below).  I think we need to separate that from the much more creative process we can have in terms of developing our own generic version of the site.  While we can absolutely be thinking about that future design, the delivery of the Shrop Bot version needs to come first.

How are decisions made?

Decision-making about the Shrop Bot Soc version comes from Shrop Bot Soc – if we have any questions about the scope that needs to go back to them in the first instance.

Is Bootstrap 4 a hard requirement or can we use v5 instead, which removes the jQuery dependency?

I’d be open to going back to Shrop Bot Soc with that question – that seems less fundamental to the scoping of the project than the CodeIgniter/PHP framework requirements (e.g. no impact on hosting arrangements and less risk in terms of increasing complexity of project), but that would be a decision for them with Joe advising them.

How much leeway do we have with the design and CSS?

In terms of what we deliver for Shrop Bot Soc: I think the requirements doc is pretty clear: “Style sheet: is taken from https://www.shropshirebotany.org.uk/. The Online Flora is to be consistent with this website, so should where possible reuse the same CSS classes and styles.”  Again, I would differentiate between delivery for Shrop Bot Soc and what we might want to create for a more generic deliverable, where we can be a lot more creative.

Do the wireframes represent the target layout for the various screens? I.e. are we to copy these layouts as-is for now?

Yes.  If we have areas of uncertainty (e.g. what is appropriate for a tablet screen size) then we go back for clarification.  We need to keep things as simple as possible.

Do we need to setup GitHub actions to deploy to Azure when commits are made to the develop branch?
No – my understanding is that Joe has set all that up in his repository, so we just need to commit to that at the appropriate time.

Hope this clarifies things – we can talk further on Monday evening.
James.
From: Charles Roper notifications@github.com
Sent: 27 February 2021 17:15
To: jdrever/ShropBotSoc ShropBotSoc@noreply.github.com
Cc: James Drever james@careful.digital; Mention mention@noreply.github.com
Subject: Re: [jdrever/ShropBotSoc] GENERAL: read and adhere to the Technical Restraints (#30)
@jdreverhttps://github.com/jdrever

How hard are these requirements?
How are decisions made?
Is Bootstrap 4 a hard requirement or can we use v5 instead, which removes the jQuery dependency?
How much leeway do we have with the design and CSS?
Do the wireframes represent the target layout for the various screens? I.e. are we to copy these layouts as-is for now?
Do we need to setup GitHub actions to deploy to Azure when commits are made to the develop branch?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/jdrever/ShropBotSoc/issues/30#issuecomment-787104565, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAPKYJK3KIYYHATBASUUAQLTBESBDANCNFSM4YGCAULA.

authors: charlesroper jdrever

repo: jdrever/ShropBotSoc


text:
change settings interface

addresses #1383
$ mise settings
  List all settings

$ mise settings a
  Get the value of setting with name 'a'

$ mise settings a=b
  Set setting with name 'a' to 'b'

I think it would be simpler if the setting value is a separate argument instead of using =? This is how git config works. - mise settings set x value

@camsteffen I want to support both styles, but this matches how mise set works for consistency

Sorry I meant mise settings x value. Would that work?

ah yeah, that could be done I think

closing due to inactivity, feel free to reopen if you'd like to work on it more

authors: JosiasAurel camsteffen jdx

repo: jdx/mise


text:
Support Windows OpenSSH Server

Thanks for providing this extension for those who don't use stock VSCode. I hate to be the one to ask - and am certainly aware of the irony of developing for Windows and using VSCodium, but is there any chance of support for Windows' OpenSSH Server? The official extension also seems to support it.
I tried connecting to one and the connection seems to work, but fails very likely due to it trying to execute a Bash script there, whilst the prompt you get is a traditional Windows command prompt.

yeah it's possible but I don't know much powershell, basically it would only require to translate this bash script to powershell, I'm open to PRs :slightly_smiling_face:

It might also be possible to "abuse" WSL for this for the time being, and do something like wsl -e ./script.sh, though it would probably be a stopgap as it requires WSL to be installed and set up, a distribution to be installed, and said distribution to have a bash shell (but that's pretty common, the default most people use is also Ubuntu).
(Also the path would probably need to be tweaked, as distributions in WSL have their own Linux filesystem with a mount point for the Windows C: drive.)

I have an almost working version for windows but I have several issues, maybe you could help...

if server process doesn't exist, the process is created but the connection doesn't close (if I close the process, the output is correct)
if server process does exist, the process isn't found by the ps, a new process is created and the connection doesn't close (if I close the process, the output might be correct)
if I run manually the script on the server, then the connection's ps find the process, the script correctly print out the expected output and the connection close successfully. The extension is finally working correctly.

I have almost working of script when the default shell of OpenSSH is either Git Bash or PowerShell (call the bash script).
For the ps issue, I tried to look for other solutions like WMIC or Get-Process. But I can't get the arguments list of the command, those aren't available in the task manager but can be seen in ProcessLasso.
I will try to fully convert the script to PowerShell to see if it make a difference...
Also, I'm using remote.SSH.remotePlatform to indicate that the server is windows.
Maybe it will be changed to windows:bash and windows:powershell if I can fix my problems...

if server process does exist, the process isn't found by the ps, a new process is created and the connection doesn't close (if I close the process, the output might be correct)
if I run manually the script on the server, then the connection's ps find the process, the script correctly print out the expected output and the connection close successfully. The extension is finally working correctly.

At the risk of stating the obvious: if you are using WSL, this might make sense, since ps in WSL will show you a list of processes the Linux distribution is running as opposed to Windows itself, which is where (I think) the Windows OpenSSH server is running.
It should be possible to execute Windows commands from WSL by appending .exe, though, so e.g. dotnet.exe can execute .NET on Windows itself from WSL. Not sure if that would help though, as Windows might not have a ps variant, but it might work to replace small bits of the bash script with PowerShell which execute on Windows rather than WSL this way.

I don't use WSL but Git Bash.
OpenSSH is configured with New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force

For the ps issue, I tried to look for other solutions like WMIC or Get-Process. But I can't get the arguments list of the command, those aren't available in the task manager but can be seen in ProcessLasso.

This is what I tried but I don't have enough knowledge and can't find much on that topic.
Also I'm getting some weird issue where one of the 2 node processes has crashed, I have to manually kill the other one to have stable connection.

Merged and released version 0.0.23, awesome work @daiyam :tada:

Thanks for this. I took it for a spin with my Windows VM. Am I right in assuming that I need the Windows OpenSSH server installed from the optional features? I can SSH to the Windows VM through a terminal, but the installation script fails with:
[Trace  - 10:18:33.388] Server install command stdout:
[Error  - 10:18:33.388] Error resolving authority
Error: Failed parsing install script output
	at t.installCodeServer (/home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:410476)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:376091

Also, it's a nitpick, but in the OS mapping I need to map <user>@<hostname> rather than just <hostname> or the plugin still tries to use the Bash script.

Also, it's a nitpick, but in the OS mapping I need to map @ rather than just

Pushed a commit fixing this :+1:

@jeanp413 Nice :tada:
@daiyam My default shell for Windows is the standard was cmd shell (not PowerShell) at the time of writing. My user journey so far has been "Install OpenSSH server on Windows, make sure connection works from a terminal, and then map it to be Windows in VSCode". The full log shown is the following:
[Info  - 08:05:08.722] Resolving ssh remote authority 'ssh-remote+me@172.16.132.129' (attemp #1)
[Trace  - 08:05:08.738] Identity keys:
<STRIPPED>
[Info  - 08:05:08.818] Trying no-auth authentication
[Info  - 08:09:32.528] Trying publickey authentication: <STRIPPED>
[Info  - 08:05:08.877] Trying password authentication
[Trace  - 08:05:09.589] Server install command:

# Server installation script

$TMP_DIR="$env:TEMP\$([System.IO.Path]::GetRandomFileName())"

$DISTRO_VERSION="1.74.0"
$DISTRO_COMMIT="cb188d662af4ff5d43505b572b49905a1f0153ad"
$DISTRO_QUALITY="stable"
$DISTRO_VSCODIUM_RELEASE="22342"

$SERVER_APP_NAME="codium-server"
$SERVER_INITIAL_EXTENSIONS=""
$SERVER_LISTEN_FLAG="--port=0"
$SERVER_DATA_DIR="$(Resolve-Path ~)\.vscodium-server"
$SERVER_DIR="$SERVER_DATA_DIR\bin\$DISTRO_COMMIT"
$SERVER_SCRIPT="$SERVER_DIR\bin\$SERVER_APP_NAME.cmd"
$SERVER_LOGFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.log"
$SERVER_PIDFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.pid"
$SERVER_TOKENFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.token"
$SERVER_OS="win32"
$SERVER_ARCH=
$SERVER_CONNECTION_TOKEN=
$SERVER_DOWNLOAD_URL=

$LISTENING_ON=
$OS_RELEASE_ID=
$ARCH=
$PLATFORM=

function printInstallResults($code) {
    "edc3c0430346eb879b668d40: start"
    "exitCode==$code=="
    "listeningOn==$LISTENING_ON=="
    "connectionToken==$SERVER_CONNECTION_TOKEN=="
    "logFile==$SERVER_LOGFILE=="
    "osReleaseId==$OS_RELEASE_ID=="
    "arch==$ARCH=="
    "platform==$PLATFORM=="
    "tmpDir==$TMP_DIR=="

    "edc3c0430346eb879b668d40: end"
}

# Check if platform is supported
$PLATFORM="$(uname -s)"

# Check machine architecture
$ARCH="$(uname -m)"
if(($ARCH -eq "x86_64") -or ($ARCH -eq "i686-pc")) {
    $SERVER_ARCH="x64"
}
else {
    "Error architecture not supported: $ARCH"
    printInstallResults 1
    exit 0
}

# Create installation folder
if(!(Test-Path $SERVER_DIR)) {
    try {
        ni -it d $SERVER_DIR -f -ea si
    } catch {
        "Error creating server install directory - $($_.ToString())"
        exit 1
    }

    if(!(Test-Path $SERVER_DIR)) {
        "Error creating server install directory"
        exit 1
    }
}

cd $SERVER_DIR

# Check if server script is already installed
if(!(Test-Path $SERVER_SCRIPT)) {
    del vscode-server.tar.gz

    $REQUEST_ARGUMENTS = @{
		Uri="https://github.com/VSCodium/vscodium/releases/download/1.74.0.22342/vscodium-reh-win32-x64-1.74.0.22342.tar.gz"
		TimeoutSec=20
		OutFile="vscode-server.tar.gz"
		UseBasicParsing=$True
	}

	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

    Invoke-RestMethod @REQUEST_ARGUMENTS

    if(Test-Path "vscode-server.tar.gz") {
        tar -xf vscode-server.tar.gz --strip-components 1

        del vscode-server.tar.gz
    }

    if(!(Test-Path $SERVER_SCRIPT)) {
        "Error while installing the server binary"
        exit 1
    }
}
else {
    "Server script already installed in $SERVER_SCRIPT"
}

# Try to find if server is already running
if(Get-Process node -ErrorAction SilentlyContinue | Where-Object Path -Like "$SERVER_DIR\*") {
    echo "Server script is already running $SERVER_SCRIPT"
}
else {
    if(Test-Path $SERVER_LOGFILE) {
        del $SERVER_LOGFILE
    }
    if(Test-Path $SERVER_PIDFILE) {
        del $SERVER_PIDFILE
    }
    if(Test-Path $SERVER_TOKENFILE) {
        del $SERVER_TOKENFILE
    }

    $SERVER_CONNECTION_TOKEN="b68f065f-a982-4d1d-a543-1e457a90aef5"
    [System.IO.File]::WriteAllLines($SERVER_TOKENFILE, $SERVER_CONNECTION_TOKEN)

    $SCRIPT_ARGUMENTS="--start-server --host=127.0.0.1 $SERVER_LISTEN_FLAG $SERVER_INITIAL_EXTENSIONS --connection-token-file $SERVER_TOKENFILE --telemetry-level off --enable-remote-auto-shutdown --accept-server-license-terms *> '$SERVER_LOGFILE'"

    $START_ARGUMENTS = @{
        FilePath = "powershell.exe"
        WindowStyle = "hidden"
        ArgumentList = @(
            "-ExecutionPolicy", "Unrestricted", "-NoLogo", "-NoProfile", "-NonInteractive", "-c", "$SERVER_SCRIPT $SCRIPT_ARGUMENTS"
        )
        PassThru = $True
    }

    $SERVER_ID = (start @START_ARGUMENTS).ID

    if($SERVER_ID) {
        [System.IO.File]::WriteAllLines($SERVER_PIDFILE, $SERVER_ID)
    }
}

if(Test-Path $SERVER_TOKENFILE) {
    $SERVER_CONNECTION_TOKEN="$(cat $SERVER_TOKENFILE)"
}
else {
    "Error server token file not found $SERVER_TOKENFILE"
    printInstallResults 1
    exit 0
}

sleep -Milliseconds 500

$SELECT_ARGUMENTS = @{
    Path = $SERVER_LOGFILE
    Pattern = "Extension host agent listening on (\d+)"
}

for($I = 1; $I -le 5; $I++) {
    if(Test-Path $SERVER_LOGFILE) {
        $GROUPS = (Select-String @SELECT_ARGUMENTS).Matches.Groups

        if($GROUPS) {
            $LISTENING_ON = $GROUPS[1].Value
            break
        }
    }

    sleep -Milliseconds 500
}

if(!(Test-Path $SERVER_LOGFILE)) {
    "Error server log file not found $SERVER_LOGFILE"
    printInstallResults 1
    exit 0
}

# Finish server setup
printInstallResults 0

if($SERVER_ID) {
    while($True) {
        if(!(gps -Id $SERVER_ID)) {
            "server died, exit"
            exit 0
        }

        sleep 30
    }
}

[Trace  - 08:05:09.692] Server install command stderr:
A subdirectory or file -Force already exists.
Error occurred while processing: -Force.
A subdirectory or file $HOME\.vscodium-server\install already exists.
Error occurred while processing: $HOME\.vscodium-server\install.
A subdirectory or file echo already exists.
Error occurred while processing: echo.
A subdirectory or file @' already exists.
Error occurred while processing: @'.

[Trace  - 08:05:09.692] Server install command stdout:
[Error  - 08:05:09.692] Error resolving authority
Error: Failed parsing install script output
	at t.installCodeServer (/home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:410476)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:376091

This seems to confirm that the problem is in fact that the old cmd is being used as shell on the Windows box and not PowerShell. It's also creating a folder called $HOME in my user folder on Windows, probably because it can't resolve the environment variable.
After that, I followed this guide from Microsoft to set the default shell to PowerShell. I'm now getting somewhat farther, but now there are complaints about uname not existing:
[Info  - 08:09:32.425] Resolving ssh remote authority 'ssh-remote+me@1.2.3.4' (attemp #1)
[Trace  - 08:09:32.439] Identity keys:
<STRIPPED>
[Info  - 08:09:32.512] Trying no-auth authentication
[Info  - 08:09:32.528] Trying publickey authentication: <STRIPPED>
[Info  - 08:09:32.575] Trying password authentication
[Trace  - 08:09:33.92] Server install command:

# Server installation script

$TMP_DIR="$env:TEMP\$([System.IO.Path]::GetRandomFileName())"

$DISTRO_VERSION="1.74.0"
$DISTRO_COMMIT="cb188d662af4ff5d43505b572b49905a1f0153ad"
$DISTRO_QUALITY="stable"
$DISTRO_VSCODIUM_RELEASE="22342"

$SERVER_APP_NAME="codium-server"
$SERVER_INITIAL_EXTENSIONS=""
$SERVER_LISTEN_FLAG="--port=0"
$SERVER_DATA_DIR="$(Resolve-Path ~)\.vscodium-server"
$SERVER_DIR="$SERVER_DATA_DIR\bin\$DISTRO_COMMIT"
$SERVER_SCRIPT="$SERVER_DIR\bin\$SERVER_APP_NAME.cmd"
$SERVER_LOGFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.log"
$SERVER_PIDFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.pid"
$SERVER_TOKENFILE="$SERVER_DATA_DIR\.$DISTRO_COMMIT.token"
$SERVER_OS="win32"
$SERVER_ARCH=
$SERVER_CONNECTION_TOKEN=
$SERVER_DOWNLOAD_URL=

$LISTENING_ON=
$OS_RELEASE_ID=
$ARCH=
$PLATFORM=

function printInstallResults($code) {
    "418df069c15fca1687ca2d78: start"
    "exitCode==$code=="
    "listeningOn==$LISTENING_ON=="
    "connectionToken==$SERVER_CONNECTION_TOKEN=="
    "logFile==$SERVER_LOGFILE=="
    "osReleaseId==$OS_RELEASE_ID=="
    "arch==$ARCH=="
    "platform==$PLATFORM=="
    "tmpDir==$TMP_DIR=="

    "418df069c15fca1687ca2d78: end"
}

# Check if platform is supported
$PLATFORM="$(uname -s)"

# Check machine architecture
$ARCH="$(uname -m)"
if(($ARCH -eq "x86_64") -or ($ARCH -eq "i686-pc")) {
    $SERVER_ARCH="x64"
}
else {
    "Error architecture not supported: $ARCH"
    printInstallResults 1
    exit 0
}

# Create installation folder
if(!(Test-Path $SERVER_DIR)) {
    try {
        ni -it d $SERVER_DIR -f -ea si
    } catch {
        "Error creating server install directory - $($_.ToString())"
        exit 1
    }

    if(!(Test-Path $SERVER_DIR)) {
        "Error creating server install directory"
        exit 1
    }
}

cd $SERVER_DIR

# Check if server script is already installed
if(!(Test-Path $SERVER_SCRIPT)) {
    del vscode-server.tar.gz

    $REQUEST_ARGUMENTS = @{
		Uri="https://github.com/VSCodium/vscodium/releases/download/1.74.0.22342/vscodium-reh-win32-x64-1.74.0.22342.tar.gz"
		TimeoutSec=20
		OutFile="vscode-server.tar.gz"
		UseBasicParsing=$True
	}

	[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

    Invoke-RestMethod @REQUEST_ARGUMENTS

    if(Test-Path "vscode-server.tar.gz") {
        tar -xf vscode-server.tar.gz --strip-components 1

        del vscode-server.tar.gz
    }

    if(!(Test-Path $SERVER_SCRIPT)) {
        "Error while installing the server binary"
        exit 1
    }
}
else {
    "Server script already installed in $SERVER_SCRIPT"
}

# Try to find if server is already running
if(Get-Process node -ErrorAction SilentlyContinue | Where-Object Path -Like "$SERVER_DIR\*") {
    echo "Server script is already running $SERVER_SCRIPT"
}
else {
    if(Test-Path $SERVER_LOGFILE) {
        del $SERVER_LOGFILE
    }
    if(Test-Path $SERVER_PIDFILE) {
        del $SERVER_PIDFILE
    }
    if(Test-Path $SERVER_TOKENFILE) {
        del $SERVER_TOKENFILE
    }

    $SERVER_CONNECTION_TOKEN="3edb31bf-8cef-466c-8295-58633dfa2f90"
    [System.IO.File]::WriteAllLines($SERVER_TOKENFILE, $SERVER_CONNECTION_TOKEN)

    $SCRIPT_ARGUMENTS="--start-server --host=127.0.0.1 $SERVER_LISTEN_FLAG $SERVER_INITIAL_EXTENSIONS --connection-token-file $SERVER_TOKENFILE --telemetry-level off --enable-remote-auto-shutdown --accept-server-license-terms *> '$SERVER_LOGFILE'"

    $START_ARGUMENTS = @{
        FilePath = "powershell.exe"
        WindowStyle = "hidden"
        ArgumentList = @(
            "-ExecutionPolicy", "Unrestricted", "-NoLogo", "-NoProfile", "-NonInteractive", "-c", "$SERVER_SCRIPT $SCRIPT_ARGUMENTS"
        )
        PassThru = $True
    }

    $SERVER_ID = (start @START_ARGUMENTS).ID

    if($SERVER_ID) {
        [System.IO.File]::WriteAllLines($SERVER_PIDFILE, $SERVER_ID)
    }
}

if(Test-Path $SERVER_TOKENFILE) {
    $SERVER_CONNECTION_TOKEN="$(cat $SERVER_TOKENFILE)"
}
else {
    "Error server token file not found $SERVER_TOKENFILE"
    printInstallResults 1
    exit 0
}

sleep -Milliseconds 500

$SELECT_ARGUMENTS = @{
    Path = $SERVER_LOGFILE
    Pattern = "Extension host agent listening on (\d+)"
}

for($I = 1; $I -le 5; $I++) {
    if(Test-Path $SERVER_LOGFILE) {
        $GROUPS = (Select-String @SELECT_ARGUMENTS).Matches.Groups

        if($GROUPS) {
            $LISTENING_ON = $GROUPS[1].Value
            break
        }
    }

    sleep -Milliseconds 500
}

if(!(Test-Path $SERVER_LOGFILE)) {
    "Error server log file not found $SERVER_LOGFILE"
    printInstallResults 1
    exit 0
}

# Finish server setup
printInstallResults 0

if($SERVER_ID) {
    while($True) {
        if(!(gps -Id $SERVER_ID)) {
            "server died, exit"
            exit 0
        }

        sleep 30
    }
}

[Trace  - 08:09:34.50] Server install command stderr:
uname : The term 'uname' is not recognized as the name of a cmdlet, function, script file, or oper
able program. Check the spelling of the name, or if a path was included, verify that the path is c
orrect and try again.
At C:\Users\Me\.vscodium-server\install\cb188d662af4ff5d43505b572b49905a1f0153ad.ps1:45 char:14
+ $PLATFORM="$(uname -s)"
+              ~~~~~
    + CategoryInfo          : ObjectNotFound: (uname:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

uname : The term 'uname' is not recognized as the name of a cmdlet, function, script file, or oper
able program. Check the spelling of the name, or if a path was included, verify that the path is c
orrect and try again.
At C:\Users\Me\.vscodium-server\install\cb188d662af4ff5d43505b572b49905a1f0153ad.ps1:48 char:10
+ $ARCH="$(uname -m)"
+          ~~~~~
    + CategoryInfo          : ObjectNotFound: (uname:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

[Trace  - 08:09:34.50] Server install command stdout:

    Directory: C:\Users\Me\.vscodium-server

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         10-1-2023     09:09                install
Error architecture not supported:
418df069c15fca1687ca2d78: start
exitCode==1==
listeningOn====
connectionToken====
logFile==C:\Users\Me\.vscodium-server\.cb188d662af4ff5d43505b572b49905a1f0153ad.log==
osReleaseId====
arch====
platform====
tmpDir==C:\Users\Me\AppData\Local\Temp\x5txxax5.up0==
418df069c15fca1687ca2d78: end
[Error  - 08:09:34.50] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:410569)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /home/werk/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.23/out/extension.js:1:376091

For uname, I've made the fix at #53.
Now, how to detect the shell...

Now, how to detect the shell...

Perhaps try PowerShell-only syntax or a command and see if it fails? :smile:

Yes, I'm doing if (result.stderr.includes('FullyQualifiedErrorId : CommandNotFoundException')) {                 platform = 'windows';             }             if (result.stderr.includes('is not recognized as an internal or external command')) {                 platform = 'windows';                 shell = 'cmd';             } when calling uname...
But I'm blocking on the transfert of the source of the install script from cmd to powershell

@NoTuxNoBux I've updated the PR with the support for cmd shell.
I'm using powershell to echo the install script in cmd :astonished:.   Kinda quirky but it's working. Maybe there are better solutions out there...
It took me a while  :persevere: :persevere:

@daiyam I can imagine! Thanks for the effort :slightly_smiling_face: .
I'm now trying the latest release (0.0.25) with the MR and the errors no longer occur. It took a minute or two with my virtual machine, but it connects successfully now :tada: .

authors: NoTuxNoBux daiyam jeanp413


text:
Update usb-device to 0.3

Hello, and thanks for creating this crate!  The current usb-device implementation requires that all of a devices' crates use the same version of usb-device - this PR just updates usbd-dfu-rt to work with the current usb-device.

Thanks. It seems that the example needs updating, but stm32-usbd does not support usb-device 3.0. There's a PR but it's not yet merged. I was able to run it with the following changes https://github.com/ianrrees/usbd-dfu-rt/compare/update-usb-device...jedrzejboczar:usbd-dfu-rt:jb/usb-device-3-stm32-usbd, but it requires [patch] in Cargo.toml.
I'm not sure if it's better to wait some time or to merge this PR now. On one hand stm32-usbd is just needed for the example, so I'm probably blocking development for some other users of usbd-dfu-rt, on the other hand I don't know if stm32-usbd is even maintained, e.g. my PR is there since 2022: https://github.com/stm32-rs/stm32-usbd/pull/30. However the developer seems to be active on GitHub so maybe we can wait just some more time to see if we could merge this without patch sections. If we merge this PR I'll soon may need to maintain separate branch of usbd-dfu-rt for usb-device 2 (beside separate stm32-usbd and some others) to keep support for my project.
Or maybe you could provide an example for some other device? This way there would be at least one non-hacky example. Have you tested this on some hardware? (though I doubt there would be any problems due to migration to usb-device 3).
Anyway, I think I'll wait some time and if there's no update to stm32-usbd then I'll just merge this PR with my fixes from jb/usb.

Yes I have this working on real hardware.  I'd be happy to make a SAMD21 example, however I think in a sense that might make the problem worse, because we'd then have a broken example when the required usb-device is ahead of either the ATSAM or the STM32 HALs...
Sorry I'm not very familiar with STM32 - did ask about this in the Rust USB matrix channel and @ryan-summers said he's using usb-device on STM32 but I'm not 100% sure whether it's with stm32-usbd.
I think you're right that the HAL should update first anyway, will aim to discuss it in chat next week when I'm back at work.  Thanks!

stm32-usbd is indeed less used than the synopsys-usb-otg driver.
Just an FYI, it looks like the PR for stm32-usbd is merged now, and I might plan on releasing a usb-device 0.4.0 soon. Sorry for the delay on answering here, this notification came in while I was on vacation :)

Any plans to integrate this PR? I t would be great if this crate could be used in connection with usb-device 0.3.

authors: ianrrees jedrzejboczar kiffie ryan-summers

repo: jedrzejboczar/usbd-dfu-rt


text:
依赖冲突

版本号：3.7.0_all（发布日期：2024-06-23）
问题描述：前端依赖冲突
错误截图：

友情提示：

未按格式要求发帖、描述过于简单的，会被直接删掉;
描述问题请图文并茂，方便我们理解并快速定位问题;
如果使用的不是master，请说明你使用的分支;

使用pnpm i 来安装

repo: jeecgboot/JeecgBoot


text:
下拉多选框查询配置不显示引用字典内容

版本号：
Jeecg  Boot Version: 2.4.5
Spring Boot Version: 2.3.5.RELEASE (v2.3.5.RELEASE)
问题描述：
下拉多选框使用查询配置因为字典数据后  数据不显示，换成单选框后没有问题
截图&代码：

友情提示： 未按格式要求发帖，会直接删掉。

你没有字段配置，不出来不是对的吗

authors: Code-prodigal zhangdaiscott

repo: jeecgboot/jeecg-boot


text:
ddns-go无法登入，请问如何重置用户名密码

问题描述
需要重新配置ddns-go，打开http://127.0.0.1:9876要求验证身份，试过很多用户名密码都不对
已经试过.\ddns-go.exe -s uninstall再重新.\ddns-go.exe -s install，再打开http://127.0.0.1:9876还是要输入用户名密码
请问如何重置用户名密码？
DNS服务商
Alidns(阿里云)
是否已搜索同类问题
已搜索，但未能解决
操作系统
Windows
架构
x86_64
版本
5.6.2
安装方式
服务
额外信息
No response

已解决

你好，这个问题是如何解决的啊？

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

在当前用户目录的配置文件下.ddns_go_config.yaml，打开就看到帐号密码

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

在当前用户目录的配置文件下.ddns_go_config.yaml，打开就看到帐号密码

感谢大神！确实解决了！（安装了一大堆新服务、设置各种权限都是无用功！）最终登录名就是自己设置的那个——开启公网访问后的用户名和密码，奇怪的是昨天用那个用户名和密码也无法登录，仍然反复提示要求验证，换系统管理员用户名和密码也无效。今天看到你的解决方案后，打开.ddns_go_config.yaml这个文件，再点开网页输入，，，就成了😂

Windows server 2022开启了网络唤醒功能，但是一旦休眠就只能通过按电源键才能唤醒，大神了解这个问题么？

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

在当前用户目录的配置文件下.ddns_go_config.yaml，打开就看到帐号密码

感谢大神！确实解决了！（安装了一大堆新服务、设置各种权限都是无用功！）最终登录名就是自己设置的那个——开启公网访问后的用户名和密码，奇怪的是昨天用那个用户名和密码也无法登录，仍然反复提示要求验证，换系统管理员用户名和密码也无效。今天看到你的解决方案后，打开.ddns_go_config.yaml这个文件，再点开网页输入，，，就成了😂

然后出现新问题：2024/01/13 18:45:41 新增域名解析xxxxx.ink 失败！
2024/01/13 18:50:42 请求接口 https://alidns.aliyuncs.com/ 失败! 返回内容: {"RequestId":"CDD3B24B-5408-51FD-ABFF-B8E962D769BF","HostId":"alidns.aliyuncs.com","Code":"DomainRecordConflict","Message":"The "AAAA" type record is in conflict the "CNAME" type records.","Recommend":"https://api.aliyun.com/troubleshoot?q=DomainRecordConflict&product=Alidns&requestId=CDD3B24B-5408-51FD-ABFF-B8E962D769BF"} ,返回状态码: 400
2024/01/13 18:50:42 新增域名解析 xxxxx.ink 失败！
——之前大神提到修改系统时间和阿里云服务器同步，现在电脑时间和阿里云都是自动网络获取的同步时间，且在同一个时区范围内，不可能不同步呀？

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

在当前用户目录的配置文件下.ddns_go_config.yaml，打开就看到帐号密码

感谢大神，问题确实解决了！然后出现新问题：2024/01/13 18:45:41 新增域名解析xxxxx.ink 失败！
2024/01/13 18:50:42 请求接口 https://alidns.aliyuncs.com/ 失败! 返回内容: {"RequestId":"CDD3B24B-5408-51FD-ABFF-B8E962D769BF","HostId":"alidns.aliyuncs.com","Code":"DomainRecordConflict","Message":"The "AAAA" type record is in conflict the "CNAME" type records.","Recommend":"https://api.aliyun.com/troubleshoot?q=DomainRecordConflict&product=Alidns&requestId=CDD3B24B-5408-51FD-ABFF-B8E962D769BF"} ,返回状态码: 400
2024/01/13 18:50:42 新增域名解析 xxxxx.ink 失败！
——之前大神提到修改系统时间和阿里云服务器同步，现在电脑时间和阿里云都是自动网络获取的同步时间，且在同一个时区范围内，不可能不同步呀？

看提示
The "AAAA" type record is in conflict the "CNAME" type records.

看提示 The "AAAA" type record is in conflict the "CNAME" type records.

感谢感谢！看到状态码400就以为一样的问题，没细看里面内容，，，经过您的指引，删掉了其中一个，问题解决

你好，这个问题是如何解决的啊？搜了好多办法都不管用啊。。。急求

在当前用户目录的配置文件下.ddns_go_config.yaml，打开就看到帐号密码

感谢大神！确实解决了！（安装了一大堆新服务、设置各种权限都是无用功！）最终登录名就是自己设置的那个——开启公网访问后的用户名和密码，奇怪的是昨天用那个用户名和密码也无法登录，仍然反复提示要求验证，换系统管理员用户名和密码也无效。今天看到你的解决方案后，打开.ddns_go_config.yaml这个文件，再点开网页输入，，，就成了😂

win下找不到这个文件呀？打开隐藏文件也没有？

windows11环境打开显示隐藏文件了还是找不到.ddns_go_config.yaml

看提示
The "AAAA" type record is in conflict the "CNAME" type records.

我在这个文件内看到的是一长串无规则密码并不是我一开始注册的密码，请问这是正常的吗？

看提示
The "AAAA" type record is in conflict the "CNAME" type records.

我在这个文件内看到的是一长串无规则密码并不是我一开始注册的密码，请问这是正常的吗？

最新版加密了密码，可以直接修改，重启自动重新加密

就是说我直接在那个文件内修改好密码然后用修改好的密码直接登录就可以了吗> 加密

看提示
The "AAAA" type record is in conflict the "CNAME" type records.

我在这个文件内看到的是一长串无规则密码并不是我一开始注册的密码，请问这是正常的吗？

最新版加密了密码，可以直接修改，重启自动重新加密

就是说我直接在那个文件内修改好密码然后用修改好的密码直接登录就可以了吗

还要修改后重启才生效

还要修改后重启才生效

十分感谢，已经解决了

authors: AmberRighd Ericlpl IDDisciple alang521 jeessy2 minhongqi


text:
[FEATURE REQUEST] Update minimum Unity project version to latest 2019.4 LTS patch

Is your feature request related to a problem? Please describe.
I'd like for EntitasRedux to support an LTS version of Unity as the minimum version as it ensures it will be stable and receiving bug fixes on that Unity version for 2 years. After those 2 years have passed I would bump the minimum LTS version of Unity that EntitasRedux supports to the 2020 version.
Describe the solution you'd like
Open the Unity project on the latest 2019.4 LTS patch version, ensure there are not any compiler errors and that all unit tests pass, project builds. If this all looks good, check in updates, merge to develop, and update readme to reflect new minimum version.

Checked in to develop

repo: jeffcampbellmakesgames/Entitas-Redux


text:
No per-test results when run with --emoji-output

$ pytest --fold --emoji-out --ft=t
yields:

Still an issue in v0.9.0.
When run, output is:
Traceback (most recent call last):
  File "/Users/jwr003/coding/pytest-tui/venv/bin/pytest", line 8, in <module>
    sys.exit(console_main())
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/_pytest/config/__init__.py", line 188, in console_main
    code = main()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/_pytest/config/__init__.py", line 165, in main
    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
    return outcome.get_result()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/_pytest/main.py", line 315, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/_pytest/main.py", line 310, in wrap_session
    config._ensure_unconfigure()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/_pytest/config/__init__.py", line 997, in _ensure_unconfigure
    self.hook.pytest_unconfigure(config=self)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
    return outcome.get_result()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/plugin.py", line 222, in pytest_unconfigure
    pytui_tui(config)
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/plugin.py", line 239, in pytui_tui
    tuitk()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/tui_pytermtk.py", line 119, in main
    tui.create_test_result_tabs()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/tui_pytermtk.py", line 71, in create_test_result_tabs
    results_splitter.addWidget(results_list, width)
UnboundLocalError: local variable 'width' referenced before assignment

Or when run with tui only:
Traceback (most recent call last):
  File "/Users/jwr003/coding/pytest-tui/venv/bin/tui1", line 8, in <module>
    sys.exit(main())
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/tui_pytermtk.py", line 119, in main
    tui.create_test_result_tabs()
  File "/Users/jwr003/coding/pytest-tui/venv/lib/python3.9/site-packages/pytest_tui/tui_pytermtk.py", line 71, in create_test_result_tabs
    results_splitter.addWidget(results_list, width)
UnboundLocalError: local variable 'width' referenced before assignment

This plugin is not supported.


text:
what: 192.168.56.2:3443

hello,明ming张
kali linux 安装一切顺利
1、但是没有列表中没有插件

2、配置文件中
 AWVS_URL = 'https://192.168.56.2:3443'  # Acunetix Web Vulnerability Scanner Url
    AWVS_API_KEY = "1986ad8c0a5b3df4d7028d5f3c06e936cb88c477b0a844e5d8582a112fc817e35"  # Acunetix Web Vulnerability Scanner API Key

是什么鬼哦？

插件需要自己上传上去，test目录下面有几个参考测试用的
这几项配置文件，在每行的后面的注释中有介绍，awvs 相关的三 awvs 扫描器 API 接口配置，UPDARTE_URL 是检查更新的，但这个是预留配置，实际没有使用


text:
Logical Structure of HTML Elements

AS A marketing agency
I WANT a codebase that follows accessibility standards
SO THAT our own site is optimized for search engines
GIVEN a webpage meets accessibility standards
WHEN I view the structure of the HTML elements
THEN I find that the elements follow a logical structure independent of styling and positioning

HTML updated with semantic elements that follow logical structure


text:
编辑表格，表头有时会变白，没找到规律，一般是编辑完 cell,滑动滚动条出现

环境是 mac 笔记本+edge浏览器

出现频率挺高的，一下午出现3-4次

 环境是 mac 笔记本+edge浏览器

看着这个样式有问题了，最新版已修正

repo: jekip/naive-ui-admin


text:
playing audio

Hello,
I was just trying to play the included episode and the audio file but it doesnt find the source, is this suppose to work out of the box?
https://rafael-git.github.io/2016/03/22/episode0.html#6dc82a9e

No. That's why we put in page 3 of the documentation: Configuration
You are expected to set the config settings in the _config file, especially the ones denoted with
# You should configure this
In your particular case, you didn't update the setting download url. It is still set to:
download_url: "http://your.fancy.hosting/episodes"

authors: Rafael-Git haslinger

repo: jekyll-octopod/jekyll-octopod


text:
Delete application bdd-spring-1576158460 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


text:
Delete application bdd-spring-1573190378 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


text:
chore: bdd-spring-1575041611 to 0.0.1

chore: Promote bdd-spring-1575041611 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


text:
chore: bdd-spring-1580777734 to 0.0.1

chore: Promote bdd-spring-1580777734 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


text:
fix: Show plugins in help for jx

Also removing options command from help, since we don't have it.

/cc ankitm123 tomhobson babadofar

repo: jenkins-x/jx-helpers


text:
ExecuteChangeSet logic fails when stack is created instead of updated

The logic at the line below fails when the stack is created instead of updated:
https://github.com/jenkinsci/pipeline-aws-plugin/blob/a9c9fdc7756f2f6528e8c47497d2441d8ca0c132/src/main/java/de/taimos/pipeline/aws/cloudformation/CloudFormationStack.java#L205
There should be an additional branch when the stack does not exist. Currently the jenkins job keeps waiting and can't continue when a new stack is created instead of being updated.

released with 1.22

authors: cast hoegertn

repo: jenkinsci/pipeline-aws-plugin


text:
ReGaHss: Methoden für das Verschieben von Programmunterobjekten (Editieren von Programmen)

Describe the solution you'd like
Es gäbe eine Möglichkeit, recht komfortable Programme zu editieren in der Form, Reihenfolgen der einzelnen programmstrukturelemente zu verschieben.
Innerhalb eines parentblocks , z.b. singlecondition innerhalb von conditions ist Das auch null Problem und funktioniert auch. Letztlich liegen alle diese Informationen über die Childs in dem idarray des parentobjekts. Ließe sich also auch via moveobject verschieben und auch über Remove und Add einem anderen parent zuweisen. Das letzte leider nicht ganz sauber.
Grund
Jedes childobject hat einen methodenverweis auf sein parent. Beim aus und einhängen in ein anderen parent müsste dieser angepasst werden. Leider ist die Methode readonly, der parent wird quasi bei der Geburt (neuanlage) des Child gesetzt und ist dann nicht mehr änderbar.
Ein conditionchannel aber z.b. mit dem Verweis auf den Kanal eines Datenpunkte ist read/weite.
ok, ich versuch mal mein Anligen zu Visualieren:
ich nehme mal ein Programm, welches oben 2 Conditions hat welche mit einigen Sigleconditionen beinhalten:

Die Struktur findet sich innerhalb der Objektstruktur des Programmes wieder.

Wenn ich innerhalb einer Conditon die Singleconditions Betrachte, so verweist die Methode ConditionParent auf die ID des übergegordneten Elterncondition. Innerhalb der Elterncondition ist Singlecondition der Reihenfolge in der WebUI nach in dem idarray CndSingleConditions zu finden. Soweit alles gut und stimmig.
Nun möchte ich in dem Beispiel Editieren:

Vorhaben : Die SingleCondition mit der ID 2818 (2. Singlecondition in der 2. Condition) an das Ende der 1. Condition verschieben.
programmtechnisch ist das theoretisch easy, 2 Manipulationen an den idarrays.
in dem Beispiel bei mir:
aushängen aus dem idarray CndSinglecondition der Condition mit der ID 2714,
einhänden ans idarray CndSingleCondition der Condition mit der ID 2712,
kurzes Programm dafür :
object oSCND= dom.GetObject (2718);  ! Zu verschiebende SingleCondition
object oSource= dom.GetObject (2716); !- hier muss sie ausgehängt weren
object oTarget= dom.GetObject (2712); !- Hier muss sie Eingehangen werden

oSource.CndSingleConditions().Remove(oSCND); ! aushängen
oTarget.CndSingleConditions().Add(oSCND); !- einhängen

Nach dem ausführen:

ist also sauber von der CND1 ind die CND0 gewandert, alles schick
ABER

Hier siehst du die Objektstruktur, alles funktional und konsistent. bis auf, der ConditionParent sollte nun auf ID 2712 zeigen, die Condition, wo die Singlecondition nun eingehängt ist.
Ok, die ändert sich nicht Automatisch, lässt sich aber auch nciht ändern, WEIL: ConditionParant ist ReadOnly.
Der wet wird nur erzeugt, wenn die SingleCondition aus dem ConditionObject mit CndAddSingle "geboren" wird.
Das gleiche wie in dem Beispiel gilt für DestinationParent für ein SingleDestinationObjekt und für
CndParent einer Condition, die auf die Übergeordnet Rule verweist.
Mein Wunsch ist, diese 3 Parant Methoden read/Write zu haben, damit lassen sich derartige VerschiebeOperationen innerhalb eines programmes recht komfortable umsetzen
Nach einem PN Austausch mit Jens kristallisierte sich dann als Lösungsansatz raus, anstatt die Methoden Read/Wriet zu setzen, neue Methoden für das verschieben zu "erschaffen"
es bräuchte dann insgesamt 3 neue Methoden.

oRule.RuleMoveCondition (OT_CONDITION: Object)
bzw oRule.RuleMoveCondition (ID: Integer);
bzw oRule.RuleMoveCondition (sID: String);

Hängt die im Parameter übergebene Condition in der durch CndParent beschreibenen Rule aus und in die oRule ein

oCND.CndMoveSingle (OT_SINGLECONDITION: Object)
bzw oCND.CndMoveSingle (ID: Integer)
bzw oCND.CndMoveSingle (sID: String)

Hängt die im Parameter übergebene SingleCondition in der durch ConditiondParent beschreibenen Condition aus und in die oCND ein.

oDST.DstMoveSingle (OT_SINGLEDESTINATON: Object)
bzw oDST.DstdMoveSingle (ID: Integer)
bzw oDST.DstMoveSingle (sID: String)

Hängt die im Parameter übergebene SingleDestination in der durch DestinationParent beschriebenen Destination aus und in die oDST ein.
Das wäre eine hochelegante Lösung der Aufgabenstellung denke ich

Das ist auch etwas, was ich mir sehr wünsche. Es ist echt nervig, die Bedingungen nicht verschieben zu können.
Auch wenn die Sache für mich noch eine Nummer zu hoch ist:
An welcher Stelle kann ich neue Methoden implementieren? Würde mich gern mal mit kleineren Dingen zum Üben versuchen, finde aber die Stelle leider nicht :-(

@Maik2208 Die wirst du auch nicht finden, denn das ist in der ReGaHss (einem der closed source teile der CCU Firmware) umgesetzt.

Hi Jens. Ich wollte mich nochmal nach dem Zustand des Issue erkundigen. Ich habe zwar eine Lösung mit bisherigen Mitteln, um die parent aber konsistent zu halten ist das eine CreateObject  deleteobject Orgie, während die 3 methoden dies sehr elegant durch reines Verschieben ermöglichen würden

Eine Umsetzung mit den durch HMMike vorgeschlagenen Änderungen würde eine enorme Verbessung im Alltag bringen,
welche dann schnell und unkompliziert in UI-Programmen und SDV umsetzbar sind.
IMHO Nur als kleines Beispiel:

Anschaffung von weiteren Geräten und Integration in bestehende Programme
Erweiterungen/Änderungen durch evtl. im Vorfeld nicht bedachte (oder bis dahin vorhandene) Aspekte
Zusammenführung von bisherigen Fitzelprogrammen in ein Gesamtprogramm
u.v.m.

kommen schließlich permanent vor.
So lassen sich mit o.g. Änderungen Programmerweiterungen ohne fehlerträchtiges Neuanlegen in UI schnell und sauber
in bereits bestehenden Programmstrukturen umsetzen.
Somit bliebe ja auch die für den User individuell bevorzugte Programmstruktur und Übersicht erhalten.

I would also appreciate an implementation of this change request.
Maybe we can go with a first and simple step by introducing an insert-option as a new symbol behind the delete symbol for each element.
I dont know how ReGaHss works when creating a new element. While deleting, there must be an Interface in ReGaHss that identifies the to be deleted objekt. Now we need an Insert/create function which is based/located to an object identifier.
Thus one can "move" an element by creating a copy of the desired element at the right place and delete the original element.
My usecase:
As a RM user i want to change single program elementes by inserting them at an appropriate position in a program
because the intention of a well presented program is easier to understand while reading and logic errors can easier be found.
Example for actual behaviour : In a sequence of 10 program elements i would like to ad an element at position 2. Now i have to create the new element at the End of the program sequence and have to recreate all elements from 2 to 10. Thats is somehow annoying.
P.S. if neccesary i can create a new change request in github

repo: jens-maus/RaspberryMatic


text:
WebUI Fenster Benutzerkonto / Konfiguration

Is your feature request related to a problem? Please describe.
Das Fenster, welches bei Auswahl von Benutzerkonto / Konfiguration erscheint, ist immer gleich groß und nicht anpassbar.
Describe the solution you'd like
Da hier auch die Benutzervariablen eingestellt werden, wäre es schön wenn man das Fenster
anpassen könnte. So muss man immer scrollen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Das Problem kann ich hier leider nicht reproduzieren (zumindest mit Chrome). D.h. hier ist das Fenster zwar auch immer gleich groß, allerdings muss ich hier nie in irgendeiner weise horizontal scrollen sondern es ist eigentlich immer ausreichend groß um den darin enthaltenen Text darzustellen.

Das passiert, wenn man eine SV des Typs "Werteliste" mit einer langen Liste an Werten hinzufügt.

Dann bitte mal ein Beispiel einer solchen SysVar mit langer Warteliste zeigen...

Sorry hab versehentlich auf "comment" gedrückt und der Anhang fehlte noch.
Bei der SV "Alarm-Modus" passiert das nicht, da wird die Zeile nach einem "-" umgebrochen.

Stimmt, ich habe auch lange Wertelisten

Das Problem sollte mit der 3.55.5.20201226 bereits gelöst sein.

authors: HM-klana jens-maus libertyx82


text:
borderDash doesn't work for Bars

It seems like borderDash doesn't work for Bar anymore. My example:
https://codesandbox.io/s/nnwl1kp7jl
As you can see label is dashed, but Bars' borders are still solid.
What could be wrong here?..

@Shtokins this library is only a react wrapper component. All chart rendering is done by Chart.js. Please open an issue there: https://github.com/chartjs/Chart.js
Closing for now

authors: Pringels Shtokins