text:
docs: 📚 update README

Description
Update REAMDE.md adding credit for initial source, and details on use.
Type of change

[X] Documentation

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (411cbd2) 49.33% compared to head (9871227) 49.33%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   49.33%   49.33%
=======================================
  Files           3        3
  Lines          75       75
  Branches       21       21
=======================================
  Hits           37       37
  Misses         27       27
  Partials       11       11

authors: codecov-commenter rodneylab

repo: rodneylab/arkanoid-clone


text:
MinAbsDifference, MinRequiredResources not working

I'm unable to utilize the MinAbsDifference OR MinRequiredResources in order to calculate optimized number of call center agents per shift. After setting all the parameters, once I try to run the optimization solver, e.g: difference_solution = difference_scheduler.solve() the kernerl dies and has to be restarted. I've tried various set-ups and as little as 1 day with both MinAbsDifference and MinRequiredResources with 0 successes. It's driving me crazy, am I missing something here?? Please advise.

In anaconda enviroment, conda update --all with admin privileges in anaconda prompt solved this for me.

thanks @kostantinos-soiledis I'll put this in the installation guide

source: gharchive/issue

repo: rodrigo-arenas/pyworkforce

license: MIT

license_type: permissive

license_source: github-api


text:
Ready all the html template for now

As a developer
You need to have a ready HTML template before developing the site
So that you only need to worry about that functionality and not the HTML itself

no need for this but I still adapt this process to avoid thinking HTML template while working in the function.

repo: roeljohn/rjwoocommerce


text:
fix of footer buttons not scrolling up

this fixes issue #236

@kunalkashyap-1
Error :
Failed to compile.
16:56:59.322 |
16:56:59.322 | [eslint]
16:56:59.322 | src/components/Footer/Footer.js
16:56:59.323 | Line 10:26:  'useLocation' is not defined  no-undef
16:56:59.323 | Line 12:5:   'useEffect' is not defined    no-undef
16:56:59.323 |
16:56:59.323 | Search for the keywords to learn more about each error.
16:56:59.323 |
16:56:59.323 |
16:56:59.379 | Error: Command "npm run build" exited with 1
16:56:59.602 | BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1
CHATGPT Solution :
I see. The error message is telling you that the variables useLocation and useEffect are not defined in the file src/components/Footer/Footer.js. This is likely because you have not imported the react-router-dom module. To resolve this issue, you can add the following import statement to the top of your Footer.js file:
import { useLocation, useEffect } from 'react-router-dom';

Once you have imported the react-router-dom module, you should be able to use the useLocation and useEffect hooks without any errors.
Here is an example of how you can use the useLocation hook to get the current URL:
const location = useLocation();
const currentUrl = location.pathname;

Here is an example of how you can use the useEffect hook to perform an action when the URL changes:
useEffect(() => {
  const handleUrlChange = () => {
    // Do something when the URL changes
  };

  // Register the handler to be called when the URL changes
  useLocation().subscribe(handleUrlChange);
}, [location]);

I hope this helps! Let me know if you have any other questions.

source: gharchive/pull-request

repo: rohansx/informatician


text:
Any thoughts on supporting Turbo::StreamsChannel?

Hi there,
Before I say anything else: I love this gem. It is very, very useful!
Next: I've noticed that lograge drops some of the data logged from Turbo Stream.
This:
15:30:49 web.1  | Turbo::StreamsChannel is transmitting the subscription confirmation
15:30:49 web.1  | Turbo::StreamsChannel is streaming from Z2lkOi8vcXVvdGUtYXBwL1F1b3RlUmVxdWVzdC8yMQ:status

Becomes this:
15:34:55 web.1  | method= path= format= params= controller=Turbo::StreamsChannel action=subscribe status=200 duration=0.41

I believe that the details about the specific channel is actually pretty helpful information.
Do you agree? And if so, would you be open to a PR that changes this behavior?

Sounds good to me 👍

authors: benlovell earnold

repo: roidrage/lograge

license: mit

license_source: bigquery


text:
Document ZSTD compression and Bytecode data type in binary spec file

Roblox added support for ZSTD compression alongside existing LZ4 compression. It's not very intuitive, but I've documented it here. I can provide a link to what I mean when I say ZSTD frame if it's deemed necessary but it should be obvious to anybody who's implementing ZSTD compression since it's normal vocabulary for that algorithm.
This also corrects some laziness and documents the Bytecode data type! We haven't documented it because it's not very useful to 3rd party users but I figure we should get to it eventually. I'm optimistically assuming we won't ever support it in rbx_dom_lua because why would we do that, but I guess I'm open to changing it.
The documentation comes with a warning against running unsigned bytecode. In a perfect world, this would be unnecessary. Unfortunately, Roblox literally did this so I figure we have an obligation to at least mention that it's dangerous.

Nice!

authors: Dekkonot LPGhatguy

repo: rojo-rbx/rbx-dom


text:
End point needed to pull current term course data for Gies students

The 8th item in the Gies checklist should show a list of courses the student is currently registered for for the current term. An end point is needed for the app to query to get that data. The end point should take a UIN as parameter and pass that to the campus data sources to get data for the student in the following format.
[{"term":"FA2022","subject":"CS","number":"121","section":"A3","title":"Intro to CS","instructor":"N. Vance"},{"term":"FA2022","subject":"CS","number":"235","section":"C2","title":"Algorithms","instructor":"Y. Lee"},{"term":"FA2022","subject":"BUS","number":"445","section":"A0","title":"A Business Course","instructor":"C. Tidrick"},{"term":"FA2022","subject":"MATH","number":"232","section":"B3","title":"Calc II","instructor":"T. Nelson"}]

This was released in the initial version..

repo: rokwire/gateway-building-block


text:
AttributeError: 'list' object has no attribute 'get'

zabbix:
  url: https://host
  username: user
  password: password
  hostgroup: group_switch
  map:
    name: Network Map
    width: 1275
    height: 690
    default_icon: Switch_(24)
  inventory_fields:
    - model

Connecting to zabbix
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Getting zabbix hosts from group injapan_switch
Traceback (most recent call last):
  File "zabbix_lldp_map.py", line 224, in <module>
    devices = get_devices_from_zabbix(zabbix, get_config('zabbix.hostgroup'))
  File "zabbix_lldp_map.py", line 87, in get_devices_from_zabbix
    sysname=host['inventory'].get('name', '')
AttributeError: 'list' object has no attribute 'get'

