text:
email command fails within pnpm workspace

Describe the Bug
Following the manual setup inside a pnpm monorepo with a pnpm-workspace.yaml in the root, the email command fails like this:
✔ Emails preview generated
⠋ Installing dependencies...
Scope: all 13 workspace projects
✔ Dependencies installed

> react-email-client@0.0.14 dev /Users/.../libs/email/.react-email
> next dev "--" "-p" "8790"

sh: next: command not found
 ELIFECYCLE  Command failed.
 WARN   Local package.json exists, but node_modules missing, did you mean to install?

Turns out a script was running a pnpm install command, but since it's in the workspace, it simply installed the other packages, but skipped the new one since it doesn't match a pattern.
I solved this by adding [package-path]/.react-email in pnpm-workspace.yaml. Not sure the best general solution. Posting here mainly to help anyone else hitting the same issue.
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://react.email/docs/getting-started/manual-setup
To Reproduce

Create a pnpm workspace
Follow https://react.email/docs/getting-started/manual-setup within a package

Expected Behavior
The email command would succeed, or at least provide a clearer error.
What's your node version? (if relevant)
No response

Also just ran into this

I am also having this issue when using it though pnpm workspaces. For now the only work around I use is to go into the .react-email folder and do a yarn install. Then the email dev command works pretty well after this.

