text:
Error: ENOENT: no such file or directory, lstat '/certs/production-pfx'

wget https://github.com/yongjhih/docker-parse-server/raw/master/docker-compose.yml
export APP_ID=myAppId
export MASTER_KEY=myMasterKey
export USER1=admin
export USER1_PASSWORD=parse
export PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1
docker-compose up -d

But dashboard says "cannot connect to server".  Logs on server shows this:
> docker-parse-server@2.2.7 start /parse
> nodemon --watch /parse/cloud index.js

[nodemon] 1.9.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: /parse/cloud/**/*
[nodemon] starting `node index.js`
fs.js:976
  return binding.lstat(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, lstat '/certs/production-pfx'
    at Error (native)
    at Object.fs.lstatSync (fs.js:976:18)
    at Object.<anonymous> (/parse/index.js:35:9)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:159:18)
[nodemon] app crashed - waiting for file changes before starting...

Hi there.
Did you try to update the docker-compose.yml file?

No ... I literally did only what is shown in my original issue.  I simply did a
wget https://github.com/yongjhih/docker-parse-server/raw/master/docker-compose.yml

and used that.  It that the correct docker-compose to use?

Yeah, it happened to me too, in my case I had an old docker-compose.yml. The new one has volumes configured with preconfigured files. If you erase the docker-compose.yml and download again change anything?
If that doesn't work, maybe there's something preventing the volume specified in the new docker-compose.yml file.

I see in the docker-compose file:
volumes:
   - /parse/cloud
   - "./volumes/certs:/certs"

but, as I indicated in my issue, I did nothing except wget the docker-compose file.  I have not cloned the repo!  So I have no "./volumns/certs".  So at this point I am starting to assume I need to clone the repo before running docker-compose ... right?  This (I think) was not clear in the DockerHub page.

But ... in the repo ( https://github.com/yongjhih/docker-parse-server ), there is not a ./volumes/certs, so I am confused.  I must say I am new to parse itself.  I know next to nothing about it.

Ok, this cert business looks like its for iOS push notifications.  I do not care about this, at least for now.  Any way to bypass this whole issue?  I tried to simply "touch" the six files that are needed, but then:
[nodemon] starting `node index.js`
{ ios:
   [ { pfx: '/certs/production-pfx',
       cert: '/certs/production-pfx-cert.pem',
       key: '/certs/production-pfx-key.pem',
       bundleId: '',
       production: true },
     { pfx: '/certs/dev-pfx',
       cert: '/certs/dev-pfx-cert.pem',
       key: '/certs/dev-pfx-key.pem',
       bundleId: '',
       production: false } ] }
false

undefined

/parse/node_modules/parse-server-push-adapter/lib/ParsePushAdapter.js:80
          throw _iteratorError;
          ^
[object Object]
[nodemon] app crashed - waiting for file changes before starting...

which I assume is because the certs are not valid (they are zero-length files).

You can use docker-compose-production.xml temporary instead before I fixed it.
MASTER_KEY=myMasterKey APP_ID=myAppId docker-compose updocker-compose -f docker-compose-production.yml up

Same problem.
wget https://github.com/yongjhih/docker-parse-server/raw/master/docker-compose-production.yml
docker-compose -f docker-compose-production.yml build
docker-compose -f docker-compose-production.yml up -d

[nodemon] starting `node index.js`
fs.js:976
  return binding.lstat(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, lstat '/certs/production-pfx'
    at Error (native)
    at Object.fs.lstatSync (fs.js:976:18)
    at Object.<anonymous> (/parse/index.js:35:9)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:159:18)
[nodemon] app crashed - waiting for file changes before starting...

which is no suprizing because in docker-compose-production, we still have:
  volumes:
    - /parse/cloud
    - "./volumes/certs:/certs"

and ./volumns still does not exit.
What the heck am I doing wrong?  How come no one else has the same problem?  I feel like I am following the directions on the Getting Started.

Maybe I am not being clear.  I do not have your repo checked out.
$ ls
docker-compose-production.yml	docker-compose.yml		launch.sh
peebles@Andrews-MacBook-Pro:~/parse$
peebles@Andrews-MacBook-Pro:~/parse$
peebles@Andrews-MacBook-Pro:~/parse$
peebles@Andrews-MacBook-Pro:~/parse$ cat launch.sh
eval $(docker-machine env parse-server)
export APP_ID=myAppId
export MASTER_KEY=myMasterKey
export USER1=admin
export USER1_PASSWORD=parse
export PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1
export SERVER_URL=http://localhost:1337/parse
export PARSE_DASHBOARD_SERVER_URL=http://localhost:1337/parse
docker-compose -f docker-compose-production.yml build
docker-compose -f docker-compose-production.yml up -d

docker pull yongjhih/parse-server for going to update latest image

Definitely progress.  The server comes up and I can curl to it.  But that dashboard says "unable to connect to server".  I am running on a Mac, and when I bash into the parse_parse-dashboard_1 container and try
curl -v http://localhost:1337/parse

I get connection refused.  If I try
curl -v http://parse-server:1337/parse

I get {"error":"unauthorized"}, which is much more promising (and what I would have expected given that I am not running docker native under linux).  So I change docker-compose-production.yml to use http://parse-server:1337/parse for SERVER_URL and PARSE_DASHBOARD_SERVER_URL, but still, dashboard says "unable to connect to server". ???

In fact, based into the dashboard container:
# curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json"  -d '{}' http://192.168.99.103:1337/parse
{"result":"Hi"}

Yet ... the dashboard UI "cannot connect to server".

Opps.  Above should have read:
# curl -X POST -H "X-Parse-Application-Id: myAppId" -H "Content-Type: application/json"  -d '{}' http://parse-server:1337/parse/functions/hello
{"result":"Hi"}

(cut-n-paste issue!)
I see in the browser dev tools that dashboard tries to
http://parse-server:1337/parse/serverInfo

but it gets:  (failed) net::ERR_NAME_NOT_RESOLVED
which is mysterious because I can clearly curl that URL on the command line.  Any ideas?

I think it's mac with docker machine issue. SERVER_URL is for your browser to fetch parse-server, not for parse-dashboard container, so you must make sure that your browser can be reachable to parse-server with SERVER_URL

Actually, its PARSE_DASHBOARD_SERVER_URL that appears to be used by the dashboard client side javascript to access the parse server.  Once I set that to http://192.168.99.103:1337/parse, it starts to work!
Thanks for all of your help (so far!).  I should have really caught the last issue myself, but I wasn't thinking strait.

@peebles Not only you tho, I took a week for that lol, see here and here and now I mess up with Docker (beta) for Mac at the moment (without Docker toolbox) with another gotcha ;)

authors: katopz kyuumeitai peebles yongjhih

repo: yongjhih/docker-parse-server


text:
remote-sync launching error

Whenever I restart Atom, I see this message.
And remote-sync is stopped without any reactions.
[Enter steps to reproduce below:]

...
...

Atom Version: 1.3.2
System: Mac OS X 10.11.2
Thrown From: remote-sync package, v3.5.0
Stack Trace
Failed to load the remote-sync package
At Cannot find module 'fs-plus'

Error: Cannot find module 'fs-plus'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/choijuneho/.atom/packages/remote-sync/index.coffee:1:6)
    at Object.<anonymous> (/Users/choijuneho/.atom/packages/remote-sync/index.coffee:1:1)
    at Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:663:34)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:115:28
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:438:14)
    at PackageManager.module.exports.PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:390:14)
    at AtomEnvironment.module.exports.AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:682:21)
    at module.exports (/Applications/Atom.app/Contents/Resources/app.asar/src/initialize-application-window.js:28:10)
    at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:86:5)
    at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:41:9)

Commands

Config
{
  "core": {},
  "remote-sync": {}
}

Installed Packages
# User
project-manager, v2.6.5
remote-sync, v3.5.0

# Dev
No dev packages

Something wrong with your install
You can try reinstall this package.

source: gharchive/issue

authors: ChoiJunHo yongkangchen

repo: yongkangchen/remote-sync

license: mit

license_type: permissive

license_source: bigquery


text:
Depend on morphdom <2.2 due to regressions in later versions

I experience at least one regression with morphdom >= 2.2, where selectedIndex doesn't get set on select elements. This doesn't happen with version 2.1. This change makes sure that choo locks down the version of morphdom. I'm not sure if it's the right way to do it since morphdom is an indirect dependency, so would value any input on how it eventually ought to be done.

Ah, case in point, the test fails. Is it OK to tell dependency-check to ignore morphdom?

@aknuds1 we should patch yo-yo for this to work; could you perhaps PR it there ?

PR-ed yo-yo.

@aknuds1 Could you set a reference (aka link) to that PR?

yo-yo PR @Ryuno-Ki