I filled out an inventory, but now another error
Connecting to zabbix
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Getting zabbix hosts from group injapan_switch
Getting data from hosts
Getting data from hosts
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1915, in create
    working_dir=tmp_dir,
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 136, in call_graphviz
    **kwargs
  File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'dot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "zabbix_lldp_map.py", line 230, in <module>
    graph.write_png(get_config('graphviz.imagefile'))
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1734, in new_method
    encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1817, in write
    s = self.create(prog, format, encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1922, in create
    raise OSError(*args)
FileNotFoundError: [Errno 2] "dot" not found in path.

I filled out an inventory, but now another error
Connecting to zabbix
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Getting zabbix hosts from group injapan_switch
Getting data from hosts
Getting data from hosts
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1915, in create
    working_dir=tmp_dir,
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 136, in call_graphviz
    **kwargs
  File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'dot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "zabbix_lldp_map.py", line 230, in <module>
    graph.write_png(get_config('graphviz.imagefile'))
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1734, in new_method
    encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1817, in write
    s = self.create(prog, format, encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1922, in create
    raise OSError(*args)
FileNotFoundError: [Errno 2] "dot" not found in path.

I install on debian 9 python3-pydot, but another error
Connecting to zabbix
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Getting zabbix hosts from group injapan_switch
Getting data from hosts
Getting data from hosts
"dot" with args ['-Tpng', '/tmp/tmp3xrre476'] returned code: 1

stdout, stderr:
 b''
b"Error: /tmp/tmp3xrre476: syntax error in line 5 near ','\n"

Traceback (most recent call last):
  File "zabbix_lldp_map.py", line 230, in <module>
    graph.write_png(get_config('graphviz.imagefile'))
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1734, in new_method
    encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1817, in write
    s = self.create(prog, format, encoding=encoding)
  File "/usr/local/lib/python3.5/dist-packages/pydot.py", line 1945, in create
    assert process.returncode == 0, process.returncode
AssertionError: 1

New error
Updaing map Network Map (6)...
Updaing map {'selements': [{'elementtype': 0, 'elements': [{'hostid': '10484'}], 'x': 126, 'selementid': 3, 'iconid_off': 'Switch_(24)', 'y': 18, 'use_iconmap': 1}, {'elementtype': 0, 'elements': [{'hostid': '10482'}], 'x': 18, 'selementid': 1, 'iconid_off': 'Switch_(24)', 'y': 18, 'use_iconmap': 1}, {'elementtype': 0, 'elements': [{'hostid': '10483'}], 'x': 72, 'selementid': 2, 'iconid_off': 'Switch_(24)', 'y': 18, 'use_iconmap': 1}], 'label_type_image': 0, 'links': [], 'width': 1275, 'name': 'Network Map', 'label_format': 1, 'height': 690}
Traceback (most recent call last):
  File "./zabbix_lldp_map.py", line 236, in <module>
    generate_zabbix_map(zabbix, graph, map_cfg['name'], map_cfg['width'], map_cfg['height'])
  File "./zabbix_lldp_map.py", line 216, in generate_zabbix_map
    zabbix.api.map.update(map_params)
  File "/usr/local/lib/python3.5/dist-packages/pyzabbix/__init__.py", line 166, in fn
    args or kwargs
  File "/usr/local/lib/python3.5/dist-packages/pyzabbix/__init__.py", line 143, in do_request
    raise ZabbixAPIException(msg, response_json['error']['code'])
pyzabbix.ZabbixAPIException: ('Error -32602: Invalid params., No icon for map element "".', -32602)


text:
feat: add mire flexible options for packages, compatibility, interfes and protocols

Replaces https://github.com/rolehippie/smtp/pull/19

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: bothippie tboerger

repo: rolehippie/smtp


text:
No audio when user and password are set

I have a couple 9FUS cameras with 8.2.0.0A_202012041528 original firmware and have been running yi-hack-Allwinner 0.2.2 successfully for a couple months now.  I really appreciate this project and its utility.  Yesterday, I upgraded to 0.2.3 and it stabilized many RTSP dropouts.  I then decided to turn on audio.  In VLC, I verified only one stream being received: video.  I tracked it down to the RTSP user authentication.  When username and password are set, no audio.  I only receive the audio stream in VLC without user authentication.
Out of curiosity, I tried the rRTSPServer by @roleoroleo from #225.  Same results with alaw, ulaw and pcm, but audio was received for aac with username and password.

I noticed the same problem but I can't understand.
Audio is correctly detected by vlc:

And decoded:

But I don't hear it .

I noticed the same problem but I can't understand.
Audio is correctly detected by vlc:

And decoded:

But I don't hear it .

Recompiling with the last version of live555, it seems working correctly.

Recompiling with the last version of live555, it seems working correctly.

To be clear, the issue I am reporting is that the audio stream is missing when a username and password are required for alaw, ulaw and pcm.  When no authentication is required, audio stream is present.  Are you saying by recompiling with the latest version of live555, the no audio with user authentication issue is resolved?  Thanks in advance!

To be clear, the issue I am reporting is that the audio stream is missing when a username and password are required for alaw, ulaw and pcm.  When no authentication is required, audio stream is present.  Are you saying by recompiling with the latest version of live555, the no audio with user authentication issue is resolved?  Thanks in advance!

Yes.
I will send you a binary to check it.

Yes.
I will send you a binary to check it.

I got the same issue, no audio in the stream. Looking forward to get the fix. THX

Try this binary:
rRTSPServer.gz

Ok I changed the file, which does live in /home/yi-hack/bin and set it to 755 via SSH
--> Sound is back
THX

Confirmed audio stream is present with user authentication when RTSP_AUDIO is set to yes, alaw, ulaw, pcm and aac.  Thank you for the quick fix @roleoroleo!

I'm using my camera with the ispy software... WIth the Yi Home app the audio works well but with the ispy software not work... could be related with this issue?

If audio is presente using another client (eg. vlc) the problem could be:

this issue.
the codec is not compatible (for example my dvr doesn't recognize ulaw).
the client doesn't work correctly.

Try with vlc and try to change the codec.

If audio is presente using another client (eg. vlc) the problem could be:

this issue.
the codec is not compatible (for example my dvr doesn't recognize ulaw).
the client doesn't work correctly.

Try with vlc and try to change the codec.

I tested with VLC and there is no sound...

I am using a 9FUS camera with firmware 0.2.3 and can verify that when a username and password are set there is no audio. I tested using the RTSP audio only in VLC and it will not even pull up with a username and password set. As soon as I removed them it played fine. Has anyone found a way to fix this issue?

This issue is related to the c++ compiler.
When I change the version of the library or the optimization flag the problem appear/disappear.
Try this:
rRTSPServer.gz

authors: jjtleon mancmanGER nickuww roleoroleo setterlee

repo: roleoroleo/yi-hack-Allwinner


text:
Drop support for old versions

Q
A

Bug Fix?
no

New Feature?
yes

BC Breaks?
yes

Deprecations?
no

Fixed Tickets

Support for the latest Datagrid component, support for Symfony 2.3 is dropped, at least Symfony 2.7 is required, and Symfony 3.0 is now possible.

Note to self: update the UPGRADE instructions. To bad of headache right now.

PHP Fatal error:  Class 'Symfony\Component\Finder\Finder' not found in /home/travis/build/rollerworks/datagrid-bundle/vendor/symfony/framework-bundle/DependencyInjection/FrameworkExtension.php on line 706
Oh come-on :angry:

And you will work!

1) Rollerworks\Bundle\DatagridBundle\Tests\Functional\DatagridFactoryTest::testDatagridWorks
Class __PHP_Incomplete_Class has no unserializer

1) Rollerworks\Bundle\DatagridBundle\Tests\Functional\DatagridFactoryTest::testDatagridWorks

DOMElement::setAttribute() expects parameter 2 to be string, object given

OK, now I'm starting to get mad!

repo: rollerworks/datagrid-bundle


text:
Babel transform-runtime don't work correctly.

I tried to config .babelrc and rollup.config.prod.js above
// .babelrc
{
  "presets": [
    ["env",{
      "modules": false
    }]
  ],
  "plugins": [
      "external-helpers",
      "transform-runtime"
  ]
}

//rollup.config.prod.js
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
export default {
    input: 'src/index.js',
    output: {
      file: 'lib/bundle.min.js',
      format: 'cjs'
    },
    plugins: [
        resolve(),
        babel({
          exclude: 'node_modules/**', // only transpile our source code
          runtimeHelpers: true,
          externalHelpers: false,
        }),
        commonjs({
            include: 'node_modules/**'
        })
    ]
};

and this is my test file
class Foo {
  method() {}
}

const bar = () => {
  console.log('bar');
}

let a = new Set();
a.set('key12',123);
console.log(a.get('key12'));
export default Foo;

then I run build and rollup output all babel polyfill to my bundle.min.js , more than 1162 lines code, big than I expected.
the transform should work Automatically.
It looks like transform-runtime not work correctly.
what should I config?
Thanks.
(ps. I am so sorry for my poor English, I wish I can describe my problem. Waiting for your reply.)

That's really a question for babel. Not sure what exact polyfills got added in this case - but maybe all of it was because you have used Set and transform-runtime just pulled its polyfill into ur bundle?

Maybe you can treat babel-runtime as an external dependency.

Refer to #148, Make external like this:
  external: (id) => id.indexOf('babel-runtime') === 0,

authors: Andarist adolt lzlu savokiss

repo: rollup/rollup-plugin-babel


text:
Add cosign

Moved scripts dir too

ok

repo: rollwagen/abusech


text:
Fix tests by wrapping everything in a transaction

#6
@solnic still a WIP, but I wanted to share the progress so far.
I'm missing the specific test about postgres and the jruby part, also I want to clean it up a bit, but wrapping every test in a transaction avoid having inconsistency in the test, at least locally.
I will keep working but please feel free to comment as much as need it

After this commit 9740d44 all the test are passing and correctly 😄

You know what, I just realized (sorry!) that there's no reason why we should be testing against multiple sql dbs. So let's just use postgres and call it a day.

No problem :)

Fixed with #6

authors: GustavoCaso solnic

repo: rom-rb/rom-factory


text:
How to gather L1 input data from more than one visit file into a single Dataset?

Some calibration data, like EM-gain vs DAC, k-gain and non-linearity will be collected using more than one visit file. How will the DRP handle these cases?

We'll worry about this later, as we get a better understanding of the computing environment.

authors: hsergi semaphoreP

repo: roman-corgi/corgidrp


text:
[BUG]Pydantic2 Error : pydantic.error_wrappers:ErrorWrapper has been removed

Describe the bug
use pydantic2.02, "from beanie import PydanticObjectId" has a PydanticImportError
To Reproduce
from beanie import PydanticObjectId

.......

Expected behavior
normal use PydanticObjectId
Additional context
Exception has occurred: PydanticImportError
`pydantic.error_wrappers:ErrorWrapper` has been removed in V2.

pydantic.errors.PydanticImportError: `pydantic.error_wrappers:ErrorWrapper` has been removed in V2.
For further information visit https://errors.pydantic.dev/2.0.2/u/import-error

Pydantic 2 is not supported yet.
"pydantic>=1.10.0,<2.0.0"

repo: roman-right/beanie


text:
Request:  New Google Play app icon specification

According to the Android Dev Blog
The App icon should be changed.
Could you apply this please?

@romannurik Why is this closed without any comment?

Oh, sorry you already applied it! Thank you~ :)

Yep sorry. Any icon shape should generate a square web icon.

repo: romannurik/AndroidAssetStudio


text:
fix(l10n): hard-code seasonal week number in .names of every locale

Currently, i18next functions are not run on .names l10n object, however, for now, it is not necessary to do so, as the values for the related l10n items are always the same.
Fix #474

you broke lint

your changes failed lint checks

Yeah, I am about to merge the fixes. :wink:

planning to merge at midnight UTC tonight