The issue is here: https://github.com/resendlabs/react-email/blob/490e0356685c1a6406c89620687725d0b98ad53b/packages/react-email/source/utils/sync-package.ts#L6 and doesn't seem to take into account pnpm or pnpm workspaces.
Using a node_modules/dependency script (https://github.com/resendlabs/react-email/blob/490e0356685c1a6406c89620687725d0b98ad53b/packages/react-email/source/utils/start-server-command.ts#L15 and https://github.com/resendlabs/react-email/blob/490e0356685c1a6406c89620687725d0b98ad53b/client/package.json#L7) is a really weird way to spin up a process. The concept of package binaries exists so authors don't have to do those kinds of shenanigans.

Alright fast followup: If you run npm install within the .react-email directory (even though we're using pnpm), it'll install packages into node_modules and the dev server will run.
I maintain that this is a pretty bad way to ship a dev server, but that's a workaround that requires some manual steps. If you're using a build tool like moon, this step can probably be automated.

Confirmed, @shellscape solution resolves it. Would still like to see this fixed as well though.

Can we configure the client to work with pnpm by default?

@seawatts @jeanhdev I ended up forking the project to get around this. you can find the fork on my GitHub profile.

+1

Running into this now as well

+1

@bukinoshita If I understand correctly, the current model of the preview server is:

Download a tarball archive that includes a client directory which is in itself a node project, and extract that directory out of the tarball into a folder (.react-email)
Install dependencies inside the newly created .react-email project
Instantiate a watcher to sync emails into the .react-email project
Run the nextjs dev server

This seems overly complex. If someone is using the react-email package then they will, with absolute certainty, need to install the dependencies inside client at some point in life. Why are those dependencies only defined there, rather than have them exist as dependencies of react-email itself?
Which brings me to my next question - Why is client downloaded extracted and ran as a separate project? The next server could be created from within the cli tool, which would fix this issue
I'd be glad to work on a PR for the aforementioned change if it's relevant

Any progress on this?
@JasonMan34 Could you please provide more details on your solution? How would you use next cli to fix this issue? I could fork and use your solution until the fix has been released. Thank you!

The Dev X is bad, I get a tons of errors.
Why can't we use pnpm as default ?

I'm using this patch as a workaround to use this package in a pnpm project. You may use it with the patch feature in pnpm.
# patches/react-email@1.9.5.patch
diff --git a/dist/source/utils/install-dependencies.js b/dist/source/utils/install-dependencies.js
index 24f4a82f14037a4e341775fe4f273016adf8ac2e..155ff41d5d3bfb3d185f774703bcd1033096580d 100644
--- a/dist/source/utils/install-dependencies.js
+++ b/dist/source/utils/install-dependencies.js
@@ -11,6 +11,10 @@ const ora_1 = __importDefault(require("ora"));
 const log_symbols_1 = __importDefault(require("log-symbols"));
 const close_ora_on_sigint_1 = require("./close-ora-on-sigint");
 const installDependencies = async (packageManager) => {
+    if(packageManager === 'pnpm'){
+        console.warn(`\n🚨🚨🚨🚨🚨🚨\nUsing \`npm\` instead of \`${packageManager}\` to install react-email preview app dependencies\nThis patch should be removed when react-email can support existing in a pnpm workspace.\nsee: https://github.com/resendlabs/react-email/issues/881\n🚨🚨🚨🚨🚨🚨\n`);
+        packageManager = 'npm';
+    }
     const spinner = (0, ora_1.default)('Installing dependencies...\n').start();
     (0, close_ora_on_sigint_1.closeOraOnSIGNIT)(spinner);
     shelljs_1.default.cd(path_1.default.join(constants_1.REACT_EMAIL_ROOT));

pretty easy workaround is to add the .react-email folder to your pnpm-workspaces.yaml
packages:
  - "packages/*"
  - "apps/**"
  - "apps/email/.react-email"

pretty easy workaround is to add the .react-email folder to your pnpm-workspaces.yaml
packages:
  - "packages/*"
  - "apps/**"
  - "apps/email/.react-email"

We experienced the same issue in our monorepo, this workaround worked for us.

@bukinoshita If I understand correctly, the current model of the preview server is:

Download a tarball archive that includes a client directory which is in itself a node project, and extract that directory out of the tarball into a folder (.react-email)
Install dependencies inside the newly created .react-email project
Instantiate a watcher to sync emails into the .react-email project
Run the nextjs dev server

This seems overly complex. If someone is using the react-email package then they will, with absolute certainty, need to install the dependencies inside client at some point in life. Why are those dependencies only defined there, rather than have them exist as dependencies of react-email itself? Which brings me to my next question - Why is client downloaded extracted and ran as a separate project? The next server could be created from within the cli tool, which would fix this issue
I'd be glad to work on a PR for the aforementioned change if it's relevant

100% agree, finally getting around to looking into react email. Sounded promising, but now I see this and I feel like it was made with little thought to how fragile this approach is.

Remove .react-email and node_modules from your emails project if it is already there.
Once you have the email project setup npx create-email@latest with no .react-email and node_modules or the wrong lock file. Run pnpm i from the root.
Now add .react-email project to the pnpm-workspace.yml
Run pnpm i again
Now you can run it pnpm --filter emails run dev

.
├── .react-email
├── node_modules
├── package.json
├── src
│   └── emails
│       ├── index.tsx
│       ├── notion-magic-link.tsx
│       ├── plaid-verify-identity.tsx
│       ├── stripe-welcome.tsx
│       └── vercel-invite-user.tsx
├── static
│   ├── notion-logo.png
│   ├── plaid-logo.png
│   ├── plaid.png
│   ├── stripe-logo.png
│   ├── vercel-arrow.png
│   ├── vercel-logo.png
│   ├── vercel-team.png
│   └── vercel-user.png
├── tree
└── tsconfig.json

4 directories, 16 files

Here's the structure of the emails package I am housing my setup within.
In the root of my mono repo I have
packages:
  - "apps/*"
  - "packages/emails/.react-email"
  - "packages/*"

It would be nice if the default package manager could be selected via a cli arg. Instead of it defaulting to whatever it finds on the system first.

authors: Frumba Geebrox JasonMan34 KrisBraun elliotcourant gruckion hexcowboy jeanhdev marcusstenbeck mortocks paul-sachs ruigomeseu seawatts shellscape tsongas

repo: resendlabs/react-email


text:
VersionBot: Idea: require reviews from selected people/teams if specific files/folders are touched by PR

This came up after a discussion with @alexandrosm as a way to enforce stricter reviews for anything affecting a component's build/deployment process. For instance, versionbot could explicitly require review from resin-io devops team s if any of
- .travis.yml
- circle.yml
- build/
- [...]

has been changed by a PR. This would mitigate the risk of rogue scripts that extract sensitive environment variables (e.g. npm publishing keys)

Augment the current 73-27-review-configs branch to include the following:
review_files:
  - files: <array | pattern>
    reviewers: [array of users]

Any specific reviewers either adds to (or creates) the reviewers list, so they are included on review for any PR that includes changes to those files.

But would this prevent the PR from automatically being built and run on the CI services in the first place?

@lurch @lekkas So I'd assumed this would just stop it from being merged to master, but actually after re-reading the original comment, it does sound as if we'd actually be trying to block and PR CI build occuring. Is that right, Kostas?
If so, I'd need to think about this, as I'm not sure we could do so easily. What we'd have to do is something like:

Keep master branch protection as it is now, only merge if other status checks pass
Ensure VersionBot is the sole status condition as branch protection for the specific branch the PR is on
When reviewers have approved so that the status is successful, VB would then add the other CI systems as required for the same branch, which would then carry out builds and report back
Rest of the process continues as required

I have a bit of a worry, which is by default VB assumes things fail unless otherwise proven (paranoia is goooood!). With this system, VB would be the only thing stopping builds occurring until approvals occur, when the other CI components would be added. On the one hand, no different to how it works now as master protection would still be active, on the other hand, VB has to optimistically work forwards when reviews occur.

Hmmm, it's something I've never set up myself (so I could be wrong) but I thought that when e.g. adding Travis or Appveyor to a repo, those CI services then automatically build any PRs issued against that repo; and the branch-protection stuff only stops PRs being merged when a status-check fails, it doesn't determine which CI services actually get run against a PR?
Although maybe there's something in the Travis or Appveyor .yml files that can be used to tweak this always-build-every-PR behaviour?
And just to clarify: The protected env-vars used in Travis and Appveyor builds are already protected to the extent that they're not available to PRs from external forks. AIUI this issue is concerned with trying to stop somebody with write-access on a repo (i.e. a resin.io employee) from submitting a PR that could leak a protected env-var.
Hmmm, interestingly (according to the documentation links above) it seems Travis's secure env-vars are only blocked in PRs from external repos (forks), whereas Appveyor's secure env-vars are blocked in all PR-builds (and are therefore presumably only available in merge-builds). In which case the protection-mechanism described in this issue would be sufficient for Appveyor but not for Travis? (AIUI)
P.S. I also found https://github.com/ChALkeR/notes/blob/master/Stealing-Travis-secure-variables.md which might be interesting / relevant ?
Pinging in @petrosagg too, as this is security-related.

@lurch Yes, exactly right on both the CI and protection, which is why if we're worried about keys etc., then we need to stop these CI systems building when the PR is opened. The main idea here is only the minimum number of people who need access to keys have them, so we're trying to prevent anyone with read/write from accessing the containers as they build. I believe this stems from a conversation Alex, Petros and Kostas had.
You're correct in the assumptions for Travis (and, more or less, the same is true of Circle).

Indeed, only giving people the minimum privileges needed (and no more) is always a worthy security goal.

@lekkas @alexandrosm I am now satisfied that the CODEOWNERS file along with enabling code protected review status in a repository does exactly this. I've opened a new issue here https://github.com/resin-io/process/issues/105

source: gharchive/issue

authors: hedss lekkas lurch

repo: resin-io-modules/resin-procbots

license_type: permissive

license_source: bigquery


text:
Avoid writing to /root when running nohup

This PR cherry picks the changes from:
https://github.com/resin-os/meta-resin/pull/614
This allows us to build with Jenkins and adds a changelog.

@resin-jenkins retest this please

@resin-jenkins retest this please

Thanks

@resin-jenkins retest this please

@resin-jenkins retest this please

@resin-jenkins retest this please

@resin-jenkins retest this please

source: gharchive/pull-request

authors: pvizeli willnewton

repo: resin-os/meta-resin


text:
Provision on WiFi

Description
Provision device using a WiFi device.
Steps to reproduce issue
Download Device OS
Network Connection: Wifi
Download OS file
Expected result
Device should appear in the application's dashboard
Actual result
only works with the -dev variant
Other information

Reported by: Michal Mazurek

Test configuration: RaspberryPi Zero Wireless

Test case number: TC02

Test run: https://resinio.testlodge.com/projects/16238/runs/267416?tab=2&run_section_id=326472&executed_case_id=11789807#executed_case_11789807

Released version v2.0.6+rev3 on which tests pass

authors: agherzan floion

repo: resin-os/resinos

license_source: github-api


text:
Wrong header sent when redirected to another domain

When a request is redirected to another domain the authorization header from the first domain is sent with the new request.
Specifically in my case I have a request to a content URL that can be redirect to an amazon bucket URL.
The request to my application is authenticated with a "Authorization" header, which RestAssured is sending in the redirect, that leads to an error on AWS endpoint: Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified.
I think is related to issue #948 .
Thanks

Same here, I received 400 from AWS S3 after rest assured followed redirect (302 response) and pass the authorization header from the original request to S3 which doesn't know how to handle it
HTTP/1.1 400 Bad Request
x-amz-request-id: 9BD719E7F4DBE3AF
x-amz-id-2: 22KCSSXxQrRK8SJZwAOTFLwy5GpWIerVqpVr9s9INnQWYbyrhIFw7qIzwuK8BQuHNMqPJKzQ/8s=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Sun, 26 Apr 2020 22:45:32 GMT
Connection: close
Server: AmazonS3

<Error>
  InvalidArgument
  <Message>Unsupported Authorization Type</Message>
  <ArgumentName>Authorization</ArgumentName>
  <ArgumentValue>Bearer token</ArgumentValue>
  <RequestId>9BD719E7F4DBE3AF</RequestId>
 <HostId>22KCSSXxQrRK8SJZwAOTFLwy5GpWIerVqpVr9s9INnQWYbyrhIFw7qIzwuK8BQuHNMqPJKzQ/8s=</HostId>
</Error>

authors: brunodix quitefire

repo: rest-assured/rest-assured


text:
[Violet Rails Core]: Change scoping of api_clients and redirection after api_resource is deleted.

In the above image, the url gives the indication that the displayed api_clients are under a specific api_namespace. But, we are displaying all the api_clients in this page.
# GET /api_clients or /api_clients.json
  def index
    @api_clients = ApiClient.all
  end

And the redirect is wrong too (we should remove the view that is rendered on the redirect after the user deletes an API resource).

https://api.rubyonrails.org/classes/ActionController/Redirecting.html#method-i-redirect_back

authors: alis-khadka donrestarone

license: MIT


text:
Restic 0.16.3 stop working on Windows 2008 R2

Output of restic version
Not working (but is 0.16.3)
C:\Users\myuser>L:\restic_0.16.3_windows_amd64.exe version
Exception 0xc0000005 0x8 0x0 0x0 PC=0x0

runtime.asmstdcall()
        /usr/local/go/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x46d335
rax     0x0
rbx     0x1b5e300
rcx     0x1bb4100
rdi     0x7fffffdd000
rsi     0x22fea0
rbp     0x22fde0
rsp     0x22fc78
r8      0x0
r9      0x22fee0
r10     0x1b855b8
r11     0x21
r12     0x22fec0
r13     0x1
r14     0x1b5da60
r15     0x0
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b

What backend/service did you use to store the repository?
Not Applicable
Problem description / Steps to reproduce
When I type only restic in the commande line on my Windows 2008 R2 Server:
C:\Users\myuser>L:\restic_0.16.3_windows_amd64.exe
Exception 0xc0000005 0x8 0x0 0x0 PC=0x0

runtime.asmstdcall()
        /usr/local/go/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x46d335
rax     0x0
rbx     0x1b5e300
rcx     0x1bb4100
rdi     0x7fffffdd000
rsi     0x22fea0
rbp     0x22fde0
rsp     0x22fc78
r8      0x0
r9      0x22fee0
r10     0x1b855b8
r11     0x21
r12     0x22fec0
r13     0x1
r14     0x1b5da60
r15     0x0
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b

I've try on my Windows 11 with no problem
Expected behavior
Restic help text
Actual behavior
See problem descriptions
Do you have any idea what may have caused this?
Latest version on Restic 0.16.3, no problem with 0.16.2
Did restic help you today? Did it make you happy in any way?
Restic is the best backup app !!! I use it every day on all my devices

Duplicate of https://github.com/restic/restic/issues/4636 , which might be worth pinning to the issue tracker.

Yes, this is because the Go compiler has removed support for old and unsupported Windows versions. This has been on the wall for a long time, so there's really no other recommendation that can be given other than to move on from such old Windows versions.

authors: Mitchou ProactiveServices rawtaz

repo: restic/restic


text:
archiver: Fix intermediate index upload

A user discovered[1] that when the backup finishes during the upload of an intermediate index, the upload is cancelled and the index never fully saved, but the snapshot is saved and the backup finalizes without an error. This lead to a situation where a snapshot references data that is contained in the repo, but not referenced in any index, leading to strange error messages.
This commit uses a dedicated context to signal the intermediate index uploading routine to terminate after the last index has been uploaded. This way, an upload running when the backup finishes is completed before the routine terminates and the snapshot is saved.
[1] https://forum.restic.net/t/error-loading-tree-check-prune-and-forget-gives-error-b2-backend/406

I think I have also run into this issue on one of my repositories. I use the gs backend. A backup expiry run failed with:
$ ./restic-0.8.1 forget     -g host     --keep-daily 6     --keep-weekly 3     --keep-monthly 11     --keep-yearly 3     --compact     --prune
snapshots for (host [example.com]):

keep 15 snapshots:
ID        Date                 Host                     Tags
----------------------------------------------------------------------
dc49fa1d  2017-08-31 22:46:36  example.com
0caf9843  2017-09-30 20:28:10  example.com
77de3200  2017-10-31 19:44:25  example.com
a7263db3  2017-11-30 21:37:58  example.com
dfd33ba0  2017-12-31 20:05:43  example.com
97d3d65c  2018-01-31 19:42:59  example.com
a6c8d778  2018-02-25 19:59:35  example.com
ae7c6583  2018-02-28 20:09:38  example.com
45b28c67  2018-03-04 20:01:09  example.com
5ee2f6d8  2018-03-06 19:54:25  example.com
6c4c3fa7  2018-03-07 19:54:02  example.com
e9d0999e  2018-03-08 19:54:09  example.com
eafa7173  2018-03-09 19:54:26  example.com
c4958dbd  2018-03-10 19:54:24  example.com
6e9d0c39  2018-03-11 19:52:37  example.com
----------------------------------------------------------------------
15 snapshots

remove 1 snapshots:
ID        Date                 Host                     Tags
----------------------------------------------------------------------
9b6a0595  2018-03-05 19:49:02  example.com
----------------------------------------------------------------------
1 snapshots

1 snapshots have been removed, running prune
counting files in repo
building new index for repo
Load(<data/00e0e095f9>, 4, 5270839) returned error, retrying after 592.033094ms: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/64ca2191fb>, 4, 5662533) returned error, retrying after 429.349326ms: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/e2022ce72c>, 4, 4855959) returned error, retrying after 449.55318ms: googleapi: got HTTP response code 503 with body: Service Unavailable
[2:32:26] 100.00%  226251 / 226251 packs

repository contains 226251 packs (900572 blobs) with 1.088 TiB
processed 900572 blobs: 130436 duplicate blobs, 149.141 GiB duplicate
load all snapshots
find data that is still in use for 15 snapshots
id e5881aee5d3b3a47291fc494b7fde965907e877196a96467020017cf07ef23b8 not found in any index
github.com/restic/restic/internal/repository.(*MasterIndex).LookupSize
	src/github.com/restic/restic/internal/repository/master_index.go:54
github.com/restic/restic/internal/repository.(*Repository).LoadTree
	src/github.com/restic/restic/internal/repository/repository.go:625
github.com/restic/restic/internal/restic.FindUsedBlobs
	src/github.com/restic/restic/internal/restic/find.go:11
main.pruneRepository
	src/github.com/restic/restic/cmd/restic/cmd_prune.go:187
main.runForget
	src/github.com/restic/restic/cmd/restic/cmd_forget.go:237
main.glob..func8
	src/github.com/restic/restic/cmd/restic/cmd_forget.go:24
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).execute
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:698
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:783
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).Execute
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:736
main.main
	src/github.com/restic/restic/cmd/restic/main.go:69