source: gharchive/pull-request

authors: Ryuno-Ki aknuds1 yoshuawuyts

repo: yoshuawuyts/choo


text:
Is it possible to use deform_conv2d and torch.cuda.amp in your code?

Hello,
Thank you for providing this great code. I am wondering if your code can be easily modified to incorporate the following changes:

Instead of using NVIDIA Apex, which has now been integrated into PyTorch torch.amp, can the code be easily transferred to use torch.cuda.amp for automatic mixed precision?

The PyTorch implementation of Deformable Convolution v2 is available in torchvision.ops.deform_conv2d. How can I modify modulated_deform_conv_func.py to use this instead of the DCN module? Specifically, I see you are using DCN.modulated_deform_conv_forward and DCN.modulated_deform_conv_backward in the forward and backward` functions respectively. What changes do I need to make to use the new implementation?

Hi,
Thanks for your interest in our work. I agree that incorporating Pytorch default operations would make the repo more friendly, at least for environment preparation.

I think it's not so hard to replace NVIDIA Apex with torch.amp, and I guess it doesn't impact the performance so much.
Following NLSPN, we use the implementation of Deformable Convolution v2. However, you can modify here and here to use Pytorch implementation.

Bests,

authors: navid-mahmoudian youmi-zym

repo: youmi-zym/CompletionFormer

license: MIT

license_source: github-api


text:
Existing field value is not returned when fallback page is given

Hi, thank you for this plugin. It seems as if the plugin would work properly when no fallback page is given and the inheritance populates upwards until $site. Nice!
But when I set a fallback page $page->my_field( $site->homePage() ) it directly returns the value not from the current page but from the home page.
When looking at the code it seems to me that there might me a case where the current field value exists, but the inheritance is triggered anyway. Maybe it would help to return the current field value at the very top:
function ($field, $page = null) {

	if( $field->isNotEmpty() ){
		return $field;
	}

	// ...

}

Hi. Thank for your input. I just implemented that in version 1.0.1.
Greetings.

authors: moritzebeling youngcut

repo: youngcut/kirby-inherit


text:
老哥现阶段有考虑前后端分离的版本吗

老哥现阶段有考虑前后端分离的版本吗

那估计要学vue了

authors: KedaArray lifeizhaopaopao

repo: yourkevin/NiterForum


text:
Initial data does not populate in ModelSelect2Multiple when using ModelMultipleChoiceField.to_field_name

First of all, thanks for all of the work that you all have done on this project, it's awesome!
I am unable to get initial data to populate in the ModelSelect2Multiple widget when using ModelMultipleChoiceField.to_field_name. The use case here is that I have a unique, non-pk field Case.case_num that identifies a given case. I am using this value as a slug to identify a Case in URLs, form fields, etc. It works fine without to_field_name set (i.e. with the PK as the field value).
I have forked the repo and created an example app called to_field_name. It has two forms: CaseFormBasic and CaseFormAutocomplete. The only difference is that CaseFormAutocomplete uses the ModelSelect2Multiple widget, and  CaseFormBasic uses the default.
Explicit steps to reproduce:

Clone https://github.com/tchamberlin/django-autocomplete-light.git
Run server
Navigate to /to_field_name/cases-basic/?cases=123. Observe that the field is populated
Navigate to /to_field_name/cases-ac/?cases=123. Observe that the field is not populated

I assume I'm just missing something obvious here, but I can't see anything about this use case in the docs or previous issues.
Here are my changes from current master
Thanks!

Wow, that's an interesting issue! And clean repo to reproduce! I wish people all make such proper issues ... and ping me often until i see them :joy: so that's me saying sorry for the response delay
I suppose there's some place DAL should deal with to_field_name but doesn't to make this use case work out of the box. However, if it's not too late, here's what was going wrong:
    182     """QuerySet support for choices."""
    183
    184     def filter_choices_to_render(self, selected_choices):
    185         """Filter out un-selected choices if choices is a QuerySet."""
    186         import ipdb; ipdb.set_trace()
--> 187         self.choices.queryset = self.choices.queryset.filter(
    188             pk__in=[c for c in selected_choices if c]
    189         )

From:
class QuerySetSelectMixin(WidgetMixin):
    """QuerySet support for choices."""

    def filter_choices_to_render(self, selected_choices):
        """Filter out un-selected choices if choices is a QuerySet."""
        self.choices.queryset = self.choices.queryset.filter(
            pk__in=[c for c in selected_choices if c]
        )

Well, the particularity of an autocomplete widget is that it shouldn't render all possible options (duh!) so we have to add a hook to the select field to ... filter choices that will be rendered. That's done by QuerySetSelectMixin, which enforces using the PK there.
Pull request all acceptable ... if you're still using DAL for that one ^^

authors: jpic tchamberlin

repo: yourlabs/django-autocomplete-light


text:
워크플로 오류 수정

#173 의 오류를 수정했습니다.
GITHUB_RUN_NUMBER 초기화 대응

새로운 워크플로가 추가되면서 $GITHUB_RUN_NUMBER가 1로 돌아감
기존의 버전코드보다 낮게 빌드되지 않도록 일정 숫자를 더해줌

read-properties 관련 오류 수정

read-properties가 복수의 property를 읽을 수 있게 바뀌면서 output을 받는 방식이 변경되어 대응

flavor 관련 오류 수정

dev 버전으로 빌드할 경우 패키지명에 .dev suffix가 붙어 Google Play 배포 불가
내부 테스트 트랙도 productionRelease로 빌드하도록 변경

이번엔 제발... 원큐에... 🙏

repo: yourssu/YDS-Android


text:
アイテムモーダルにDIY素材の表示を追加

DIYアイテムのモーダルに必要素材を表示するPRです。

元データにはレシピ側にしか素材情報はありませんが、
利便性を考えてレシピと作成後アイテムの両方に表示するようにしています。
もし採用いただけるようでしたら、デザインの調整（「素材」項目の背景色など）はお願いしたいです。
残課題：素材のアイコン（アイテム画像）を表示する
→時間がかかりそうだったので、必要でしたら週末対応します。

@FURI-J ありがとうございます！
背景色は現状のままでいいと思います！

authors: FURI-J ysds

repo: ysds/acnh-gachi-complete


text:
nested scaffold generator

like rails generate_nested account/project name description
https://bullettrain.co/docs/super-scaffolding

added gem https://github.com/yshmarov/nested_scaffold
added quick way to add nav links to sidebar for scaffolded resources https://github.com/yshmarov/moneygun/blob/main/lib/generators/scaffold/scaffold_generator.rb (works for simple scaffolds now, not nested scaffolds)

repo: yshmarov/moneygun


text:
allow URL caching for faster resuming download

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
Summary:
There are some occasions where I need to download large videos from YouTube with public wifi, but unable to finish all the downloads before my laptop's battery dies. Currently yt-dlp requires an URL as parameter to run, but I was hoping there is sub-command like resume to get whatever the last URL input and continue from that, so that I don't have to try searching for the same video link or playlist link that I wanted to download previously.
I don't know if there's any work around in this version, if this is already an existing feature, do let me know.
Version:
[debug] Command-line config: ['-vU', 'demo.com']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, err utf-8, pref cp936
[debug] yt-dlp version 2022.02.04 [c1653e9ef]
[debug] Python version 3.9.6 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 4.4-essentials_build-www.gyan.dev (setts), ffprobe 4.4-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)

Use --write-imfo and --load-info

Use --write-info and --load-info

Oh nice, thanks, that did the trick~
But I wish this is could be a default option, maybe similar to how spotDL did it. Which seems could be a nice feature in the future.

authors: J-ZhengLi pukkandan

repo: yt-dlp/yt-dlp

license: Unlicense


text:
Confusion about "vcodec" in format sorting

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I was reading documentation about format sorting but the examples below confused me.
From the doc:
vcodec: Video Codec (av01 > vp9.2 > vp9 > h265 > h264 > vp8 > h263 > theora > other)

 For codec and ext, you can provide two preferred values, the first for video and the second for audio. E.g. +codec:avc:m4a (equivalent to +vcodec:avc,+acodec:m4a) sets the video codec preference to h264 > h265 > vp9 > vp9.2 > av01 > vp8 > h263 > theora and audio codec preference to mp4a > aac > vorbis > opus > mp3 > ac3 > dts.

and also
Note that the default has vcodec:vp9.2; i.e. av1 is not preferred

So the example here, +vcodec:avc results in h264 > h265 > vp9 > vp9.2 > av01 > vp8 > h263 > theora, makes no sense to me.
When using "preferred value", is it added to the front before or after the "reversal" (+)? I.e., if you use +vcodec:avc, it will prefer avc or put it in the end? My testing says the former, so this part matches the example.
But then since the example uses +, it should reverse the rest of the list. So the result of it should be, other > theora > h263 > ... >av01 and then you preppend h264, which should be h264 > other >  theora > ... > av01.
Even if it's not reversed, it still doesn't match the order listed above. I'm aware we de-prioritized av1 by default, but if you manually use vocodec, it should overwrite that. And h265 is at the different place in the list too.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

It reverses the list from the point of preference. Imagine splitting at the preference point and then stitching the lists back together. A:x can be roughly read as "A is x or worse or the worst available" and +A:x as "A is x or better or the best available". It's easier to explain with numbers, so take res as example:
res => 4k > 2k > 1080 > 720 > 480 > 360 > 144
res:720 => 720 > or worse (480 > 360 > 144) > or worst available (1080 > 2k > 4k)
+res:720 => 720 > or better (1080 > 2k > 4k) > or best available (480 > 360 > 144)

So, similarly,
vcodec => av01 > vp9.2 > vp9 > h265 > h264 > vp8 > h263 > theora
vcodec:avc => h264 > or worse (vp8 > h263 > theora) > or worst available (h265 > vp9.2 > vp9 > av1)
+vcodec:avc => h264 > or better (h265 > vp9 > vp9.2 > av01) > or best available (vp8 > h263 > theora)

Hope that clarifies.

Thanks, that explains it.

There are plans to completely rewrite the format selection/sorting docs in (not too near) future. Do you have any suggestions for improvement for this specific part?

After your explanation, I think it actually makes sense, just need to be more clearly stated.
Or maybe add ways to add more than one preferred codec.

authors: fireattack pukkandan


text:
[Cineverse] Unusual characters break download request

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
I discovered an issue in the Cineverse extractor where certain characters in a URL can break the extractor, as seen personally with colons in quite a few of Cineverse's titles.
The command line targeted the URL https://www.cineverse.com/details/DMR00008462/Kimagure-Orange-Road:-I-Want-to-Return-to-That-Day
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--skip-download', 'https://www.cineverse.com/details/DMR00008462/Kimagure-Orange-Road:-I-Want-to-Return-to-That-Day']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.12.30 from yt-dlp/yt-dlp [f10589e34] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg n6.1.1-1-g61b88b4dda-20240120 (setts), ffprobe n6.1.1-1-g61b88b4dda-20240120
[debug] Optional libraries: Cryptodome-3.19.1, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.12.30 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.12.30 from yt-dlp/yt-dlp)
[CineverseDetails] Extracting URL: https://www.cineverse.com/details/DMR00008462/Kimagure-Orange-Road:-I-Want-to-Return-to-That-Day
[CineverseDetails] DMR00008462: Downloading webpage
[Cineverse] Extracting URL: https://www.cineverse.com/watch/DMR00008462/Kimagure Orange Road: I Want to Return to That Day
[Cineverse] DMR00008462: Downloading webpage
ERROR: DMR00008462: An extractor error has occurred. (caused by KeyError('url')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 718, in extract
  File "yt_dlp\extractor\cineverse.py", line 80, in _real_extract
KeyError: 'url'

cc @garret1317

for me it looks like the idetails is {'err_code': 1002, 'err_msg': "You don't have access to this title"}, despite as you say, everything still being there on the site
I don't have a solution at the moment, but as a workaround, downloading the same episode from retrocrush.tv works: https://www.retrocrush.tv/watch/DMR00008462/Kimagure-Orange-Road:-I-Want-to-Return-to-That-Day

If I pass cookies --cookies-from-browser firefox with an account, it starts working
and I get the same error without cookies for https://www.cineverse.com/details/DMR00018764/My-King (randomly selected one that requires login)
so I think the answer is just that they're starting to crack down on accessing stuff without proper auth, and the colons thing was just a coincidence

for me it looks like the idetails is {'err_code': 1002, 'err_msg': "You don't have access to this title"}

yeah, this is true of the watch page (https://www.cineverse.com/watch/DMR00008462/Kimagure Orange Road: I Want to Return to That Day)

it looks like the m3u8 url is available from the details page html?

what i meant by this is that the details page (https://www.cineverse.com/details/DMR00008462/Kimagure-Orange-Road:-I-Want-to-Return-to-That-Day) contains the m3u8 url even when logged out
json fragment:
"media_hls_url":"https://retrocrush-cineverse.cdn-ak.matchpoint.tv/cinedigm/DMR00008462/62c7308cf1039d14ae278756/hls/master.m3u8","media_mp4_url":"https://cdn.matchpoint.tv/lqy9glmsn5z1srgmxycy3ahe0ou7jtn2n427wtsidlb780yb5dy3ur0un7p3dio3pbc3lrtwy6cc4ummdelpjaqzul8upyj363mz95e9toszzdhu7gu3llq3tblom/4300.mp4","media":[{"url":"https://retrocrush-cineverse.cdn-ak.matchpoint.tv/cinedigm/DMR00008462/62c7308cf1039d14ae278756/hls/master.m3u8","url_clean":"https://retrocrush-cineverse.cdn-ak.matchpoint.tv/cinedigm/DMR00008462/62c7308cf1039d14ae278756/hls/master.m3u8","bitrate":"4300","duration":4265636,"type":"video/vnd.apple.mpegURL","lang":null}]

authors: bashonly garret1317 homeofthebadguys


text:
youtube-dl is unable to extract uploader id, can't download yt videos using python

Checklist

[ x] I'm reporting a broken site support issue
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log

[youtube] Vc9Huk0hy4U: Downloading webpage
[youtube] Downloading just video Vc9Huk0hy4U because of --no-playlist
ERROR: Unable to extract uploader id; 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 "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\extractor\common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\Kanyefy-AI-Voice\kanyefy-python-scripts\vocalbeats_finder.py", line 56, in <module>
    download_yt_mp3(yt_links[0])
  File "E:\Kanyefy-AI-Voice\kanyefy-python-scripts\vocalbeats_finder.py", line 48, in download_yt_mp3
    downloader.download([yt_url])
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 2068, in download
    res = self.extract_info(
          ^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 808, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 824, in wrapper
    self.report_error(compat_str(e), e.format_traceback())
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 628, in report_error
    self.trouble(error_message, tb)
  File "C:\Users\Dell\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\youtube_dl\YoutubeDL.py", line 598, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Unable to extract uploader id; 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.

Description

So this is my code-
def download_yt_mp3(yt_url):
    ydl_options = {
        'format': 'bestaudio/best',
        'extractaudio': True,
        'audioformat': 'mp3',
        'outtmpl': '%(title)s.%(ext)s',
        'noplaylist': True,
        'nocheckcertificate': True,
        'postprocessors': [{
            'key': 'FFmpegExtractAudio',
            'preferredcodec': 'mp3',
            'preferredquality': '192',
        }],
    }

    with youtube_dl.YoutubeDL(ydl_options) as downloader:
        downloader.download([yt_url])

    print("Links downloaded!")
    return

  download_yt_mp3(yt_links[0])

and getting that above error, please help

[x] I've searched the bugtracker for similar bug reports including closed ones

Learn how by reading #30839 (again?).

[x] I've read bugs section in FAQ

Apply this.

LISTA DE VERIFICACION:
-He verificado que estoy ejecutando youtube-dl versión 2021.12.17
-He comprobado que todas las URL proporcionadas están vivas y se pueden reproducir en un navegador
REGISTRO DETALLADO:
ERROR: Unable to extract uploader id; 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.
Codigo
def run_assistant():
while True:
command = listen()
if 'reproduce' in command and 'youtube' in command:
video = command.replace('reproduce', '').replace('youtube', '').strip()
print("Buscando video en YouTube:", video)
talk("Buscando video en YouTube: " + video)
try:
# Realizar la búsqueda en YouTube
ydl = youtube_dl.YoutubeDL({'format': 'best'})
with ydl:
result = ydl.extract_info("ytsearch:" + video, download=False)
if 'entries' in result:
url = result['entries'][0]['webpage_url']
# Descargar el video de YouTube
file_path = './videos'
download_video(url, file_path)
# Reproducir el video descargado
print("Reproduciendo video:", video)
talk("Reproduciendo video: " + video)
play_video(file_path)
else:
print("No se encontraron resultados en YouTube para:", video)
talk("No se encontraron resultados en YouTube para: " + video)
except Exception as e:
print("Error al buscar y reproducir el video:", str(e))
talk("Ocurrió un error al buscar y reproducir el video")
elif 'detente' in command or 'para' in command:
print("Deteniendo reproducción")
talk("Deteniendo reproducción")
stop_video()
elif 'salir' in command:
print("Saliendo del asistente")
talk("Hasta luego")
break
if name == 'main':
run_assistant()
porfavor con el error

authors: Avinier Elpsico2 dirkf

repo: ytdl-org/youtube-dl


text:
[WrestleUniverse] bug with download live events

[debug] Command-line config: ['-vU', '--cookies', 'C:\binaries\www.wrestle-universe.com_cookies.txt', '--use-extractors', 'wrestleuniversePPV', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.wrestle-universe.com/ja/lives/gdg2nafNpnPGCvCiSx11Fv']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-106900-g8016219472-20220511 (setts), ffprobe git-2019-10-31-7c872df
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.03.04, Current version: stable@2023.03.04
Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date (stable@2023.03.04)
WARNING: [WrestleUniversePPV] Login with password is not supported for this website. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
[WrestleUniversePPV] Extracting URL: https://www.wrestle-universe.com/ja/lives/gdg2nafNpnPGCvCiSx11Fv
[WrestleUniversePPV] gdg2nafNpnPGCvCiSx11Fv: Downloading metadata JSON
[WrestleUniversePPV] gdg2nafNpnPGCvCiSx11Fv: Downloading watch archive JSON
ERROR: [WrestleUniversePPV] gdg2nafNpnPGCvCiSx11Fv: Failed to download watch archive JSON: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "yt_dlp\extractor\common.py", line 694, in extract
File "yt_dlp\extractor\wrestleuniverse.py", line 212, in _real_extract
File "yt_dlp\extractor\wrestleuniverse.py", line 67, in _call_encrypted_api
File "yt_dlp\extractor\wrestleuniverse.py", line 47, in _call_api
File "yt_dlp\extractor\common.py", line 1048, in download_content
File "yt_dlp\extractor\common.py", line 1012, in download_handle
File "yt_dlp\extractor\common.py", line 882, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 839, in _request_webpage
File "yt_dlp\extractor\common.py", line 821, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 3742, in urlopen
File "urllib\request.py", line 531, in open
File "urllib\request.py", line 640, in http_response
File "urllib\request.py", line 569, in error
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 400: Bad Request
Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

#30839:

If you were actually running yt-dlp, ...


text:
Added the ability to stop downloading of further videos when the first video is not in daterange

Added feature requested in #1502
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

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
[x] Checked the code with flake8

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?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.

This seems very interesting when will this be merged to master? I'm in needed of this now.

Waiting for the merge with the master branch as well. This is a core feature :)

Why is this still not merged? 7 months!
Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever!
Should stop at first dateafter.

Why is this still not merged? 7 months!
Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever!
Should stop at first dateafter.

I think that's because there is a way around it, by using something like this:
--dateafter now-1day (this will check for videos in the last 24h)
--playlist-end 10 (this will stop after checking last 10 videos from the channel)

Why is this still not merged? 7 months!
Have dozens of channel subscriptions, would be nice to download only the lastest videos. But some channels have hundreds of videos, it takes forever!
Should stop at first dateafter.

I think that's because there is a way around it, by using something like this:
--dateafter now-1day (this will check for videos in the last 24h)
--playlist-end 10 (this will stop after checking last 10 videos from the channel)

dateafter blabla will check all videos one by one, so it's not a workaround.
--playlist-end is not a solution for the users who don't want to manually check their big subscription list.

@dstftw ,
Could you tell us about why this is not merged please ?

It is still marked as "do not merge". :(

Please merge this feature!!!!

Really need this feature in the mainline. I thought this would be the intended behaviour when first trying out the --date and variants.

Really need this feature in the mainline. I thought this would be the intended behaviour when first trying out the --date and variants.

Why is this feature still not merged??????

authors: Mave95 ghostyyyyy infostatus linuxtm lwilletts omeringen playma synoxat


text:
Fixes spankwire

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

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
[x] Checked the code with flake8

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] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixes issue #18924

all requested changes have been completed

What about pulling the duration, categories and tags

What about pulling the duration, categories and tags

I have only filled existing attributes, have not added any new attributes.

@dstftw please review and let me know if any more changes are require


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒やされています。'

これから対応します。

2ace8f4　で対応されました。


text:
Border Style for Searchbox

I'd like to have border style for Searchbox like Textbox.

Figma’s search box UI does not have a border on all 4 sides. You can use two <Divider /> components to render a horizontal line above and below the search box

authors: thayashi yuanqing

repo: yuanqing/create-figma-plugin


text:
走Postman可以上图图片

但是我用代码却无法上传
//
//  DemoRequest.m
//  LoveGuQin
//
//  Created by fox on 13/06/2018.
//  Copyright © 2018 Moemoe. All rights reserved.
//
#import "DemoRequest.h"
#import "AFNetWorking.h"
#import "MTUserModel.h"
@implementation DemoRequest {
UIImage *_image;
}

(NSString *)requestUrl {
return @"api/uploadAva";
}
(instancetype)initImage:(UIImage *)image {
if (self = [super init]) {
_image = image;
}
return self;
}

/**
如果要添加请求头,可以实现这个方法
@return nullable = 表示可以为null
*/

(nullable NSDictionary<NSString *, NSString *> *)requestHeaderFieldValueDictionary {
if ([MTUserModel shareUserModel].token.length > 0 ) {
  NSString *token = [NSString stringWithFormat:@"Bearer %@",[MTUserModel shareUserModel].token];
  return @{@"Authorization":token};

}else {
return nil;
}
}

/**
重写请求参数
@return 请求参数
*/
//-(id)requestArgument {
//    //可以在这里检查参数是否有带Token
//    //如果没有这里可以补一个token
//    //    MTLog(@"%@",_dict);
////    NSData *data = UIImageJPEGRepresentation(_image, 0.9);
//    return _di;
//}

(AFConstructingBlock)constructingBodyBlock {
return ^(id formData) {
NSData *data = UIImageJPEGRepresentation(_image, 0.9);
NSString *name = @"file";
NSString *formKey = @"image";
NSString *type = @"image/jpeg";
[formData appendPartWithFileData:data name:formKey fileName:name mimeType:type];
};
}

(YTKRequestMethod)requestMethod {
return YTKRequestMethodPOST;
}
@end

基类
//
//  MTRequest.m
//  LoveGuQin
//
//  Created by fox on 2018/5/30.
//  Copyright © 2018年 Moemoe. All rights reserved.
//
#import "MTRequest.h"
#import "MTUserModel.h"
@interface MTRequest()
@end
@implementation MTRequest {
NSDictionary *_dict;
}

(instancetype)initWithDict:(NSDictionary *)dict {
if (self = [super init]) {
_dict = dict;
//        [self addAccessory:self];
}
return self;
}

(NSString *)baseUrl {
return @"http://test.moemoetech.com";
}

/**
重写请求参数
@return 请求参数
*/
-(id)requestArgument {
//可以在这里检查参数是否有带Token
//如果没有这里可以补一个token
//    MTLog(@"%@",_dict);
return _dict;
}
/**
按照需重写 默认就post
@return post
*/

(YTKRequestMethod)requestMethod {
return YTKRequestMethodPOST;
}

/**
如果要添加请求头,可以实现这个方法
@return nullable = 表示可以为null
*/

(nullable NSDictionary<NSString *, NSString *> *)requestHeaderFieldValueDictionary {
if ([MTUserModel shareUserModel].token.length > 0 ) {
NSString *token = [NSString stringWithFormat:@"Bearer %@",[MTUserModel shareUserModel].token];
  return @{@"Authorization":token};

}else {
return nil;
}
}

@end
YTKNetworkAgent *agent = [YTKNetworkAgent sharedAgent];
[agent setValue:[NSSet setWithObjects:@"application/json", @"text/plain", @"text/javascript", @"text/json",@"text/html",@"text/css", nil] forKeyPath:@"_manager.responseSerializer.acceptableContentTypes"];

YTKNetworkConfig *confing = [YTKNetworkConfig sharedConfig];
confing.baseUrl = @"http://test.moemoetech.com";

我上传图片的时候, 直接走了error信息.
而且error里面任何东西都没有直接为null

Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/html, NSErrorFailingURLKey=http://test.moemoetech.com/api/uploadAva, com.alamofire.serialization.response.error.data=<20>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x1c0231e00> { URL: http://test.moemoetech.com/api/uploadAva } { Status Code: 200, Headers

NSData *data = UIImageJPEGRepresentation(_image, 0.9);
NSString *name = @"file.png";
NSString *formKey = @"file";
NSString *type = @"png/jpeg/jpg";
抱歉,最后查阅了点基本知识,解决了...
丢人现眼了[捂脸]

既然问题已经解决了，可以把问题关闭了 @JianWenXie

所以最后是怎么解决的？

authors: JianWenXie songc1992 webMing

repo: yuantiku/YTKNetwork


text:
关于单张图像测试demo的问题，以及如何获取单张图像的不确定性

您好，在进行单张图像测试时，出现这样的错误，方便告知是什么原因嘛？另外，如果我是想获取单张图像的不确定性呢，是不是需要调整推理时result = model(return_loss=False, rescale=True, **data)为y_head_f_1, y_head_f_2, y_head_cls = model(return_loss=False, rescale=True, return_box=return_box, **data)，之后再基于calculate_uncertainty函数做修改和调整！给你的工作和生活带来不便，还请谅解，期待您的回复！谢谢

你好，你需要的功能已更新，请参见 此处。
这个错误出现的原因是因为我之前为了和论文中变量相对应，曾经修改了读取图像时的一些变量。因此需要像 mmdet/apis/test.py 中一样做出一些改动。关于单张图像的不确定性，是如你所说的那样，且在 mmdet/apis/inference.py 中已经加入该新功能。有问题欢迎提问，不用那么客气 😄

Hi, the function you need has been updated. Please refer to here.
The error occurs because I have modified some variables when reading images in order to make the code correspond to the variables in the paper. Therefore, something need to be modified as in mmdet/apis/test.py. For the uncertainty of a single image, it is as you said. And this new feature has been added in mmdet/apis/inference.py. If you have any questions, just feel free to ask, don’t be so cautious 😄

repo: yuantn/MI-AOD


text:
Preserve / Output CLP Ranges for Query

Hi all,
I'm currently working with queries that output "abstract" terms containing CLP variables with bounded domain. For instance, a direct swipl query returns:
S = [stmt, [[assgn, [[var, [[_15304, []]]], [" := ", []], [rhs, [[digit, [[_15382, []]]]]]]]]],
_15304 in 120..122,
_15382 in 49..51

I did not find any way to retrieve the bounds 120..122 etc. for the contained variables; I only get the instantiation of S. Unfortunately, I need this information for further processing. Do you have any idea for solutions to that problem?
Thanks in advance and
Best Regards,
Dominic

OK, I thought I found a solution by applying a trick suggested by the clpfd documentation: Making the constraints involved in a term explicit by calling copy_term:
stmt(S), term_variables(S, Vs), copy_term(Vs, Vs, Gs).

However, the variables Gs have different handles than those in S, which they don't when I run this directly in the swipl interface. The names of these variables are something like _123, so they don't have the chars property set. Is there any way to fix this issue (i.e., same handles for same variables, or some workaround to check whether two variables w/ different handle actually represent the same variables)?
Thanks again!

OK, kind of got it... Variables w/ different handles can represent the same prolog variable, which you find out by comparing them with standard Python equality ==. So when I translate those to a Prolog string, I have to "unify" (not in the Prolog sense!) the variable names for equal variables. Another trap was that I wanted to do this inside a list comprehension, and there equality checks did not work. Obviously the corresponding information about the handles got lost in between. Now I'm using a loop, and it works.
Is there any better procedure to convert a query result s.t. equal variables have the same handle? This would be quite useful and less confusing for beginners, I guess...

repo: yuce/pyswip


text:
🛑 Hubs is down

In 5d19f3a, Hubs ($HUBS_SITE) was down:

HTTP code: 502
Response time: 2155 ms

Resolved: Hubs is back up in 1ec2d1a.

Resolved: Hubs is back up in 8e993c9.

repo: yukbid/upptime


text:
Add [Nabata+20]

Resampling-aware Weighting Functions for Bidirectional Path Tracing Using Multiple Light Sub-Paths
https://dl.acm.org/doi/abs/10.1145/3338994

project page:
http://web.wakayama-u.ac.jp/~iwasaki/project/risbpt/

repo: yuki-koyama/siggraph-jp-papers


text:
[Hotfix] 要件定義書の改行ミスを修正

目的
要件定義書に改行ミスがあるので、masterからブランチを切り修正しdevelopとmasterにマージする。

#31 #32 にて完了。


text:
命令行查询标签下的资源不生效

What happened:
server 标签相关的接口不生效
# 给 server 打上 a=b 的标签
climc server-set-tag ts1 a=b

# 想 list 出拥有 a=b 标签的 server，但没有生效
climc server-list --tags a=b

# 看代码的实现是在 metadata 里面加上了 user:a 的前缀
# 但使用以下命令会报错
climc server-list --tags 'user:a=b'
Error: Not support tag key with :

What you expected to happen:
标签系统应该对 climc 生效并且易于使用
Anything else we need to know?:
分支: release/2.9.0
/area climc region
/cc @ioito

/close
fix by #859

repo: yunionio/onecloud


text:
Automated cherry pick of #1408: init model

Cherry pick of #1408 on release/2.11.
#1408: init model

/lgtm
/approve

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@8dc6bd1). Click here to learn what that means.
The diff coverage is 3.68%.

@@              Coverage Diff               @@
##             release/2.11   #1966   +/-   ##
==============================================
  Coverage                ?    7.4%
==============================================
  Files                   ?     432
  Lines                   ?   66382
  Branches                ?       0
==============================================
  Hits                    ?    4917
  Misses                  ?   61051
  Partials                ?     414

Flag
Coverage Δ

#aFlag
7.4% <3.68%> (?)

Impacted Files
Coverage Δ

pkg/util/aws/bucket.go
0% <ø> (ø)

pkg/util/ucloud/ufile.go
0% <ø> (ø)

pkg/util/aws/networkinterface.go
0% <0%> (ø)

pkg/util/aws/dbinstance_database.go
0% <0%> (ø)

pkg/compute/models/cloudregions.go
2.15% <0%> (ø)

pkg/compute/models/cloudproviders.go
1.08% <0%> (ø)

pkg/util/aws/dbinstance_snapshot.go
0% <0%> (ø)

pkg/util/aws/aws.go
0% <0%> (ø)

pkg/util/aws/dbinstance.go
0% <0%> (ø)

pkg/util/aws/region.go
0% <0%> (ø)

... and 13 more

Continue to review full report at Codecov.

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

authors: codecov-io ioito swordqiu


text:
Automated cherry pick of #6103: fix: 修复openstack存储同步问题

Cherry pick of #6103 on release/3.1.
#6103: fix: 修复openstack存储同步问题

/lgtm

/lgtm

/lgtm

/approve

authors: ioito swordqiu


text:
update host-deployer base image

这个 PR 实现什么功能/修复什么问题:
update host-deployer base image

是否需要 backport 到之前的 release 分支:
release/3.4
/area util
/cc @yousong @zexi

/lgtm
/approve

/lgtm
/approve

authors: wanyaoqi yousong


text:
Suggestion: rename wasmparser.rs

I guess that the ".rs" in the name is to distinguish it from its sibling wasmparser, however it's uncommon for rust projects to have ".rs" in their repository names.
Also, while "parser" is not incorrect, it's a little confusing because the word "parser" is often associated with text formats, and wasm does have a text format, but this repo is associated with the binary format.
Consequently, I suggest renaming this repo to "wasmdecoder".

I talked with @yurydelendik about this offline and we agreed this isn't a high priority right now. Among other things, the crates.io create is already named "wasmparser".


text:
How do I provide src instead of root?

Hey! Thanks for this builder!
How do I give it a src instead of the root of a crate?

Can you be more specific? The root should point to the root of a crate or a workspace if the crate is in one.

Sure! I don't know if this is necessary here. Usually you need to provide the src attribute in builds, so you can for example ignore files and directories that are not inside the gitignore, but don't need to be included in the process.

Sure! I don't know if this is necessary here. Usually you need to provide the src attribute in builds, so you can for example ignore files and directories that are not inside the gitignore, but don't need to be included in the process.

You should essentially just provide root what you would provide if it was src, think of it like that.

Oh! Alright, thank you!

Ah, I can't provide to root what I would provide to src usually, I get this error:
the string '/nix/store/6h0dzcsk1dc6znwk2k38bzwxxmp9yxrc-source/rust-toolchain.toml' is not allowed to refer to a store path (such as '/nix/store/6h0dzcsk1dc6znwk2k38bzwxxmp9yxrc-source')

But that is not a big deal. I will just provide the path for now.

Where does this error manifest?

authors: a-kenji taaylormoon yusdacra

repo: yusdacra/nix-cargo-integration


text:
Error on mac

Right now after installing with pathogen I get the error Error detected while processing function comfortable_motion#flick: E117: Unknown function: timer_start anyone else see this before?

@illegalnumbers It seems that you are using a version of Vim that doesn't have the timer support.
Could you try with a recent version of Vim or Neovim?

similar  problem on Ubuntu 16.04 with normal vim.
line   34:
E121: Undefined variable: s:timer_id
E116: Invalid arguments for function timer_stop
line   35:
E108: No such variable: "s:timer_id"

Here is the vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Included patches: 1-1689
Extra patches: 8.0.0056
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
-balloon_eval    +float           +mouse_urxvt     -tcl
-browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         +gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
-clientserver    +iconv           +packages        -toolbar
-clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             -perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      +python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            -ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        +mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl     -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm

seems the timer support is enabled.
Is there anything wrong?

problem solved by install vim 8.0.

authors: Yourens illegalnumbers yuttie


text:
Change text in "View more" button on payments page

Should say "View more payments" not "View more squeaks".

https://github.com/yzernik/squeaknode/pull/1249

repo: yzernik/squeaknode


text:
Replace python-bitcoinlib with buidl-python

https://github.com/buidl-bitcoin/buidl-python

Not urgent.


text:
Add pool

http://Mine24-7.com

I will take the shame too -
http://btcz.city/

better join nibirupool.com ;) we're live and working hard

repo: z-classic/z-nomp


text:
Feature - Collector System Fuction

Object to collect events into a list for use in bulk processing part way into a flow. Similar to forEach but the opposite.
Other nice feature would be for dev options to do this on a given action so that a dev can make use of mongodb bulk queries to reduce overheads. Assets come to mind as each asset is collected one at a time?

Completed in 2108a9aec8a432d890ba30ef5d46c90255e54596


text:
ztree 自带的level和后台返回的数据里的level冲突了？

怎么最小化改动处理好呢？ 能否将后台返回的数据放到某一个对象key的下面，然后挂载到当前treenode上面存起来，不至于和ztree自己提供的数据字段冲突？

如果后台实在无法修改的话，那么就在前端获取数据以后， 遍历一下，将 level 改成 _level 保存数据吧。

authors: docikaci zTree


text:
Validation is run twice

This output is confusing because you cannot tell that adonis-apollo ran the validation of the schema twice and only the last error is valid. This happens not only when starting the server for the first time, but also when restarting the server after source files changed.
I don't know adonis well enough to understand why this code seems to be running before the compilation finished. Is this the expected behavior?

This happened because a resolver imported the GraphQL server while it was being constructed. We cannot support that, so either we close this issue or try to detect the case and throw with a meaningful error when it happens.

authors: stropitek targos

repo: zakodium/adonis-apollo


text:
Include Pick Up Points in address object

For some delivery cases, addresses need to be enriched with some data that identifies a Pick Up Point. A location where the receiver can pick up his or her parcel. Think of packstations, and similar services in other countries.
I believe that this is a common enough use case to be included in the API guidelines. My suggestion is to have a separate optional object included in the address object.

I believe that this is a common enough use case to be included in the API guidelines.

If you think in terms of delivery address, then yes. But not every address is for delivering something. We have e.g. billing addresses. But I see the point since eCommerce has a big emphasis on delivering stuff to the customer.

My suggestion is to have a separate optional object included in the address object.

Which is pretty much what we have in one of our internal APIs. It looks like this:
{
   "_links":{
      "delivery-product":{
         "href":"http://example.com/delivery-products/38"
      }
   },
   "destination":{
      "address":{
         "salutation":"Mr",
         "first_name":"John",
         "last_name":"Doe",
         "street":"Mollstr 1",
         "additional":"2nd floor",
         "zip":"10178",
         "city":"Berlin",
         "country_code":"DE"
      },
      "pickup_point_name":"Packstation 123",
      "pickup_point_id":"",
      "pickup_point_member_id":"123456"
   },
   "delivery_method":"parcel"
}

I strongly believe that this shouldn't make its way into our guidelines as the use case is too specific. Also our experience is only based on those carriers that we currently deal with. Comming up with something that is a) useful and b) flexible enough for the future is borderline impossible. Very similar to the whole concept of structured addresses, since they also don't work for everybody (Ireland has no zip codes, USA has apartment numbers, ...).

Think of packstations, and similar services in other countries.

Actually, since you brought it up: Packstation in particular were introduced by DHL in a way that (obviously) wouldn't break the existing way everybody is handling addresses in Germany:

Which means, based on this specification, you don't actually need any separate field. Also detecting/reading should be relatively easy (country_code = DE and street starts with Packstation).

I disagree that pick up points are too specific, but I understand why you wouldn't like to have it in the definition of the Address Fields. But it would make for a nice example of "compatible extend it if necessary for your API concerns". This is mostly where I was aiming at. That and raising the discussion.
I used Packstation as a mere example of a pick up point. And regarding the use of Street and Additional fields to hold the Packstation fields, I do not favor the reuse of fields in that way. Very easy to get it wrong (Is Packstation ID in the Additional, or Street?).

I do not favor the reuse of fields in that way

The DHL which I'd consider the authority in that case defined it like that. It shouldn't be our decision to overrule that, not easily at least.

I feel we are going in the direction of Packstation input, instead of the topic of this issue. I used Packstation as a mere example of a Pick up point, and that was it.
Even my comment on the reuse of fields goes in the direction of having a separate object/field that clearly represents an extra property of an address. My argument for having it in the Guidelines is because I see it as a fairly common type of address (in the eCommerce industry, if nothing else). As you pointed out, it's hard to come up with a one-size-fits-all address and I agree. Hence my suggestion of having it as an example of extending the address object.

Discussed in the API guild meeting:
The problem with pickup points is that every such service is different, and needs different information. Also, several kinds of addresses (like warehouse addresses, business partner addresses) don't need this information at all.
As such, we think it should not be defined in the basic address object given in the guideline – you can always extend the object in your API (as mentioned in the last sentence above the example).

authors: ePaul pc-alves whiskeysierra

repo: zalando/restful-api-guidelines


text:
fix: Falsy value not working with false boolean

According to liquidJS documentation: https://shopify.github.io/liquid/basics/truthy-and-falsy/
false and nil values are considered as falsy. The current implementation didn't account for false boolean value when selecting Falsy in the operator dropdown. This would prevent us from using a false boolean in merge tags.

Will be release this week @sambegin

authors: m-Ryan sambegin

repo: zalify/easy-email


text:
KPW4 播放音乐没有声音

我在我的kpw4 上使用-k -l playlistID参数本地播放音乐，左上角的确出现音轨数目，但是蓝牙耳机中没有声音。我还需要哪些操作吗？mplayer需要另外安装吗？

我将脚本第60行调用的播放器，改为“./playfile.sh”，将sox播放器的资源都复制到了同一文件夹，让sox播放器代替了mplayer，实现了音乐播放。但是出现一个问题就是音乐列表里的所有音乐会同时播放，不是按顺序播放。左上角的音轨数目也是很快从1 播放到最后一个。

首先mplayer需要另外安装
其次的话改成sox不是不行，但请直接运行sox本身，因为这样才会阻塞
https://github.com/zanjie1999/kindle-mplayer-cloudmusic
整理好了，请用它


text:
Image comparison resize the image when the slider is moved

First of all, this extension was perfect when this function was working
Normally the frame should stay the same as you move the slider across but now which ever image has a larger portion of the frame gets resized and zoomed

Also thanks first of all, this extension was perfect when this function was working

Could you send me these pictures? It would be helpful to reproduce the issue

It doesnt matter which pictures are used, any two photos when placed in the image comparison (in the current tab or in the new tab) produce this issue even after deleting and re-installing the extension.

I can't reproduce this issue on my end. It could also be related to your browser. It's best to use the latest version of Chrome.
https://github.com/zanllp/sd-webui-infinite-image-browsing/assets/25872019/b762e5c0-b3a9-437d-83b2-d4749634ec4f

Thanks for looking into it, confirmed it is working fine in Edge. FYI im using Brave browser (chrome based), not sure why it only started happening recently was working fine before
Please close this ticket

I was able to reproduce the issue and determine that it is not browser specific. I have one monitor horizontal at 1920 x 1080 and another vertical same but 1080p x 1920
the horizontal monitor is fine but if you do the same on the vertical monitor is where the issue appears

Is your IIB the latest version?

nice one, works perfectly in the latest version thanks

authors: kirinobestgirl zanllp

repo: zanllp/sd-webui-infinite-image-browsing


text:
[Migrated] Add ASGI support

Originally from: https://github.com/Miserlou/Zappa/issues/2159 by simonw
Zappa currently only supports WSGI.
ASGI is a new standard for Python web programming with deep support for Python 3 asyncio.
If Zappa added support for ASGI, projects written using the following frameworks would all become deployable using Zappa:

Starlette and FastAPI
Sanic
Quart
Datasette

The Mangum project already implements an ASGI handler for Lambda.
The work by @delijati in this fork seems to indicate that modifying Zappa to support ASGI via Mangum could be achieved with a relatively small change: https://github.com/Miserlou/Zappa/compare/master...delijati:master

Please consider also my benchmark of wsgi vs asgi on lambda https://github.com/delijati/benchmark . I have no real time to look into the deeper cause but i assume it has to do with (Lambda cold start or so.)
tldr;
WSGI: Requests/sec:   4850.86
ASGI: Requests/sec:   4452.44

Bumping to see is this will come back to life.

There is no real benefit for using ASGI with AWS Lambda but Zappa adaption could benefit from it.

authors: Corstiaan84 delijati jneves

repo: zappa/Zappa


text:
Handle spaces in x-forwared-for (#1127)

Whitespace in X-Forwarded-For is optional and therefore should handle the case when there is no whitespace
Contribution by:
naresh-uplight
Related Issue:
https://github.com/zappa/Zappa/issues/1127

Coverage decreased (-0.08%) to 73.555% when pulling 31b5de4ca762492d02f3d4829f21849c210e5102 on fix/issue-1127-handle-optional-space-in-xforwardedfor-header into fff5ed8ad2ee071896a94133909adf220a8e47d9 on master.

authors: coveralls monkut


text:
Add shell script to generate certificates + update README.md to use openssl CLI

Modifications added :

Rename app name to ssl-2way to prevent misunderstanding with the official openssl CLI.
Add shell script to generate certificates & private keys.
Update README.md so official openssl CLI can be used as the server or the client to validate the example.

Thank you very much for the PR!

authors: agambier zapstar

repo: zapstar/two-way-ssl-c


text:
Structs inside other structs not highlighted properly

It seems that known types, (structs) are not being highlighted when used as a type in another struct:

In this example, I would expect the String of BString, Vec<Bencode> of BList and BTreeMap<BString, Bencode> of BDict to be highlighted, since they are all known types.
In the Bencode struct, BInt, BString, BList and BDict are also all known types and I would expect them to be highlighted but they're not.

One would expect to have types highlighted that were defined before, but the atom-language-rust plugin is just a syntax highlighter. It does not know anything about defined types. It just highlights stuff based on regular expressions. So it will never be able to distinguish between defined types and just any non-existing type name. However, it might be a good idea to add general type name detection to the highlighting rules so that any type names will be colorized.

So it will never be able to distinguish between defined types and just any non-existing type name.

I don't think I need the highlighter to do the job of validating that the type exists. That seems like a job for the compiler, maybe the linter, etc. If those tools can feed data back into Atom to highlight, underline etc then that would be a solid approach and let the highlighting assume the developer has it right?

authors: MatejLach drusellers zargony

repo: zargony/atom-language-rust


text:
WIP: Allow CuPy

This adds a small change to handle CuPy ndarrays in the compat functions. Admittedly we may come up with a better way to address the underlying concern here, but I wanted to have this here for tracking. Also it would be useful to have somewhere to discuss this.
TODO:

[ ] Unit tests and/or doctests in docstrings
[ ] tox -e py38 passes locally
[ ] tox -e py27 passes locally
[ ] Docstrings and API docs for any new/modified user-facing classes and functions
[ ] Changes documented in docs/release.rst
[ ] tox -e docs passes locally
[ ] AppVeyor and Travis CI passes
[ ] Test coverage to 100% (Coveralls passes)

Yeah the short nature of this change is more a consequence of work Alistair and I did last year (interestingly also in November 🙂). ( https://github.com/zarr-developers/numcodecs/pull/128 )
Thanks for the tips. I'm inclined to agree some small tweaks probably make this easier to integrate.

repo: zarr-developers/numcodecs


text:
Drop Python 3.7

Fixes https://github.com/zarr-developers/numcodecs/issues/381
TODO:

[ ] Unit tests and/or doctests in docstrings
[ ] Tests pass locally
[ ] Docstrings and API docs for any new/modified user-facing classes and functions
[ ] Changes documented in docs/release.rst
[ ] Docs build locally
[ ] GitHub Actions CI passes
[ ] Test coverage to 100% (Codecov passes)

Ha! Missed this one thing 😉 Fixing now

Dropped Python 3.7 from required checks. Also add Python 3.10 & 3.11 to required checks.

Caught some leftover Python 3.7 compatibility code. Removing in PR ( https://github.com/zarr-developers/numcodecs/pull/406 ).


text:
Long blocked URLs cause SQL error

When the blocked URL in a CSP report is longer than the max. allowed length of a varchar (191), it throws the following SQL error:
PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'blocked_uri' at row 1 in /var/www/vhosts/website.tld/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
This error causes the CSP violation not to be stored in the database.
Possible solution: In the "zaxbux_securityheaders_reporting_csp" database table, change the "blocked_uri" column type from varchar to text.

Fixed by 5d3b3368a501d37c16733c189f20b167d22a80b2

authors: guus-frenken zaxbux

repo: zaxbux/wn-securityheaders-plugin


text:
Using Custom Map Image

Is there an example of using a custom image file, such as a fantasy or artistic map? I don't seem to see any way to use this library over a custom image file. Thanks!

I have not found a way to do so with this library either, but achieved it using Leaflet, good luck!

authors: Jawmo KiseloMliako

repo: zcreativelabs/react-simple-maps


text:
"post_url" error

这种问题是什么原因呢

可以检查下是否在爬取comment之前爬取了对应股票的post信息呢

post信息没结束我中断了，直接爬取comment报的错，是中断的原因吗

按理来说不会有影响，要不检查一下你想要爬取的comment的日期范围是否是已经爬取了的post信息的日期范围的子集


text:
switch to the docker compose as a plugin

related ticket: https://github.com/zebrunner/community-edition/issues/587

done. setup CE using embedded minio, test ./zebrunner.sh commands and presence of the video artifacts for web tests

Verified

authors: dhreben vdelendik

repo: zebrunner/minio-storage


text:
Add Grafana templates

These should be some example Grafana templates that show off the exporter.

add some screenshots to the README.

Migrated to https://github.com/instaclustr/cassandra-exporter/issues/8

repo: zegelin/cassandra-exporter


text:
Preferences are opened in notepad.exe on Windows, mangling line endings

On Windows, the settings are opened in notepad.exe which does not support line breaks. You should either use \r\n in your settings or open the settings with wordpad or any other app that supports Linux-style link breaks.

Not a bad idea, but honestly most people won't have changed their default text editor.

@mqudsi I agree. If you've got notepad++, atom, vs code, etc. configured that'd be best, but that'd be a tiny percentage of users. Lauching with wordpad is probably the best option right now.
Longer term, a fancier solution would be to check if the user has configured a text editor (look up reg key, if it's not notepad.exe use it, otherwise use wordpad) but wordpad would probably be fine.

It's too bad that .js files don't have a default text editor association on windows, it'd be much easier if shell.openItem(fullPath) would do a sane thing by default.

@tivac There is a default .js editor on Windows, and it's configurable. It's just that very few people seem to change it, and code editors (like VS Code) don't seem to set it either. The reg setting is HKEY_CLASSES_ROOT\JSFile\Shell\Edit\Command

A good recommendation in the comments on the PR is to use shell.showItemInFolder() to just show the file in the folder (shell.showItemInFolder()) and allow the user to open via context menu.

Why not simply add it as a configuration option in .hyper.js? That would be the easiest way to configure it.

I am in complete agreement with @tmr232 . There should be an editor: property of the config{} object where the executable (with or without path) can be entered.
It wouldn't hurt to first default to an ENV variable first like %EDITOR% but that is much less common on windows.

I think that is a little bit circular, setting editor in a config that is supposed to be opened by editor.
Ultimately, opening the config is a once-a-month thing, no need to over complicate it. shell.showItemInFolder() is a simple and adaptive solution.

I would suggest to either use HKEY_CLASSES_ROOT\JSFile\Shell\Edit\Command to get the default editor for js files, and if not defined, fall back to Wordpad.
But avoid using notepad since loaded file is unusable as @mqudsi pointed out.

Why don't we just add Windows line endings to the default configurations file?
On Tue, Dec 13, 2016 at 10:57 AM -0600, "Nicolas Ramz" notifications@github.com wrote:
I would suggest to either use HKEY_CLASSES_ROOT\JSFile\Shell\Edit\Command to get the default editor for js files, and if not defined, fall back to Wordpad.
But avoid using notepad since loaded file is unusable as @mqudsi pointed out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Problem is even if a default editor for .js is defined (which maybe a lot of devs and so users of Hyper do anyway) Hyper still opens it in Notepad :(
If I open it manually in VCSCode (my default .js editor and which handles lines too) it is just fine.

There are three solutions:

Make .hyper.js use CR+LF line endings on Windows. This is trivial.
Check registry for default js editor, and open .hyper.js with that. Fallback to wordpad (see this comment).
Ship with a default text editor (perhaps a plugin) that is a simple textarea with a save button.

Can't see any reason not to use both (1) and (2).

This directly inspired the development and release of the open source betterpad, a plain-text editor for Windows that doesn't suck. Fork on github.

authors: cthedot jamesrom jonathandelgado jongalloway mackenza mqudsi tivac tmr232 warpdesign

repo: zeit/hyper


text:
Can't render italics

[x] I am on the latest Hyper.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS Sierra 10.12.2

Hyper.app version: 1.1.0

Link of a Gist with the contents of your .hyper.js: https://gist.github.com/awesomeaniruddh/7129bf3d86b515e139ec5b68ec4c57df

The issue is reproducible in vanilla Hyper.app: Yep

Issue

^ The same file in iTerm2:

The italics aren't rendering: HyperTerm renders the comments with a ugly grey background.

I too would like to see this addressed.

Is this still an issue in 2.0?

It is. Currently using the font Menlo which has an italic set.
You can determine if a terminal supports italics by running this command:

echo -e "\e[3m foo \e[23m"

Hyper does not render italics, while Apple's terminal do.

Seems like xterm doesn't support italics, this is a screenshot from your test command in VS Code (that also uses xterm for rendering)

Upstream issue: https://github.com/xtermjs/xterm.js/issues/580

I just opened a pull request to xterm that adds support for italic! https://github.com/xtermjs/xterm.js/pull/1422

Any idea when we'll see this in the release version of Hyper?

Any update regarding this?

@lokesh-krishna Well, it seems like the underlying issue was with xtermjs, not Hyper, and that the issue has a fix in place. The canary branch shows to be using a version of xtermjs with the fix included, but the lastest full release was 2.0.0, which doesn't include it.
If you want this to be applied through your OS's package manager, you'll have to wait for the 2.1.0 release to go live and your OS's repositories to update their version. Otherwise, you can download 2.1.0-canary.2 and it works today :)

I just installed the 2.1.0-canary.2 release and tested italics support by entering echo -e "\e[3m foo \e[23m". The output was the same as earlier and not in italics. Does this require any additional configuration?

@lokesh-krishna were you able to solve the issue? I'm on v2.1 stable but italics are still not working

I'm on 2.1.0-canary.3 now and even this version doesn't support italics.
So no, haven't been able to solve this.

@audunolsen I am experiencing the same issue where italics are present except for vim/neovim

I just came looking to see if Hyper supported italics, it appears v2.1.2 is working for me:

Above with the Input Mono font, below with Operator Mono font

This may be slightly of topic for this issue, but I was able to resolve my own spesific problem; Vim and pretty much everything but Neovim was able to display italics. I wanted italics specifically for Neovim. I ran the following script which I was fortunate enough to stumble across. The script fixes the terminals' escape sequences for italics. This should probably be addressed by xterm, so this workaround can be avoided.

Hyper 3.0.2 (stable) here, italics don't work, neither from echo -e "\e[3m foo \e[23m", or in vim.
I've tested with fonts Menlo and Ubuntu Mono, which do have an italic typeface.

Can you try with a CI build of current canary or maybe compile one yourself?

i am having this issue with 3.02 stable and canary. Tried numerous fonts with italic typefaces including Input Mono, Menlo, and MesloLGS NF.
Running ubuntu on WLS

I'm having this issue with 3.02 (stable) for both WebGL and Canvas renderer, and 3.1.0-canary.1 for Canvas renderer. I'm using Victor Mono font. I'd run echo -e "\e[3mitalic\e[23m" on WSL Ubuntu on Windows 10 (1909).

I'm having this issue with 3.02 (stable) for both WebGL and Canvas renderer, and 3.1.0-canary.1 for Canvas renderer. I'm using Victor Mono font. I'd run echo -e "\e[3mitalic\e[23m" on WSL Ubuntu on Windows 10 (1909).

Same here! did you find a fix?

This may be slightly of topic for this issue, but I was able to resolve my own spesific problem; Vim and pretty much everything but Neovim was able to display italics. I wanted italics specifically for Neovim. I ran the following script which I was fortunate enough to stumble across. The script fixes the terminals' escape sequences for italics. This should probably be addressed by xterm, so this workaround can be avoided.

This solves my problem! Italics are now rendering with vim-gruvbox. Thank you!

authors: Stanzilla albinekb anrddh audunolsen ceoshikhar flybayer jasonoverby jrieko lokesh-krishna lyndsysimon markpanado ntwb oguzbilgic thenerdlawyer yuntan


text:
Window freezes up when closing tab via exit command.

Create a hyper window
Create new tab
Close tab be entering exit

The window freezes up, while the command I enter do work (if I enter enter again to close the first window it exits) the screen does not update. It works again if I hit cmd+shit+r to full reload but not just reload with cmd+r.
Hyper 1.3.1
Electron 1.4.15
darwin x64 16.4.0

What shell are you using? I don't seem to get this.

I'm using Fish shell.

@mrapogee Do you see something in dev-tools ?
Duplicate #1628 ?

Yes, it's a duplicate of #1628 and #1719

authors: MrRio chabou mrapogee


text:
Should we add a raw text method?

See #118

Please do this, if you have time.

@leo can you elaborate on this? .text method will not introduce new dependencies (because raw-body is used for .json already) and will do nice decomposition of .json method. Seems logical to expose such method, if mirco already have such code inside.
Also I think #207 caused by confusing .json method with parsing plain bodies.

Resolved with https://github.com/zeit/micro/pull/208

authors: floatdrop leo timneutkens

repo: zeit/micro


text:
next build doesn't build CSS into output directory.

Bug report
Issue move from https://github.com/zeit/next.js/issues/4845
Describe the bug
When using @zeit/next-css in next.config.js, in dev mode the CSS successfully built into .next/static/style.css but when using next build to build static version of the app will not generate .next/static/style.css in the directory.
To Reproduce
You could reproduce this error in this demo https://github.com/Canner/canner-demo/tree/master/nextjs-ecom-with-firebase
next.config.js is located: https://github.com/Canner/canner-demo/blob/master/nextjs-ecom-with-firebase/functions/next.config.js
Steps to reproduce the behavior, please provide code snippets or a repository:

run npm run dev in dev mode css is generated.

2, run ./node_modules/.bin/next build css is NOT generated in output directory.

Expected behavior
When entering next build in output folder it should also generate CSS files.
System information

OS: [e.g. macOS, Windows]: mac
Browser (if applies) [e.g. chrome, safari]: chrome
Version of Next.js: [e.g. 6.0.2]: 6.1.1

Additional context
Add any other context about the problem here.

I am currently having issues with mini-css-extract-plugin. I installed @zeit/next-css and i tried importing the css as modules as described in the repo, but i keep getting this error:
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleParseError: Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
I tried the canary version as well without success.
My versions are:
"@zeit/next-css": "^1.0.1",
"next": "7.0.2",
"react": "16.6.1",
"react-dom": "16.6.1"
I also tried just including the css with href links in the head in the _app.js file that didn't work as well. Any help will be greatly appreciated.

@Kachkaev thanks. Will try that and if it doesn't work will make a repo
On Thu., 15 Nov. 2018, 8:24 am Alexander Kachkaev <notifications@github.com
wrote:

@gate3 https://github.com/gate3 can you try
@zeit/next-css@1.0.2-canary.2 (released just a few hours ago)? Sharing a
minimal working example would be useful too. Feel free to open a new issue
once you’ve created a small example project and the error still appears
there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next-plugins/issues/226#issuecomment-438943054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbkfYFmK8ne-i3yXYH1fCxxzGesqe3xks5uvRamgaJpZM4Vhkrp
.

repo: zeit/next-plugins


text:
Express server middleware function not handling exceptions

We implemented some custom error handling on our express server with an error handling middleware function.  The idea was to handle exceptions and send error messages and stack traces to a log so we could correct them in a timely fashion.
const express = require('express');
const next = require('next');
const Rollbar = require('rollbar');
const config = require('./env/config');

const rollbar = new Rollbar({
  accessToken: config.SERVER_ERROR_REPORTING_TOKEN,
  handleUncaughtExceptions: true,
  handleUnhandledRejections: true,
  payload: {
    environment: config.APP_ENV,
  },
});
const dev = process.env.MODE !== 'production';
const app = next({ dev });
const handle = app.getRequestHandler();

app.prepare()
.then(() => {
  const server = express();

  server.get('*', (req, res) => handle(req, res));

  server.use(rollbar.errorHandler());

  server.listen(3000, (err) => {
    if (err) throw err;
    console.log('> Ready on http://localhost: 3000');
  });
});

Problem is the error event emissions seem to be getting captured before express gets ahold of them.
Any idea what might be doing this?

See #1852. I want this as well!

Thanks @ethanresnick for the reference.
Closing this one in favor of the reference.

authors: arunoda ethanresnick nealalpert