authors: TobiTenno tukusejssirs

repo: romcal/romcal


text:
"Shell" should set some standards

I looked at a few of the "shell scripting" tutorials, and a few things immediately jumped out at me.

You should either commit to teach POSIX compliant shell scripting, or to teach bash specifically. You shouldn't mix the two, like using bash to write POSIX code in one tutorial, and then have the next section be about arrays, which are a bashism and not POSIX compliant
All code should be https://shellcheck compliant - note that shellcheck changes it's linting based on the shebang - so if you want posix compliance, use a shebang of #!/bin/sh vs. #!/bin/bash for bash-specific linting

Some specific examples:
https://www.learnshell.org/en/Variables
#!/bin/bash
# Change this code
BIRTHDATE=
Presents=
BIRTHDAY=

# Testing code - do not change it

if [ "$BIRTHDATE" == "Jan 1, 2000" ] ; then
    echo "BIRTHDATE is correct, it is $BIRTHDATE"
else
    echo "BIRTHDATE is incorrect - please retry"
fi
if [ $Presents == 10 ] ; then
    echo "I have received $Presents presents"
else
    echo "Presents is incorrect - please retry"
fi
if [ "$BIRTHDAY" == "Saturday" ] ; then
    echo "I was born on a $BIRTHDAY"
else
    echo "BIRTHDAY is incorrect - please retry"
fi

