text:
mola: 1.0.2-1 in 'iron/distribution.yaml' [bloom]

Increasing version of package(s) in repository mola to 1.0.2-1:

upstream repository: https://github.com/MOLAorg/mola.git
release repository: https://github.com/ros2-gbp/mola-release.git
distro file: iron/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.0.1-1

kitti_metrics_eval

No changes

mola
* Add new mola_relocalization as dependency of the metapackage mola
* Contributors: Jose Luis Blanco-Claraco

mola_bridge_ros2
* update docs
* Contributors: Jose Luis Blanco-Claraco

mola_demos

No changes

mola_imu_preintegration

No changes

mola_input_euroc_dataset

No changes

mola_input_kitti360_dataset

No changes

mola_input_kitti_dataset
* Add docs on expected KITTI dataset layout
* Contributors: Jose Luis Blanco-Claraco

mola_input_mulran_dataset

No changes

mola_input_paris_luco_dataset

No changes

mola_input_rawlog

No changes

mola_input_rosbag2

No changes

mola_kernel

No changes

mola_launcher
* BUGFIX: mola_launcher will not autoregister .so modules if installed via apt
* Contributors: Jose Luis Blanco-Claraco

mola_metric_maps

No changes

mola_navstate_fuse

No changes

mola_pose_list

No changes

mola_relocalization
* Implement SE(2) relocalization grid method
* New package mola_relocalization
* Contributors: Jose Luis Blanco-Claraco

mola_traj_tools

No changes

mola_viz

No changes

mola_yaml

No changes

@jlblancoc changes from here are causing regressions in the buildfarm. See https://build.ros2.org/view/Ibin_uJ64/job/Ibin_uJ64__mola__ubuntu_jammy_amd64__binary/
Do you see a quick fix? Else we may need to revert this PR to unblock the Iron sync. See announcement.

@Yadunund let me check it....

@Yadunund Ok, I found the actual issue is not mola, but a collision in a duplicated file shipped by both:

mola-metric-maps
mp2p-icp

I'll fix it asap and ping you in he PR.
'Unpacking ros-iron-mp2p-icp (1.3.1-1jammy.20240419.222648) ...'
08:30:38   3619 'dpkg: error processing archive /tmp/apt-dpkg-install-SP4JOE/780-ros-iron-mp2p-icp_1.3.1-1jammy.20240419.222648_amd64.deb (--unpack):'
08:30:38   3620 ' trying to overwrite '/opt/ros/iron/include/tsl/robin_growth_policy.h', which is also in package ros-iron-mola-metric-maps 1.0.2-1jammy.20240419.222647'

authors: Yadunund jlblancoc


text:
add rmw_get_default_xxx to return the structure with default values.

aligns with https://github.com/ros2/rmw/pull/379

Pulls: ros2/rmw#379, ros2/rcl#1186, ros2/rmw_implementation#241, ros2/rmw_fastrtps#778, ros2/rmw_connextdds#160, ros2/rmw_cyclonedds#513
Gist: https://gist.githubusercontent.com/fujitatomoya/18370bf1e0640d41a76698d03ad74dee/raw/7c320f893c82a71b0be07d942e42f59cb7e1df08/ros2.repos
BUILD args:  --packages-above-and-dependencies rmw rcl rmw_implementation rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp rmw_connextdds_common rmw_cyclonedds_cpp
TEST args:  --packages-above rmw rcl rmw_implementation rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp rmw_connextdds_common rmw_cyclonedds_cpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14583

Linux
Linux-aarch64
Linux-rhel
Windows

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
updated the colcon tutorial

I realized that many of the dependencies needed to build the base ros2 may not be required to build a new package.  So I updated just the tutorial to point to the colcon documentation for installation (allowing users on different platforms to install it correctly).  Also updated to focus on creating new packages instead of compiling from source, since that's covered in the development setup files (and no longer recommended as a default)
ie) https://index.ros.org/doc/ros2/Installation/Linux-Development-Setup/

This change is

I think your changes in #125 look good.  I'll close this PR


text:
Multilanguage support and GitHub Actions

As discussed in #3249, the support for multiple languages is a barrier that we can eliminate in the ROS learning curve. To address this, I have put forward a solution in #3678, building upon the feedback from the previous issue and as discussed with @clalancette. I am opening this PR for review, and I welcome any suggestions or comments to further enhance the proposal.
Process
To translate rst files, some tools are used following the following process:

This process can be somewhat simplified with the help of the sphinx-intl library:

Upload .rst files with the documentation in English.
Generate a .pot file from the .rst files using make gettext (these files would be stored in the build folder).
Update the .po files with the .pot files using sphinx-intl update -p build/locale -l <language>.
Translate the .po files manually or with the assistance of a translator.
Build the documentation in the desired language using make -e SPHINXOPTS="-D language='<language>'" html (the output would be stored in the build/<language> folder).

File handling is better described in #3678, but I am still willing to answer questions or concerns in this PR.

I have finished the configurations. Now I just have a few considerations:

Running the commands make multiversion and make html remains the same. I only added a new variable LANG to specify the language. However, by default, it's set to English, so running them without specifying the language will work as before.
An adjustment needs to be made in the pages to separate the compiled files for each language. The pages are created in build/html/<language>, so the adjustment needs to be made in Jenkins (I don't know how it works) and wherever the html folder path is used.
To test the multilanguage feature, just follow these three steps:

Generate the .pot files with make gettext
Generate the .po files for each language with make update po LANG=<language>
Generate the HTML files with make html LANG=<language>

Note: Currently, the make multiversion command doesn't work in different languages because it takes files from the ROS branches (rolling, iron, etc.). But once the change is uploaded to the rolling branch and backported, all branches will load the translations.
If you want to test multiversion, you need to add the multilanguage branch to smv_branch_whitelist and add multiversion to the distro_full_names dictionary in the conf.py file.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/translation-of-ros-industrial-training/33239/1

authors: cychitivav ros-discourse


text:
Update Installation-Troubleshooting.rst

added fix for "Receiver node cannot receive messages from the talker [ARM64]"

No response to my comment for a while, so I'm going to close this.  If you'd like to continue with this PR, please feel free to respond and reopen.

authors: clalancette pedrombmachado


text:
ros2 run rviz2 rviz2

Currently in the deb package there is rviz2 available, but it is not start-able via ros2 run. To enable this would enhance the usability and user experience of rviz.

Yup, this is something we wanted to do before the release, but just didn't have time. Also since the binary is currently statically linked against rviz_common, it is pretty large, so I hesitated to duplicate it. I'm sure we could come up with another way to install the binary once and provide a redirection or script or something to run it the other way.

source: gharchive/issue

authors: jeising wjwwood


text:
Rotordynamic Report - new repository

The rotordynamic report will work as a "plugin" for ROSS. So, folders and files related to it will be moved to this new repository.
@GabrielBachmann is already working on it.
Eventually, some cross issues will appear, but we can manage it tagging the issue from a repository to the other. Anyway, it's essential that, when it happens, we create new issues in both repositories.
We could move Issues #534 and #605 to this new repository.
Issue #604 is about to be closed, but we could create a similar one on the report repository just to record what has been done to it.

The repository is already available, so I'm closing this issue

repo: ross-rotordynamics/ross


text:
Yiisoft\Di\NotFoundException No definition or class found or resolvable for "Yiisoft\Hydrator\HydratorInterface" while building "Yiisoft\Form\FormHydrator" -> "Yiisoft\Hydrator\HydratorInterface".

What steps will reproduce the problem?  Get the login screen but gives this screen after trying to login
What is the expected result? Smooth Run
What do you get instead?  The above error
Additional info

Q
A

Version
1.0.?

PHP version
8.2.1

Operating system
Windows 10

Yiisoft\Di\NotFoundException: No definition or class found or resolvable for "Yiisoft\Hydrator\HydratorInterface" while building "Yiisoft\Form\FormHydrator" -> "Yiisoft\Hydrator\HydratorInterface". in /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/di/src/Container.php:533
Stack trace:
#0 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/di/src/Container.php(497): Yiisoft\Di\Container->buildInternal('Yiisoft\Form\Fo...')
#1 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/di/src/Container.php(140): Yiisoft\Di\Container->build('Yiisoft\Form\Fo...')
#2 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(309): Yiisoft\Di\Container->get('Yiisoft\Form\Fo...')
#3 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(290): Yiisoft\Injector\Injector->resolveObjectParameter(Object(Yiisoft\Injector\ResolvingState), 'Yiisoft\Form\Fo...', false)
#4 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(255): Yiisoft\Injector\Injector->resolveNamedType(Object(Yiisoft\Injector\ResolvingState), Object(ReflectionNamedType), false)
#5 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(195): Yiisoft\Injector\Injector->resolveParameterType(Object(Yiisoft\Injector\ResolvingState), Object(ReflectionNamedType), false, NULL)
#6 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(154): Yiisoft\Injector\Injector->resolveParameter(Object(ReflectionParameter), Object(Yiisoft\Injector\ResolvingState))
#7 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/injector/src/Injector.php(68): Yiisoft\Injector\Injector->resolveDependencies(Object(ReflectionFunction), Array)
#8 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php(271): Yiisoft\Injector\Injector->invoke(Object(Closure), Array)
#9 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#10 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/rate-limiter/src/LimitRequestsMiddleware.php(47): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#11 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\RateLimiter\LimitRequestsMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#12 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/data-response/src/Middleware/FormatDataResponse.php(29): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#13 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\DataResponse\Middleware\FormatDataResponse->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#14 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/csrf/src/CsrfMiddleware.php(48): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#15 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Csrf\CsrfMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#16 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#17 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#18 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/router/src/MatchingResult.php(112): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#19 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/router/src/Middleware/Router.php(59): Yiisoft\Router\MatchingResult->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#20 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Router\Middleware\Router->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#21 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/yii-middleware/src/Locale.php(111): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#22 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Middleware\Locale->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#23 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/user/src/Login/Cookie/CookieLoginMiddleware.php(71): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#24 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\User\Login\Cookie\CookieLoginMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#25 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/cookies/src/CookieMiddleware.php(84): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#26 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Cookies\CookieMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#27 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/session/src/SessionMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#28 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Session\SessionMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#29 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/yii-sentry/src/SentryMiddleware.php(27): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#30 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Sentry\SentryMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#31 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/error-handler/src/Middleware/ErrorCatcher.php(124): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#32 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\ErrorHandler\Middleware\ErrorCatcher->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#33 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#34 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#35 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/yii-http/src/Application.php(77): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#36 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/vendor/yiisoft/yii-runner-http/src/HttpApplicationRunner.php(140): Yiisoft\Yii\Http\Application->handle(Object(HttpSoft\Message\ServerRequest))
#37 /customers/d/f/7/yii3i.co.uk/httpd.www/yii3i/public/index.php(40): Yiisoft\Yii\Runner\Http\HttpApplicationRunner->run()
#38 {main}

This error is occurring on shared hosting test website yii3i.co.uk for some reason and it is most likely an oversight of mine.

It was an oversight of mine. I forgot to copy across the .merge-plan into the invoice/config directory.

license: MIT


text:
Fix build for aarch64

Hey @rossanoventurini - I've made a few changes on top of develop so I could built and test the library on my aarch64 machine. Thanks for fixing the test failures too - that one had me confused till I noticed you had an in progress branch too!

Changes to Rust Nightly handling of SIMD features also means a new stdarch_aarch64_prefetch feature for aarch64::_prefetch use.
Add a crate-level feature that can be disabled for stable builds or comparative benchmarking.
Also make use of _popcnt64 conditional on x86_64.

Thank you!

repo: rossanoventurini/qwt


text:
Generic Reader Support

This PR extends the existing Deserialization APIs to support values implementing a "Reader" interface to be supplied in place of the previously-expected "input" string, allowing users of the library to control lower level aspects of how bytes are supplied into the library for deserialization.
This is fully backwards compatible with existing code (unlike #7), and doesn't fluff the library up with added complexity for management of coroutines as seen in #4 - such things are left to library consumers to solve. It also enables additional use cases, such as reading a subset of an input string (#6), reading input that isn't even in byte-string form to begin with, or live-processing a stream of input with potentially indeterminate length. Test cases are provided and can serve as readable examples.

A "Reader" is defined as any indexable object supplied as the input parameter to the deserialization APIs that may provide any - or all - of the functions listed below.
No explicit type restriction is placed on the the type of input, as technically in Lua all values can be made indexable; instead the implementation will just take advantage of duck-typing and assume that if it can be indexed without-error and if it gives back a value for any of the below keys, it's probably a Reader. Backwards compatibility isn't harmed as previously the library only supported string values being passed as input. This allows for an extremely simple implementation with straightforward defaults to be provided.
ReadBytes: function(input, i, j) => string (optional)
If specified, this function will be called every time the library needs to read a sequence of bytes as a string from the supplied input.
The inclusive range of bytes is passed in the i and j parameters, with similar semantics to standard Lua functions such as string.sub and table.concat. This function must return a string whose length is equal to the requested range of bytes.
It is permitted for this function to error if the range of bytes would exceed the available bytes; if an error is raised it will pass through the library back to the caller of Deserialize/DeserializeValue.
If not supplied, the default implementation will access the contents of input as if it were a string and call string.sub(input, i, j).
AtEnd: function(input, i) => boolean (optional)
If specified, this function will be called whenever the library needs to test if the end of the input has been reached.
The i parameter will be supplied a byte offset from the start of the input, and should typically return true if i is greater than the length of input.
If this function returns true, the stream is considered ended and further values will not be deserialized. If this function returns false, deserialization of further values will continue until it returns true.
If not supplied, the default implementation will compare the offset i against the length of input as obtained through the # operator.

In terms of how this is accomplished, the bulk of the changes are just documentation and tests. For the implementation, there's one key change worth noting with respect to the ReaderBytesLeft function returned by CreateReader which this PR replaces with ReaderAtEnd.
There were only two call sites for bytes-left, of which one tested if the stream had ended and was trivially replaced, and the other was a check to see if the stream had been over-read. The latter check (with its explicit error) is removed in this PR because that error likely didn't work anyway; if the existing ReadBytes implementation didn't return data of the expected string length it was more probable that the deserializer would have sooner errored elsewhere before it could reach this check.

One thing that would be worth discussing is whether or not this should be two separate options for readBytes and atEnd, or merged into one where a single table implementing (parts of) a "Reader" protocol is supplied - for example:

local ThrottledReader = {}

function ThrottledReader:ReadBytes(i, j)
    if self.consumed > 256 then
        coroutine.yield()
        self.consumed = 0
    end

    local length = (j - i) + 1
    self.consumed = self.consumed + length
    return string.sub(self.input, i, j)
end

function ThrottledReader:AtEnd(i)
    return i > #self.input
end

---
local input = { input = "serialized data", consumed = 0 }
LibSerialize:DeserializeValue(input, { reader = ThrottledReader })

In this case, the self supplied to all the functions on ThrottledReader would be the input supplied to Deserialize/DeserializeValue. This offers an approach that's a bit more structured - the options table can be reserved for options that control other aspects of deserialization, and only a single reader key is needed to control how the reader actually works. This would also be consistent with what may need to be done if a similar PR were put forth for serialization, which is something I'm looking at now.

I ended up liking the Reader approach some more after playing with it, so I've gone ahead and just done it. Otherwise I'm happy with this PR now and have nothing more to add,.

Closing in favor of the merged #12 as discussed.

repo: rossnichols/LibSerialize


text:
make modal styles customizable

make modal styles customizable, so it can adjust for different occations
ex:

Hi thank you for this PR. It is a convenient feature.
Just one thing to ask. In NeatDatePicker.js line 187, I think style={[styles.modal, modalStyle]} is better than style={[modalStyle, styles.modal]}. Otherwise the custom style won't overwrite the default one.
Feel free to let me know your opinion. If you agree, please update this PR and I'll merge it.

ahh okay sure,
looks good to me
👍


text:
New Syntax for Unconex

As John has updated unconex to need a new argument on the command line (allowed difference), we need to update info.txt to reflect this change in the instructions for use.

This issue has been resolved by the addition of a new ceph_tools documentation pdf.

repo: rotsehub/rotseana


text:
Use NineOldAndroids to add animations to old APIs

NineOldAndroids lets you use ..."the Honeycomb (Android 3.0) animation API on all versions of the platform back to 1.0!".

I know about NineOldAndroids already.
For me it makes no sense to include a whole library just for supporting lower APIs, as the Play Store coverage should already be 100% and an external animation library isn't mandatory for that anyway.

@roughike API 8 has no animation I think NineOldAndroids could be used to make the SwipeSelector look the same in all supported APIs (not to add more).

authors: EmmanuelMess roughike

repo: roughike/SwipeSelector


text:
Questions about RoIAlign

When I read your code, I am confused by the calculation of RoI align. In RoIAlignFunction, the normalized rois are computed as follows:
rois_normalized[:, 1] /= width and width=(data_width - 1) / saptial_scale which should be the width of the input image, so the normalized rois are in [0, 1], is this correct? From the paper of msak-rcnn, I think rois_normalized[:, 1] *= spatial_scale.

Not sure what you mean here. I believe I got the RoIAlign implementation from other implementations of the same idea, though the paper is a bit vague on details so maybe something changed. In both cases you're multiplying by spatial_scale right?

Dear author, Thank you very much for providing such excellent code, but I always show that bbox_overlaps can't be found in the process of running, but I have generated the. so file. Do you have any suggestions to help me?

authors: L6-hong qingzwang rowanz

repo: rowanz/neural-motifs


text:
Update Template-Tiger.sh

Fix incorrect path in error printout
I spent half an hour losing my mind as to why Bash would tell me a file did not exist that absolutely did exist, and had proper permissions, only to realize that the script was failing to find the HDD image, but telling me it was failing to find the CD image.

Actually, this correction needs to be made for all of the PPC Template scripts

I'm also proposing the template scripts accept an hdd_path override argument, as I use qcow2 thus the scripts all required modification from me to use anyway

nevermind, you need to set the image type in the disk arguments as well, so scrapped that idea.

repo: royalgraphx/DarwinKVM


text:
Added Not Binary as sponsor

Added logo to sponsor list.
Please do not merge!
I need to line up the social media etc. beforehand

It's just occured to me that the indents are a little bit messed up in my template.
Does this defeinitely work locally?

authors: Alex-CD crablab

license_source: bigquery


text:
Update dependencies

Replaced lodash.assign with smaller object-assign
Fixed tests for windows

Don't forget to publish on npm

done https://github.com/royriojas/file-entry-cache/blob/master/changelog.md#v121

Thanks!

authors: TrySound royriojas

repo: royriojas/file-entry-cache

license: mit


text:
Simplified the MongoIterableObservable logic

JAVARX-1

Updated and have updated the reactive streams pr as well (it's essentially the same as this)

Marking as done as its the same as walked through yesterday and got a lgtm in rozza/mongo-java-driver-reactivestreams#1

repo: rozza/mongo-java-driver-rx


text:
No requests happen when selecting image

Hi Yoav,
'drive-uploady' is exactly what I need on my current project. Thank you for this plugin!
Unfortunately when I click the UploadButton, choose an image and click 'open', nothing happens. No requests are sent to Google Drive.
I've installed the following dependencies:
@rpldy/uploader
@rpldy/uploady
@rpldy/upload-button
drive-uploady
Here is an attached screenshot of my component where I use 'drive-uploady'
I bet I'm doing something wrong. But what? Can you help, please?

hey @IvanCeban
I will check whats going on and let you know.

@IvanCeban
I just upgraded the uploady dependencies and tried uploading to Drive and it worked.
Are there any errors in the browser dev console?
Did you make sure to allow the URL youre testing from the google api console?
Also, Im pretty sure, when you set a parent param, it should an ID and not the name of the folder ("Share"). try without it and see if that makes a difference

Hi @yoavniran,
thank you for your quick reply!
There are no errors in dev console (see the attached gif)
I'm working on localhost and it was added to the authorized URIs in google API console. (see attached screenshot)
I've tried even without parameters. Expecting that in this case images will be uploaded in the root directory. But still with no success.

Hey @IvanCeban
sorry for not getting back to you sooner. been very busy couple of weeks
Unfortunately, I cant really tell whats the issue from the info you provided.
On the face of it , it looks all ok.
What id suggest is for you to debug the code a little, put breakpoints in the getDriveEnhancer.js and getDriveSender.js files in the devtools. See how far it goes and where it breaks.
As I cant reproduce your problem Im unable to assist further than that
Once you see where it is that the code is failing please let me know and I will try to fix if its an issue in the lib's code

Hi @yoavniran
thank you for your reply, unfortunately I was limited in time and as I couldn't make the drive-uploady work on my project, I had to implement a workaround. So I'm closing this issue.
Thank you for your plugin and hope to use it next time

authors: IvanCeban yoavniran

repo: rpldy/drive-uploady


text:
Only the first series in each category is playing.

Describe the bug
A clear and concise description of what the bug is.
Only the first series in each category is playing. Suppose we go to category Action and click on the first series shown then all episodes play. But whenever we go the any other series apart from the first the channel crashes. This is happening for series with multiple episodes. Single videos are not displaying the problem and are working fineI have been able to get the error log which I am attaching.
To Reproduce
Steps to reproduce the behavior:

Go to 'Any category'
Click on 'Any series apart from the first one listed'
Scroll down to 'Any episode in the screen'
See error
Channel crashes

Expected behavior
A clear and concise description of what you expected to happen.
We should play any episode from any series regardless of position in each category
[Doc1.docx] (https://github.com/rrirower/DP2SceneGraphWizard/files/14024096/Doc1.docx)
Screenshots
If applicable, add screenshots to help explain your problem.
Version number:

Version [e.g. 1.0.0.0-alpha-8]

Additional context
Add any other context about the problem here.

Alpha-8 is an old version. Please update to the latest (beta2) and retry.

Hi Used the latest version. Having the same issue.

Can you provide the feed URL you are using?  I've got two series within the same category and both play without any errors.

Have you resolved this?

No not yet. But have tries some trouble shooting. I believe the code needs to be modified to adjust to the format of my feed because when i tested my feed with the sample channel codes given by Roku the problem is not occurring.  My feed has been directly take as per the json Roku Direct Publisher feed format generated in WP Smart TV. I am attaching sample snippet of my feed format. Some information has been dashed out. The videos should be laid out as per categories mentioned in the last part of the feed
Json Feed.txt

If you want me to resolve this for you, I'll need the URL for your feed file so I can debug the code.

I tried loading the file you posted as a feed file into the Channel Feed Manager. It failed to load with the following problems.
{ "time": "2024-01-26 14:48:38.3228", "level": "ERROR", "message": "Error converting value \"tvSpecials\" to type 'JsonManager.SeriesObject'. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3228", "level": "ERROR", "message": "After parsing a value an unexpected character was encountered: :. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3228", "level": "ERROR", "message": "Infinite loop detected from error handling. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3228", "level": "ERROR", "message": "After parsing a value an unexpected character was encountered: :. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "Program exception detected: 'Object reference not set to an instance of an object.' in method 'CreateChannelObjectFromFeedFile'." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "Error converting value \"tvSpecials\" to type 'JsonManager.SeriesObject'. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "After parsing a value an unexpected character was encountered: :. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "Infinite loop detected from error handling. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "After parsing a value an unexpected character was encountered: :. Path 'series[1]', line 116, position 12." }
{ "time": "2024-01-26 14:48:38.3337", "level": "FATAL", "message": "The feed file, 'C:\\Users\\Mike\\Documents\\Channel Feed Manager\\Channels\\Channel feeds\\Sajidbux.json', could not be added to your library because it contains errors.  Please view the log file for more info." }

I think you may have a misplaced bracket, comma, or some other syntax error.

The syntax error is obvious if you load the file into Notepad+ and collapse the 'Series' line.  The tvSpecials object appears to be within the Series object.

Hi finally found the issue. In SeasonsWithEpisodesScreenLogic.brs in UILogic folder under components, the last line of code calling HandlePlayButton function is given the inputs (m.content,0). It should be HandlePlayButton(m.content,m.selectedIndex[1]).
Thanks for the wonderful app which really helped convert my Direct Publisher channel to SDK.

I have currently published without monetization. Might need your help whenever i monetize to ads or subscription and face any issues.

You'll need to open a discussion if you need help.

authors: rrirower sajidbux


text:
Cannot connect to WAX610 after FW update

Version of the custom_component
I couldn't find a version number in const.py
Describe the bug
Updated WAX610 firmware to V10.5.0.16 then the HA netgear integration could not connect to WAX610.  I tried to delete one AP and  add it again without success.
Debug log
2023-08-22 10:21:22.953 DEBUG (MainThread) [custom_components.netgear_wax] Creating client with username admin
2023-08-22 10:21:22.953 DEBUG (MainThread) [custom_components.netgear_wax] Checking for firmware updates
2023-08-22 10:21:23.221 DEBUG (MainThread) [custom_components.netgear_wax] Creating client with username admin
2023-08-22 10:21:23.221 DEBUG (MainThread) [custom_components.netgear_wax] Checking for firmware updates
2023-08-22 10:21:23.638 ERROR (Thread-109 (init_websocket)) [websocket] [Errno 113] Host is unreachable - goodbye
2023-08-22 10:21:24.513 DEBUG (MainThread) [custom_components.netgear_wax] Logging in with username admin
2023-08-22 10:21:24.756 DEBUG (MainThread) [custom_components.netgear_wax] Logging in with username admin
2023-08-22 10:21:25.604 DEBUG (MainThread) [custom_components.netgear_wax] login security token response={ "status": 401 }
2023-08-22 10:21:25.604 DEBUG (MainThread) [custom_components.netgear_wax] Failed to read current state
Traceback (most recent call last):
File "/config/custom_components/netgear_wax/init.py", line 118, in _async_update_data
self._state = await self.client.async_get_state(check_firmware)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/netgear_wax/client_wax.py", line 93, in async_get_state
result = await self.async_post(request_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/netgear_wax/client_wax.py", line 199, in async_post
await self.async_login()
File "/config/custom_components/netgear_wax/client_wax.py", line 57, in async_login
raise Exception("Could not get security token: " + text)
Exception: Could not get security token: { "status": 401 }
2023-08-22 10:21:25.634 DEBUG (MainThread) [custom_components.netgear_wax] Finished fetching netgear_wax data in 2.681 seconds (success: False)
2023-08-22 10:21:25.899 DEBUG (MainThread) [custom_components.netgear_wax] login security token response={ "status": 401 }
2023-08-22 10:21:25.899 DEBUG (MainThread) [custom_components.netgear_wax] Failed to read current state
Traceback (most recent call last):
File "/config/custom_components/netgear_wax/init.py", line 118, in _async_update_data
self._state = await self.client.async_get_state(check_firmware)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/netgear_wax/client_wax.py", line 93, in async_get_state
result = await self.async_post(request_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/netgear_wax/client_wax.py", line 199, in async_post
await self.async_login()
File "/config/custom_components/netgear_wax/client_wax.py", line 57, in async_login
raise Exception("Could not get security token: " + text)
Exception: Could not get security token: { "status": 401 }
2023-08-22 10:21:25.900 DEBUG (MainThread) [custom_components.netgear_wax] Finished fetching netgear_wax data in 2.679 seconds (success: False)

Thanks. I will close this and use https://github.com/rroller/netgear/issues/18 to track this issue. I see what's wrong now

This should be fixed in the latest version of the plugin, please try that.

repo: rroller/netgear


text:
Fix a spelling miss, contributers -> contributors

@rrreeeyyy 😃

🤦♂

authors: mozamimy rrreeeyyy

repo: rrreeeyyy/container-internship


text:
The operation will not be release after completed.

The operation be added to AssociatedObject, and be removed when cancel or set image url.
But it will NOT be removed from AssociatedObject after completed.
Is it right?

Actually, #771 removes the storage of operation, so this no longer applies.

authors: Whirlwind bpoplauschi

repo: rs/SDWebImage


text:
crash in NSData+ImageContentType sd_contentTypeForImageData

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                                                                                0x2891e5f7 __exceptionPreprocess + 126
1  libobjc.A.dylib                                                                                0x364a8c77 objc_exception_throw + 38
2  CoreFoundation                                                                                0x28923abd __methodDescriptionForSelector
3  CoreFoundation                                                                                0x28921999 forwarding + 712
4  CoreFoundation                                                                                0x28852b88 _CF_forwarding_prep_0 + 24
5  Shopping by HeartThis - Shop for Apparel, Fashion Products, and Coupons from Designer Stores    0x000f2fe9 +[NSData(ImageContentType) sd_contentTypeForImageData:] (NSData+ImageContentType.m:13)
6  Shopping by HeartThis - Shop for Apparel, Fashion Products, and Coupons from Designer Stores    0x001dfc2b +[UIImage(MultiFormat) sd_imageWithData:] (UIImage+MultiFormat.m:22)
7  Shopping by HeartThis - Shop for Apparel, Fashion Products, and Coupons from Designer Stores    0x0014db3f -[SDWebImageDownloaderOperation connectionDidFinishLoading:] (SDWebImageDownloaderOperation.m:347)
8  CFNetwork                                                                                0x28476eed __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 56
9  CFNetwork                                                                                0x28476ea7 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 182
10 CFNetwork                                                                                0x28476f99 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 36
11 CFNetwork                                                                                0x2838beef ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 78
12 CFNetwork                                                                                0x2842876d ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 60
13 CFNetwork                                                                                0x2837cd71 RunloopBlockContext::_invoke_block(void const*, void*) + 60
14 CoreFoundation                                                                                0x2882f5a1 CFArrayApplyFunction + 36
15 CFNetwork                                                                                0x2837cc2b RunloopBlockContext::perform() + 182
16 CFNetwork                                                                                0x2837caf1 MultiplexerSource::perform() + 216
17 CFNetwork                                                                                0x2837c98d MultiplexerSource::_perform(void*) + 48
18 CoreFoundation                                                                                0x288e4fd7 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 14
19 CoreFoundation                                                                                0x288e43eb __CFRunLoopDoSources0 + 222
20 CoreFoundation                                                                                0x288e2a69 __CFRunLoopRun + 768
21 CoreFoundation                                                                                0x2882fb31 CFRunLoopRunSpecific + 476
22 CoreFoundation                                                                                0x288794fb CFRunLoopRun + 98
23 Shopping by HeartThis - Shop for Apparel, Fashion Products, and Coupons from Designer Stores    0x0014c7bb -[SDWebImageDownloaderOperation start] (SDWebImageDownloaderOperation.m:107)
24 Foundation                                                                                0x2961ea57 __NSOQSchedule_f + 186
25 libdispatch.dylib                                                                               0x36a135d9 _dispatch_queue_drain$VARIANT$mp + 948
26 libdispatch.dylib                                                                               0x36a130a9 _dispatch_queue_invoke$VARIANT$mp + 84
27 libdispatch.dylib                                                                               0x36a150d3 _dispatch_root_queue_drain + 330
28 libdispatch.dylib                                                                               0x36a161fb _dispatch_worker_thread3 + 106
29 libsystem_pthread.dylib                                                                         0x36b86e25 _pthread_wqthread + 668
30 libsystem_pthread.dylib                                                                         0x36b86b78 start_wqthread + 8

*** -[NSPathStore2 length]: message sent to deallocated instance 0x7b6a8260
Getting this error

no, not reproducible all the time (with all our images), though we have had 6 crashes for 6 different users at this exact line of code

I am getting this issue at all time.

Let's close this issue, see if it happens again with 4.0.0 (4.0.0-beta is available for download, 4.0.0 official release is on its way).

authors: bpoplauschi shreeshecommstreet siddharthsingh1122 vickieduong


text:
Add method for SDWebImageDownloaderOperation subclass to decrypt or decompress image data

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[ ] I have added the required tests to prove the fix/feature I am adding

[ ] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: see below
Pull Request Description
This adds a prepareImageData method to SDWebImageDownloaderOperation that is intended for subclasses to override if they need to do something special with the image data after it's downloaded but before it's cached or converted to a UIImage. I'm using it in my project for decryption but it could also be useful for custom decompression. Without this change, it's hard to implement these kinds of behaviors in a SDWebImageDownloaderOperation subclass.

@ghughes this looks like a good improvement to our code. I will look for a future release to add this.

Looks like the test failure was environmental, FYI.

Codecov Report

Merging #1865 into master will decrease coverage by 0.6%.
The diff coverage is 75%.

@@            Coverage Diff            @@
##           master   #1865      +/-   ##
=========================================
- Coverage    76.6%     76%   -0.61%
=========================================
  Files          27      27
  Lines        2513    2521       +8
=========================================
- Hits         1925    1916       -9
- Misses        588     605      +17

Impacted Files
Coverage Δ

SDWebImage/SDWebImageDownloaderOperation.m
80.54% <75%> (-0.14%)
:arrow_down:

SDWebImage/SDImageCache.m
70.63% <0%> (-3.97%)
:arrow_down:

Continue to review full report at Codecov.

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

Maybe we can go further ? I recently refactory the entire decoding process in SDWebImage. I provide an Protocol to let user to provide any decode method. You can set it on SDImageCache or SDWebImageDownloader.
For your usage, you can write your decoder like
@interface DecryptCoder : NSObject <SDWebImageCoder>

@end

@implementation DecryptCoder

- (UIImage *)decompressedImageWithImage:(UIImage *)image data:(NSData *__autoreleasing  _Nullable *)data format:(SDImageFormat)format shouldScaleDown:(BOOL)shouldScaleDown {
    *data = [[SomeEntryptData alloc] init];
    UIImage *newImage = someDecompressMethod(image);
    return newImage;
}

@end

[[SDImageCache sharedCache] setImageCoder:[[DecryptCoder alloc] init]];
[[SDWebImageDownloader sharedDownloader] setImageCoder:[[DecryptCoder alloc] init]];

You can view here and check these to discuss.

Update to the latest comment: you can just add that coder to the list of coders. No need to merge this PR.
[[SDWebImageCodersManager sharedInstance] addCoder: [DecryptCoder new]];

authors: bpoplauschi codecov-io dreampiggy ghughes


text:
Disallow multiple commands in a single CommandRequest

Fixes issue: https://github.com/rsmp-nordic/rsmp_core/issues/169

Is sending multiple commands in a single message not used in practice?
Strictly speaking, this is breaking change.

I don't believe it is used in practice. But I might be mistaken.
I believe that commands are fairly seldomly sent compared to other message types, for instance alarms or statuses. Therefore there is little point for supervision systems to try optimize network usage by grouping multiple commands together in a single CommandRequest. I have never seen any system trying to do this.
But strictly speaking you're right. It might be a breaking change.

In the first paragraph of the current specification of command :
"Command messages are used to give order using one or more commands, for the referenced object. The
site responds with a command acknowledgement."
why still evoking "one or more commands" ? or perhaps here it is 'arguments/names' of the same command (code Id).
And also later :
"The command code (cCI) and name (n) are placed in an array (arg) in order to enable support for
requesting multiple commands at once."
I think there is an ambiguity about general "command" term, if corresponding to code id part, or name part !
And also some time we talk of  "argument" and some time "name", instead of 'argument name'...?

Mistake in the commit for error handling part:
"If more than one command is included in a single CommandRequest, than this is
considered a serious error resulting in MessageNotAck." => then this is...

Thank you for the feedback. I've updated the PR.

In the first paragraph of the current specification of command : "Command messages are used to give order using one or more commands, for the referenced object. The site responds with a command acknowledgement."
why still evoking "one or more commands" ?

You're right. It should only be a single command.

And also later : "The command code (cCI) and name (n) are placed in an array (arg) in order to enable support for requesting multiple commands at once."

Fixed

I think there is an ambiguity about general "command" term, if corresponding to code id part, or name part ! And also some time we talk of "argument" and some time "name", instead of 'argument name'...?

The intention is that a "Command" refers to a single command code id ("cCI"). Each argument has it's own "name", "command" and associated value.

Mistake in the commit for error handling part: "If more than one command is included in a single CommandRequest, than this is considered a serious error resulting in MessageNotAck." => then this is...

Yes. It's a typo. Fixed.

For "The command code (cCI) and name (n) are placed in an array (arg)."
Proposal change : "The command code (cCI) and name of argument (n) are placed in an array (arg)."
(corresponding to description of element n in table 4.19)

For "The command code (cCI) and name (n) are placed in an array (arg)." Proposal change : "The command code (cCI) and name of argument (n) are placed in an array (arg)." (corresponding to description of element n in table 4.19)

Thank you for the input. I've updated the PR with a3d7e3d4456250791d34eea22b4c855787c0ad2c.

I suggest adding a note somewhere that command responses can only have one command code item, otherwise it's an invalid message.

I suggest adding a note somewhere that command responses can only have one command code item, otherwise it's an invalid message.

I agree. PR updated.

authors: emiltin marcgarba otterdahl


text:
Model.eval()

Hi!
During training you don’t use model.eval() when you call to validate() function. It could affect to model performance?

Hi, thanks for noticing this! I will push a new commit shortly
As a side node: The model seems to be in eval-mode by default, which means that after loading a pre-trained model and using it for inference, there should not be any impact on performance. I would expect the validation accuracies to be affected, but have not tested if the impact is actually measurable. If you did, feel free to update here as I'm curious!

authors: dparres rsommerfeld

repo: rsommerfeld/trocr


text:
Updates from rspec-dev (2015-03-15)

These are some updates, generated from rspec-dev's rake tasks.

LGTM

Crap, wrong button

authors: JonRowe myronmarston

repo: rspec/rspec-core


text:
Weird interaction between stubs on super- and subclasses

If I set expectations or stubs on classes, something weird happens, according to the descriptions below (which might explain things better and more concisely than I could otherwise, so here):
require 'rspec/core'

class Model
  def real_method
  end
end
class SubModel < Model; end

describe "stubs on sub- and superclasses" do
  describe "setting both stubs on the superclass" do
    it "works fine" do
      allow(Model).to receive(:non_existing_method)
      allow(Model).to receive(:non_existing_method)
    end
  end

  describe "setting both stubs on the subclass" do
    it "works fine" do
      allow(SubModel).to receive(:non_existing_method)
      allow(SubModel).to receive(:non_existing_method)
    end
  end

  describe "setting stubs on both super- and subclass" do
    context "when the two stubs are for different methods" do
      it "works fine" do
        allow(Model).to receive(:non_existing_method)
        allow(SubModel).to receive(:other_non_existing_method)
      end
    end

    context "when the method already exists in a higher-up superclass" do
      let(:inherited_method) { :to_s }

      it "works fine" do
        allow(Model).to receive(inherited_method)
        allow(SubModel).to receive(inherited_method)
      end
    end

    context "when the method is implemented in the base class of the two relevant classes" do
      let(:real_method) { :real_method }

      it "breaks" do
        allow(Model).to receive(real_method)
        allow(SubModel).to receive(real_method)
      end
    end

    context "when the method is not implemented at all" do
      let(:non_existing_method) { :non_existing_method }

      it "breaks" do
        allow(Model).to receive(non_existing_method)
        allow(SubModel).to receive(non_existing_method)
      end
    end

    context "when the existing implementation was another stub" do
      let(:stubbed_method) { :non_existing_method }

      before :each do
        allow(Model).to receive(stubbed_method)
      end

      it "breaks" do
        allow(Model).to receive(stubbed_method)
        allow(SubModel).to receive(stubbed_method)
      end
    end
  end
end

$ rspec bug_spec.rb
....FFF

Failures:

  1) stubs on sub- and superclasses setting stubs on both super- and subclass when the method is implemented in the base class of the two relevant classes breaks
     Failure/Error: allow(SubModel).to receive(real_method)
     NoMethodError:
       undefined method `unbind' for #<Proc:0x0000000297b718>
     # ./bug_spec.rb:46:in `block (4 levels) in <top (required)>'

  2) stubs on sub- and superclasses setting stubs on both super- and subclass when the method is not implemented at all breaks
     Failure/Error: allow(SubModel).to receive(non_existing_method)
     NoMethodError:
       undefined method `unbind' for #<Proc:0x00000002978658>
     # ./bug_spec.rb:55:in `block (4 levels) in <top (required)>'

  3) stubs on sub- and superclasses setting stubs on both super- and subclass when the existing implementation was another stub breaks
     Failure/Error: allow(SubModel).to receive(stubbed_method)
     NoMethodError:
       undefined method `unbind' for #<Proc:0x00000002975368>
     # ./bug_spec.rb:68:in `block (4 levels) in <top (required)>'

Finished in 0.00582 seconds (files took 0.08164 seconds to load)
7 examples, 3 failures

Failed examples:

rspec ./bug_spec.rb:44 # stubs on sub- and superclasses setting stubs on both super- and subclass when the method is implemented in the base class of the two relevant classes breaks
rspec ./bug_spec.rb:53 # stubs on sub- and superclasses setting stubs on both super- and subclass when the method is not implemented at all breaks
rspec ./bug_spec.rb:66 # stubs on sub- and superclasses setting stubs on both super- and subclass when the existing implementation was another stub breaks

Let me know if you need more information or if I'm just doing something wrong. The code I discovered this issue in worked fine with RSpec 2.99 without any warnings.

Oh, and of course:
$ rspec -v
3.2.3
$ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]

Thanks for the clear repro case!  I have a change in #954 that should fix your issue.

Superb, thank you very much. I wish I understood enough of the internals to help out with the failing tests, but as things stand, I'll just thank you for a stellar job and lightning-fast response!

authors: ReneB myronmarston

repo: rspec/rspec-mocks


text:
Unexpected token (DIV, '/') at 1:23 between LexToken(RPAREN,')',1,21) and LexToken(BXOR,'^',1,24)

Try this valid javascript:
for (index in [1,2,3]) /^salign$/i.test('salign')
Try to parse it:
>>> from slimit.parser import Parser
>>> parser = Parser()
>>> tree = parser.parse('for (index in [1,2,3]) /^salign$/i.test(\'salign\')')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/slimit/parser.py", line 93, in parse
    return self.parser.parse(text, lexer=self.lexer, debug=debug)
  File "/Library/Python/2.7/site-packages/ply/yacc.py", line 265, in parse
    return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
  File "/Library/Python/2.7/site-packages/ply/yacc.py", line 1047, in parseopt_notrack
    tok = self.errorfunc(errtoken)
  File "/Library/Python/2.7/site-packages/slimit/parser.py", line 116, in p_error
    self._raise_syntax_error(token)
  File "/Library/Python/2.7/site-packages/slimit/parser.py", line 89, in _raise_syntax_error
    self.lexer.prev_token, self.lexer.token())
SyntaxError: Unexpected token (DIV, '/') at 1:23 between LexToken(RPAREN,')',1,21) and LexToken(BXOR,'^',1,24)
>>> ```

and it still broken

authors: benjolitz dogasantos

repo: rspivak/slimit


text:
[Bug]: rstcheck confuses include directive with code-block

To Dos

[X] I tested with the latest released version.

[X] I have checked the issues and think that this is not a duplicate.

[X] I added a very descriptive title to this issue.

Example Code (rst)
Table of Contents
=================
.. include:: toc.rst

Relevant log output
CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/source/index.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.

CRITICAL:rstcheck_core.checker:An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/source/about/overview.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information.

Description
I am not sure if this is a false positive or what, but I don't have any code-blocks without a specified language.
The first line in the output points to the file pasted above... A pretty simple file. I don't know if the error is actually in that file or within what's included, which is here:
.. toctree::
   :maxdepth: 2
   :caption: About

   about/overview
   about/installation
   about/docker
   about/third_party_packages
   about/usage
   about/app_examples
   about/advanced_usage
   about/changelog

.. toctree::
   :maxdepth: 2
   :caption: GameStream

   gamestream/gamestream

.. toctree::
   :maxdepth: 2
   :caption: Troubleshooting

   troubleshooting/general
   troubleshooting/linux
   troubleshooting/macos
   troubleshooting/windows

.. toctree::
   :maxdepth: 2
   :caption: Build

   building/build
   building/linux
   building/macos
   building/windows

.. toctree::
   :maxdepth: 2
   :caption: Contributing

   contributing/contributing
   contributing/localization
   contributing/testing

.. toctree::
   :maxdepth: 2
   :caption: Legal

   legal/legal

.. toctree::
   :maxdepth: 2
   :caption: source

   source/src

The second error points to this file, which also contains an include directive, and in this case nothing else.
.. include:: ../../../README.rst

There are no code blocks in the included file.
Perhaps this library doesn't understand the include directive?
Operating System
Linux
Operating System Details
This is running in a readthedocs build, Ubuntu 22.04.
Python Version
3.11
rstcheck Version
6.1.2
Additional Context
No response

This is related to or somewhat of a duplicate of https://github.com/rstcheck/rstcheck-core/issues/3.
The underlying issue is that sphinx sometimes throws an AttributeError and that a code directive without a language triggers this issue was a finding of me which I chose to print when this issue occurs. Therefore the wording "This is most propably due to". So actually include and code-clock directives are not confused with one another, but suffer from the same issue here.
Unfortunately there is no fix found for this since 8 years. The issue is from before I took over maintainership. Some time ago I invested a lot of hours with no solution at the end.
Closing in favor of the linked issue.

authors: Cielquan ReenigneArcher

repo: rstcheck/rstcheck-core


text:
Preselection of the IO pin configuration

enhancement
Hello.
It would be great if the IO pin configuration would not only have the manual configuration, but also above a dropdown where you can select the "usual" (which you had in your documentation) configurations.
If then a configuration is selected, then the IO pins should still be displayed, but grayed out and can not be changed. Only in the setting "Manual" (this is probably the default setting that it is compatible) the IOs should then be able to be adjusted manually.
What do you think of this suggestion?
(This would save time in the steup and avoid errors).
Thx.
Regards

I am not going to do this as I think I am just as likely to have the wrong settings.  The number one issue faced is that folks do not follow the recommended installation, then don't get the pins correctly configured.

repo: rstrouse/ESPSomfy-RTS

license: Unlicense


text:
Reapply "Bump PPM to 2024.04.2"

This reverts commit 3ada4d2e0f16492958dd88b5829641fb51ae9e32.

Is it build 27 or 28? I'm seeing the latest commit on the 2024.04 branch to be build 28, from: https://github.com/rstudio/package-manager/runs/26149261681

authors: glin tylfin

repo: rstudio/rstudio-docker-products


text:
Add Stable Audio, please!

Please add Stable Audio to the options, if you please! Thank you very much in advance!
https://github.com/Stability-AI/stable-audio-tools
And model here:
https://huggingface.co/stabilityai/stable-audio-open-1.0

Hi, thanks for requesting this! I have been procrastinating with it actually. One question - such a model would require a huggingface account and a login to be used, since this https://huggingface.co/stabilityai/stable-audio-open-1.0 cannot be automatically downloaded. Would you be ok with that?

I don't have a problem downloading the model this way, maybe you could ask for the login to download it? So those who have it can use it, those who don't can't. I don't know why it's tied to a license, but I've seen a video of it making quite good sound effects, so after the login the model would be downloaded.

I'd be interested in trying this out too, please.

Hi, thanks for requesting this! I have been procrastinating with it actually. One question - such a model would require a huggingface account and a login to be used, since this https://huggingface.co/stabilityai/stable-audio-open-1.0 cannot be automatically downloaded. Would you be ok with that?
Please respond as this is a matter that could really determine whether or not people use it.

For instance, I'm ok with it. Thanks!

I've already downloaded the checkpoint. I presume that those who are enjoying your interface are the sort of people who already have a huggingface account.

Stable audio has been added but is causing some problems so it might be added-removed a few times until it's 'stable'.

Also, I just want to clarify - with extensive research - stable audio is not a 'stable diffusion 1.5' moment because it has a restrictive, potentially dangerous license (which might be legally unenforceable or impossible to defend in court; it's the very same infamous SD3 license) and I saw comments about Facebook's (notably similarly non-commercially licensed) AudioGen/MusicGen performing similarly.
My biggest issue so far is that running the 'official' inference code results in ~14gb RAM usage, where due to memory management my 24 gb RAM & 24 gb VRAM system would often just fail.
That being said, I really appreciate receiving information about what people want to try and see.

I concur on the VRAM issue. I often saturate my RTX 3090 with 24GB of RAM using MusicGen. I have not been able to test MultiBandDiffusion due to VRAM saturation. I have seen that python will not release the VRAM it takes up so it blocks the GPU. I have to restart the machine to liberate the VRAM.
If Stable Audio is even worse than MusicGen, it does make it probematic to test for me.

Restarting the webui should be enough. Additionally, after I fix the bugs arising from adding this new model, I can spend more time on 'unload model' buttons throughout the UI; however, there will always be some leftovers that aren't unloaded.
As for Stable Audio - generating a 47 second or a 1 second clip seems to use the same amount of VRAM unless they somehow can fix it all will do it themselves. Honestly there's multiple improvements on the model itself that are waiting to be done by somebody, perhaps they are hoping the community will do it.

And as we are talking of other models  ... maybe people are interested in ... Toucan TTS with 7000 languages
https://github.com/DigitalPhonetics/IMS-Toucan

And as we are talking of other models ... maybe people are interested in ... Toucan TTS with 7000 languages https://github.com/DigitalPhonetics/IMS-Toucan

For this project it seems decent but could be hard to handle if it means everyone has to install espeak.

Ok nevermind stable audio is amazing sometimes. If you have the GPU for it, it generates quickly (anything below the 'default size', which I think is 47 seconds is not going to generate faster, but if you want a full sample it's so quick) and it often generates without needing a lot more steering that you would expect with musicgen. That being said, the license is still the way it is.

Thank you for fantastic work and this addon! I will use it!

Thanks for reporting, fixed it, just update normally or do a git pull for a very quick update.

It is fixed for me. Thank you very much. Now the fun begins.
On Mon, Jul 1, 2024 at 11:21 AM Roberts Slisans @.***>
wrote:

Thanks for reporting, fixed it, just update normally or do a git pull for
a very quick update.
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/319#issuecomment-2199644971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPXSV4XSPKLLVX5RXFXOTZKENAPAVCNFSM6AAAAABJCW7LPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGY2DIOJXGE
.
You are receiving this because you commented.Message ID:
@.***>

Well sort of ...
I have downloaded the checkpoint to the data/models/stable-audio/ folder
but I'm getting the errors below when I try to load it in the webUI.
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/queueing.py",
line 407, in call_prediction
output = await route_utils.call_process_api(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/route_utils.py",
line 226, in call_process_api
output = await app.get_blocks().process_api(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/blocks.py",
line 1550, in process_api
result = await self.call_function(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/blocks.py",
line 1185, in call_function
prediction = await anyio.to_thread.run_sync(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/to_thread.py",
line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
line 2144, in run_sync_in_worker_thread
return await future
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
line 851, in run
result = context.run(func, *args)
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/utils.py",
line 661, in wrapper
response = f(*args, **kwargs)
File
"/mnt/5231ec3e-8240-4386-b11a-c8f7218327ab/tts-generation-webui-main/src/stable_audio/stable_audio.py",
line 115, in load_model_helper
model_config=load_model_config(model_name),
File
"/mnt/5231ec3e-8240-4386-b11a-c8f7218327ab/tts-generation-webui-main/src/stable_audio/stable_audio.py",
line 111, in load_model_config
with open(path) as f:
NotADirectoryError: [Errno 20] Not a directory:
'data/models/stable-audio/SD_AUDIO_V1_model.safetensors/model_config.json'
Traceback (most recent call last):
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/queueing.py",
line 407, in call_prediction
output = await route_utils.call_process_api(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/route_utils.py",
line 226, in call_process_api
output = await app.get_blocks().process_api(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/blocks.py",
line 1550, in process_api
result = await self.call_function(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/blocks.py",
line 1185, in call_function
prediction = await anyio.to_thread.run_sync(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/to_thread.py",
line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
line 2144, in run_sync_in_worker_thread
return await future
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
line 851, in run
result = context.run(func, *args)
File
"/home/admin/anaconda3/envs/python310/lib/python3.10/site-packages/gradio/utils.py",
line 661, in wrapper
response = f(*args, **kwargs)
File
"/mnt/5231ec3e-8240-4386-b11a-c8f7218327ab/tts-generation-webui-main/src/stable_audio/stable_audio.py",
line 115, in load_model_helper
model_config=load_model_config(model_name),
File
"/mnt/5231ec3e-8240-4386-b11a-c8f7218327ab/tts-generation-webui-main/src/stable_audio/stable_audio.py",
line 111, in load_model_config
with open(path) as f:
NotADirectoryError: [Errno 20] Not a directory:
'data/models/stable-audio/model.ckpt/model_config.json'
Any ideas are most welcome  ..
[image: image.png]
On Mon, Jul 1, 2024 at 12:02 PM @.*** <
@.***> wrote:

It is fixed for me. Thank you very much. Now the fun begins.
On Mon, Jul 1, 2024 at 11:21 AM Roberts Slisans @.***>
wrote:

Thanks for reporting, fixed it, just update normally or do a git pull for
a very quick update.
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/319#issuecomment-2199644971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPXSV4XSPKLLVX5RXFXOTZKENAPAVCNFSM6AAAAABJCW7LPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGY2DIOJXGE
.
You are receiving this because you commented.Message ID:
@.***>

Ok I think I figured it out:
There needs to be another folder, since you can have 100s of different Stable Audio models, so in your example moving the files to a new folder like this should work:
data/models/stable-audio/my-first-stable-audio-model/model.ckpt

Got it working thanks to you.
I created a specific subfolder and put the model.ckpt in it ... but that did not work. The subfolder should also have the model_config.json file from the same huggingface page as the ckpt and then it all worked great. The webui shows the sub folder name, not the ckpt.

Another issue is that the output file is always overwritten in the tts-generation-webui folder. It would be great if it could show up in the outputs folder like the TTS and Musicgen do.
A passing note, the init audio button is not working for me.
Many thanks

Concerning GPU memory, it has a very low memory footprint in comparison so Musicgen. My RTX 3090 has no problem with SD audio for the moment.

So about the outputs - I want to avoid spending a huge amount of time on integrating with the old favorites system and move on to a new system.
When you want them saved, what is the main wish - full integration with the favorites and history and collections, or do you just want to have a folder with all of the files and reasonable filenames/metadata?

Now files are being saved to outputs-rvc/stableaudio/...

Commercial use is now OK for most people, this makes Stable Audio one if not the best open source model we have! (Many other famous models are not open source, non-commercial etc) https://stability.ai/news/license-update

Thank you for sharing this update. This is excellent news from SD. I was starting to worry that the SD project would fold to the GAFA pressure.

Now files are being saved to outputs-rvc/stableaudio/...

Hello
I have been doing tests. I now get individually named folders in outputs-rvc but they are empty. But the audio file still appears at the folder root and is overwritten each time.
I replaced the stableaudio file in src with the new one but maybe there is something else to swap too?
Many thanks

The audio file appearing at root - it's from the official package, strange
decision, they should stop doing that.
With the folders being empty - that is a bug. It doesn't happen for me on
windows so maybe it's scipy/wavfile problem and hopefully it can be seen as
an error in the logs. Do other tabs save properly, like bark or tortoise?
On Wed, Jul 10, 2024, 12:37 PM Christopher Lowden @.***>
wrote:

Now files are being saved to outputs-rvc/stableaudio/...
Hello
I have been doing tests. I now get individually named folders in
outputs-rvc but they are empty. But the audio file still appears at the
folder root and is overwritten each time.
I replaced the stableaudio file in src with the new one but maybe there is
something else to swap too?
Many thanks
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/319#issuecomment-2220026871,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXIZGDJ2FOIKDTOZX4XTZLT6HBAVCNFSM6AAAAABJCW7LPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRQGAZDMOBXGE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Here is the error
FileNotFoundError: [Errno 2] No such file or directory: 'outputs-rvc/Stable Audio/2024-07-10_16-30-30_((piano_solo))__acoustic__key_E_minor__minimalist_high_energy_4/4__120bpm__320kbps__48.0kHz_Stereo__Studio__sorrow__minimalism_genre__Classical__Avant-Garde__dynamic_rhythm_/2024-07-10_16-30-30_((piano_solo))__acoustic__key_E_minor__minimalist_high_energy_4/4__120bpm__320kbps__48.0kHz_Stereo__Studio__sorrow__minimalism_genre__Classical__Avant-Garde__dynamic_rhythm_.wav'
The system creates a  folder and sub-folder that use the prompt and it seems that for the export, the system does not find the path with folder names that are not same ...

No problem with TTS or bark

I'm using Rocky Linux 8.10

Incidentally, with the latest stable diffusion file, all my outputs are now 48secs long, even if the total seconds are above or below 48secs?

@chlowden

Here is the error
FileNotFoundError: [Errno 2] No such file or directory: 'outputs-rvc/Stable Audio/2024-07-10_16-30-30_((piano_solo))acoustic__key_E_minor__minimalist_high_energy_4/4__120bpm__320kbps__48.0kHz_Stereo__Studio__sorrow__minimalism_genre__Classical__Avant-Garde__dynamic_rhythm/2024-07-10_16-30-30((piano_solo))_acoustic__key_E_minor__minimalist_high_energy_4/4__120bpm__320kbps__48.0kHz_Stereo__Studio__sorrow__minimalism_genre__Classical__Avant-Garde__dynamic_rhythm.wav'
The system creates a folder and sub-folder that use the prompt and it seems that for the export, the system does not find the path with folder names that are not same ...

So I think it could be the parenthesis and file system names, I will add a fix for removing the parenthesis, but could you try just a simple 'water' and see if that generation gets saved?

No problem with TTS or bark

Ok, that helps a lot to know.

Incidentally, with the latest stable diffusion file, all my outputs are now 48secs long, even if the total seconds are above or below 48secs.

Yes, I always saw that behaviour, have you ever seen it generate a different length? To me, if I put say 10s the audio will be silent but still output 48 seconds. I tried online demos and saw the same; so I was waiting for stable diffusion to fix this.

 seconds_total_slider = gr.Slider( minimum=0, maximum=512, step=1, value=sample_size // sample_rate, label="Seconds total", visible=has_seconds_total, Maybe the value=sample_size // sample_rate, explains why everything is 48secs long

I will check this part. value here means the default value, but it could be related.

I checked the source of Stable Audio and it does seem like sample_size as defined within their code could determine the output length, but the gradio API they have made does not allow changing the length. They have a more internal API but it still seems like their model generates the audio equivalent of 512 by 512.

I've done so many tests that I am probably getting confused as to what I can do with what service.

Got it, I see we are doing a lot of back and forth so it might be useful to go on the new discord server. I will be busy for a while but hopefully can do more from there.
https://discord.com/invite/3JbBrKrH

river works as you expect ..

 seconds_total_slider = gr.Slider( minimum=0, maximum=512, step=1, value=sample_size // sample_rate, label="Seconds total", visible=has_seconds_total, Maybe the value=sample_size // sample_rate, explains why everything is 48secs long

The 48 seconds is interesting because the official limit is 47 seconds. I'm sorry that you can't set an custom length, but the website says it's fixed:
https://stability.ai/news/introducing-stable-audio-open

The filenames and folder names are really long, with a prompt you can easily reach the Windows 255 character path limit. I'd rather say the date-seed format could be more manageable, since the file you're describing is next to it anyway.

Fixed the filenames:

def get_name(prompt):
...     return (
...         prompt.replace(" ", "")
...         .replace(":", "")
...         .replace("'", "")
...         .replace('"', "")
...         .replace("\", "")
...         .replace(",", "")
...         .replace("(", "")
...         .replace(")", "")
...         .replace("?", "")
...         .replace("!", "")
...         .replace("&", "")
...         # only first 15 characters
...         .replace("__", "")[:15]
...     )
...
test get_name
get_name("bamboo flute, zed, reiki, meditation music")
'bamboo_flute_ze'
get_name("funk, disco, R&B, AOR, soft rock, and boogie")
'funk_disco_R_B_'
get_name("Electro House, 320kbps")
'Electro_House_3'
get_name("minimalism, piano, acoustic key E minor, 120bpm and 108bpm piano, Classical, Avant-Garde, dynamic rhythm")
'minimalism_pian'

Fixed the filenames:
Great! Now you can better manage your folders and files, thank you!

Even the file names need a little fix. Stable Audio Generator produced such a prompt, and it is not saved because of the characters it contains:
Genre: Pop
Mood: Romantic, Atmospheric
Style: 90s
Instruments: Lead, Lead-off
Beats per Minute (BPM): 100
Additional Details: Create a dreamy and nostalgic atmosphere with lush synth pads, gentle piano melodies, a prominent lead melody, and a textural lead-off supporting the track. The music should build up to a cathartic moment filled with emotion and passion, capturing the essence of romanticism in the style of 90s pop.

Even the file names need a little fix. Stable Audio Generator produced such a prompt, and it is not saved because of the characters it contains:
Genre: Pop
Mood: Romantic, Atmospheric
Style: 90s
Instruments: Lead, Lead-off
Beats per Minute (BPM): 100
Additional Details: Create a dreamy and nostalgic atmosphere with lush synth pads, gentle piano melodies, a prominent lead melody, and a textural lead-off supporting the track. The music should build up to a cathartic moment filled with emotion and passion, capturing the essence of romanticism in the style of 90s pop.

The problem is with the \n:
Traceback (most recent call last):
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\gradio\queueing.py", line 407, in call_prediction
    output = await route_utils.call_process_api(
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\gradio\route_utils.py", line 226, in call_process_api
    output = await app.get_blocks().process_api(
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\gradio\blocks.py", line 1550, in process_api
    result = await self.call_function(
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\gradio\blocks.py", line 1185, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "I:\tts-generation-webui\installer_files\env\lib\site-packages\gradio\utils.py", line 661, in wrapper
    response = f(*args, **kwargs)
  File "I:\tts-generation-webui\tts-generation-webui\src\stable_audio\stable_audio.py", line 282, in save_result
    os.makedirs(base_dir, exist_ok=True)
  File "I:\tts-generation-webui\installer_files\env\lib\os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [WinError 123] File name, directory name or volume label syntax is incorrect: 'outputs-rvc\\Stable Audio\\2024-07-11_21-34-59_Format_Band_\nGe'

Should be fixed in the latest update https://github.com/rsxdalv/tts-generation-webui/pull/342

Great work! I tested it, the save works perfectly! Thank you!

authors: chlowden ke1ne mykeehu rsxdalv

repo: rsxdalv/tts-generation-webui


text:
sudo apt install ros-humble-raspimouse-slam-navigationでの404 Not Foundエラー

Describe the bug
E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-hardware-interface/ros-humble-hardware-interface\\_2.39.1-1jammy.20240219.095105\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-hardware-interface/ros-humble-hardware-interface%5C%5C_2.39.1-1jammy.20240219.095105%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-interface/ros-humble-controller-interface\\_2.39.1-1jammy.20240219.095859\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-interface/ros-humble-controller-interface%5C%5C_2.39.1-1jammy.20240219.095859%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-manager-msgs/ros-humble-controller-manager-msgs\\_2.39.1-1jammy.20240217.090827\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-manager-msgs/ros-humble-controller-manager-msgs%5C%5C_2.39.1-1jammy.20240217.090827%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-ros2-control-test-assets/ros-humble-ros2-control-test-assets\\_2.39.1-1jammy.20240217.024500\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-ros2-control-test-assets/ros-humble-ros2-control-test-assets%5C%5C_2.39.1-1jammy.20240217.024500%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-manager/ros-humble-controller-manager\\_2.39.1-1jammy.20240219.100521\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-controller-manager/ros-humble-controller-manager%5C%5C_2.39.1-1jammy.20240219.100521%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-ign-ros2-control/ros-humble-ign-ros2-control\\_0.7.5-1jammy.20240219.101347\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-ign-ros2-control/ros-humble-ign-ros2-control%5C%5C_0.7.5-1jammy.20240219.101347%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-description/ros-humble-raspimouse-description\\_1.1.0-1jammy.20240220.173758\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-description/ros-humble-raspimouse-description%5C%5C_1.1.0-1jammy.20240220.173758%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-slam/ros-humble-raspimouse-slam\\_2.0.0-1jammy.20240221.080618\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-slam/ros-humble-raspimouse-slam%5C%5C_2.0.0-1jammy.20240221.080618%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-navigation/ros-humble-raspimouse-navigation\\_2.0.0-1jammy.20240221.082034\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-navigation/ros-humble-raspimouse-navigation%5C%5C_2.0.0-1jammy.20240221.082034%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-slam-navigation/ros-humble-raspimouse-slam-navigation\\_2.0.0-1jammy.20240221.082800\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-raspimouse-slam-navigation/ros-humble-raspimouse-slam-navigation%5C%5C_2.0.0-1jammy.20240221.082800%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

Environments

OS: Ubuntu 22.04
ROS 2: Humble

To Reproduce

Run 'sudo apt install ros-humble-raspimouse-slam-navigation'
See error

問題箇所
E: Failed to fetch [http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-hardware-interface/ros-humble-hardware-interface\\_2.39.1-1jammy.20240219.095105\\_arm64.deb](http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-hardware-interface/ros-humble-hardware-interface%5C%5C_2.39.1-1jammy.20240219.095105%5C%5C_arm64.deb) 404 Not Found [IP: 140.211.166.134 80]

このエラーのURLを確認すると，2.40.1しかないところを2.39.1をインストールしようとしているように見えます．
http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-hardware-interface/

ご報告ありがとうございます。
下記のコマンドを順番に実行してインストールができるか確認をお願いいたします。
sudo apt update
sudo apt upgrade
sudo apt install ros-humble-raspimouse-slam-navigation

ありがとうございます！
インストールできました！対応ありがとうございます！

ご確認ありがとうございました！

authors: YusukeKato masahiro-kubota


text:
Handler for onOpenStart / onCloseStart?

Is there a handler that fires at the start of an open or close?  Or a way to mimic that behavior?

There is not currently. What is your use case?
I suspect we would actually want to expose onPanStart or something similar because it is more explicit and if you are triggering a open/close programatically then you already de facto have access to onOpenStart.

This may sound trivial but I'm hiding the iOS status bar when the drawer is open, but when that functionality is part of the onOpen handler the status bar doesn't get hidden until the drawer has finished opening.

In the case where I programmatically open and close the drawer (like a button press) I hide the status bar before and the open/close. But I don't see how to do that with touch events where the user simply pulls anywhere on that side of the screen.

added onOpenStart and onCloseStart.
These are "experimental" and may be changed in the future.
Note: these props fire anytime the drawer open method is invoked, not just on pans.


text:
Pip install doesn't use editable option.

Details
The yaml config documentation states that pip install is run in editable mode:
Expected Result

Behind the scene the following Pip command will be run:
$ pip install -e .[tests,docs]

Actual Result
But it doesn't use the -e option.  This can break builds which rely on setting a relative path in docs/conf.py.

You are right.
I think we should remove the -e from the documentation.

This can break builds which rely on setting a relative path in docs/conf.py.

This doesn't sound like a good way to configure the project to me.

This can break builds which rely on setting a relative path in docs/conf.py.

This doesn't sound like a good way to configure the project to me.

Well sphinx actually encourages it, particularly with autodoc.  From its default conf.py:
# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

I don't see any mention of installing the package in dev mode when modifying the path.

Is a PR still required @coady

@monsij yes, it is.

Could you describe what is to be done ? -e removal ..anything else?

Just that https://github.com/rtfd/readthedocs.org/issues/4944#issuecomment-443633361

@monsij
Are you working on this?
If not, I would like to send a PR.

Yeah,i've started to work. Anyways you can continue. I'll find another :-) @dojutsu-user

@monsij
I was about to start the work.
You can continue and make a PR.

authors: coady dojutsu-user humitos monsij stsewd


text:
Point users to use a configuration file from advanced settings

Currently users may still be using the advanced settings to build their docs, they should use a configuration file, now they can do everything from the web in the config file.
I was thinking in blocking the UI for new projects, but we can't do that, because that would be a problem for people moving to read the docs (they can't modify their docs). A long solution can be allowing to have a global configuration (codecov has this feature), and that can be merged with the configuration of each version (probably I can create another issue to discuss this more if we agree).
Anyway, going back to the original issue:
We already have something like this in the settings

I was thinking we could use the same pattern in the advanced settings

But I think that first we should group the settings, we have global and per version settings, so putting the global settings first would be the idea (those are not present in the config file). Then we can list the per-version settings (available in the config file) but first showing a tip/link to the config file docs.
Advanced settings

[ ] Single version
[Default branch]
[Default version]
....

:warning: All the next options can be configured using a configuration file.

[Python interpreter]
[ ] Istall project
[Requirements file]
....

I think this is a great proposal. I like the idea of separating out global features that can't be configured in the YAML file. I almost wish there was another page to put those 3 settings on but I don't think they belong on the regular settings page.

There are more, I didn't put all p:

There aren't that many though.

authors: davidfischer stsewd


text:
Remove Monaco font family altogether?

As many reporters of a similar problem have stated back in 2014, I am no font expert. Still, from my limited research it seems Monaco has no business being in the list of families for monospaced things, seeing that it has no bold variant and is not easily removable on MacOS Sierra. Chrome appears to have fixed this internally but Safari has not:

(as seen on http://docs.idris-lang.org/en/latest/st/state.html)

Considering this is not even our main monospace font but a fallback for a couple of fallbacks I have no problem removing it. But would like to hear from @agjohnson and @ericholscher first.

authors: Blendify unthingable


text:
Reference monotonics by type alias

The PR tries to fix #470. I think we can correct the monotonic codegen with const generics by changing the way we reference user-defined monotonics.
Here's what the user does:
const MONO_HZ: u32 = 8_000_000;

#[monotonic(binds = SysTick, default = true)]
type MyMono = DwtSystick<MONO_HZ>;

Before this PR, RTIC generated code that referenced the monotonic by the right side of the type alias, DwtSystick<MONO_HZ>. RTIC could access the DwtSystick identifier from the user imports. But, RTIC doesn't seem to have a way to reference the MONO_HZ user-defined const.
As of this PR, RTIC references monotonics by the left side, MyMono. To disambiguate the type alias from the generated module of the same name (withing the monotonics module), we use an absolute path afforded by app_path.
Tested by compiling the schedule.rs example:
cargo build --example schedule --target thumbv7em-none-eabihf --all-features

Thanks for the help! The commit on flattened works for the proposed test.
If you'd like to include it, I've reduced this PR to just the test case. Otherwise, I'm happy to close this PR. Looking forward to the next release.

Thanks for testing! I have added the test case to the flattened branch.
I'm preparing for a new release in the coming week.

repo: rtic-rs/cortex-m-rtic


text:
necesario sudo en linux

segun las onstrucciones del manual:
"En la consola de comandos dentro de la carpeta de tu juego
Linux
./make-game.sh"

a mi me da este error:
"Failed to export map to target file.
Using default tag: latest
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=rtorralba%2Fzx-game-maker&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'."

yo, en linux debo ejecutarlo con sudo
y sin problemas

Solo tienes que añadir tu usuario al grupo de docker y reiniciar y no lo necesitarás más (podrás ejecutar sin  sudo)
sudo usermod -aG docker $USER
https://docs.docker.com/engine/install/linux-postinstall/

authors: raulgarfer rtorralba

repo: rtorralba/zx-game-maker-skeleton


text:
[BUG] authentication error

I am having authentication error. I think because I signed in with my ORCID and then made a new request with my corporate university email and now there are 2 different names associated with my account. What do I do?
"Authentication error
Authentication failed with the following error:
Error: Authentication provider failed: OpenID Connect token verification failed: Invalid username claim in token: ['rafaela-anjos', 'rafaela-anjos13']
To report problems or ask for help, please open an issue in the GitHub rubin-dp0/Support project."

Hello Rafaela - It is perfectly fine for you to have two different identity providers for authentication, but I do indeed see two usernames in the system, so that may be an issue. Have you tried logging in with both your ORCID and your UFBA credentials? Both should work, unless there is some other problem.
If you are unable to log in with either ORCID or UFBA, then we will need to dig deeper.

I can't connect using either orcid or UFBA. Both show the same authentication error.

OK, that's something we will have to look into in more detail (probably on Monday).

Ok, during this weekend I will try to connect to see if it is not a momentary error. Any news notice here. Thank you very much, see you soon.

There is an actual issue with this user's token. Not sure why. It will get looked at Monday.

Hi Rafaela,
I've deleted your second username (rafaela-anjos13) so now you have only one username again. This should fix the problem. Try again when you have a chance and let us know if it's still not working. Both of your associated identities should still work for login purposes.
This is a bug we've been dealing with for some time, and unfortunately the software fix that's supposed to prevent this from happening hasn't been deployed yet. To check, to be sure I understand the nature of the problem, did you get prompted for a username again when you added your university email identity? And how did you add that identity? Was that through the "Link another account" menu item, or some other way?

Now it worked smoothly logging in using my orcid. Yes, when I went to link my university email it asked me for a new name and I just added the "13" at the end. Now it works normally, thank you!

Okay, thank you! That's very helpful and may explain why we keep having this problem. It shouldn't have done that; it should have used your existing username. We'll follow up with the CILogon folks about this problem. Sorry for the hassle!
I'll close this out since you say it's working but let us know if you have any more problems.

authors: RAnjosUFBA frossie jeffcarlin rra


text:
[Fix #165] Fix a false positive for Performance/Sum

Fixes #165.
This PR fixes a false positive for Performance/Sum when using initial value argument is a variable.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks, @koic!

@mvz You are welcome. Thank you for your feedback!

authors: koic mvz

repo: rubocop-hq/rubocop-performance


text:
Deprecate and remove support for non-namespaced cop references

Is your feature request related to a problem? Please describe.
I've noticed that many people still have in their configs cops without a department prefix - e.g. simply LineLength.
I was under the impression we stopped supporting this a while ago and I guess now's the time to do it.
Describe the solution you'd like
Let's start issuing warnings for people to fix their configs/ignore directives for the next several versions and drop this completely afterwards.
@jonas054 Mind looking into this?

Wow. This must be very old. It's the first time I hear about it having been a thing. 😅

Yeah, there was a time where departments didn't existed. :-)

Mind looking into this?

Not at all. :)

authors: Drenmi bbatsov jonas054

repo: rubocop-hq/rubocop