runtime.main
	/usr/local/go/src/runtime/proc.go:195
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:2337

I ran a rebuild-index as suggested on https://github.com/restic/restic/issues/1596 after updating to restic 0.8.3.
$ ./restic-0.8.3 rebuild-index
counting files in repo
Load(<data/25b3abe5ad>, 591, 5936098) returned error, retrying after 326.749809ms: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/25b3abe5ad>, 591, 5936098) returned error, retrying after 1.08622201s: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/4a8b60f407>, 591, 5189782) returned error, retrying after 687.908998ms: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/4a8b60f407>, 591, 5189782) returned error, retrying after 828.676057ms: googleapi: got HTTP response code 503 with body: Service Unavailable
Load(<data/5186400200>, 591, 4534994) returned error, retrying after 297.315017ms: googleapi: got HTTP response code 503 with body: Service Unavailable
[35:02] 38.61%  89000 / 230497 packs

finding old index files
saved new indexes as [ea2be4e8 7fbb42b2 fae7899d 94dab4ec c5bd4499 89a9f240 a6edbffc de022b59 be657d38 d2f0b0dc e9d5cdb0 0a010ddc c40045fb d22fdd88 08639d9d 133a34a1 cf3bba8d 35fdb1bb b5fa3292 480e2720 83df154d 7eaf58ae dcb800fb b99225e5 04b5a69c 6fee6438 30f125c2 c0f1e46a b56cbeed 5d6da306]
remove 107 old index files

$ ./restic_0.8.3- snapshots
ID        Date                 Host                     Tags        Directory
----------------------------------------------------------------------
dc49fa1d  2017-08-31 22:46:36  example.com              /mnt/project
0caf9843  2017-09-30 20:28:10  example.com              /mnt/project
77de3200  2017-10-31 19:44:25  example.com              /mnt/project
a7263db3  2017-11-30 21:37:58  example.com              /mnt/project
dfd33ba0  2017-12-31 20:05:43  example.com              /mnt/project
97d3d65c  2018-01-31 19:42:59  example.com              /mnt/project
a6c8d778  2018-02-25 19:59:35  example.com              /mnt/project
ae7c6583  2018-02-28 20:09:38  example.com              /mnt/project
45b28c67  2018-03-04 20:01:09  example.com              /mnt/project
5ee2f6d8  2018-03-06 19:54:25  example.com              /mnt/project
6c4c3fa7  2018-03-07 19:54:02  example.com              /mnt/project
e9d0999e  2018-03-08 19:54:09  example.com              /mnt/project
eafa7173  2018-03-09 19:54:26  example.com              /mnt/project
c4958dbd  2018-03-10 19:54:24  example.com              /mnt/project
6e9d0c39  2018-03-11 19:52:37  example.com              /mnt/project
ca44201c  2018-03-12 20:23:07  example.com              /mnt/project
----------------------------------------------------------------------
16 snapshots

So far so good, but when I then ran check I think I got an error for every single pack in the repo (total Jenkins job log size ~ 28MB)
$ ./restic-0.8.3 check
create exclusive lock for repository
load indexes
check all packs
pack d31fbd0aea5d8655480338fa963e5c052154f13cf8acf7ae9b26e251751e79e7: not referenced in any index
pack e1f8c197bab4ba611aec69a1823ead32ec96622d4a530812e409da03b72cd573: not referenced in any index
pack fc13fe884850e20a1e452f8db7e2c921085fd73423baa6479ea4f3992feef466: not referenced in any index
...
error for tree 6f35644f:
  tree 6f35644f8f3d4c6b5696d5edf97cebe8d270c5fa7357886a786b85c512b2c79e not found in repository
error for tree d5e2df31:
  tree d5e2df31, blob 7b55b8a1: not found in index
error for tree bb1a600b:
  tree bb1a600b5b35f29decfab11af7ab7ff29c22e14be30d778e9ad74c84497136ae not found in repository
error for tree 287aad69:
  tree 287aad69, blob 674bd939: not found in index
error for tree b626792b:
  tree b626792ba20afec2f16f764ac16ae3e9cf60d6b6a87c4d3623921be4fb7423f5 not found in repository
Fatal: repository contains errors

I've not yet attempted a restore to see if that would work.

It sure looks like you ran into the issue at some point, but there's something else going on: During rebuild-index, restic failed to load several packs, and the next run of check showed that some packs aren't contained in any index (maybe because the could not be loaded before).
Can you please confirm that the packs exist, and you can access them with the service account user for restic?
pack d31fbd0aea5d8655480338fa963e5c052154f13cf8acf7ae9b26e251751e79e7: not referenced in any index
pack e1f8c197bab4ba611aec69a1823ead32ec96622d4a530812e409da03b72cd573: not referenced in any index
pack fc13fe884850e20a1e452f8db7e2c921085fd73423baa6479ea4f3992feef466: not referenced in any index

I suspect that the missing tree blobs are stored in these packs, and you'll only be able to access them once restic finishes a run of rebuild-index successfully, including these packs.

D'oh. You're completely right, how did I miss that. Rerunning rebuild-index. I'll report back on whether the errors go away when it finishes its run with 100% of packs accounted for.

The rebuild-index job completed with 100.00%  250531 / 250531 packs this time around, so that's good :-)
However, the check I ran immediately after does still error out on one missing blob:
error for tree 012bb14e:
  tree 012bb14e, blob 76bf381c: not found in index
Fatal: repository contains errors

There are indeed no files starting with 012bb14e or 76bf381c  anywhere in the bucket.
Does that mean that one of the snapshots is missing a file ... and if so, how would I go about finding out which one?

Does that mean that one of the snapshots is missing a file ... and if so, how would I go about finding out which one?

It means that one data blob is gone, and I don't have any idea how that happened. There's no  built-in way in restic to find out what directory is affected, we need to build something like this sometime.
With high probability, this will only affect a single directory within a single snapshot, nothing more. For all new snapshots, restic will re-upload the data if it isn't there.

Cool, I think I can live with that. We have a test restore planned for this bucket, so I guess I'll find out then :-)


text:
Better error message if connection to rclone fails

What does this PR change? What problem does it solve?
When proxying the connection rclone using ssh (e.g. restic -o rclone.program='ssh user@example.org forced-command' -r rclone: backup ... as in https://ruderich.org/simon/notes/append-only-backups-with-restic-and-rclone ) this initial connection setup can fail.
In this case rclone currently often just returns a context canceled error, which is not particularly helpful. Replace this error with the output from rclone.
Was the change previously discussed in an issue or on the forum?
No.

Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

The PR now replaces all initial communication errors with the exit code returned by rclone. More precisely the replaced errors are  context canceled, unexpected EOF or broken pipe error. Neither of these errors is useful for understanding what exactly went wrong and how to fix it.
In addition, I've discovered that according to the documentation of exec.Cmd the current usage of the StdErrPipe() was wrong. Wait() must not be called before everything was read from the former pipe.
The expand on the motivation for this PR: I've been seeing the following errors when using restic with the rclone backend proxied via ssh, however, for some reason the error returned by ssh is completely missing. This might be caused by the above StdErrPipe() problem but that is just a guess so far.
Fatal: unable to open repository at rclone:: error talking HTTP to rclone: context canceled
Fatal: unable to open repository at rclone:: error talking HTTP to rclone: Get http://localhost/file-5577006791947779410: unexpected EOF

LGTM.


text:
Doom RPG  elements

It'd be good to add dialogs and friendly characters

Development of the game was frozen, but you can send pull request :)

authors: KOLANICH restorer

license: mit


text:
improve callback interface for lambda?