encouraging use of global variables - don't do this unless they are meant to be GLOBALS
using [ instead of [[ in bash
using [ instead of (( for integer comparison
random casing in variables - one is capitalized, the other two are all caps? Why?
randomly quoting some, but not all variables
not using a main function
this code doesn't even pass https://shellcheck.net/

https://www.learnshell.org/en/Loops

Very odd that they did use correct bash code by managing arrays and using "${array[@]}" to loop over the array (although simple output could have been done easier in this case with something like printf "My name is %s\n" "${NAMES[@]}"), but they do something you shouldn't be encouraging anyone to do, like looping over the output of ls - this is what shell globbing is for. https://mywiki.wooledge.org/ParsingLs
[ $COUNT -gt 0 ] again - this is legacy POSIX stuff - if you are using bash, this can instead be ((count > 0)) - it's odd that they use that format when 2 lines later that use arithmetic expansion in COUNT=$(($COUNT - 1)), although they use $count, when you don't use $ for variables in arithmetic expansion in bash - it is incorrect. See https://tldp.org/LDP/abs/html/arithexp.html

If you want to teach good shell scripting, getting users use to best practices, even if they don't understand them all yet, should be an important thing.
I'd recommend picking a shell standard and following it, for example https://google.github.io/styleguide/shellguide.html

Hi @Gorian. Since I'm not an expert in bash or shell in general, I'd appreciate it if you can send over some pull requests to fix these issues.
Thanks.

@ronreiter Sure, I'd be happy to see what I can do to help :)

authors: Gorian ronreiter

repo: ronreiter/interactive-tutorials


text:
Does not support method each_row_streaming

This is a method that base Roo::Base supports, but this gem does not.

how fix it?

+1

Unfortunately it will not be possible to suppourt this for XLS. XLS is a binary format and we rely on the spreadsheet gem to interpret it. Nokogiri, which we rely on for roo allows us to stream XLSX content as XLSX are XML files.

authors: bramski distroid sektorcap tgturner

repo: roo-rb/roo-xls


text:
Stdlib&Framework compatibility checking

Summary
Check moveos-stdlib and rooch-framework compatibility.

Closes #1175

@wow-sven the timestamp of the test case should directly call fast_forward_seconds_for_local function.
test/e2e/sdk.test.ts  (13 tests | 1 failed) 18820ms
❯ test/e2e/sdk.test.ts > SDK > #sessionKey > Create session account by createSessionAccount should be ok
→ status ABORTED of type Execution with sub status 327684

Ignore the SDK error and force merge

repo: rooch-network/rooch


text:
🛑 XRAY 🇳🇱 Netherlands NLI 1 is down

In 86c3ea9, XRAY 🇳🇱 Netherlands NLI 1 (https://nlx-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇳🇱 Netherlands NLI 1 is back up in 4ca25ce.

repo: roosterkid/opentunnel-status-server


text:
🛑 TROJAN 🇭🇰 Hong Kong HKE 1 is down

In 96b7676, TROJAN 🇭🇰 Hong Kong HKE 1 (https://hkt-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇭🇰 Hong Kong HKE 1 is back up in 78bd3f0.


text:
🛑 V2RAY 🇳🇱 Netherlands NLB 1 is down

In a9f9c0e, V2RAY 🇳🇱 Netherlands NLB 1 (https://nlv-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇳🇱 Netherlands NLB 1 is back up in e528832.


text:
🛑 SSH 🇱🇺 Luxembourg LUF 1 is down

In 3a18173, SSH 🇱🇺 Luxembourg LUF 1 (http://lus-1.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇱🇺 Luxembourg LUF 1 is back up in 1ac9793.


text:
🛑 TROJAN 🇩🇪 Germany DEH 1 is down

In 26135a0, TROJAN 🇩🇪 Germany DEH 1 (https://det-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEH 1 is back up in 28ac684.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKO 2 is down

In 809f10a, TROJAN 🇬🇧 United Kingdom UKO 2 (https://ukt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKO 2 is back up in dd8243f.


text:
🛑 TROJAN 🇩🇪 Germany DEH 1 is down

In c17f5f6, TROJAN 🇩🇪 Germany DEH 1 (https://det-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEH 1 is back up in a64cfdd.


text:
🛑 TROJAN 🇬🇧 United Kingdom UKO 2 is down

In 8167710, TROJAN 🇬🇧 United Kingdom UKO 2 (https://ukt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇬🇧 United Kingdom UKO 2 is back up in 481efb5.


text:
🛑 TROJAN 🇮🇩 Indonesia IDJ 1 is down

In 88d7eb2, TROJAN 🇮🇩 Indonesia IDJ 1 (https://idt-1.optnl.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇮🇩 Indonesia IDJ 1 is back up in 7a85710.


text:
🛑 V2RAY 🇮🇩 Indonesia IDA 2 is down

In 4df8434, V2RAY 🇮🇩 Indonesia IDA 2 (https://idv-3.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇮🇩 Indonesia IDA 2 is back up in c1225bb.


text:
🛑 TROJAN 🇩🇪 Germany DEO 1 is down

In 54dc6ac, TROJAN 🇩🇪 Germany DEO 1 (https://det-1.optnl.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEO 1 is back up in 2b5c859.


text:
🛑 OVPN 🇸🇬 Singapore SGC 2 is down

In 3a5b90c, OVPN 🇸🇬 Singapore SGC 2 (http://sgo-2.optnl.com:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OVPN 🇸🇬 Singapore SGC 2 is back up in fd8f864.


text:
🛑 V2RAY 🇺🇸 United States USF 3 is down

In b70810c, V2RAY 🇺🇸 United States USF 3 (https://usv-3.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇺🇸 United States USF 3 is back up in 8d9e7ac.


text:
🛑 SSH 🇸🇬 Singapore XSG 1 is down

In f540ea7, SSH 🇸🇬 Singapore XSG 1 (http://xs-1.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇸🇬 Singapore XSG 1 is back up in abfc846.


text:
🛑 V2RAY 🇸🇬 Singapore SGO 3 is down

In 189cfa8, V2RAY 🇸🇬 Singapore SGO 3 (https://sgv-6.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇸🇬 Singapore SGO 3 is back up in 25de53d.


text:
🛑 TROJAN 🇺🇸 United States USF 1 is down

In 1fa2b9c, TROJAN 🇺🇸 United States USF 1 (https://ust-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇺🇸 United States USF 1 is back up in 1f05d4b.


text:
Repetition of code in config/environments files.

There's a little bit of code repetition going on in the environment PHP files. It's not much but it's just something I'm curious about.
Dotenv is setting $_ENV, putenv, etc. automatically for everything in .env, and then the define calls are being called in the environment PHP files, but it's the same code in each of the files. This could be reduced down to something like this:
Dotenv::required(array('DB_NAME', 'DB_USER', 'DB_PASSWORD', 'WP_HOME', 'WP_SITEURL'));

/**
 * Use $_ENV variables set within Dotenv to create our definitions.
 */
foreach ($_ENV as $key => $value) {
  if (! defined($key)) {
    define($key, $value);
  }
}

if (! defined('DB_HOST')) {
  define('DB_HOST', 'localhost');
}

For any definitions that need to have a default that aren't required by Dotenv, they could just be set by checking whether they are defined() or not, like the defined('DB_HOST'); bit in the code. Thoughts? Like I said, it's just a little bit of code repetition, and there is still place for those environment PHP files since there are other definitions that would be constant across installs, no matter what, so there's no need to get rid of them entirely. It just seems like a little bit of boilerplate could be removed.

I'll probably think more about this, but for now my one thought is that is reduces "grepability" a bit since you'd no longer have any explicit code with it being set.

I don't think it's a very good idea to set every single environment variable as a global constant like that. Instead, only set the variables that interest you.
$envars = array('DB_NAME', 'DB_USER', 'DB_PASSWORD', 'WP_HOME', 'WP_SITEURL');
Dotenv::required($envars);

foreach ($envars as $key => $value) {
  // ...
}

Going to pass on this idea @mrobit but thanks for bringing it up. I'd rather have it explicit and clear.

All good! Just wanted to put the idea out there. Thanks for the consideration.

authors: QWp6t mrobit swalkinshaw

repo: roots/bedrock


text:
Set dynamically aboslute public path on 'npm run watch'; fix http/htt…

A new proposition to set public-path dynamically when runnning npm run watch. Simpler config and watch.js that fixes http/https.
This addresses the issues in https://github.com/roots/sage/pull/1661.

thanks! if you rebase we can merge

Ok, done.

authors: ptrckvzn retlehs

repo: roots/sage


text:
Improve Mobile Wallet Subscriptions/Pairing

Detect if a Mobile Wallet already has a IP2TOR bridge and then directly offer repairing.
Also test again all pairing.

OK tested ... if a matching IP2Tor bridge exists, it will skip and directly jump to pairing.
Also redone the pairing dialogs - now just showing the QR code to appstore if user requests it. In workshops the first qr code was confused with the second. Also IP2TOR pairing did work so far on Zapp & Zeus.

Tested Zap & Zeus (Android & iOS) again for v1.6.1 release. All working well. Closing issue.

repo: rootzoll/raspiblitz


text:
Shopping List China created

All from sincere sellers and Shanghai and adjoining provinces.

Thats great :) Thanks

I linked it on the main README page.

authors: jagottsicher rootzoll


text:
[Support] Defined boards disappear if Obsidian refreshes or if CardBoard tab closed

I’m not sure if this is a bug or if I’ve missed a step somewhere, but none of the boards that I make and define seem to save/store properly. If I close the CardBoard tab, or if Obsidian refreshes itself after it’s been in the background for a long while, all my previously made boards are gone from the list of boards, which means clicking on the CardBoard menu icon in the sidebar results in the prompt to add a new board for the first time again. So far, I’ve only been playing with test boards, and I can’t figure out what I’m doing wrong.
Obsidian v.1.4.1 (83)
iPadOS 16.1.1

It seems that another plugin (Kanban by mgmeyers) was in conflict with CardBoard. I disabled Kanban, and CardBoard now seems to be working as expected.

Thank you for the report and really glad you've got yourself sorted.  Strange that this happens, so I will keep an eye out for any similar reports :)   Thanks again and have a happy and prosperous 2023!

Hi @roovo this exact behavior happens for me. In addition to the OP's reported behavior, another way to trigger defined boards disappearing is to click on the Cardboard launcher icon. You are taken to the setup screen and any defined boards are deleted.

authors: hemicyon kwosei roovo

repo: roovo/obsidian-card-board


text:
add cleanup docker script to master

It builds up slower, but still needs to be cleaned up.
It also needs docker-py and python3-dateutils to support that.

Deployed in https://github.com/ros-infrastructure/buildfarm_deployment/commit/25bd8fe6d59ea426e9c7950a3fd2144858952665 via #37


text:
Add Crystal Distribution

Adds generation of ROS 2 Crystal.

Unpacking python-pygments (1.6+dfsg-1ubuntu1.1) ...
Selecting previously unselected package python-rospkg-modules.
Preparing to unpack .../python-rospkg-modules_1.1.7-1_all.deb ...
Unpacking python-rospkg-modules (1.1.7-1) ...
Selecting previously unselected package python-rospkg.
Preparing to unpack .../python-rospkg_1.1.7-100_all.deb ...
Unpacking python-rospkg (1.1.7-100) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
dpkg-deb: error: archive '/var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
dpkg-deb: error: archive '/var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Selecting previously unselected package python-rosdep.
Preparing to unpack .../python-rosdep_0.13.0-1_all.deb ...
Unpacking python-rosdep (0.13.0-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-rosdistro-modules_0.7.0-1_all.deb
 /var/cache/apt/archives/python-rosdistro_0.7.0-100_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command "sudo apt-get install -y python-rosdep" failed and exited with 100 during .
Your build has been stopped.

@nuclearsandwich do you know anything about this?This seems a bit off....

@allenh1 the error relating to premature member 'control.tar.xz' before 'control.tar.gz' has to do with not having an up to date version of dpkg usually. You'll want to force an upgrade before running things. See https://github.com/ros-infrastructure/ros_buildfarm/pull/564 for an example.

@tfoote thanks for the info! Fixed & ready.
I think I should do a release at some point since the active development has slowed down considerably... What are your thoughts on that?

repo: ros-infrastructure/superflore


text:
Kirkstone fixes

Update two patches and fix a few license-related QA warnings (mostly about LICENSE = "BSD") for noetic and humble.

Amazing! Thank you :+1:

Hi Rob, and thanks for the review! I've double checked and addressed all your suggestions.
In fact, I have accumulated some more fixes along the same lines since this PR was submitted. I plan to make a separate PR for them, if you do not object.

Creating a separate PR sounds good.  I have merged this one into kirkstone-next.

authors: krisklau robwoolley xzz53

repo: ros/meta-ros


text:
vision_opencv: 1.12.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository vision_opencv to 1.12.0-1:

upstream repository: https://github.com/ros-perception/vision_opencv.git
release repository: https://github.com/ros-gbp/vision_opencv-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.21
previous version for package: null

cv_bridge
* depend on OpenCV3 only
* Contributors: Vincent Rabaud

image_geometry
* depend on OpenCV3 only
* Contributors: Vincent Rabaud

vision_opencv
* remove opencv_apps from vision_opencv
* Contributors: Vincent Rabaud

All these packages lack rosdep entries for their dependencies. Please add them asap since currently the packages can't be built from source.
Why was opencv_apps ignored?

It also looks like there is a circular dependency between the two repos: https://github.com/ros-perception/vision_opencv/pull/103/files#r57967284

I've ticketed bloom to try to make this error case more visible: https://github.com/ros-infrastructure/bloom/issues/387

authors: dirk-thomas tfoote vrabaud

repo: ros/rosdistro


text:
Add valgrind

so that its headers can be included in ROS code for profiling, etc

lgtm

+1 though could you add debian too?
Debian: https://packages.debian.org/jessie/valgrind
Ubuntu: http://packages.ubuntu.com/xenial/valgrind
Fedora: https://admin.fedoraproject.org/pkgdb/package/rpms/valgrind/

done

authors: davetcoleman tfoote wjwwood


text:
Update CONTRIBUTING.md

add request to link to packages

+1

updated with more details from discussion in #12268

@ros/rosdistro-maintainers any comments otherwise I'll merge

+1

authors: 130s tfoote wjwwood


text:
automotive_autonomy_msgs: 2.0.2-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository automotive_autonomy_msgs to 2.0.2-0:

upstream repository: https://github.com/astuff/automotive_autonomy_msgs.git
release repository: https://github.com/astuff/automotive_autonomy_msgs-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.6
previous version for package: null

automotive_autonomy_msgs
* Changed metapackage name to automotive_autonomy_msgs.
* Moving perception_msgs to astuff_sensor_msgs.
* Moving radar_msgs to astuff_sensor_msgs.
* Fixing license in package.xml.
* Updating package.xml to format 2.
* Standardizing package.xml files.
* Version bump and minor formatting clean-up.
* Major package reorganization. See README for new package definitions.
* Adding HMI Messages.
* Updating metapackage.
* Name changes for consistency. Updating all other packages to match.
* Contributors: Daniel Stanek, Joe Buckner, Joshua Whitley, Sam Rustan

automotive_navigation_msgs
* Reorganized messages into renamed packages.
* Changed package name from module_comm_msgs to automotive_navigation_msgs.
* add RouteArray message to handle roads with more than one lane
* Fixing license in package.xml.
* Add ACC max distance in meters so that it can be displayed on shuttle GUI instead of just the 0 to 100% value on the existing highway autopilot GUI
* Add more lane styles to lane boundary message to support double lines
* Add lane boundary messages
* Add new message for velocity and acceleration that includes a calculated covariance
* Add Direction message from marti_localization_msgs
* Add ROS service to request map images
* Updating package.xml to format 2.
* Standardizing package.xml files.
* Version bump and minor formatting clean-up.
* Adding headers to some files that were missing them.
* Moving VelocityAccel to module_comm_msgs.
* Major package reorganization. See README for new package definitions.
* Contributors: Daniel Stanek, Joshua Whitley

automotive_platform_msgs
* Reorganized messages under new package names.
* Changed package name from platform_comm_msgs to automotive_platform_msgs.
* Fixing license in package.xml.
* Updating package.xml to format 2.
* Standardizing package.xml files.
* Version bump and minor formatting clean-up.
* Moving VelocityAccel to module_comm_msgs.
* Major package reorganization. See README for new package definitions.
* Contributors: Daniel Stanek, Joshua Whitley

Holding for pending sync

authors: JWhitleyAStuff mikaelarguedas


text:
moveit: 0.9.17-1 in 'kinetic/distribution.yaml'

upstream repository: https://github.com/ros-planning/moveit.git
release repository: https://github.com/ros-gbp/moveit-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.9.16-1

moveit-ros-planning-interface: Add missing run dependency to eigenpy

Holding for sync

@tfoote, please merge this before the next sync as it fixes an issue (https://github.com/ros-planning/moveit/issues/1546) observed in the testing repository after the latest release.

Thanks for the update @rhaschke It kind of looked that way but wanted to make sure.

authors: rhaschke tfoote


text:
rc_common_msgs: 0.5.3-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rc_common_msgs to 0.5.3-1:

upstream repository: https://github.com/roboception/rc_common_msgs_ros2.git
release repository: https://github.com/roboception-gbp/rc_common_msgs_ros2-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.0
previous version for package: null

rc_common_msgs
* CI changes only: also build for focal/foxy

@flixr Could you rebase now that I've merged rc_dynamics_api? Thanks.

@flixr Could you rebase now that I've merged rc_dynamics_api? Thanks.

rebased

rebased

authors: clalancette flixr


text:
fix: typo on yoctopuce python package

Package name:
python3-yoctopuce-pip
Package Upstream Source:
yoctolib_api
Purpose of using this:
This dependency is being used for controlling the Yoctopuce devices using their Python API. This makes easier to use and control actuators and sensors.
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

https://pypi.org/project/yoctopuce/

Ubuntu: https://packages.ubuntu.com/

https://pypi.org/project/yoctopuce/

Fedora: https://packages.fedoraproject.org/

Not available

Arch: https://www.archlinux.org/packages/

Not available

Gentoo: https://packages.gentoo.org/

Not available

macOS: https://formulae.brew.sh/

Not available

Alpine: https://pkgs.alpinelinux.org/packages

Not available

NixOS/nixpkgs: https://search.nixos.org/packages

Not available

openSUSE: https://software.opensuse.org/package/

Not available

rhel: https://rhel.pkgs.org/

Not available

Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file

This was added four days ago, so I think we can catch it early enough that a bunch of users haven't already added the wrong spelling to their dependencies.
https://github.com/ros/rosdistro/pull/40170
I'm going to merge to avoid having more people potentially depend on the wrong spelling.


text:
[rosdep] no more distutils as of Python 3.12

As per PEP 632 https://peps.python.org/pep-0632/ distutils has been deprecated from Python 3.10 and is not distributed as of Python 3.12.
The package cannot be installed on newer platforms.
Distro packaging links:
Links to Distribution Packages

This PR mark explicitly past distros as providing the package and defaults to null for all other distros.

Debian: https://packages.debian.org/search?keywords=python3-distutils&searchon=names&suite=all&section=all
Ubuntu: https://packages.ubuntu.com/search?keywords=python3-distutils&searchon=names&suite=all&section=all

Not sure how to deal with other distros that juste reference python standard library

But that is actually a lie.

It wasn't at the time. Python 3.11 and older provide distutils as part of the stdlib. Debian decided to pull it into a separate package for whatever reason, but that rule was right for platforms which didn't split it out.
I do however agree that platforms targeting Python >= 3.12 should drop rules now, which includes Fedora.

It wasn't at the time. Python 3.11 and older provide distutils as part of the stdlib. Debian decided to pull it into a separate package for whatever reason, but that rule was right for platforms which didn't split it out.

I see, thanks for the info.

I do however agree that platforms targeting Python >= 3.12 should drop rules now, which includes Fedora.

Hm, though now I think it might be provided by setuptools?  At least if I go on my Ubuntu 24.04 container (with Python 3.12), I can run:
$ python3.12 -c "import distutils ; print(distutils.__file__)"
/usr/lib/python3/dist-packages/setuptools/_distutils/__init__.py

Hm, though now I think it might be provided by setuptools?

It might on some platforms, yes. On Fedora, a distutils-precedence.pth file is created that conditionally injects the bundled distutils from setuptools into Python's module search path. If that sort of injection happens by default, I think you could say that python3-setuptools provides this.

It might on some platforms, yes. On Fedora, a distutils-precedence.pth file is created that conditionally injects the bundled distutils from setuptools into Python's module search path. If that sort of injection happens by default, I think you could say that python3-setuptools provides this.

I think we should decide whether or not we want to seamlessly transition to the setuptools shim (which will doubtless get dropped in some major version unceremoniously, possibly even in the near future) or if we think that people depending on setuptools to provide distutils should update their dependency declaration explicitly.

In the ROS PMC meeting this week, we discussed this and decided that the best thing to do is null out the python3-distutils key where it is not provided via python3 (or a split package on distros that were splitting it out).
There is a shim library provided by setuptools for distutils support but it is not providing distutils itself, only a compatible interface. So packages which wish to continue without switching to the setuptools interface must still update their rosdep keys to python3-setuptools to use the new dependency.

authors: clalancette cottsay mikaelarguedas nuclearsandwich


text:
Adding rangeonly_driver to documentation index for indigo

I'd like rangeonly_driver to be indexed and documented on ros.org.

In order to be documented you need to add the doc block instead.
The source block will result in a CI job which will build your repo after every commit.

authors: dirk-thomas felramfab


text:
Move to use Arc instead of Rc

In order to be able to use rclrs in multi-threaded applications, we will need to move away from single-threaded constructs such as Rc. As such, we should go through and convert them to Arc (or other multi-threaded equivalents) soon, while the library is still small.

This is more tricky than initially expected - all RefCell instances need to be turned into Mutexes. Which means that the Handle trait will no longer work (guidance from Rust is that the DerefT and DerefMutT should not fail, and acquiring a lock can fail).
Does anyone have suggestions about how to deal with this? Should we just blow away the Handle trait?


text:
Moxy cannot handle the default package

Describe the bug
Attempting to mock a class in the default package results in an NPE. While perhaps not a major issue, this represents inconsistent behaviour that should be fixed.
To Reproduce

Create class in default package
Create mock of that class with mock(DefaultPackageClass.class)
Observe MockGenerationException with NullPointerException as cause.

Expected behavior
The class should be mocked as any other would be.
Stacktraces
com.roscopeco.moxy.api.MockGenerationException: Unrecoverable error: exception during mock generation
	at com.roscopeco.moxy.impl.asm.ASMMoxyEngine.mock(ASMMoxyEngine.java:165)
	at com.roscopeco.moxy.Moxy.mock(Moxy.java:250)
	at com.roscopeco.moxy.Moxy.mock(Moxy.java:207)
	at com.roscopeco.moxy.Moxy.mock(Moxy.java:173)
	at TestDefaultPackage.testMoxyMockWithDefaultPackageClassReturnsInstance(TestDefaultPackage.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:436)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:170)
	at org.junit.jupiter.engine.execution.ThrowableCollector.execute(ThrowableCollector.java:40)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:166)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:113)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:58)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:112)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$2(HierarchicalTestExecutor.java:120)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:120)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$2(HierarchicalTestExecutor.java:120)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.lambda$executeRecursively$3(HierarchicalTestExecutor.java:120)
	at org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.executeRecursively(HierarchicalTestExecutor.java:108)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor$NodeExecutor.execute(HierarchicalTestExecutor.java:79)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:55)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:43)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:170)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:154)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:90)
	at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:86)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206)
Caused by: java.lang.NullPointerException
	at com.roscopeco.moxy.impl.asm.visitors.AbstractMoxyTypeVisitor.makeMockPackageInternalName(AbstractMoxyTypeVisitor.java:60)
	at com.roscopeco.moxy.impl.asm.visitors.AbstractMoxyTypeVisitor.makeMockName(AbstractMoxyTypeVisitor.java:71)
	at com.roscopeco.moxy.impl.asm.visitors.MoxyMockInterfaceVisitor.<init>(MoxyMockInterfaceVisitor.java:46)
	at com.roscopeco.moxy.impl.asm.ASMMoxyEngine.createMockClassNode(ASMMoxyEngine.java:500)
	at com.roscopeco.moxy.impl.asm.ASMMoxyEngine.getMockClass(ASMMoxyEngine.java:179)
	at com.roscopeco.moxy.impl.asm.ASMMoxyEngine.getMockClass(ASMMoxyEngine.java:218)
	at com.roscopeco.moxy.impl.asm.ASMMoxyEngine.mock(ASMMoxyEngine.java:160)
	... 60 more

Environment (please complete the following information):

Moxy version 0.88.1
OS: All
JVM Vendor: All
JVM Version: 1.8, 9, 10

Additional context
Issue is caused by the generating code assuming that getPackage will return non-null.

Fixed in develop; for 0.92 release.

repo: roscopeco/moxy


text:
[ISSUE] Skill can connect to Ask Navidrome but requests don't process (HTTP Error 403)

Describe the issue
Asknavidrome recieves but is unable to process requests from the alexa skill.
When using the "OPEN InvocationName" command the developer console or device responds with ready but the log shows this error:
2023-06-03 23:25:29,994 - asknavidrome.subsonic_api - ERROR - Failed to connect to Navidrome
When using the "ASK InvocationName to DoAnything" command the console/device can't proceed and the log has this error:
2023-06-03 23:26:47,948 - root - ERROR - General Exception: HTTP Error 403: Forbidden
Operating System
Docker Compose (under Portainer on Ubuntu).
To Reproduce
Ask the device or dev console to "OPEN InvocationName"
Then ask the device or dev console to "ASK InvocationName to play music by ArtistName" or "ASK InvocationName to play music"
Logs
2023-06-03 23:25:28,807 - werkzeug - INFO - 172.31.0.1 - - [03/Jun/2023 23:25:28] "POST / HTTP/1.1" 200 -
2023-06-03 23:25:29,994 - asknavidrome.subsonic_api - ERROR - Failed to connect to Navidrome
2023-06-03 23:25:30,029 - werkzeug - INFO - 172.31.0.1 - - [03/Jun/2023 23:25:30] "POST / HTTP/1.1" 200 -
2023-06-03 23:26:14,473 - root - ERROR - General Exception: HTTP Error 403: Forbidden
2023-06-03 23:26:14,473 - root - ERROR - Request Type Was: IntentRequest
2023-06-03 23:26:14,473 - root - ERROR - Intent Name Was: NaviSonicPlayMusicByGenre
2023-06-03 23:26:14,475 - werkzeug - INFO - 172.31.0.1 - - [03/Jun/2023 23:26:14] "POST / HTTP/1.1" 200 -
2023-06-03 23:26:47,948 - root - ERROR - General Exception: HTTP Error 403: Forbidden
2023-06-03 23:26:47,948 - root - ERROR - Request Type Was: IntentRequest
2023-06-03 23:26:47,948 - root - ERROR - Intent Name Was: NaviSonicPlaySongByArtist
2023-06-03 23:26:47,951 - werkzeug - INFO - 172.31.0.1 - - [03/Jun/2023 23:26:47] "POST / HTTP/1.1" 200 -
Comments
Navidrome instance is externally accessible by android apps and web browsers using the same credentials in the docker compose file)
Asknavidrome service is externally accessible (although shows a 405 method not allowed page when viewed by a browser)
I use cloudflare tunnels to access the containers.

Hi,
The 405 when accessing the skill is normal if a none complete request is sent so that should be nothing to worry about.
The issue looks to be an internal one in that the skill container cannot connect to your navidrome instance.
To troubleshoot further I would open a shell in the skill container and use curl / to try and get to your navidrome instance to see what is happening.  The external side looks good from your logs, the intent requested gets to the skill container fine.

Thank you for the suggestion.
From inside the asknavidrome container I can curl the navidrome instance - the returned results include a message about needing to enable javascript but I expect that doesn't mean anything given curl probably can't process JS.
I can also access a bunch of URLS (google, bing etc).
Looks to me like the container can reach both the internet and the navidrome instance.
Could it be something on the amazon end?

It does look like something like that, can you post your skill config file, redacting the passwords and IDs please?  When in the skill container and attempting to CURL the Navidrome instance there should be no mention of JavaScript, it looks like the request is going somewhere else.  Here is an example of what I get (replace NAVIDROME-URL with your URL (the contents of the NAVI_URL environment variable):
/opt/asknavidrome # curl https://NAVIDROME-URL/rest/ping

<subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.16.1" type="navidrome" serverVersion="0.47.5 (86fe1e3b)"><error code="10" message="Missing required parameter "u""></error></subsonic-response>

We can ignore the error, that's expected as we haven't authenticated, you should be getting something starting with "subsonic-response" though.  If you're not getting that I suspect the path the skill has to the Navidrome REST API is incorrect.

When I curl with my URL from inside the container I get pretty much the exact same result you posted (although I seem have a more recent version of navidrome).
<subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.16.1" type="navidrome" serverVersion="0.49.3-SNAPSHOT (a984bbbc)" openSubsonic="true"><error code="10" message="Missing required parameter "u""></error></subsonic-response>
I'm using compose so all my config is in the file..
  navisonic:            image: 'ghcr.io/rosskouk/asknavidrome:latest'     container_name: REDACTED     environment:       - 'NAVI_SKILL_ID=REDACTED'       - 'NAVI_URL=https://REDACTED'       - 'NAVI_USER=guest'       - 'NAVI_PASS=REDACTED'       - 'NAVI_SONG_COUNT=50'       - 'NAVI_PORT=443'       - 'NAVI_API_PATH=/rest'       - 'NAVI_API_VER=1.16.1'       - 'NAVI_DEBUG=3'                   ports:       - '5000:5000'     logging:       driver: "json-file"       options:         max-size: "10m"         max-file: "1"     deploy:       restart_policy:         condition: on-failure         delay: 5s         max_attempts: 3         window: 120s

Hi,
This seems strange. I'll try updating my Navidrome instance as soon as I can to see if I can recreate the issue.  The problem looks like it is just the skill not being able to connect to your Navidrome instance and once that's resolved it should just work

I was getting similar issue trying to hit my public navidrome url sitting behind cloudflare,
I dumped auth tokens and replicated exact requests libsonic is doing down to diff in User-Agent.
And it looks like cf is very aggressive about pythons3 urllib's 'User-Agent': 'Python-urllib/*.
Give it it a try if you are using that, also probably should not be using public url anyway.
#works (curl user agent)
curl -v https://<you url>/app
# 403
curl -v https://<you url>/app -H 'User-Agent: Python-urllib/22.1'

@TemporalUncertainty

I seem to have run into the same issue, I assume its related to how clear passwords are no longer in use for the newer deployments and now needs token? If so is there a way to configure this to work with the newer design?
f your targeting API version 1.12.0 or earlier, authentication is performed by sending the password as clear text or hex-encoded. Examples:
http://your-server/rest/ping.view?u=joe&p=sesame&v=1.12.0&c=myapp
http://your-server/rest/ping.view?u=joe&p=enc:736573616d65&v=1.12.0&c=myapp
Starting with API version 1.13.0, the recommended authentication scheme is to send an authentication token, calculated as a one-way salted hash of the password.
This involves two steps:
For each REST call, generate a random string called the salt. Send this as parameter s.
Use a salt length of at least six characters.
Calculate the authentication token as follows: token = md5(password + salt). The md5() function takes a string and returns the 32-byte ASCII hexadecimal representation of the MD5 hash, using lower case characters for the hex values. The '+' operator represents concatenation of the two strings. Treat the strings as UTF-8 encoded when calculating the hash. Send the result as parameter t.

For example: if the password is sesame and the random salt is c19b2d, then token = md5("sesamec19b2d") = 26719a1196d2a940705a59634eb18eab. The corresponding request URL then becomes:
http://your-server/rest/ping.view?u=joe&t=26719a1196d2a940705a59634eb18eab&s=c19b2d&v=1.12.0&c=myapp
https://www.subsonic.org/pages/api.jsp#versions

authors: Ahimgit Littlenuker TemporalUncertainty rosskouk

repo: rosskouk/asknavidrome


text:
Plural Indefinite Articles

Would it be possible to support plural indefinite articles?
I.e.
'apple'.with_indefinite_article # => "an apple"
'apples'.with_indefinite_article # => "some apples"

@Sub-Xaero how would you detect the plural? For example, 'lens' or 'bus'?

Having considered this, it's likely beyond the scope of this project. Both ActiveSupport::Inflector and other gems seem to just maintain a dictionary of English Language irregularities.
Seeing as I am using this in a Rails context, and the plural indefinite article is always 'some', I'm achieving this with a simple helper method.
module GrammarHelper

  def indefinite_article(word)
    if word.singularize == word.pluralize || word == word.pluralize
      "some #{word}"
    else
      word.with_indefinite_article
    end
  end

end

I'm closing this. Sorry for polluting your issue log.

@Sub-Xaero no apologies necessary, thanks for the idea!

authors: Sub-Xaero rossmeissl


text:
UnityEngine.GUIClip not accessible anymore

Hello :)
It seems that UnityEngine.GUIClip is not accessible anymore in Unity 2018.2 that was just released the 10th of July 2018. It is also very possible than some other function from Unity API was changed.
This seems to be an issue in ReorderableList.Internal.GUIHelper constructor.
To reproduce it simply select a game object which inspector is supposed to display a reorderable list.
Let me know if more details are needed.

Sorry, I think this is the wrong repository. I will copy that to
https://bitbucket.org/rotorz/reorderable-list-editor-field-for-unity


text:
undefined method

desc 'Generate error pages'
task errgent: :environment do
  renderer = Errgent::Renderer.new(
      codes: [404], # error codes by default, @code variable is available in layout
      # vars: { name: 'value' }, # variable @name will be available in layout
      # layout: 'layouts/error_page', # where to find your layout by default
      # output: 'public/%s.html' # where to put generated pages by default, %s is the replacement for @code
  )

  # You can override or define new helpers:
  renderer.helpers do
    def user_signed_in?
      false
    end
  end

  renderer.render
end

be rake errgent
rake aborted!
ActionView::Template::Error: undefined method `user_signed_in?' for #<ActionView::Base:0x007fda24184790>

any solutions?

I couldn't reproduce, mind writing a reproducible test?

Solved! If exists multiple one-name tasks, rake run all it! Helpers broken at second call on task in gem.
Simple rename your custom task :errgent to another name, or wrap by namespace.

Thanks

authors: DmitrySharikov KODerFunk route stereodenis

repo: route/errgent


text:
Peering Request

Full Name
Multiway Comercio e Representações LTDA
ASN
AS274676
PeeringDB Integration

[X] My PeeringDB Entries are current
[ ] Peer at ALL EXCHANGES (and skip the Peer Address(es) field below)

Peer Address(es)
2001:12f8::220:53
Multihop

[ ] Multihop Peering Request

hi
Thnak you for your interest in peering with RouteViews.   We are unfortunately at capacity on our collector in Sao Paulo, so for now we have to decline this request.
Thanks for understanding
BR
Nina

repo: routeviews/issues


text:
Reset and remove preview

i would like to reset and remove the preview or disable the upload form after upload, so far i've tried
this.$refs.VueDropzone.disable()
but doesn't take any effect .

hi,
Maybe to use v-if ?

i was looking for the option previewsContainer by setting it false and reactivating worked for me
thanks

repo: rowanwins/vue-dropzone


text:
TypeError: 'Exception' object is not iterable

When I try to run master tip against Antenna running on my local machine, I get this:
(M=bc78b) ~/mozilla/socorro-zero/antenna-loadtests> make test -e URL_SERVER=http://localhost:8000/submit
env LDFLAGS="-L/lib" \
    CFLAGS="-I/include" \
    /home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/bin/pip3 install cryptography
Requirement already satisfied: cryptography in ./venv/lib/python3.5/site-packages
Requirement already satisfied: idna>=2.0 in ./venv/lib/python3.5/site-packages (from cryptography)
Requirement already satisfied: pyasn1>=0.1.8 in ./venv/lib/python3.5/site-packages (from cryptography)
Requirement already satisfied: setuptools>=11.3 in ./venv/lib/python3.5/site-packages (from cryptography)
Requirement already satisfied: cffi>=1.4.1 in ./venv/lib/python3.5/site-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in ./venv/lib/python3.5/site-packages (from cryptography)
Requirement already satisfied: pycparser in ./venv/lib/python3.5/site-packages (from cffi>=1.4.1->cryptography)
/home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/bin/pip3 install -r requirements.txt
Collecting https://github.com/tarekziade/ailoads/archive/master.zip (from -r requirements.txt (line 4))
  Downloading https://github.com/tarekziade/ailoads/archive/master.zip
     / 40kB 1.1MB/s
Requirement already satisfied: six in ./venv/lib/python3.5/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: requests in ./venv/lib/python3.5/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: flake8 in ./venv/lib/python3.5/site-packages (from -r requirements.txt (line 3))
Collecting aiohttp (from molotov==0.4->-r requirements.txt (line 4))
  Downloading aiohttp-1.2.0-cp35-cp35m-manylinux1_x86_64.whl (155kB)
    100% |████████████████████████████████| 163kB 1.6MB/s
Requirement already satisfied: statsd in ./venv/lib/python3.5/site-packages (from molotov==0.4->-r requirements.txt (line 4))
Collecting urwid (from molotov==0.4->-r requirements.txt (line 4))
  Downloading urwid-1.3.1.tar.gz (588kB)
    100% |████████████████████████████████| 593kB 1.9MB/s
Collecting humanize (from molotov==0.4->-r requirements.txt (line 4))
  Downloading humanize-0.5.1.tar.gz
Collecting redis (from molotov==0.4->-r requirements.txt (line 4))
  Downloading redis-2.10.5-py2.py3-none-any.whl (60kB)
    100% |████████████████████████████████| 61kB 2.9MB/s
Requirement already satisfied: pycodestyle<2.3.0,>=2.0.0 in ./venv/lib/python3.5/site-packages (from flake8->-r requirements.txt (line 3))
Requirement already satisfied: pyflakes!=1.2.0,!=1.2.1,!=1.2.2,<1.4.0,>=0.8.1 in ./venv/lib/python3.5/site-packages (from flake8->-r requirements.txt (line 3))
Requirement already satisfied: mccabe<0.6.0,>=0.5.0 in ./venv/lib/python3.5/site-packages (from flake8->-r requirements.txt (line 3))
Collecting chardet (from aiohttp->molotov==0.4->-r requirements.txt (line 4))
  Downloading chardet-2.3.0.tar.gz (164kB)
    100% |████████████████████████████████| 174kB 6.7MB/s
Collecting multidict>=2.1.4 (from aiohttp->molotov==0.4->-r requirements.txt (line 4))
  Downloading multidict-2.1.4-cp35-cp35m-manylinux1_x86_64.whl (357kB)
    100% |████████████████████████████████| 358kB 2.6MB/s
Collecting async-timeout>=1.1.0 (from aiohttp->molotov==0.4->-r requirements.txt (line 4))
  Downloading async_timeout-1.1.0-py3-none-any.whl
Collecting yarl>=0.8.1 (from aiohttp->molotov==0.4->-r requirements.txt (line 4))
  Downloading yarl-0.8.1-cp35-cp35m-manylinux1_x86_64.whl (137kB)
    100% |████████████████████████████████| 143kB 2.2MB/s
Building wheels for collected packages: urwid, humanize, chardet
  Running setup.py bdist_wheel for urwid ... done
  Stored in directory: /home/willkg/.cache/pip/wheels/e7/bb/9d/d7f7fcc9b3aeae20cf4685667635002415629e6395ff2dda7d
  Running setup.py bdist_wheel for humanize ... done
  Stored in directory: /home/willkg/.cache/pip/wheels/d4/80/38/cfbfd95752f71f3812505b948b43383ddc99eedf835fc13b09
  Running setup.py bdist_wheel for chardet ... done
  Stored in directory: /home/willkg/.cache/pip/wheels/28/8c/bf/a69199bd4901d84e13362f95a9ea7bc9a691fed2d655a90bc4
Successfully built urwid humanize chardet
Installing collected packages: chardet, multidict, async-timeout, yarl, aiohttp, urwid, humanize, redis, molotov
  Running setup.py install for molotov ... done
Successfully installed aiohttp-1.2.0 async-timeout-1.1.0 chardet-2.3.0 humanize-0.5.1 molotov-0.4 multidict-2.1.4 redis-2.10.5 urwid-1.3.1 yarl-0.8.1
bash -c "URL_SERVER=http://localhost:8000/submit /home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/bin/ailoads -v -d 30"
[th]Traceback (most recent call last):
  File "/home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/bin/ailoads", line 11, in <module>
    load_entry_point('ailoads==0.1', 'console_scripts', 'ailoads')()
  File "/home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/lib/python3.5/site-packages/ailoads/run.py", line 71, in main
    return run(args)
  File "/home/willkg/mozilla/socorro-zero/antenna-loadtests/venv/lib/python3.5/site-packages/ailoads/run.py", line 85, in run
    for ok, failed in res:
TypeError: 'Exception' object is not iterable
Makefile:56: recipe for target 'test' failed
make: *** [test] Error 1
2 (M=bc78b) ~/mozilla/socorro-zero/antenna-loadtests>

Am I doing something wrong? If not, any idea what's going on.

@rpappalax this appears to be what we saw when running the docker-run command yesterday, any ideas?

I did some poking around and my TypeError is from the fact that all the tests are set to run never. Changing any of them from 0 to a non-zero number causes tests to run.

👍 oy.

remedied in #11

thanks, @willkg I'll add a conditional to molotov to ensure that scenario weights are > 0

@rpappalax  @willkg thanks for reporting, it's now fixed in molotov.

authors: m8ttyB rpappalax tarekziade willkg

repo: rpappalax/antenna-loadtests


text:
Bug in SPICY match() Method :: Does Not Match Extended ASCII Characters

I am developing a protocol analyzer using Spicy, using the BRO/HILTI/SPICY docker image posted at the following URL: https://hub.docker.com/r/rsmmr/hilti/
In my Spicy protocol analyzer, I am trying to match a pattern. My data type is ‘bytes’, and I am using the ‘match()’ method. If the pattern includes an extended ASCII character (range from 0x80 to 0xFF), then the pattern fails to find a match. However, if I wildcard the extended ASCCI character, then it finds a match. While I cannot share source code from my original project, I created a sample project to demonstrate the bug.
I will upload the following sample files so that you may attempt to reproduce the bug:
(1) regex_test.spicy*
(2) regex_test.evt*
(3) regex_test.bro*
(4) smb-browser-elections.pcap
NOTE *: There might be CR/LF issues because I saved these files with Notepad on a Windows box.  Also, I had to give each file a *.txt extension, in order for the file uploader to accept it.
As my sample data, I downloaded an SMB pcap file from wireshark.org. The regular expression patterns below are based on Frame #3, NetBIOS/SMB datagram, in the SMB pcap file 'smb-browser-elections.pcap' downloaded from the wireshark website, at the following URL:
https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=smb-browser-elections.pcapng
Here are my sample regex patterns**:
//# Appears at offset 0x2A in Frame 3
//# or offset 0x00 within UDP payload
const SmbRegEx_1a = /^\x11\x02.\x16/;
const SmbRegEx_1b = /^\x11\x02\x82\x16/;
//# Appears at offset 0x2D in Frame 3
//# or offset 0x03 within UDP payload
const SmbRegEx_2a = /\x16..\x7B/;
const SmbRegEx_2b = /\x16\xC0\xA8\x7B/;
Patterns _1a and _2a match successfully, because they include the wildcard in place of the extended ASCII character(s).
Patterns _1b and _2b do not match, because they contain offending character(s) in the extended ASCII range.
NOTE **: my Spicy source code contains a third regex pattern, shown below:
//# Appears at offset 0x78 in Frame 3
//# or offset 0x4E within UDP payload
const SmbRegEx_3a = /\x43\x41\x42\x00.\x53\x4D\x42/;
const SmbRegEx_3b = /\x43\x41\x42\x00\xFF\x53\x4D\x42/;
Interestingly, this pattern fails to match for both _3a and _3b. I would expect _3a to match because it contains the wildcard. Not sure what is going wrong with this pattern. Is there a certain depth/limit at which the match() method will stop searching?
Cheers!
Mark
regex_test.bro.txt
regex_test.evt.txt
regex_test.spicy.txt
smb-browser-elections.pcap.txt

I updated jrx.c and jrx.h (see attached) locally to change a few of the buffer variables to unsigned and it resolves this issue.  I'm not entirely sure why (spent a bit of time trying to narrow this down), but the match-test.spicy file (also attached) works with this change.  Also note, this now causes the build to warn about converting between pointers with different signed attributes (I tried to resolve this as well, but it requires massive changes to buffer pointers throughout the code).
jrx.c.txt
jrx.h.txt
match-test.spicy.txt

Diffs for jrx.c and jrx.h attached.

repo: rsmmr/hilti


text:
Publish online docs using Jekyll / Github Pages

Could we publish our slx and core specs using Jekyll and Gihub pages, just like we do for the rest of our docs?
https://rsmp-nordic.org
https://rsmp-nordic.github.io/rsmp_validator/
https://rsmp-nordic.github.io/rsmp_core_v4/
It would also steamline the look of all our online docs.
Rendering diagrams might be the most tricky part.
Would supersede #77.

Rendering diagrams might be the most tricky part.

Mermaid diagrams now work when using the gem github-pages see. e.g. https://rsmp-nordic.github.io/rsmp_core_v4/mqtt/


text:
Support for instance variables

Support for instance variables.  Following is a sample.  Let me know if you have any questions.
The sample class
class Person
  def initialize
    @retired = false
  end
end

Without the support:
describe '.initialize' do
  subject { Person.new }
  it('will not be retired') { expect(subject.instance_varable_get('@retired')).to eq false }
end

With the support
describe '.initialize' do
  subject { Person.new }
  its('@retired') { is_expected.to eq false }
end

@michael-harrison For Rails controllers in particular, you can use the assigns method described in http://api.rubyonrails.org/classes/ActionController/TestCase.html to access instance variable, so you can do expect(assigns(:schedule).persisted?).to be(true) which is another, slightly more concise mechanism.
In light of the discussion, I'm going to go ahead and close this.

authors: michael-harrison palfvin

repo: rspec/rspec-its


text:
Fix issue with null converter

Don't redefine null converter if it already exists, and define it appropriately for different RSpec versions. Fixes #16

Anyone care to review @rspec/rspec ?

Looks reasonable.  Have you tested this on multiple RSpec versions?

Not directly, and I think @yujinakayama's changes to snippet extractor will affect this again when released, but I did check the code history for the changes to this constant

LGTM

authors: JonRowe myronmarston


text:
Add links to contributing details in README [ci skip]

This commit adds links to the build details, code of conduct, contributing, and development setup markdown files to the README to easily access information about contributing to RSpec

Yay thanks! :heart:

authors: AEgan cupakromer

repo: rspec/rspec-mocks


text:
erc20

hearts, ap & bullets should be erc20s
perhaps range should also be.

this is tracked https://github.com/rsproule/tanks/issues/12

repo: rsproule/tanks


text:
ROS Melodic

Hi,  since there is still no official repository for melodic what is alternative for properly install teb_local_planner on melodic?

Hi,
the navigation stack has not been released for melodic yet (see here and hence is still blocking the teb_local_planner package. As soon as it is released, I'll release the teb_local_planner and costmap_converter.
Cheers,
Christoph

The tf2 changes to the costmap_2d being made for melodic need to be implemented, code no longer compiles.

Navigation has been released into melodic: https://github.com/ros/rosdistro/pull/18657
So there's nothing blocking a teb_local_planner release into Melodic now.

@croesmann Thank you very much!

authors: AchmadFathoni boilerbots croesmann mintar


text:
sqlInterpolate() and sqlParseVariables(): Change of interface

The sparklyr package seems to be the only package that actually implements these generics. I'd like to get rid of the nonstandard argument names and use conn, sql, ... as interface (https://github.com/rstats-db/DBI/issues/147), and add an optional .dots or .values argument (https://github.com/rstats-db/DBI/issues/140#issuecomment-251189284).
Do you plan a CRAN release anytime soon, so that we can coordinate the changes needed in both packages?

@krlmlr we are planning to push this to CRAN in about 2 weeks. If you want these changes before that, let me know to figure them out and push them in.

Thanks. I just released DBI 0.5-13 to GitHub, it contains the breaking changes (rstats-db/DBI#147). Could you make sparklyr work with both CRAN and GitHub versions?

@krlmlr The CRAN version for sparklyr 0.4 is already released, so I won't be able to make a change to the current version and sparklyr would be broken for DBI 0.5-13 onwards. I could release a new version of sparklyr 0.5 that bumps the required version of DBI to 0.5.13 but not older ones since the signature changed. When are you planning to release DBI 0.5.13 to CRAN?
Could you shoot me an email to javier at rstudio? I'm buried in github notifications so it's going to be easier to coordinate this by mail. Thanks!

From Kirill: "Please prepare for updating the signatures of sqlInterpolate() and sqlParseVariables(), DBI 0.6 will support both but DBI 0.7"

Taking care of this in 0.5.3 patch release: https://github.com/rstudio/sparklyr/commits/bugfix/hotfix-0.5.3

You could add DBI (>= 0.5-19) to your DESCRIPTION.

We took care of this in sparklyr 0.5.3.

authors: javierluraschi krlmlr

repo: rstudio/sparklyr


text:
Use rplidar_a1_launch.py because rplidar.launch.py does not exist.

What does this implement/fix?

rplidarを起動するためのlaunchファイル名を変更します。
rplidar_rosのソースリポジトリ変更に伴い、rplidar.launch.pyは廃止されました。
参考：https://github.com/ros/rosdistro/issues/37679
変更後のlaunchファイル：https://github.com/Slamtec/rplidar_ros/blob/70d91854e7ae167709c1f1baa4362b1e9847b548/launch/rplidar_a1_launch.py
変更前のlaunchファイル：https://github.com/allenh1/rplidar_ros/blob/6fc037db67e234ad7a4272cc2331afeb92ed7200/launch/rplidar.launch.py
Does this close any currently open issues?

いいえ
How has this been tested?

実機で、SLAMとNavigationが動作することを確認しました。
Checklists

[x]  I have read the CONTRIBUTING guidelines.

If there is no guideline in the repository, rt-net organization's guideline applies.

[x]  I have checked to ensure there aren't other open Pull Requests for the same change.

変更内容については、特に問題ないと思われます。
READMEの更新をお願いします。ここの部分を消去するだけで良い気がしますっ。
https://github.com/rt-net/raspimouse_slam_navigation_ros2/tree/fix_rplidar_launch_file?tab=readme-ov-file#notes

authors: ShotaAk shu-rt


text:
KShape first guess guidance / constrain

For the KShape algorithm (or k-means) it could be interesting to guide the algo to converge with the user knowledge. Imagine the user knows that there are three clusters and has at least one sample of each class, it could be interesting to use these samples as a first barycenter during the learning phase.

I never closed that issue, but this is actually implemented in tslearn at the moment (v0.2)

authors: gandroz rtavenar

repo: rtavenar/tslearn


text:
Intermittent "Top-level Build Failure: init() takes exactly 2 arguments (1 given)"

Only occurs intermittently, eg:
https://readthedocs.org/builds/treeherder/3256061/
https://readthedocs.org/builds/treeherder/3223958/
https://readthedocs.org/builds/treeherder/3223481/
https://readthedocs.org/builds/treeherder/3219551/
https://readthedocs.org/builds/treeherder/3210710/
If a new build is manually triggered it then succeeds.
Any ideas? :-)

+1 happens often for me too lately

same here https://readthedocs.org/builds/ramses/3257411/

Yea, this appears to be a random Django 1.8 failure that I haven't quite
tracked down yet. I am looking into it.
On Wed, Aug 19, 2015 at 8:06 AM, Jonathan Stoikovitch <
notifications@github.com> wrote:

same here https://readthedocs.org/builds/ramses/3257411/
—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1572#issuecomment-132632672
.

--
Eric Holscher
Maker of the internet residing in Portland, Oregon
http://ericholscher.com

ramses does not use django

It's an error on our side, and seems to have started when we upgraded to Django 1.8 a couple weeks ago, I mean.

I see. time to switch to pyramid maybe :)

@ericholscher expressed that he has deployed a fix as described in #1028
Seems to be fixed for Treeherder: https://readthedocs.org/projects/treeherder/builds/

authors: Swader edmorley ericholscher gregmuellegger jstoiko