Thank for your great work, at first!
But ...
when i use the callback, i can use java 8 lambda expressions.
can you seperate the MethodCallback into FailureCallback and SuccessCallback
Then ,the code should more simple.
service.list("some", (m,t)->{},(m,list)->{});

Thanks very much!

You can make a builder that'll let you do something like this:
service.list("some",
             MethodCallback.withSuccess((m,list)->{})
                           .withFailure((m,t)->{}));

I just pushed a quick commit that adds this right into MethodCallback ... but I had to move RestyGwt from -source 1.6 to -source 1.8 to make it compile.

great job!

@nile @jerith666 I am happy to merge all your changes to resty-gwt if you submit the PR against resty-gwt/resty-gwt !
github closes an issues if it was referenced by a PR and this PR get merged. so I am not sure if closing this issue was intentionally.

Oh, I assumed moving to -source 1.8 was a bridge too far for a small convenience feature like this.  Will open a PR!  :)

authors: jerith666 mkristian nile

repo: resty-gwt/resty-gwt


text:
Bluetooth

Resolves #560.

Wonderful! It could be better if something like BTHPROTO_RFCOMM constant is included in this pull request. Thank you!

This has been already merged in by #753
-> should be closed

authors: Jarcho luojia65 msiglreith


text:
requirements.txt is empty

The requirements.txt file is empty, could you please provide us with a useful file with a list of all libs

The requirements file has been updated. Thanks!

Dear Federico,
Thank you very much, we really appreciate your help.
If I may ask, can we get the CARLA fine-tuned versions of the models for
the SemSegAdvPatch repo please?
Thank you,
On Fri, 13 Jan 2023 at 16:31, federiconesti @.***>
wrote:

The requirements file has been updated. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/retis-ai/CARLA-GeAR/issues/1#issuecomment-1382021436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5OK5N3ASWY73EUTKRKYX3WSFYMFANCNFSM6AAAAAATJGRKSI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Nassim Mohamed ALIOUSALAH
CS Student at Higher National School of Computer Science - Algiers, Algeria.
Nvidia Deep Learning Institute University Ambassador.
Phone Number : (+213) 779487797
LinkedIn : Nassim Mohamed ALIOUSALAH
https://www.linkedin.com/in/mohamed-nassim-aliousalah/

authors: federiconesti nassimaliou

repo: retis-ai/CARLA-GeAR


text:
Z5 v5.0.22: manual refresh of dynamic keys -> no citation key change when changing large set of items

Report ID: YFXDIIGX
When changing a large set of items (2441), the citation keys don't seem to change. I don't know if it's a a performance issue, personal issues with impatience or something else... I've let it run for some minutes (and zotero effectively uses CPU for that it seems, around 120 %) until it drops to a 'normal' level of around 3-5 %.
Report ID actions:

Changing 10 references : visible change (both in column + sidepane)
Changing around 15 references : visible change (both in column + sidepane)
Changing all the references (2441 items) in the database: no visible change (both in column + sidepane) after around 4 minutes (drop in zotero CPU usage)

Looking at the logfile I think it may be caused by the same problem of #738. Can you try to reproduce with 4316, and if it still occurs, submit a new debug log?

Good news, that's indeed the case. After a refresh of all the bibtexkeys, they all change accordingly..

authors: floriandierickx retorquere

repo: retorquere/zotero-better-bibtex


text:
option to install/remove

Hello,great work
Is it possible to add to the script option/s to install/remove Quake 2 port / Goonies 20th anniversary etc.?
i know they are pre-installed, just in case to remove them and install them again after.
Thanks

original RetroPie ports can be removed/installed using the RetroPie-Setup (some may not work after reinstalled, needs some test). Easy alternative is to remove the whole ports folder from ~/RetroPie/roms if you dont want the Ports section showing on EmulationStation. For the time being, you can also move/remove specific files somewhere else and move them back when you want.


text:
[ERROR]

In the Wiki/shapes.scad, chamfered is misspelled throughout (5 intances).
It should have only one 'f'.

I found no place where chamfered was spelled chamffered, but I did see it spelled chamferred a bunch.  Fixed in 1cab868d8a0f099fec4fc5f36193cf97616e9a60

Oops. I had a typo and was too quick correcting it.
Thanks for finding it.
On 6 Apr 2020 at 18:56, Revar Desmera wrote:

I found no place where chamfered was spelled chamffered, but I did see it spelled chamferred a
bunch. Fixed in 1cab868


text:
Add format for slim-lint

Hi, there!
I would like to add slim-lint format.
https://github.com/sds/slim-lint
Please review this Pull Request :)

Hi, @rince! We merged your PR to reviewdog! 🐶
Thank you for your contribution! ✨
We just invited you to join the @reviewdog organization on GitHub.
Accept the invite by visiting https://github.com/orgs/reviewdog/invitation.
By joining the team, you'll be a part of reviewdog community and can help the maintainance of reviewdog.
Thanks again!

authors: review-dog rince

repo: reviewdog/errorformat


text:
User clicks on full-text document in search-results listing: full-text display should be default, not image view

When the user clicks on a full-text document in the search-results listing, they should be taken to the full-text display of the document, not to the image view, as the default view

Include the related Document Image and Document Text in the search_indexes.py so we can always take them to the text version of things.

authors: frankwiles pdeschner

repo: revsys/revsys-nuremberg


text:
Update s3, sdk-core, sqs to 2.16.19

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.15.82 to 2.16.19.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-minor

Superseded by #113.

repo: rewards-network/pure-aws


text:
Missing script files from .NET Core Versioning Task

VSTS Extension you are using
Version .NET Core Assemblies
Where are you running it?
VSTS both Private and Hosted VS 2017 build servers
Version of Extension/Task
1.17.2
Expected behavior and actual behavior
Expected
.NET Core Assembly version updated.
Actual
Task fails with error message:
File not found: 'd:\a_tasks\VersionDotNetCoreAssemblies_4578fa22-6039-4d83-90e0-3e12f68d6b26\1.17.2\ApplyVersionToAssemblies.js'
ApplyVersionToAssemblies.js and ApplyVersionToAssemblies.js.map files are not downloaded to build server.
Steps to reproduce the problem
Use the Version .NET Core Assemblies build task

Strange, I used that control last week on the hosted 2017 controllers and it seemed to work. Let me recheck.
Do you have a private build host you could try it on? So we can see of the files are actually there?

Since today we have the same issue on hosted agents (2017). Yesterday it was working.

Looks like it was probably something I broke when releasing a new build yesterday. I'll try to get it fixed as soon as I can today.

It is an intermittent fault in the build process, on a percentage of builds it fails to save the .js and .js/map files - needs more investigation but have just deployed build 1.18.3 that fixed the immediate issue

Build now works!
Thanks for the quick response.

authors: ChrisLGardner aidanfolkes johnnybegood rfennell

repo: rfennell/vNextBuild


text:
How to install this dashboard?

Hi. i'm new with promitheus and grafana.
Just setup this on my server and have no idea how to use json's in this repo. can you kindly guide me?
p.s. a came from
https://grafana.com/grafana/dashboards/1860

Resolved, found in settings import by id.


text:
[n-tv.de] Failed to parse JSON

[x] I've verified and I assure that I'm running youtube-dl 2016.08.12

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

$ y -v 'http://www.n-tv.de/mediathek/videos/panorama/Schnee-und-Glaette-fuehren-zu-zahlreichen-Unfaellen-und-Staus-article14438086.html'
[debug] System config: []
[debug] User config: ['-4', '-f', 'best', '--prefer-free-formats', '--no-cache-dir', '--no-mtime', '--youtube-skip-dash-manifest']
[debug] Command-line args: ['-v', 'http://www.n-tv.de/mediathek/videos/panorama/Schnee-und-Glaette-fuehren-zu-zahlreichen-Unfaellen-und-Staus-article14438086.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.12
[debug] Python version 3.5.2+ - Linux-4.7.0-rc7-686-i686-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.1.2, ffprobe 3.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[n-tv.de] 14438086: Downloading webpage
ERROR: 14438086: Failed to parse JSON  (caused by JSONDecodeError("Expecting ',' delimiter: line 11 column 30 (char 255)",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 549, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 11 column 30 (char 255)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 549, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 11 column 30 (char 255)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 691, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/ntvde.py", line 44, in _real_extract
    video_id, transform_source=js_to_json)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 553, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: 14438086: Failed to parse JSON  (caused by JSONDecodeError("Expecting ',' delimiter: line 11 column 30 (char 255)",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

'http://www.n-tv.de/mediathek/videos/panorama/Schnee-und-Glaette-fuehren-zu-zahlreichen-Unfaellen-und-Staus-article14438086.html

Thanks for the report. n-tv.de will be fixed in the next release.

license: Unlicense


text:
Some videos downloads broken for Crunchy Roll

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.09.27

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-f', u'best[height=720]', u'--all-subs', u'--verbose', u'http://www.crunchyroll.com/mob-psycho-100']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.27
[debug] Python version 2.7.5 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8, rtmpdump 2.4
[debug] Proxy map: {}
[crunchyroll:playlist] Downloading login page
[crunchyroll:playlist] Logging in
[crunchyroll:playlist] mob-psycho-100: Downloading webpage
[download] Downloading playlist: Mob Psycho 100
[crunchyroll:playlist] playlist Mob Psycho 100: Collected 12 video ids (downloading 12 of them)
[download] Downloading video 1 of 12
[Crunchyroll] Downloading login page
[Crunchyroll] 715985: Downloading webpage
[Crunchyroll] 715985: Downloading media info for 360p
[Crunchyroll] 715985: Downloading media info for 480p
[Crunchyroll] 715985: Downloading media info for 720p
[Crunchyroll] 715985: Downloading media info for 1080p
[Crunchyroll] 715985: Downloading media info
[Crunchyroll] 715985: Downloading subtitles for English (US)
[Crunchyroll] 715985: Downloading subtitles for Español
[Crunchyroll] 715985: Downloading subtitles for Español (España)
[Crunchyroll] 715985: Downloading subtitles for Français (France)
[Crunchyroll] 715985: Downloading subtitles for Português (Brasil)
[Crunchyroll] 715985: Downloading subtitles for العربية
[Crunchyroll] 715985: Downloading subtitles for Italiano
[Crunchyroll] 715985: Downloading subtitles for Deutsch
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.esES.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.itIT.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.deDE.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.esLA.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.enUS.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.frFR.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.arME.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.ptBR.ass
[debug] Invoking downloader on u'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4'
[download] Destination: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4' -o 'Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.flv.part' --playpath mp4:c19/s/ve2279079/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host    : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: app      : ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Last keyframe is first frame in stream, switching from resume to normal mode!
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
[rtmpdump] DEBUG: Closing connection.
ERROR: [rtmpdump] Could not connect to RTMP server.
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 449, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 439, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 866, in process_ie_result
    extra_info=extra)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 758, in process_ie_result
    extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 169, in real_download
    self.report_error('[rtmpdump] Could not connect to RTMP server.')
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.crunchyroll.com/91-days/episode-11-all-for-nothing-715675
Single video: http://www.crunchyroll.com/mob-psycho-100/episode-1-self-proclaimed-psychic-reigen-arataka-and-mob-715985
Playlist: http://www.crunchyroll.com/mob-psycho-100

Description of your issue, suggested solution and other information
Hi, this is interesting because some links do work while others do not. For instance this series...
_http://www.crunchyroll.com/berserk_
Downloads 100% fine. NO errors.
For this one...
_http://www.crunchyroll.com/91-days_
Everything downloads EXCEPT the most recent episode (Which is episode 11)
And for this one, NONE of them download it errors right away on the first one...
_http://www.crunchyroll.com/mob-psycho-100_
I DO have a premium account that i am logging in to. I am not sure why some of these work just fine and others don't?

Ok, how come for instance "91 Days" all downloaded as .mp4 (Episode 1 - 10) then, Episode 11 tries to download as a .flv and it fails?
I have 4 other linux servers i tried it on another one and it managed to download the .flv, how come its not a mp4? How come the FLV works on one of my other servers, but not my main one. Now im just confused...

Ask crunchyroll how come they serve flv.
According to

[rtmpdump] ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)

you most likely have no route to host for some reason.

authors: dstftw majorcyto


text:
Fee Video Lectures Support

Site: http://freevideolectures.com/

@naglis agree. Couldn't find any videos that was not Youtube embeds. Should this be closed?

Playlists require some additional codes.


text:
[Tumblr] Unsupported URL for Instagram and Vine

Example 1 (Instagram):
http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or
F:\>youtube-dl -v http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or
[debug] System config: []
[debug] User config: [u'-o', u'D:\\Media\\YTIN\\%(id)s-%(title)s.%(ext)s']
[debug] Command-line args: [u'-v', u'http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-78949-g6f5048f
[debug] Proxy map: {}
[Tumblr] 134652425014: Downloading webpage
[generic] joskriver-victoriassecret-invisibility-or#_=_: Requesting header
WARNING: Falling back on generic information extractor.
[generic] joskriver-victoriassecret-invisibility-or#_=_: Downloading webpage
[generic] joskriver-victoriassecret-invisibility-or#_=_: Extracting information
ERROR: Unsupported URL: http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or#_=_
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 1309, in _real_extract
  File "youtube_dl\compat.pyo", line 248, in compat_etree_fromstring
  File "youtube_dl\compat.pyo", line 237, in _XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: junk after document element: line 2, column 35
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 668, in extract_info
  File "youtube_dl\extractor\common.pyo", line 319, in extract
  File "youtube_dl\extractor\generic.pyo", line 1956, in _real_extract
UnsupportedError: Unsupported URL: http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or#_=_

F:\>

The direct Instagram link works as it should:
F:\>youtube-dl -g https://www.instagram.com/p/-7LnUPGlSo/
http://scontent-fra3-1.cdninstagram.com/t50.2886-16/12327516_1661602684127643_1808426200_n.mp4

F:\>

Example 2 (Vine):
http://sutiblr.tumblr.com/post/139638707273
F:\>youtube-dl -v http://sutiblr.tumblr.com/post/139638707273
[debug] System config: []
[debug] User config: [u'-o', u'D:\\Media\\YTIN\\%(id)s-%(title)s.%(ext)s']
[debug] Command-line args: [u'-v', u'http://sutiblr.tumblr.com/post/139638707273']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-78949-g6f5048f
[debug] Proxy map: {}
[Tumblr] 139638707273: Downloading webpage
[generic] 139638707273#_=_: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 139638707273#_=_: Downloading webpage
[generic] 139638707273#_=_: Extracting information
ERROR: Unsupported URL: http://sutiblr.tumblr.com/post/139638707273#_=_
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 1309, in _real_extract
  File "youtube_dl\compat.pyo", line 248, in compat_etree_fromstring
  File "youtube_dl\compat.pyo", line 237, in _XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: junk after document element: line 2, column 35
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 668, in extract_info
  File "youtube_dl\extractor\common.pyo", line 319, in extract
  File "youtube_dl\extractor\generic.pyo", line 1956, in _real_extract
UnsupportedError: Unsupported URL: http://sutiblr.tumblr.com/post/139638707273#_=_

F:\>

The direct Vine link:
F:\>youtube-dl -g https://vine.co/v/ir7qBEIKqvq
http://v.cdn.vine.co/r/videos_h264high/923CB9FFD71312674294815469568_SW_WEBM_145594014779716b7e5cf18.mp4?versionId=WBDu1tZc.i_r9vv310fV4Anjaa4uI9II

F:\>

If I recall it correctly, this did work in the past, but I am not completely sure.
Other embedded videos on Tumblr (like Youtube, for example) still work.

Thanks for the report. Instagram and Vine embeds will be supported in the next version.

Thank you Chi Hsuan!


text:
[Readme] Further specify how to run single tests

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Improvement

Description of your pull request and other information
Further specify how to run single tests by introducing a reference and add the information, that tests marked with 'only_matching' are not counted in.

Sadly I did not find a way to directly link to subitem 6, but I think this is quite okay, too.


text:
Add File Based support for C

Platform: linux

Duplicate of #454

authors: EntilZha simkieu

repo: rgbkrk/atom-script


text:
🛑 Sito Web is down

In 3482703, Sito Web (https://www.comune.preganziol.tv.it) was down:

HTTP code: 403
Response time: 1103 ms

Resolved: Sito Web is back up in c762961 after 5 minutes.

repo: rglauco/upptime


text:
🛑 Jokebot REST endpoint is down

In 1e6bd94, Jokebot REST endpoint (https://jokebot.rasabot.us/webhooks/rest) was down:

HTTP code: 503
Response time: 70 ms

Resolved: Jokebot REST endpoint is back up in 21f26fc.

repo: rgstephens/upptime


text:
Handle automatic updates of the dictionary

When HG ++ starts, it should download the reference dictionary.
If it is more recent than the stored one, and if it is compliant with the current HG version, then replace the locally stored dictionary.

Recent is not a good term.
Sure, there is a version property in the online dictionary. But it is not always incremented.
Instead, we just need to check the spec and the preference for automatic updates.
If the spec is not supported, keep on with the local dictionary. Same thing if updates are not automatic.

repo: rhadamanthe/host-grabber-pp


text:
Conflict with PHP Intelliphense extension

Not sure if this is fixable on either end specifically, so starting here as its always easier to get a newer project to make a change than a long established one.
So it goes like this.

Load up project with intelliphense.
Scope to a child folder that includes files that call functions/classes from the global scope. ex. a WordPress plugin within the WordPress installation that calls WP core functions.
Reload the window (common for variety of reasons such as extension removed etc).
Notice that intelliphense is now not picking up any of the functions/classes outside of the scoped folder.

Reverse is simple, unscope and "reload window" again, then scope back in.
So just off the top of my head a possible simple solution might be:

Detect window reload, assuming you can. Move the scope to a different storage key.
After reload and init, move the scope settings back into place

This could be cool in general as it could be done for closing the program and opening a project etc.

I don't think it is related directly to the extension logic. This extension just changes the file.exclude setting so VSCode will hide the files in the explorer view. You can try to set it manually (without this extension) and test if it works.
I think it is better to report this issue to intelliphense and explain that their extension doesn't work if you set the file.exclude settings.

@rhalaly Technically speaking their plugin is respecting the excluded files list and not indexing files, functions etc in those paths.
Their extension works fine when you set file.exclude but of course any files excluded don't get indexed or show up for autocomplete etc.
This would likely be true for any extension that ran scans on the project.
The issue is that this scope extension is manipulating that setting for a specific gain, but since other extensions also rely on it I'd think your end likely needs to figure out how to do what it does with as little side effect as possible.

The issue is that this scope extension is manipulating that setting for a specific gain, but since other extensions also rely on it I'd think your end likely needs to figure out how to do what it does with as little side effect as possible.

There are a lot of extensions that manipulate the file.excludes for hiding files for the user, like the extension that I took inspiration from. And personally, I used a lot of them for scoping before I wrote this extension.
Does everyone need to change how they manipulate the file.exclude setting because they can conflict with intelephense?
It is not so rare to have a conflict between extensions. But I (and other similar extensions) can't handle all the conflicts with all other extensions.
The alternative you suggested can't work, AFAIK. The VSCode determines the extensions' initialization order (based on their priority). So, you can't rely on that their index will always run before this extension.
I think the best solution to fix this conflict is to fork this extension and manipulate it for your needs. For example, the scope feature will write to file.exclude as usual, but also write to ignore it in intelephense.files.exclude, so their index will not use it.
The forking doesn't take too much effort. You can build your private extension locally even without publish it if you don't want to.

@rhalaly - I use that exclusion list regularly too, but for its mainly intended purpose of excluding files to lower memory consumption and improve performance, such as node_modules & vendors folders etc.
I understand that is likely the only feasible way you can accomplish this given the limitations of VS Code cores exposed APIs.

The solution you proposed won't do what I'm after, at least not as proposed, I'm looking for intelliphense to index those files, thus they should not be excluded when that happens.
It does appear that the indexer middleware kicks off pretty much immediately so load order is as you pointed out an issue here.
That said I did did into their code and found that they register a command to force reindexing.
I'm wondering if a possible solution might be to add an option for this extension that if set runs a small loop that could be used to counter this on a per user basis, without complexities of making it work with each of them yourself.
Trust me I understand the balance of interacting inside a huge open source plugin/extension based ecosystem. I created and run a top 100 WordPress plugin with over 600k users that integrates very tightly with dozens of other 3rd party WP plugins. (Popup Maker for reference).
What I'm wondering if you'd consider might look like this (pseudo code) during your activation process, and may need some tweaking obviously to get just right, but I haven't studied your plugin's code directly just yet.
if ( preActivation.length ) {
    // 1. Disable current scope and set it into a variable.
    // 2. For each preActivation VSC Command or function, check if it exists and call it.
    // 3. Reactivate current scope from earlier.
}

In this way we could register a custom setting as an array of [CMD]. Not sure functions are feasible as I haven't really studied how much interaction is possible between extensions without a fully exposed CMD, so it may just be CMDs.
But in this way at least there is feasibly a way to get around it when it is an issue.
Just to be clear, I see this issue several times a day, just one of those annoying things I'm trying to live with until a solution is worked out.
Ideally there would be another way for you to manage the scope rather than file.exclude but it is what it is for now until VSC core changes I imagine.

I'm closing this issue as I don't have any alternative for implementing this logic. PR are welcom to assist with this issue

authors: danieliser rhalaly

repo: rhalaly/scope-to-this-vscode


text:
bad assumption on port path in motor test

See https://github.com/rhempel/ev3dev-lang-python/commit/7cc7e116c0618c0dc8c0b3a2e632b2895c7289d3#commitcomment-16671433

@ddemidov @WasabiFan do either of you remember how to run the tests? I was going to work on this but I've never actually run the tests and couldn't find docs on it.

Woah, we have tests? :laughing: But seriously, I think you just have to run the api_tests.py file. I'm not 100% sure they've been confirmed working since we upgraded to Python3 though.

We do have tests and they are run on every commit and every pull request here:
https://travis-ci.org/rhempel/ev3dev-lang-python/builds
The steps needed to run the tests are 'documented' here:
https://github.com/rhempel/ev3dev-lang-python/blob/develop/.travis.yml#L8

I was joking! 😆 Well, mostly. I totally forgot we ran them in CO builds though.

ah I did not have fake-sys that was part of my problem.  @ddemidov we create a directory called lego-sensor/sensor0 and cp the contents of /sys/class/lego-sensor/sensor0 to that directory
$ node=lego-sensor/sensor0
$ mkdir -p ./${node}
$ cp -P --copy-contents -r /sys/class/${node}/* ./${node}/

So this has to run on a device running ev3dev?  I'm not following how we are running the tests in github on each commit unless we have an ev3dev vm that spins up to run the tests
When I run it I get
dwalton@laptop ~/l/e/tests> ./api_tests.py
	0	in1	/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0
	0	outA	/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0
.	0	in1	/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0/address' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0/bin_data' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0/bin_data_format' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0/num_values' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/lego-sensor/sensor0/value0' mode='rb+' closefd=True>
  testMethod()
.	0	outA	/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/address' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/commands' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/count_per_rot' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/driver_name' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/duty_cycle' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/duty_cycle_sp' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/polarity' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/position' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/position_sp' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/ramp_down_sp' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/ramp_up_sp' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/speed' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/speed_sp' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/state' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/stop_action' mode='rb+' closefd=True>
  testMethod()
/usr/lib/python3.5/unittest/case.py:600: ResourceWarning: unclosed file <_io.FileIO name='/home/dwalton/lego/ev3dev-lang-python/tests/fake-sys/arena/tacho-motor/motor0/time_sp' mode='rb+' closefd=True>
  testMethod()
.
----------------------------------------------------------------------
Ran 3 tests in 0.015s

OK
dwalton@laptop ~/l/e/tests>

which matches up with the output from https://travis-ci.org/rhempel/ev3dev-lang-python/builds/270811841
Just trying to get my head wrapped around how this works (or is supposed to work)

The tests do not need to be run on the EV3. We create a fake filesystem that contains device attributes, and use that to test our IO functions. This is not ideal, but allows us to use continuous integration services like Travis-CI. See more here:

https://github.com/ev3dev/ev3dev-lang/issues/112
https://github.com/rhempel/ev3dev-lang-python/pull/33

My confusion is around these instructions in the README of the test directory
node=lego-sensor/sensor0
mkdir -p ./${node}
cp -P --copy-contents -r /sys/class/${node}/* ./${node}/

which on a non ev3dev machine leaves you with
dwalton@laptop ~/l/e/tests> tree lego-sensor/
lego-sensor/
└── sensor0

1 directory, 0 files
dwalton@laptop ~/l/e/tests>

I renamed that lego-sensor directory to garbage and re-ran api_tests.py and got the same results.  It seems that the README should say something like
- Make sure you have the fake-sys directory, if not do XYZ to get it
- run api_test.py

Is the copied lego-sensor directory (assuming you ran this on ev3dev) what was used before the days of fake-sys?

We just used the README to take notes for future documentation purposes on one part of the process, you don't actually have to run those commands. See the message above them:

Commands used to copy the /sys/class node:

The submodule contains the data already.

fixed

authors: WasabiFan ddemidov dlech dwalton76


text:
Error occur when reading tasklist using function aarecipe

I am using Matlab 2015b and the most current aa(version 4). This error occurs when I run the demo code. The original demo code uses "aap=aarecipe("aap_tasklist_fmri_noslicetiming_withmodel_firstlevel.xml")" but I found out there is no tasklist file named "aap_tasklist_fmri_noslicetiming_withmodel_firstlevel.xml" in the  #aa documents I cloned so I changed it to a random tasklist that exits. The problem is that no matter what tasklist xml file I use, the same errors occur.
"Assignment between unlike types is not allowed.
Error in aarecipe>processbranch (line 217)
newStages.module(dependI) = arrayfun(@(x) setfield(x, 'tobecompletedfirst',
x.tobecompletedfirst+length(outstages.module)), newStages.module(dependI));
Error in aarecipe (line 51)
aap.tasklist.main=processbranch(aap,aap.directory_conventions.analysisid_suffix,'*',aap.tasklist.main,1);
Error in aa_user_demo_v1 (line 9)
aap = aarecipe('aap_tasklist_fmri.xml');"

Hi,
I am sorry for that the update might have caused you trouble. I have now updated both aa v4.3 (aka branch "devel-share") and aa v5.0 (aka branch "v5"), so both have exmple UMS (aa_user_demo_v2.m) and corresponding tasklist (aap_tasklist_demo.xml) to analyse the demo dataset. Please, used them instead of those shiped with the dataset when using either of these two branches!

Hi Tibor,
We've tried using devel-share as you suggest, and different versions of tasklists, but are still getting the type mismatch error. It seems to have trouble because there are no dependencies so dependI is empty ([]).
We are using Matlab 2015b and have tried both aa4 and aa5.
Unfortunately I don't understand all of the aarecipe code so I'm stuck on debugging this.
Any other thoughts?

It must be something MATLAB-specific, then. Unfortunately, I have no access to MATLAB 2015b. I have tested MATLABs between 2009a and 2015a.
I mostly use 2012b, because MatWorks has changed parallel computing dependency checks since then, and it causes serious lags when processing SPM (sub)folders for dependencies.

I have submitted a fix for this bug to the devel-share branch. The issue was caused by a small change in Matlab2015b; specifically, how arrayfun() works with struct arrays. Hopefully it works for you all now -  please try it out!

It works for me (2012b). How about you, @jpeelle and @gr8zhuzc?

Thank you Tibor and Conor, we have transferred our work to a 2014b matlab so that issue is solved. I didn't try the new version on the Matlab 2015b, Conor, but hopefully it should work out. To clarify, I am a student in Dr. Peelle's lab. Thank you again.

Thank you for spotting this issue!
And welcome to the aa-world!
Vale,
Auer, Tibor M.D. Ph.D.
MRC Cognition and Brain Sciences Unit
15 Chaucer Road
Cambridge
CB2 7EF
United Kingdom
Phone/Work: +44-(0)1223-273613
Mail: Tibor.Auer@mrc-cbu.cam.ac.uk

From: gr8zhuzcmailto:notifications@github.com
Sent: 2016.03.05. 0:35
To: rhodricusack/automaticanalysismailto:automaticanalysis@noreply.github.com
Cc: Tibor Auermailto:Tibor.Auer@mrc-cbu.cam.ac.uk
Subject: Re: [automaticanalysis] Error occur when reading tasklist using function aarecipe (#91)
Thank you Tibor and Conor, we have transferred our work to a 2014b matlab so that issue is solved. I didn't try the new version on the Matlab 2015b, Conor, but hopefully it should work out. To clarify, I am a student in Dr. Peelle's lab. Thank you again.
—
Reply to this email directly or view it on GitHubhttps://github.com/rhodricusack/automaticanalysis/issues/91#issuecomment-192536618.

authors: conorwild gr8zhuzc jpeelle tiborauer

repo: rhodricusack/automaticanalysis


text:
🛑 BOS2 is down

In 5e21206, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 22f79bd after 7 minutes.

repo: rholak/upptime


text:
Could not find artifact com.sun:tools:jar:1.8

I'm tryng to run my app with embedded jolokia server. And i have an error
Could not find artifact com.sun:tools:jar:1.8 at specified path
My pom.xml
            <dependency>
                <groupId>org.jolokia</groupId>
                <artifactId>jolokia-core</artifactId>
                <version>1.7.0</version>
            </dependency>
            <dependency>
                <groupId>org.jolokia</groupId>
                <artifactId>jolokia-spring</artifactId>
                <version>1.7.0</version>
            </dependency>

java --version output
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)

Ah, good find @tadayosi . In the source pom.xml this looks like in https://github.com/rhuss/jolokia/blob/12e67893483f7d99f9fbe12bd4b6972e28e5d5a1/agent/jvm/pom.xml#L180-L194 but it seems that during the release the resolved pom is used. In 1.6.2 everything still looks ok --> https://repo1.maven.org/maven2/org/jolokia/jolokia-jvm/1.6.2/jolokia-jvm-1.6.2.pom
Excluding might help, but then you will not be able to attach dynamically to a running JVM anymore. I also wonder how one would extend this to newer JVMs 9 and 11. @grgrzybek any idea how this could be extended or what caused the publishing of the effective pom.xml and not the original one like in 1.6.2 ?

And it's only resolved in one place...
    <profile>
      <id>default-tools-1.8.jar</id>
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.8</version>
          <scope>system</scope>
          <systemPath>/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>default-tools-1.7.jar</id>
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.7</version>
          <scope>system</scope>
          <systemPath>${java.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile>

really strange...

To be honest I have no idea why resolved (${java.home} property) POM was pushed to Maven Central... I never had such problem before ;) @rhuss if it's resolved in Maven Central it is probably also resolved in your ~/.m2/repository...

Really strange. Unfortunately I can't check the repo anymore as I do a release always from a fresh local repo (-Dmaven.repo.local=/tmp/repo), so that's gone already.

I will try to push a 1.7.1 over the weekend and analyse the issue. However that probably doesn't solve it for Java >=9 as the corresponding sections are missing there. @grgrzybek do you have an idea whether com.sun.tools.attach.VirtualMachine is available for Java 9+ and which dependency would need to be added (it was that tools.jar for Java <= 8).
On the other hand, as I think you already kind of reflective class lookup we might not even need this section anymore, so that we can get rid of this system dependencies in the pom.xml ? wdyt ?

For JDK <= 8 we need <system> scoped dependency - you just have to find why we learned about your java.home directory path ;)

we might not even need this section anymore

And that's true - in JDK9, com.sun.tools.attach.VirtualMachine is part of $JAVA_HOME/jmods/jdk.attach.jmod and I've added special code section to handle custom images, so no worries ;)

@grgrzybek see the PR above which fixes the issue. @maxiko @tadayosi I'm going to create a 1.7.1 over the weekend.

Ah - that's what this option is for ;)

@grgrzybek @tadayosi @maxiko 1.7.1 has just been released and fixes this very issue.

Thank you very much!

authors: grgrzybek maxiko rhuss

repo: rhuss/jolokia


text:
I messed up, rip

Your OS:
App version:

Note:

If you're reporting a bug, please describe how to reproduce it.
If you're suggesting a new feature, please detailed spec of it.

I was putting in my account info and didn't click the README first. so I didn't know I was supposed to put anything in default_page. and I exited out and of course the app didn't work after that, so I tried deleting and redownloading to reset it, but the file I edited is deep down in my computer and I cannot find it. Please help, I currently do not have Mstdn zip file or application folder on my computer right now.

you gonna fucking help me?

You should watch your language before anything else

authors: HorlogeSkynet zutora

repo: rhysd/Mstdn


text:
Can’t get further than ./CarPlay.AppImage

I get the error
elise@raspberrypi:~/Desktop $
• /CarpLay.AppImage
A Javascript error uccurred In the main process
Uncaught Exception:
Error: No native build was found for platform=linux arch=arm runtime=electron abi fault libc=glibe node=18.17.1 electron=27.0.4|
Loaded from: /tmp/.mount_CarplaoLKjo2/resources/app.asar/node modules/usb at load.resolve. Load.path/tmp/.mount_CarplaolKjo2/resources/app.asar/node_modules/node-gyp-b
u1 ld/node-gyp-build.js: 60:9)
at load (/tmp/.mount_CarplaolKj02/resources/app.asar/node_modules/node-gyp-build/node-gyp-buil
d.js: 22:30)
at Object. (/tmp/.mount_CarplaolKjo2/resources/app.asar/node_modules/usb/dist/usb/b
indings.js:8:38
at Module. compile (node:internal/modules/cjs/loader: 1271:14) at Object..js (node:internal/modules/cjs/loader:1326:10)

Hi, can you share what Raspberry OS version you are running (bullseye vs buster) which device type (pi3, 4 or 5) and whether it is 64bit or 32 bit?

I've got a Raspberry pi 2B, Could that be my issue?
32bit
bullseye

Possibly, it may be that the 32 bit version is broken, let me rebuild one tomorrow, you can try some of the previous versions if you want

I tried version 4.0.1 using the method in

And got the same error

I am getting the same error, was running v3.0.0 just fine and upgraded to v4.0.2 and got the same error. So I deleted v4.0.2 and went back to v3.0.0 and am still getting the error when it was previously working.
Running on a 4b with Pi OS.

Are you running on 64 or 32 bit OS?
Also is it bookworm or bullseye?

32 bit/bullseye.

Not sure what changed, but v3.0.0 is working again now.

Thanks for contributing to this really cool App.  I'm looking forward to getting it running on my system.
When I run it I get the following result in terminal:
With React-Carplay version 3:
acca11@raspberrypi:~/Desktop $ ./Carplay.AppImage
/home/bacca11/.config/ReactCarplay
spawning carplay {
dpi: 240,
nightMode: 0,
hand: 0,
boxName: 'nodePlay',
width: 800,
height: 600,
fps: 30
}
directory found
sending dpi
device connected and ready
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[8340:0112/122700.568002:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
[8429:0112/122703.278951:ERROR:shared_image_manager.cc(202)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[8385:0112/122703.592759:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[8340:0112/122703.607304:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
[8385:0112/122703.651546:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
../../buildtools/third_party/libc++/trunk/include/vector:1425: assertion __n < size() failed: vector[] index out of bounds[8340:0112/122706.280048:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=6
14 0.51375 0.8966666666666666
15 0.5125 0.8966666666666666
16 0.5125 0.8966666666666666
[8385:0112/122708.756171:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
14 0.5075 0.8433333333333334
15 0.50625 0.8383333333333334
16 0.50625 0.8383333333333334

I'm running on Raspberry Pi 2B; 32-bit Raspian Bullseye.
I'm running React-Carplay 3.0.1 to get a 32-bit version of the app.
Dongle is CarlinKit CPC200-CCPA which has the USB attributes listed as Bus 001 Device 008: ID 1314:1521 Magic Communication Tec. Auto Box.
On the display I see the React-Carplay white screen with, "Connect iPhone to begin CarPlay" displayed.
I'm not sure what to do next to get CarPlay to display.  My phone connects to the dongle fine, but no Carplay.
I see in the terminal notes above that the device is connected and ready, but there are failures to retrieve data from the device.  Is this potentially due to the newer CPC200-CCPA dongle not being properly registered in the code of the app?
What would you suggest I try next?

32 bit is no longer going to be packaged by default, it is buildable on a 32 bit device using the npm run build:armLinux command


text:
[BUG]The value supplied for parameter 'instanceProfileName' is not valid. The provided instance profile does not exist. Please specify a different instance profile and try again

Describe the bug
I got the following error from the embedded cloudformation stack: "The value supplied for parameter 'instanceProfileName' is not valid. The provided instance profile does not exist. Please specify a different instance profile and try again".
The stack name is the same as the name I assigned to the module. I checked the role created from Terraform and found the role is there. Then I used the aws cli command to check if the instance profile has been created. From the output I can see the instance profile has been created. Please see below for verification:
I see the principle for this role is ""Service": "ec2.amazonaws.com"", it looks like the cloudformation service is not listed in the principle, this may cause the cloudformation cannot find this role or instance profile. (correct me if i am wrong)
{
           "Path": "/",
           "InstanceProfileName": "jason-pipeline-imagebuilder-instance-profile-20220922071727921200000002",
           "InstanceProfileId": "AIPAWF2ABWU5GN24MBMYM",
           "Arn": "arn:aws:iam::xxxxxxxxxxx:instance-profile/jason-pipeline-imagebuilder-instance-profile-20220922071727921200000002",
           "CreateDate": "2022-09-22T07:17:27+00:00",
           "Roles": [
               {
                   "Path": "/",
                   "RoleName": "jason-pipeline-imagebuilder-role-20220922071727266500000001",
                   "RoleId": "AROAWF2ABWU5FOMOKJO32",
                   "Arn": "arn:aws:iam::xxxxxxxx:role/jason-pipeline-imagebuilder-role-20220922071727266500000001",
                   "CreateDate": "2022-09-22T07:17:27+00:00",
                   "AssumeRolePolicyDocument": {
                       "Version": "2012-10-17",
                       "Statement": [
                           {
                               "Sid": "",
                               "Effect": "Allow",

                               "Principal": {
                                   "Service": "ec2.amazonaws.com"
                               },

                               "Action": "sts:AssumeRole"
                           }
                       ]
                   }
               }
           ]
       },

To Reproduce
Steps to reproduce the behavior:
Easy to reproduce by using the code below:
module "imagebuilder-pipeline" {
  source  = "rhythmictech/imagebuilder-pipeline/aws"
  version = "0.5.2"

  # insert the 2 required variables here
  description = "Jason Testing pipeline"
  name        = "jason-pipeline"
 # tags        = local.tags
   tags = {
    created_on = "09212022"
  }
  recipe_arn  = module.test_recipe.recipe_arn
  public      = false

}

Expected behavior
all the stack finishes successfully and the image build pipeline created successfully.
Screenshots
see attachment
Desktop (please complete the following information):
using Terraform newest version

cannot upload copy screen, don't know how to do it.

Instance profiles are basically roles that get assigned to EC2s, so the assume role having ec2.amazonaws.com is correct.
This is confusing, though, everything looks right. Could you try running it again? Maybe IAM just needs a moment to let the instance profile propagate through the system so CloudFormation can find it.


text:
Get array of coordinates when a user taps on an annotation?

Is there a way to get an array of coordinates when a user taps on one of the map view annotations, Cluster or not? I'm trying to figure it out since you don't have it documented.
Thanks again.

figured it out.
`   func mapView(mapView: MKMapView, didSelectAnnotationView view: MKAnnotationView) {
print("annotation selected")
if(view is FBAnnotationClusterView){
        let cluster:FBAnnotationCluster = view.annotation as! FBAnnotationCluster

        let annotations = cluster.annotations

        var array:[[String]] = []

        for annotation in annotations{
            let longitude = String(annotation.coordinate.longitude)
            let latitude = String(annotation.coordinate.latitude)
            array.append([longitude, latitude])

        }

        var string:NSString?

        do {
            let data = try NSJSONSerialization.dataWithJSONObject(array, options: NSJSONWritingOptions())

            string = NSString(data: data, encoding: NSUTF8StringEncoding)

        }catch let error as NSError{
            print(error.description)
        }

        print(string!)

    }

}`

repo: ribl/FBAnnotationClusteringSwift


text:
Normative references section not showing references in GM/T 0009

In the GM/T 0009 document (https://github.com/riboseinc/gmt-0009-2012/), both Chinese and English, is not showing the full references.
Right now the display is broken in Word and HTML output, like this:
2.	规范性引用文件
下列文件对于本文件的应用是必不可少的。 凡是注日期的引用文件，仅注日期的版本适用于本文件。 凡是不注日期的引用文件，其最新版本（包括所有的修改单）适用于本文件。
GM/T 0003,
GM/T 0004,

2.	Normative References
The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.
GM/T 0003,
GM/T 0004,
``

Notice that the given title is missing.

The XML knows that these are ISO-equivalent references; but isodoc does not. Isodoc was assuming that all non-ISO references have formattedref not title, and these had title, so it output nothing. Fixed: if there is title, that will be output instead. (There is a pending ticket to create a new bibliography reference based on ISO 690.)
Moreover, the format for "all parts" was not right, and when I fixed it, it revealed a bug in detection of "all parts" without a year. Fixed.

authors: opoudjis ronaldtse

repo: riboseinc/asciidoctor-gb


text:
Configuration parameter tables formatting is not ideal

The tables are too wide. There should be some word wrapping imposed in each column. Additional, the yaml file with the config information should be reorganized.

This looks much better with the new docs theme so I'm closing this.

repo: rice-solar-physics/pydrad


text:
Add Section 3

There are two template files in this project because there are two xml formats. They are called UseCase.mustache and UseCaseRepository.mustache. They need to be updated so that the fields relevant to Section 3 are populated in the output.
Preferably this will be achieved without editing xml2md.py.

I completed the issue on branch "voelker".
I think most of the file is converted correctly. But the actor description often has controll characters included such as  which can not be recognized in MD.
Should i just remove them or try to replace them with the euqivalent MD controll characters?
Additionally i found no example xml with a link property for references. I just assumed it will be called .

The MD is not the final form that we are going to use. It will be input for Markus' webserver. I think that we should ignore the control characters for now because they may be useful for the website.
I have no idea if the link attribute is called link, it's not a bad guess.
Passing the missing ActorLibrary in is the right thing to do.
Do you want to do sections 4 and 5 in the same branch?

I modified the templates to recognize sections 4,5 and pushed the changes to the branch "voelker".
In case there was no example for an attribute in the provided example xml's i left the respective field filled with "---".
Similar to section 3 there are fields with a lot of control sequences. They sometimes break the formatting of the MD file but since MD is not the final form i ignored them.

Thanks achim. If you still have time you can do sections 6 to 8 too.

I tried to create Section 6 to 8 and ran into some problems.
Section 6:

For UseCaseRepository.mustache i found no examples with Requirements except the elering-1 example. This example however is somehow broken. The dict structure is not as assumed. I think it is related to the fact, that the UseCaseLibrary contains only a single UseCase. I tried to somehow fix this example by adding another empty UseCase but was still not able to create Sections 1-5 with for elering-1.

For UseCase.mustache the only known example with Requirements is the offis-2 example. In this example, the requirements are only listed as an attribute of an InformationObject. It only contains the properties "id" and "requirementCategoryId".
The "id" is already printed in Section 5. So I'm not really sure what to display here

Section 7:

I found the "CommonTermLibrary" attribute only for UseCaseRepository.mustache examples but they are always empty.

Section 8:

I can't find any example for either case.

Can i find some more examples somewhere? Or is there a complete description of the standard somewhere?

Hi achim,
I have fixed the problem with elering-1 example but it's not checked in yet.
Just check in what you have working for now, I will go check over each section.
Thanks for your help with this!
Richard

I pushed my current state. But for section 6,7,8 there are only ideas and nothing tested since i had no working examples.
Is there anything else to do for me right now?
If u push the fix for the elering-1 example i can check section 6 myself.
If you can provide me more examples i can also create section 7,8

I have commited the fix for elering-1 so you can look at section 6.
I don't have any more examples, but you can ask Markus if he does.

I tested section 6 for UseCaseRepository.mustache and the results loook good.
For UseCase.mustache i'm still not sure what to display and how. In the examples the requirements exists only in the InformationObject which is already displayed in section 5.
I found a link in the offis-2 example in which the requirement list template should be defined but i'm not able to access it even when accesing from the RWTH network. https://webstore.iec.ch/publication/22349
Section 7,8

Thank you for doing this work.
The changes in xml2md.py need to be modified slightly. You have changed the indentation of the block under
with open(filename) as xmlfile:
        usecase = None
        xmlobj = xmltodict.parse(xmlfile.read())

if 'UC:UseCaseRepository' in xmlobj:
....
xmlfile.close()

The problem that is introduced by this change is that the xmlobj could still look like valid from a previous iteration of the loop. Or, if the file has failed to read on the first attempt then xmlobj might not have been initialised and we will get an error on reading it. Finally the close() function will not be called the correct number of times. Python has garbage collection but it is good practice to close a file each time you open it.
Please put the indentation back how it was, and write a function for all of the assignments:
usecase[x] = xmlobj['UC:UseCaseRepository'][x]
so that we don't have two identical blocks of code. Finally, remove any extra print lines that you added.
Thanks!
Richard Marston

Thanks! I have merged this work into master now.

authors: achim-voelker richardmarston


text:
Remove unused option in google news rss

Removes unused write_temp option
cc @richardwu

@richardwu ping


text:
Add missing files, update gitignore

Adds the missing files in example/ directory, this was caused by .gitignore (was ignoring the web directory).
Also added missing less files
Sorry didn't catch it earlier

I'm closing this PR. The pub package is currently using bootstrap 3.3.6.

authors: andresaraujo richerlariviere