text:
npm run serve fails

On windows 10, latest node. Running npm run serve, also tried running npm run serve after npm install
{lamb} npm run serve

pokedex@1.0.0 serve C:\xampp\htdocs\pokedex.org
babel-node bin/dev-server.js
events.js:141
hrow er; // Unhandled 'error' event
Error: spawn ../node_modules/.bin/pouchdb-server ENOENT
    at exports._errnoException (util.js:874:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:441:9)
    at process._tickDomainCallback (node.js:396:17)
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Conn
es\\npm\\bin\\npm-cli.js" "run" "serve"
npm ERR! node v4.2.2
npm ERR! npm  v3.4.1
npm ERR! code ELIFECYCLE
npm ERR! pokedex@1.0.0 serve: `babel-node bin/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pokedex@1.0.0 serve script 'babel-node bin/dev-serv
npm ERR! Make sure you have the latest version of node.js and npm installe
npm ERR! If you do, this is most likely a problem with the pokedex package
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     babel-node bin/dev-server.js                                  ```

Did you npm install first?

Yep, my npm list --depth=0 is:
{lamb} npm list --depth=0
pokedex@1.0.0 C:\xampp\htdocs\pokedex.org
├── autoprefixer@6.1.1
├── babel@5.8.34
├── babel-eslint@4.1.6
├── babelify@6.4.0
├── bluebird@2.10.2
├── browserify@11.2.0
├── bundle-collapser@1.2.1
├── clean-css@3.4.8
├── color@0.10.1
├── concat-stream@1.5.1
├── cp@0.2.0
├── debounce@1.0.0
├── envify@3.4.0
├── eslint@1.10.1
├── execall@1.0.0
├── factor-bundle@2.5.0
├── html-minifier@1.0.0
├── html2hscript@1.2.1
├── htmltidy@0.0.6
├── http-server@0.8.5
├── lie@3.0.1
├── localforage@1.3.0
├── lodash@3.10.1
├── memdown@1.1.0
├── memorystream@0.3.1
├── minify-css-stream@0.1.0
├── mkdirp@0.5.1
├── ncp@2.0.0
├── node-fetch@1.3.3
├── node-watch@0.3.4
├── postcss@5.0.12
├── pouch-sync-cli@1.0.0
├── pouchdb@5.1.0
├── pouchdb-find@0.6.0
├── pouchdb-load@1.4.3
├── pouchdb-replication-stream@1.2.5
├── pouchdb-server@1.0.0
├── pouchdb-upsert@1.1.3
├── regenerator@0.8.42
├── rimraf@2.4.4
├── semver@5.1.0
├── serviceworker-cache-polyfill@3.0.0
├── short-revs@1.0.0
├── stream-to-promise@1.0.4
├── stripify@3.0.0
├── through@2.3.8
├── transform-pouch@1.0.2
├── uglify-js@2.6.1
├── uglify-stream@1.1.0
├── uglifyify@3.0.1
├── vdom-as-json@1.0.8
├── vdom-serialized-patch@1.0.2
├── vdom-to-html@2.2.0
├── virtual-dom@2.1.1
├── watchify@3.6.1
└── zpad@0.5.0

So the issue is that ../node_modules/.bin/pouchdb-server is giving ENOENT, meaning the file is not found. On *nix machines the file is there; is the file structure different for Node on Windows? Can you check your .bin directory?

I have checked and it seems to be there, I have attached screenshots. I also tried to run cmder as administrator and it didn't make a difference.

this looks like an issue you might want to file with pouchdb, this kind of error is not so weird to run into in windows land :(

So here is the executable for pouchdb-server, and here is how we declare it as a "bin" executable in the package.json. This is the way you do it, right? Is there something wrong with the shebang? Or maybe on Windows, the "bin"s go in a different directory.
An alternative solution is to add a new npm script that just runs pouchdb-server without specifying .bin.

I'll be switching to Mac for my home setup next couple of weeks so its not a huge deal but I'd be interested if other windows users are experiencing the same issue.
Will play about with it next week.

On your Windows machine, can you try npm install -g pouchdb-server and see if you can then run pouchdb-server? Trying to figure out whether it's an issue with PouchDB Server or with this lib, and I don't have a Windows machine.

Did a npm install -g pouchdb-server, that worked alright, then did a pouchdb-server and also seemed to work okay:
C:\xampp\htdocs\pokedex.org {git}
{lamb} pouchdb-server
[info] pouchdb-server has started on http://127.0.0.1:5984/
[info] navigate to http://127.0.0.1:5984/_utils for the Fauxton UI.

^ My guess is it's an issue with the CWD then; can you update to master and try again?

Get the following:
{lamb} npm run serve

> pokedex@1.0.0 serve C:\xampp\htdocs\pokedex.org
> babel-node bin/dev-server.js

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\xampp\htdocs\pokedex.org\bin/../node_modules/.bin/pouchdb-server ENOENT

Ahhh, I see what it is. It's because Windows uses \ but *nix uses /.

AFAIK windows is / agnostic, it will work either way, I went and manually changed my dev-server.js to point to the path directly and it still failed. I am lost now, it must be a permissions thing.
{lamb} npm run serve

> pokedex@1.0.0 serve C:\xampp\htdocs\pokedex.org
> babel-node bin/dev-server.js

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\xampp\htdocs\pokedex.org\node_modules\.bin\pouchdb-server ENOENT
    at exports._errnoException (util.js:874:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:441:9)
    at process._tickDomainCallback (node.js:396:17)

Okay I got it, node_modules\.bin\ is a folder of symlinks, apparently windows doesn't like symlinks here. (See http://askubuntu.com/questions/269727/npm-errors-when-installing-packages-on-windows-share)
If I reference 'C:\xampp\htdocs\pokedex.org\node_modules\pouchdb-server\bin\pouchdb-server', it works.
Although now I get a bunch of SyntaxErrors to do with async, new, see example of first one I encounter (many more)
C:\xampp\htdocs\pokedex.org {git}
{lamb} npm run serve

> pokedex@1.0.0 serve C:\xampp\htdocs\pokedex.org
> babel-node bin/dev-server.js

C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\transformation\file\inde
x.js:540
      throw err;
      ^

SyntaxError: C:/xampp/htdocs/pokedex.org/bin/dev-server.js: Unexpected token (28:6)
  26 | }
  27 |
> 28 | async function doIt() {
     |       ^
  29 |
  30 |   startPouchServer();
  31 |
    at Parser.pp.raise (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\node
_modules\babylon\lib\parser\location.js:22:13)
    at Parser.pp.unexpected (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core
\node_modules\babylon\lib\parser\util.js:91:8)
    at Parser.pp.semicolon (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\
node_modules\babylon\lib\parser\util.js:78:38)
    at Parser.pp.parseExpressionStatement (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modu
les\babel-core\node_modules\babylon\lib\parser\statement.js:471:8)
    at Parser.pp.parseStatement (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-
core\node_modules\babylon\lib\parser\statement.js:162:17)
    at Parser.pp.parseBlockBody (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-
core\node_modules\babylon\lib\parser\statement.js:527:25)
    at Parser.pp.parseTopLevel (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-c
ore\node_modules\babylon\lib\parser\statement.js:29:8)
    at Parser.parse (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\node_mo
dules\babylon\lib\parser\index.js:96:17)
    at Object.parse (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\node_mo
dules\babylon\lib\index.js:44:50)
    at File.parse (C:\Users\Connor\AppData\Roaming\npm\node_modules\babel-cli\node_modules\babel-core\lib\trans
formation\file\index.js:472:24)

npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Connor\\AppData\\Roaming\\npm\\node_modul
es\\npm\\bin\\npm-cli.js" "run" "serve"
npm ERR! node v4.2.2
npm ERR! npm  v3.5.1
npm ERR! code ELIFECYCLE
npm ERR! pokedex@1.0.0 serve: `babel-node bin/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pokedex@1.0.0 serve script 'babel-node bin/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokedex package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     babel-node bin/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokedex
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokedex
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\xampp\htdocs\pokedex.org\npm-debug.log

I'm running into this a year later. I'm running Windows 10, Node v6.9.1, npm v4.0.1.
npm run serve

> pokedex@7.0.0 serve C:\Sites\pokedex.org
> babel-node bin/dev-server.js

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Sites\pokedex.org\node_modules\pouchdb-server\bin\pouchdb-server ENOENT
    at exports._errnoException (util.js:1026:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\mrausch\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
npm ERR! node v6.9.1
npm ERR! npm  v4.0.1
npm ERR! code ELIFECYCLE
npm ERR! pokedex@7.0.0 serve: `babel-node bin/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pokedex@7.0.0 serve script 'babel-node bin/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokedex package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     babel-node bin/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokedex
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokedex
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Sites\pokedex.org\npm-debug.log

I'd love to jump in and help fix this, but Pokedex has changed a lot since this ticket was filed. Does anyone have a sense of what the current state of this issue is?

This appears to be a Windows issue, which is a bit embarrassing because I work for Microsoft now. 😅  Most likely I just need to test the script on Windows and tweak it to handle Windows filepaths correctly. Alternatively, are you sure that PouchDB Server installed correctly? You may need to run npm install -g windows-build-tools in an elevated PowerShell, see: https://www.npmjs.com/package/windows-build-tools

@nolanlawson I installed the windows-build-tools, deleted the node_modules folder for Pokedex and ran npm install again. Then I ran npm run serve but I got the same result. Just FYI.

Tried running on Win 10 and fails:
npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'serve' ]
2 info using npm@3.7.5
3 info using node@v4.5.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle pokedex@8.0.0~preserve: pokedex@8.0.0
6 silly lifecycle pokedex@8.0.0~preserve: no script for preserve, continuing
7 info lifecycle pokedex@8.0.0~serve: pokedex@8.0.0
8 verbose lifecycle pokedex@8.0.0~serve: unsafe-perm in lifecycle true
9 verbose lifecycle pokedex@8.0.0~serve: PATH: C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;G:\Node Projects\pokedex.org-master\node_modules.bin;D:\Program Files\nodejs;G:\Program Files\NVIDIA\CUDA\bin;G:\Program Files\NVIDIA\CUDA\libnvvp;C:\ProgramData\Oracle\Java\javapath;D:\Program Files (x86)\Eazfuscator.NET;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Windows Live\Shared;D:\Program Files\TortoiseSVN\bin;D:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\VoiceAge\Common;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;d:\Program Files\doxygen\bin;E:\Unity3D\Design Notes\CSharp\Amazon\IAMCli-1.5.0\bin;D:\OpenSSL-Win64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Calibre2;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;d:\Program Files (x86)\Git\cmd;d:\Program Files (x86)\Git\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\Python27;D:\Python27\Scripts;C:\Users\Paul.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;D:\wamp\bin\php\php5.5.12;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Skype\Phone;D:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Git\cmd;D:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;d:\Program Files (x86)\Heroku\bin;C:\Users\Paul\AppData\Local.meteor;d:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Paul\AppData\Local\Pandoc;C:\Users\Paul\AppData\Local\atom\bin;C:\Users\Paul\AppData\Roaming\npm;C:\Users\Paul\AppData\Local\Microsoft\WindowsApps;D:\Users\Paul\AppData\Local\Android\sdk\platform-tools
10 verbose lifecycle pokedex@8.0.0~serve: CWD: G:\Node Projects\pokedex.org-master
11 silly lifecycle pokedex@8.0.0~serve: Args: [ '/d /s /c', 'async-node bin/dev-server.js' ]
12 silly lifecycle pokedex@8.0.0~serve: Returned: code: 1  signal: null
13 info lifecycle pokedex@8.0.0~serve: Failed to exec serve script
14 verbose stack Error: pokedex@8.0.0 serve: async-node bin/dev-server.js
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:239:16)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at EventEmitter.emit (events.js:172:7)
14 verbose stack     at ChildProcess. (C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at ChildProcess.emit (events.js:172:7)
14 verbose stack     at maybeClose (internal/child_process.js:829:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid pokedex@8.0.0
16 verbose cwd G:\Node Projects\pokedex.org-master
17 error Windows_NT 10.0.14393
18 error argv "D:\Program Files\nodejs\node.exe" "C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "serve"
19 error node v4.5.0
20 error npm  v3.7.5
21 error code ELIFECYCLE
22 error pokedex@8.0.0 serve: async-node bin/dev-server.js
22 error Exit status 1
23 error Failed at the pokedex@8.0.0 serve script 'async-node bin/dev-server.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the pokedex package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     async-node bin/dev-server.js
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs pokedex
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls pokedex
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Console log:
G:\Node Projects\pokedex.org-master>npm run serve

pokedex@8.0.0 serve G:\Node Projects\pokedex.org-master
async-node bin/dev-server.js

G:\Node Projects\pokedex.org-master\bin\dev-server.js:91
var allPromises = [...loadPromises, buildPromise, serverPromise];
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module._compile (G:\Node Projects\pokedex.org-master\node_modules\async-to-gen\register.js:37:23)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (G:\Node Projects\pokedex.org-master\node_modules\async-to-gen\register.js:40:5)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at Object. (G:\Node Projects\pokedex.org-master\node_modules\async-to-gen\async-node:98:10)
at Module._compile (module.js:409:26)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\Paul\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "serve"
npm ERR! node v4.5.0
npm ERR! npm  v3.7.5
npm ERR! code ELIFECYCLE
npm ERR! pokedex@8.0.0 serve: async-node bin/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pokedex@8.0.0 serve script 'async-node bin/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokedex package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     async-node bin/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokedex
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokedex
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     G:\Node Projects\pokedex.org-master\npm-debug.log

Also have the same logs, in Win10:

pokedex@9.0.0 serve C:\Users\Marcus\Desktop\ReactProjects\pokedex.org
async-node bin/dev-server.js

events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn C:\Users\Marcus\Desktop\ReactProjects\pokedex.org\node_modules\pouchdb-server\bin\pouchdb-server ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pokedex@9.0.0 serve: async-node bin/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pokedex@9.0.0 serve script 'async-node bin/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokedex package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     async-node bin/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokedex
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokedex
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Marcus\AppData\Roaming\npm-cache_logs\2017-03-26T04_45_41_641Z-debug.log

authors: FourierEnvy awayken connorjburton nolanlawson samccone sonicviz


text:
Problem with scroll

Hello,
I am using Framework7-3D-Panels. With iOS everything seems perfect when using the plugin, but android v6.0.1 seems that the content of the home page goes both above and below
Upload a screenshot

anybody could help me?

@vtellez  did you find the solution ??

No, I just come back to default slide menu effect :(

source: gharchive/issue

authors: devdodiya vtellez

license: mit

license_type: permissive

license_source: bigquery


text:
Zoom problems in photo browser in android

Hi Vlad, I found a bug in the photo browser in Android. when clicking twice and zooming in, I can't click twice to zoom out, it is stuck on the zoomed picture....
thanks for your time,
shaul.

Hi, will check it, thanks

And what is Android version and browser? As i can't replicate this issue

hi vlad, i used android lollipop...
i also exported to crosswalk 14 if it helps...
i checked and saw that it is supposed to work, i dont know why it didnt work for me, maybe its connected to crosswalk?

OK, I checked again and it still doesn't work even when I check the kitchen sink online demo as well. I am working with latest Chrome on Android 5 lollipop.

Still work for me. Try on another device. It could be device-related issue

Closing as duplicate of #671

license: MIT

license_source: github-api


text:
Ios filled buttons vertical-align problem fixed.

Ios buttons have 2px lover line-height from height. I think it's because of borders (1px top, 1px bottom). When we set border:none; to filled buttons its cause vertical align problem.
Using border-color: transparent instead of border: none; solves problem.

Merged, thanks!

source: gharchive/pull-request


text:
[Suggestion]: Adding a list of sites using Swiper

I have searched for a little bit for the same issues, no success.
The library of the real sites using your technology might be a good inspiration for those who want to start using it.

👍

Good

:metal:

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue

authors: chittattoo heavymery nolimits4web sobolevn


text:
Does not start from the first slide when using cube effect…

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 3.4.2.

Platform/Target and Browser Versions: tested on macOS 10.12, Windows 10, Chrome (v.58), Firefox (v.53 MacOS and v.51 WIndows).

What you did
I set up a nested Swiper based on the demo, with six horizontal slides and two additional slides in the nested slider. I set Loop to true and added up/down arrows.
I numbered the slides to make it easier to see the bug.
You can check on JSFiddle
Expected Behaviour
The default behaviour is to start from the first slide to the last. It works fine when using all effects except the cube.
Actual Behaviour
When choosing the cube effect, Swiper starts with the Slide 5 then continues with the Slide 6 and as expected because there are six slides, it goes to the Slide 1, but instead of to go to the next Slide 2, it shows the Slide 4 then 5 and the last Slide 6. So Swiper never shows Slide 2 and 3!
And the most incoherent behaviour is as 'loop' is set to true, Swiper restarts with the Slide 1 then directly jumps to the Slide 6.
It seems the indexing system is completely buggy when the cube effect is enabled.

Yes, I can confirm the bug.  It happens with cube effect and not with slide effect. With cube it happens with more than 4 horizontal elements and nested vertical ones.


text:
Links in Swiper slides

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: v4.2.6

Platform/Target and Browser Versions: Windows 10 PC, Google Chrome

Live Link or JSFiddle/Codepen or website with isssue:
http://cedilabs.de/labs/2/Portfolio_Layout/

What you did
I'm trying to make a website layout with Swiper.js. I want to add Links and buttons in the swiper slides.
I know the parameters     preventClicks: false, & preventClicksPropagation: false
var names = [];
$(".swiper-wrapper .swiper-slide").each(function(i) {
    names.push($(this).data("name"));
});

var swiper = new Swiper('.swiper-container', {
    preventClicks: false,
    preventClicksPropagation: false,
    keyboard: {
        enabled: true,
    },
    pagination: {

        el: '.swiper-pagination',
        clickable: true,
        hoverState: true,
        renderBullet: function (index, className) {
            console.log(index);
            return '
' + (names[index]) + '
';
        },
    },
    history: {
        key: 'slide',
    },
});

                            Links

                            test

Expected Behavior
all links in the swiper slide can be clicked.
Actual Behavior
but the parameters preventClicks  only work in the div swiper-slider. If you have an extra div with a link in it, it can't be pressed or hoverd.
example:
http://cedilabs.de/labs/2/Portfolio_Layout/

This is because your custom pagination overlays slides and links:


text:
Solution: Last slide not getting active when 'slidePerView' set to 'auto'.

I currently experienced the same problems like as many people did and also looked through the issues but no results.
https://github.com/nolimits4web/swiper/issues/2571, https://github.com/nolimits4web/swiper/issues/1257, https://github.com/nolimits4web/swiper/issues/534
Finally, I found out a way to do it, a better way to do it guys!.
By setting the snapGrid settings as same as the slidesGrid settings after the swiper initialized.
And then the swiper will work as what you expected.
const swiper = new Swiper(
    '.awesome-swiper',
    {
        init: false,
        direction: 'horizontal',
        speed: 700,
        slidesPerView: 'auto',
        spaceBetween: 80,
    }
);

swiper.init();
swiper.snapGrid[swiper.snapGrid.length - 1] = swiper.slidesGrid[swiper.slidesGrid.length - 1];

or even completely replacing it by cloning the settings.
// can do this way
swiper.snapGrid = swiper.slidesGrid.slice(0);

// or ES6 way
swiper.snapGrid = [...swiper.slidesGrid];

Update: 2020-11-18
You will need to update the snapGrid when responsive by using built-in Events.

Do you have idea why it's not working with new version of swiper? :/

Would you like to provide a codepen, etc. to have look tgt?

Actually I just found solution - it's because of images inside are not loaded yet and I use width: auto and 'auto' slidesPerView, so I have to wrap everything into imagesLoaded function and it works now ;) Thanks anyway... this is my demo web if you want to look http://swiper.kubiq.sk/history/

Any update on this, I'm dealing with the same issue where the slideChange event doesn't get fired for the last slide when slidePerView is set to auto? I'm don't think my issue is related to images being loaded, another thread mentioned setting centeredSlides: true fixes it, which it does, however, I don't want my slides centered.

I'm facing the same issue.
This "swiper.snapGrid = [...swiper.slidesGrid];" seems to work 90% of the time. Since there are still random cases where it fails and i have no idea why. It seems that the swiper grid calculation are ignoring something, i just can't seem to understand what.
I also notice that changing to landscape and back to portrait forces me to set the snapGrid again, since every time the swiper update method is called the snapGrid is reset.

@pedromg311 I think it need to re assign the value after responsive.

Alternative:
mySwiper.on('reachEnd', function () {
			myAction(this.slides[this.slides.length - 1]);
// or You can add 'swiper-slide-active' class
		})

The solution mentioned here changes the way my slides are arranged, I have a combination of
  centeredSlides: true,
  centeredSlidesBounds: true,

using this method fixes the initial bug but introduces another where my slides are not aligned properly. I only needed the correct index so my workaround was to calculate the index based on the progress and slides.length

For everyone still struggling with this bug, try setting @joelamltc solution on every slide change using slideChange event. And also set updateOnWindowResize: false, on init, as calculation on window resize also overrides snapGrid.

I currently experienced the same problems like as many people did and also looked through the issues but no results.
#2571, #1257, #534
Finally, I found out a way to do it, a better way to do it guys!.
By setting the snapGrid settings as same as the slidesGrid settings after the swiper initialized.
And then the swiper will work as what you expected.
const swiper = new Swiper(
    '.awesome-swiper',
    {
        init: false,
        direction: 'horizontal',
        speed: 700,
        slidesPerView: 'auto',
        spaceBetween: 80,
    }
);

swiper.init();
swiper.snapGrid[swiper.snapGrid.length - 1] = swiper.slidesGrid[swiper.slidesGrid.length - 1];

or even completely replacing it by cloning the settings.
// can do this way
swiper.snapGrid = swiper.slidesGrid.slice(0);

// or ES6 way
swiper.snapGrid = [...swiper.slidesGrid];

this work for me, but with a little adjustment:
I placed this line this.snapGrid = [...this.slidesGrid]; inside of the reachEnd event, like this:
const swiper = new Swiper('.awesome-swiper', {     direction: 'horizontal',     speed: 700,     slidesPerView: 'auto',     spaceBetween: 80,     on: {       reachEnd: function() {         this.snapGrid = [...this.slidesGrid];       },     }  }

on: {
	snapGridLengthChange:function(){
		if( this.snapGrid.length != this.slidesGrid.length ){
			this.snapGrid = this.slidesGrid.slice(0);
		}
	}
}

I currently experienced the same problems like as many people did and also looked through the issues but no results.
#2571, #1257, #534
Finally, I found out a way to do it, a better way to do it guys!.
By setting the snapGrid settings as same as the slidesGrid settings after the swiper initialized.
And then the swiper will work as what you expected.
const swiper = new Swiper(
    '.awesome-swiper',
    {
        init: false,
        direction: 'horizontal',
        speed: 700,
        slidesPerView: 'auto',
        spaceBetween: 80,
    }
);

swiper.init();
swiper.snapGrid[swiper.snapGrid.length - 1] = swiper.slidesGrid[swiper.slidesGrid.length - 1];

or even completely replacing it by cloning the settings.
// can do this way
swiper.snapGrid = swiper.slidesGrid.slice(0);

// or ES6 way
swiper.snapGrid = [...swiper.slidesGrid];

this work for me, but with a little adjustment:
I placed this line this.snapGrid = [...this.slidesGrid]; inside of the reachEnd swiper event, like this:
const swiper = new Swiper('.awesome-swiper', {
    direction: 'horizontal',
    speed: 700,
    slidesPerView: 'auto',
    spaceBetween: 80,
    on: {
      reachEnd: function() {
        this.snapGrid = [...this.slidesGrid];
      },
    }
}

This one didn't work for me. When I go to the last item I have to click twice to reach the last element.
The solution is to click on the next button through javascript when I reach the reachEnd function. It works only with the setTimeout function because of no reason
Here we go:
       on: {
          reachEnd: function() {
            this.snapGrid = [...this.slidesGrid];
            setTimeout(() => {
              document.querySelector('.swiper-button-next').click()
              clearTimeout()
            }, 1);
          },
        }

Anyway to solve this in React? SwiperReact?

Anyway to solve this in React? SwiperReact?

@geekysaurabh001
The equivalent for React users is the following:
`
<Swiper
onSwiper={(swiper) => {
swiper.snapGrid = [...swiper.slidesGrid];
}}
onReachEnd={(swiper) => (swiper.snapGrid = [...swiper.slidesGrid])}

`
Note that slidesGrid may be marked as unexistent in SwiperClass type.

authors: AndreyKnyazkov WilliBautista alexknipfer federicofrasca796 geekysaurabh001 joelamltc kubiqsk mmintel mxcihak otr-tomek pedromg311


text:
Calculate speed based on slide width

This is a (multiple allowed):

[ ] bug

[x] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 5.3.0.

It would be awesome if it was possible to pass a function to the speed option which would calculate speed for each slide separately.
Recently I had to implement a slider of tags with constant, slow transition (like flash news bar at the bottom of a TV screen). So I used speed=4000, autoplay=true, freeMode=true and slidesPerViews="auto", loop=true. And the tags were automatically flowing really nicely. But there was an issue that they would speed up and slow down depending on the width of each tag. So I basically implemented autoplay myself by calling slideNext() after each slide transition and passing it the speed based on current slide width.
It would make my life much easier if I was able to pass a function to the speed parameter and use it to return different values based on current slide width. Not sure if I explain myself correctly.

I assume the function could take the current slide as a parameter.
speed: function(slide) {
    return parseInt(slide.style.width) / 2;
}

In the example above we are sliding to the next slide based on half of the current slide's width.
Is this what you meant @jedlikowski ?
I've made a commit for this in my fork:
https://github.com/LeeConnelly12/swiper/commit/2cb8ca6f4a02c346381a408761f20dc568a5be8d
Would like to know if this change looks ok @nolimits4web ?


text:
Mouse wheel scroll to page when bounds reached

This is a (multiple allowed):

[ ] bug
[x] enhancement
[ ] feature-discussion (RFC)

When scrolling using the mousewheel over a swiper slider with mousewheel enabled,
the page should receive the scroll events when the bounds of slider have been reached (with loop disabled).
E.g. a vertical slider is scrolled upwards using the mousewheel, when the first slide is reached,
there is no further scrolling of slides possible, then the page should get the scroll events.

https://swiperjs.com/api/#mousewheel

releaseOnEdges
boolean
false
Set to true and swiper will release mousewheel event and allow page scrolling when swiper is on edge positions (in the beginning or in the end)


text:
IgnoredEventCancel : intervention: Ignored attempt to cancel a touchmove event with canclable=false

Check that this is really a bug

[X] I confirm

Reproduction link

Bug description
Hi,
We use swiper in our project and we occasionally found the error from error monitoring tools (datadog).
The error is come form /swiper/esm/components/scrollbar/scrollbar.js (see attached files).
We try to reproduced the bug but cant. We used to have the same bug in other parts of our code and we solve this with
if (e.cancelable) {
e.preventDefault();
}
In this case, Is it possible to create pull requests for fixed this one.
Our project used
nextjs (v.12.2)
swiper (v.6.8.4)

Expected Behavior
Should not show error in any browser.
Actual Behavior
Error shown up in some error. (We found from monitoring tool)
Swiper version
6.8.4
Platform/Target and Browser Versions
Android/Chrome Mobile
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

t0ggles-create swiper

@nolimits4web Hi, do you need more information ?

@nolimits4web
Thanks for fixed the code on master branch
I'm not sure is it possible to update on version 6.8.5 ?


text:
🛑 mastodon.macsnet.cz is down

In a0b33ce, mastodon.macsnet.cz (https://mastodon.macsnet.cz/nodeinfo/2.0) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mastodon.macsnet.cz is back up in ef78933.

repo: nolog-it/mastodon-uptime


text:
🛑 praha.social is down

In c45e54a, praha.social (https://praha.social/nodeinfo/2.0) was down:

HTTP code: 0
Response time: 0 ms

Resolved: praha.social is back up in d592361 after 2 hours, 30 minutes.


text:
Bump nomad version

@ladinesa @ndaelman-hu @fekad
Hi, I was playing a bit trying to bump the nomad-lab version and push to Python 3.9.
As you can see, the pipeline still fails in pylint. My question for all of you would be: should we ignore E0611 and E1101 (including it in .pylintrc)? The main reason of why to do this would be that the parsers have to adapt to the tag of nomad-lab, which sometimes is behind of what we are implementing.
Risk is: we might commit mistakes when importing, but I guess this can be reflected with other errors in the pipeline?
Let me know what you think.

@ladinesa @ndaelman-hu @fekad
Hi, I was playing a bit trying to bump the nomad-lab version and push to Python 3.9.
As you can see, the pipeline still fails in pylint. My question for all of you would be: should we ignore E0611 and E1101 (including it in .pylintrc)? The main reason of why to do this would be that the parsers have to adapt to the tag of nomad-lab, which sometimes is behind of what we are implementing.
Risk is: we might commit mistakes when importing, but I guess this can be reflected with other errors in the pipeline?
Let me know what you think.

There is nothing that you can do. Even if you ignore these pylint errors the tests won't go through because of the missing metainfo defs. We should really perform these tests locally before we make any commits. At the rate we are changing nomad I do not see a time when all the tests will pass finally.

I see, you are totally right.
Do you want to keep the branch in any case? I worked on fixing some pylint and putting Python3.9 in the submodule.

repo: nomad-coe/electronic-parsers


text:
Declaration syntax

So I am opening this issue, because this is open-source project and I am trying to make it more "community-driven". So, I am deciding about new syntax for defining a variable.
Currently, we have this syntax=
# We define something here
def something = 8

def somethingElse : String = "Hello"

# Now we will change its value
something = 9

And I want to remove the def and add new := keyword:
# We define something here
something := 8

# We do not need to use := here, because we used the `:` when specifying the type
somethingElse : String = "Hello"

# Now we will change its value
something = 9

So?

What if at some point in the future you want to add immutable variables, you define a new operator?

also what if you want to define but not assign? the classic example would be:
def something;
if(condition)
  something = "test"

def something isnt valid syntax anyway. You need to atleast use def something : String. But yes, I also though about that. If you will want to define something and not assign, you will use default value for your type, so false for booleans, 0 for numbers and null for rest.

:= FTW !

I like it! 'def' is used for functions, and 'var' for variables, and then this suggestion is better.
when inside a function, you can assign directly.
That's very nice.
for your information, there is another language that does that:
http://cobra-language.com/
if you want to check pitfalls of your idea
doesn't seem to have a problem.

What about returning or assigning multiple values?
a,b := 3,4
or
a,b := return2()
or
a,b,rest = [1,2,3,4,5] # a = 1, b = 2, c = [3,4,5]
when you add parsing to this feature, think if you want to support multiple assignment.

:+1:

Will removing the def mean that you can declare the class member inside your ctor (a la ruby and python)? Because I don't like how you currently have to repeat yourself like in C-like languages currently.

Would it be bad to treat the first assignment as a declaration as well and default to Dynamic for the type (or simply leave it out and let haxe sort out if it's allowable or not)

First assignment as declaration can be very hard with current compiler state. And what do you mean declaring the class member inside "actor"?

ctor = consctuctor. Like I like how in ruby and python, you can just do this:
class Blah:

    # I don't need to declare count here

    def __init__(self):
        self.count = 0

It helps prevent repeating yourself to only have to declare it one place or another. Also reduces the likelihood of having an uninitialized member variable.

that's like Lua. There is a problem with this approach: what if you have a spelling mistake? the compiler will allow this.
a static language is much safer in this regard.
my opinion is that it doesn't fit raxe, but that's only one opinion among many.

I am going to use the Ruby-Python way of declaring variables, so closing this.

authors: cleverlycoding deathbeam fponticelli jakubivanic kobi2187 osakared

repo: nondev/raxe


text:
同意加群邀请事件报错

addbot = on_request()

@addbot.handle()
async def _(bot: Bot, event: GroupRequestEvent):
    if event.sub_type == 'invite':
        await event.approve(bot)

功能就是这样的，会有一个报错
02-05 15:13:25 [INFO] nonebot | Matcher(type='request') running complete
02-05 15:13:25 [ERROR] nonebot | Running Matcher(type='request') failed.
Traceback (most recent call last):
  File "bot.py", line 37, in <module>
    nonebot.run(app="__mp_main__:app")
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/__init__.py", line 273, in run
    get_driver().run(*args, **kwargs)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/drivers/fastapi.py", line 172, in run
    uvicorn.run(
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/uvicorn/main.py", line 569, in run
    server.run()
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 142, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 188, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 727, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 702, in simple_run
    await handler(
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/dependencies/__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "/home/ubuntu/QQbot/YomiNonebot/src/plugins/addbot/__init__.py", line 36, in _
    await event.approve(bot)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/adapters/onebot/v11/event.py", line 520, in approve
    return await bot.set_group_add_request(
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/internal/adapter/bot.py", line 120, in call_api
    raise exception
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/internal/adapter/bot.py", line 98, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/adapters/onebot/v11/adapter.py", line 132, in _call_api
    return handle_api_result(
  File "/home/ubuntu/.cache/pypoetry/virtualenvs/yomi-RV53Z6Ru-py3.8/lib/python3.8/site-packages/nonebot/adapters/onebot/v11/utils.py", line 58, in handle_api_result
    raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed

可能是因为这个没有返回响应内容

ActionFailed请看gocq报错

gocq好像没有报错，确实有一个警告，可能是我的写法有问题。
addbot = on_request()

@addbot.handle()
async def _(bot: Bot, event: FriendRequestEvent):
    info = await bot.get_stranger_info(user_id=event.user_id, no_cache=True)
    if info:
        if info.get('level', 0) >= 64 or info.get('login_days', 0) > 30:
            await event.approve(bot)
        else:
            await event.reject(bot)

@addbot.handle()
async def _(bot: Bot, event: GroupRequestEvent):
    if event.sub_type == 'invite':
        await event.approve(bot)

完整的功能实现是这样的。
以下是gocq当时的日志
[2023-02-05 15:13:03] [INFO]: 收到来自 2887(00000000) 的好友请求: 我是朽木。
[2023-02-05 15:13:04] [INFO]: 添加了新好友: 朽木。(00000000)
[2023-02-05 15:13:25] [INFO]: 收到来自群 原神德云社(00000000) 内用户 玺之郎(00000000) 的加群邀请.
[2023-02-05 15:13:25] [WARNING]: 处理群系统消息失败: 无法操作已处理的消息.
[2023-02-05 15:13:25] [INFO]: Bot进入了群 原神德云社(00000000).

50人群以下自动同意邀请，所以你的bot已经自动入群了，才会有这个warning，无法操作已经入群。

明白了!

authors: Taokyla yanyongyu

repo: nonebot/adapter-onebot


text:
Complete basic user authentication with sessions

This seems to be working with limited testing using postman (its an app
that allows me to make url/api calls)
If a user is logged in then you will have access to this user
throughout the controllers through req.session.user so you can make
useful calls such as req.session.user.name throughout the app

Issues:

This will break the production app
Code quality isn't the best perhaps someone could refactor this code @thaingu @alexarnold94

repo: noobling/anglicare-sprint-week


text:
check file diff

🦊

DOOONNEEE

repo: noppefoxwolf/AppIconGen


text:
[issue-61] Use OSHI library for getting system information

This fixes #61

lgtm +1

authors: alexott phact

repo: nosqlbench/nosqlbench


text:
Javadoc generation failed. Generated Javadoc options

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':library:androidJavadocs'.

Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/malin/github_demo/Android-Universal-Image-Loader/library/build/tmp/androidJavadocs/javadoc.options'

Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

remove all html formatted tags within your method documentations in some classes of your project.
referring to this answer: http://stackoverflow.com/questions/26552279/gradle-build-fails-with-javadoc-nullpointerexception

you maybe add  gradle:
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}

@Tamicer  add tasks.withType....放在gradle的那个位置  是root gradle  还是library 的gradle

@zxp0505 放在library 中gradle

nice,thanks@Tamicer

@Tamicer where dose the code come from?

@yzlee  I forgot

@Tamicer -_-

@Tamicer  niubility  [比心]

@Tamicer  I want to know what is the principle of ?

您可以使用库将代码添加到gradle中：
tasks.withType(Javadoc) { options.addStringOption('Xdoclint:none', '-quiet') options.addStringOption('encoding', 'UTF-8') options.addStringOption('charSet', 'UTF-8') }

非常感谢您的回答 Build successful 这对我非常有用

authors: Aimen7 Gavin-hyh NeglectedByBoss Tamicer WangcWj androidmalin trywarrior yangyiRunning yzlee zxp0505


text:
Implementing list command

Implementing list command according to the spec
Intended Outcome
notation list command list signatures as defined in the spec
Additional context

I will work on this task.

authors: JeyJeyGao priteshbandi

repo: notaryproject/notation


text:
fix: update sha1 to sha256 and other chores

Fixes: https://github.com/notaryproject/notation/issues/611 and https://github.com/notaryproject/notation/issues/635

Codecov Report

Merging #665 (691ab8a) into main (5516199) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #665      +/-   ##
==========================================
- Coverage   33.33%   33.30%   -0.04%
==========================================
  Files          32       32
  Lines        2019     2021       +2
==========================================
  Hits          673      673
- Misses       1324     1326       +2
  Partials       22       22

Impacted Files
Coverage Δ

cmd/notation/inspect.go
14.21% <0.00%> (-0.15%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

By searching Sha1 in Notation CLI, I found we are also showing Sha1 in the notation cert show command: https://github.com/notaryproject/notation/blob/5516199cd2d83349468682379c1e1f4ccd24414a/cmd/notation/internal/truststore/truststore.go#L124
Should we also change it to Sha2 in this PR?

LGTM

authors: Two-Hearts codecov-commenter priteshbandi rgnote


text:
Update Hello World

Updates Hello World to use tag to distinguish when to draw boxes.
I noticed when drawing 0 boxes that there is still something being rendered:

The tag check prevents drawing this.

Using string-tags to filter out "non-drawables" is probably not good style. The body you observe being drawn at the center is the world.NullBody.
So if(body == planeBody || body == world.NullBody) continue;  should fix it (untested).

Using string-tags to filter out "non-drawables" is probably not good style. The body you observe being drawn at the center is the world.NullBody.
So if(body == planeBody || body == world.NullBody) continue;  should fix it (untested).

Yup - this works great. I've made the change.


text:
Notion Enhancer working, app not relaunching though

FILL OUT THIS TEMPLATE, REMOVING/REPLACING ALL NON-BOLD TEXT WITH YOUR OWN INFORMATION.
BE AS CLEAR AND CONCISE AS POSSIBLE.
describe the bug
what is the bug - what happens?
I followed every step when downloading the notion-enhancer, and when I first downloaded it and updated the coding the notion app opened up just fine. Once I started adding some enhancements to the app though, and hit relaunch, the notion app in itself won't open anymore no matter how many times I relaunch it. So at first it worked after all the extra coding, but once enhancements I added from the notion-enhancement page, it refuses to open.
expected behaviour
why is this a bug - what should be happening?
Once I relaunch the app, and apply all the enhancements, the notion app should open up but it's not.
screenshots
if applicable, add screenshots of your problem.
https://www.notion.so/hack-notion-enhancer-v0-10-2-to-work-with-notion-s-v2-0-13-2-0-16-app-a4ab1267e67b4126b6448641ca4a0041
I used these instructions that were given by the dev, and it initially worked but now the app won't open after apply enhancements.
platform
what OS are you using? e.g. windows 7, windows 10, WSL, ubuntu, arch linux, macOS
I am using Mac OS

yeah those instructions don't work anymore. the only way to use a working version of the enhancer until v0.11.0 releases is to use notion-repackaged: https://github.com/notion-enhancer/notion-repackaged/releases/tag/v2.0.16-5
the instructions do say that.

authors: Itzabee dragonwocky

repo: notion-enhancer/desktop


text:
Gleba factory floor(and potentially others) bug out when using rso

https://mods.factorio.com/mod/rso-mod mod in question
When rso is active and a factory floor is generated a default grass biome gets created alongside it that the player can walk over and build in BUT you loose the greenhouse ability and other such things
If floor is generated before rso is enabled then they seem to work fine.

Please run this command. It may take up to 15 minutes.
/c for _, surface in pairs(game.surfaces) do if surface.name:find("%-factory%-floor$") or surface.name:find("^factory%-floor%-%d+$") then surface.freeze_daytime = true if remote.interfaces["RSO"] then pcall(remote.call, "RSO", "ignoreSurface", surface.name) end local mgs = surface.map_gen_settings mgs.width = 2 mgs.height = 2 surface.map_gen_settings = mgs local grass_1 = surface.find_tiles_filtered {name = "grass-1"} local new_tiles = {} for _, tile in pairs(grass_1) do table.insert(new_tiles, {name = "out-of-map", position = tile.position}) end surface.set_tiles(new_tiles) end end
If you prefer to keep achievements, run the command in via this mod (you have to remove /c at the start)
https://mods.factorio.com/mod/some-luaconsole?from=search

authors: notnotmelon tigartar


text:
Allow redirects cross protocols

Problem
When there is a redirect between HTTP and HTTPS the request fails
Solution

Enable redirects to cross protocols
Update project dependencies, ExoPlayer to v2.9.6 https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md#296
Let the clients pass their own user-agent as currently, it had a dummy hardcoded value

Test(s) added
No tests added
Tested video playback through the demo application
Screenshots
No UI changes
Paired with
Nobody

closing, I"ll allow the client to decide on this

repo: novoda/no-player


text:
Don't scaffold PostGIS's spatial_ref_sys

The PostGIS extension creates table spatial_ref_sys which shouldn't be scaffolded. Note that there are also several views that will need to be ignored once view scaffolding is supported by EF Core.

Scaffold if the table is explicitly mentioned in --tables as suggested by @bricelam.

license: PostgreSQL


text:
Fix hardlink extraction with strip.

Ensure the code updates linkpath if the hardlink target will have its path
stripped.
Without this fix then the hardlink isn't created when this scenario (a hardlink to a stripped path that is no longer accurate) is encountered.

(The tar was updated from:
hardlink-1
hardlink-2
symlink

to
dir/
dir/hardlink-1
dir/hardlink-2
dir/symlink
hardlink-1
hardlink-2
symlink

to make the test simple to write.)

(Sorry for the noise - couldn't figure out how the fixtures worked.)
Still working on getting 100% test coverage.

Sorry for all the noise, forgot how the test suite worked.
Happy to rebase (all.....) those commits to clean them up, just let me know :-)

Thanks!  Squashed, landed, and published on v4.4.8.

authors: bruce-one isaacs

repo: npm/node-tar

license: isc


text:
Add support multiple values for githubOrg

This PR adds the ability to support a multiple organizations in npm Enterprise (see #38).
The implementation supports the use of string CSV as well as an array, in case this is managed by an upper layer in the future (see parsing tests here).

BTW, the build seems to be failing because the NPM_TOKEN environment variable is not being set in Travis (see here).

@nanovazquez thanks for the contribution! working on QAing this right now.

🎉 🎉

authors: bcoe nanovazquez

repo: npm/npme-auth-github


text:
Show rustfmt coverage

It would be nice to see where we format and where we skip formatting. I think we can do this fairly easily when we format a missing span, rather than just pasting out the snippet for the span, we replace all non-whitespace chars with Xs or emoji sad faces or something.
As a bonus, it would be great if we could (optionally) report how much of a format was skips. So after a test or run on a module, we could report - "75% of this module was rewritten". The goal would be for tests to assert we always hit 100%.

And if we could distinguish between skipping due to [#rustfmt_skip] and skipping due to us not being able to format, that would be awesome.

I'll take this :)

@Wafflespeanut great! Let me know if you want any pointers for things to at, or if you get stuck with anything

@nrc At first I'd thought this wouldn't need AST, because my idea was to compare the contents of the original file with the formatted output we obtain here, but that won't work (because we can't know whether stuff has been moved to new lines), and it's also inefficient :/
So, we need to add something to track the changes made to each span of line. Can you give me a head start, like where exactly do I begin? :)

@Wafflespeanut So, the way rustfmt works is that it looks at each AST item and tries to rewrite it. Anything since the end of the last ast item and the start of the current would be missed, so we just paste that into the new output verbatim without reformatting. If we can't rewrite an AST item then we just forget about it - since we don't update our position in the file, then when we get the next item the skipped item will be included in the missed code which is copied verbatim.
What I want to know with this work is, looking at the output from rustfmt, how much is rewritten and how much was copied verbatim because it was missed?
In particular, I don't care if the original and the formatted version are identical, as long as rustfmt has actually processed the code.
The strategy I had in mind for tackling this was that when we paste the missed code into the output we do a simple text substitution, replacing any non-whitespace character with X(or whatever). E.g,
ast::ItemExternCrate(ref s) => {
    let location = match *s {
        Some(s) => s.to_string(),
        None => item.ident.to_string(),
    };
}

would become
XXXXXXXXXXXXXXXXXXXXXXXX XX XX X
    XXX XXXXXXXX X XXXXX XX X
        XXXXXXX XX XXXXXXXXXXXXXX
        XXXX XX XXXXXXXXXXXXXXXXXXXXXXX
    XX
X

although, actually, it might be better to replace spaces too, but preserve newlines:
XXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXX
X

To see where and how we take care of missed code, take a look at https://github.com/nrc/rustfmt/blob/master/src/missed_spans.rs.
You'll want to add a new WriteMode - DisplayCoverage or something, see https://github.com/nrc/rustfmt/blob/master/src/lib.rs#L167-L179 for the enum.
Outputting the coverage like this would be a good start, once that works, lets land a PR and then do percentages, etc. as a follow-up.

@nrc It seems to me that the missed_spans only takes care of the non-AST stuff like comments, and the formatting is done along the way line by line (if I get it right). Even then, I'm confused, because the methods take a mutable reference and update the StringBuffer directly. If I do as you've said, wouldn't all the formatted output be actually X which would destroy rustfmt?

I think if you modify write_snippet so that it checks the display mode, and if we're in the coverage mode, then it processes snippet (doing the find and replace), then passes the modified snippet to push_str and process_last_snippet, then we will get the desired effect - i.e., only modifying the output data.
I'm not sure about code that has been missed, I think that is handled here too. But I would start here and see what happens - if it's only the comments, then at least that works which proves the concept and we can work on the rest.

authors: Wafflespeanut nrc

repo: nrc/rustfmt


text:
SSL error

I am trying to run this service on NixOS but I am facing the following error with both the lastest tagged and master commit.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "https://api.cloudflare.com/client/v4/zones", source: hyper::Error(Connect, Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })) }, X509VerifyResult { code: 0, error: "ok" })) }', src/main.rs:59:10
stack backtrace:
   0:     0x560ea9ef40fc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf2ea00d5f3b53d9f
   1:     0x560ea9f230ae - core::fmt::write::ha076a7e65c6b1874
   2:     0x560ea9f034a1 - std::io::Write::write_fmt::h9630bb3b0fe886f5
   3:     0x560ea9f0b575 - std::panicking::default_hook::{{closure}}::h64163197f96398c1
   4:     0x560ea9f0b1d2 - std::panicking::default_hook::h92625161492e6b48
   5:     0x560ea9f0ba91 - std::panicking::rust_panic_with_hook::hfdd7d6bb6788c6c2
   6:     0x560ea9ef4437 - std::panicking::begin_panic_handler::{{closure}}::he81a60a7ef84ad4a
   7:     0x560ea9ef4214 - std::sys_common::backtrace::__rust_end_short_backtrace::h62801bf9780239e6
   8:     0x560ea9f0b742 - rust_begin_unwind
   9:     0x560ea9cd3733 - core::panicking::panic_fmt::hfd221b9f37504b4a
  10:     0x560ea9cd3873 - core::result::unwrap_failed::h7a3045feac200afb
  11:     0x560ea9cf052b - cfdyndns::cloudflare_api::h2c8c2ef748c7b9e7
  12:     0x560ea9cf0cfb - cfdyndns::main::h890b4ef85ecd2099
  13:     0x560ea9cdbfe3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7b2f491300ee378a
  14:     0x560ea9ceb8a9 - std::rt::lang_start::{{closure}}::hec8c72fe99e36f09
  15:     0x560ea9efc345 - std::rt::lang_start_internal::h09bcc9fffd987f14
  16:     0x560ea9cf2112 - main
  17:     0x7fa9f902924e - __libc_start_call_main
  18:     0x7fa9f9029309 - __libc_start_main_alias_1
  19:     0x560ea9cd3925 - _start
  20:                0x0 - <unknown>

Seems like a SSL error, but not sure since I don't really master rust

Can you try again with the latest release tag?

closing for now as this should be fixed in the latest release

authors: Tchekda nrdxp

repo: nrdxp/cfdyndns


text:
nRF52840 Temp needs to be divided by 4?

Hi,
I've been toying around with the hal for the nRF52840 and reading the internal die temperature sensor. Something like this:
    let peripherals = Peripherals::take().unwrap();

    let mut die_temp_sensor = Temp::new(peripherals.TEMP);

    let die_temp_c = die_temp_sensor.measure().to_bits() / 4;
    defmt::info!("die temp is {:i32}°C", die_temp_c);

Now after much digging I found out that while (as the rust docs say)  the temp is in celsius, it actually needs to be divided by 4 (I think this is because it's 0.25c steps? https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Ftemp.html&cp=3_0_0_5_27)
So I wonder if we should either

divide it by 4 in the measure() method (or the one it calls) directly
or at least add something to the rustdoc indicating it needs to be divided by 4?

In any case, I'm happy to work on a PR whatever gets decided by the authors. Thanks for the project, it's great and fun to work with!

That's why measure returns a fixed-point number with 2 bits past the point, but you're converting it to its raw bits by calling .to_bits() on it.

@jonas-schievink can you help me understand how that relates to the multiple of 4? Is there a different way to get the correct celsius value into an integer?

The fixed-point type already does the division by 4. You undid it by calling .to_bits(). On master we've switched to the fixed crate for those, you can see the API here: https://docs.rs/fixed/1.1.0/fixed/struct.FixedI32.html

@jonas-schievink thanks for the reply, one thing I still couldn't figure out: if .to_bits() is undoing it, how can I turn the fixed i32 into the primitive "correct" i32 equivalent? For example I'm trying to print the number with defmt but I couldn't get it to work so I used to_bits(). I mean I'm okay to just divide it by 4 again on my own, but based on your comment that doesn't seem the wisest thing to do.

FixedI32 implements various Cast* traits, you can probably use those to convert to an integer.

Ok, so in case someone is running into the same issue, I got it working by calling to_num() on it, as in
let die_temp_c: i32 = die_temp_sensor.measure().to_num();
defmt::info!("die temp is {:i32}°C", die_temp_c);

@jonas-schievink do you think it could make sense to improve the rustdoc pointing users to the "good" method to use? I'd be happy to try my hands on that improvement.

I'd be happy to merge a doc example showing this (provided that it is at least build-tested in CI)

Okay thanks, I'll close this for now and follow up with a PR

authors: daschl jonas-schievink

repo: nrf-rs/nrf-hal


text:
ieee802154: automatically disable radio after tx

Fixes #351

Thanks!
bors r+


text:
[nrf noup] ci: Update Thread test-spec entry

Update Thread test-spec entry.

This only reduces scope of testing in sdk-nrf, I don't think we need a manifest PR there.

authors: mariuszpos thst-nordic

repo: nrfconnect/sdk-zephyr


text:
cmake: dts: import devicetree symbols into CMake

This commit introduces devicetree API in CMake so that devicetree
properties and register block can be used in the CMake build system.
The script scripts/dts/gen_dts_cmake.py processes the edt.pickle and
generates a corresponding devicetree property map in a devicetree_target
that is then used in CMake.
The following devicetree API has been made available in Zephyr CMake:

dt_nodelabel( NODELABEL )
dt_node_exists( PATH )
dt_node_has_status( PATH  STATUS )
dt_prop( PATH  PROPERTY )
dt_prop( PATH  INDEX  PROPERTY )
dt_num_regs( PATH )
dt_reg_addr( PATH  [INDEX ])
dt_reg_size( PATH  [INDEX ])
dt_has_chosen( PROPERTY )
dt_chosen( PROPERTY )

Signed-off-by: Martí Bolívar marti.bolivar@nordicsemi.no
Signed-off-by: Torsten Rasmussen Torsten.Rasmussen@nordicsemi.no

@hakonfam will you post the manifest update in the nrf PR that uses this in partition manager?

authors: mbolivar-nordic tejlmand


text:
trait support?

good library.!!!!!!!!!
is there plan to support trait ?

pub trait A{
fn resize(&self, cols: u16, rows: u16) -> Result<(), String>;
}
struct MockA{}  //i will define a  struct
#[cfg_attr(test, faux::create)]  /
impl A for MockA{
// i dont want to write  there dummy code , and  need faux auto generate
fn resize(&self, cols: u16, rows: u16) -> Result<(), String>{
!todo()
};
}
let a = MockA::faux()
faux::when!(a.resize)
.then_return(Ok(()));

This is definitely something I want to do, but I haven't prioritized it yet. The hardest part is coming up with something ergonomic that works for all traits. My ideal solution would be something like:
#[cfg_attr(test, faux::create)]
pub trait MyTrait {
  /* define methods here */
}

#[test]
fn my_test() {
    let mock = MyTrait::faux();
}

But rust only allows calling instance methods directly on traits for object safe traits which means it is not a global solution. Maybe I'll just have to say that it's good enough and provide a fallback for non-object safe traits? I am not sure... these design decisions slow me down haha

It looks like there's been code to support what I want in nightly for over 3 years but it has yet to be stabilized: https://github.com/rust-lang/rust/issues/43561

authors: nrxus xiaoquanju

repo: nrxus/faux


text:
Update client3:circe, client3:core, ... to 3.8.5

Updates

com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core
com.softwaremill.sttp.client3:json4s
com.softwaremill.sttp.client3:slf4j-backend
com.softwaremill.sttp.client3:spray-json

from 3.8.0 to 3.8.5.
GitHub Release Notes - Version Diff
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!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.softwaremill.sttp.client3" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #222.


text:
SSL certificate errors

I'm experiencing the following error while trying to use authenticated methods in fbgraph 1.8.3:
RestClient::SSLCertificateNotVerified (SSL Verification failed -- Preverify: false, Error: unable to get local issuer certificate (20)

I found two related mailing list threads (one, two) which mentioned the restclient_with_cert gem, however after including this in my Gemfile and updated my bundle the errors persisted.
Copying the certificates declared in restclient_with_cert's lib/cert file into fbgraph's lib/cacert.pem makes things work again, so I'm assuming I'm not using that gem correctly.
Any ideas the best way to resolve this issue?

Just noticed that dropping back to fbgraph 1.8.0 fixes this error - will use that in the interim.

Sorry for the trouble, Cameron, and thank you for the diagnostic! I'll drop back to the old cacert.pem and, if everything works well, I'll cut a new release.

Fixed in 1.8.4. Thank you so much for the bug report, Cameron!

authors: cameronyule pwnall

repo: nsanta/fbgraph


text:
.

.
.
.
more
form filler

Current dependencies on/for this PR:

main

PR #173   👈

This stack of pull requests is managed by Graphite.

repo: nsbradford/TalkFormAI


text:
FLAC3D I/O

This PR adds support to mesh grids generated by the commercial software FLAC3D (Itasca).
Features

Read and write FLAC3D grid in ASCII,
Similarly to Gmsh, zone groups are stored in cell_data under the keyword flac3d:zone with their names in field_data,
Zone groups are exported if keyword flac3d:zone is present in cell_data, which means that renaming gmsh:physical keywords (e.g. using dict's pop method) in cell_data to flac3d:zone allows to export physical groups defined in Gmsh as FLAC3D zone groups, for instance.

Missing features

Support for FLAC3D binary grid files (no documentation available),
Support for multiple group slots,
So far, only support simple tetra, pyramid, wedge and hexahedron.

Best also add an entry to the README (with a link)

Looks good to me, thanks!

authors: keurfonluu nschloe

repo: nschloe/meshio


text:
Is this a C library?

I'm asking because the library isn't available in Gentoo and the README mentions setup.py.

It's a C library with python bindings shipped with it. But to be completely honest I'm not actively maintaining it anymore and I should probably mention that fact in README one day.

I'm thinking of creating a Zsh module for the library, so I'm holding my thumbs for a little maintenance:)

authors: nsf psprint

repo: nsf/termbox


text:
How can I run this app on Google app engine without requirements.txt

Hi there.
I start using fastAPI before a few weeks and I love it!
And I read a lot about poetry, and I get the idea, but I still not managed to deploy this app to Google app engine engine, because the requirements file is missing.
I try to digging into it, but I fill that I missed something, especially in gae, but also in other services and tools that require requirements.txt
Thanks for any help!

Hi! I haven't worked with GAE, but if the only problem is the missing requirements.txt file, then you can generate it using poetry.

OK, thanks for the kind response!

authors: nsidnev udiNur

repo: nsidnev/fastapi-realworld-example-app


text:
Use reco::formulaEvaluator instead of TFormula?

From what I understood in CMSSW the reco::formulaEvaluator (from https://github.com/cms-sw/cmssw/pull/11516 ) is preferred because it is thread-safe and faster than TFormula, and it's easy to include (almost standalone, and minimal public interface), so it may also be the better choice here (I'm using it in bamboo because the jet corrector classes rely on it, so I can prepare a PR - in the long run it may be worth asking for it to be released outside CMSSW if this option is taken).

Good point. I was thinking about the consistency of JSON-format evaluator and the CMSSW-code in that context as well. There were some issues in the past with reco::formulaEvaluator not giving the same result as TFormula, e.g. https://github.com/cms-sw/cmssw/issues/21851
So in any case for deliverables such as JEC the output of the JSON formula evaluator and the CMSSW-modules need to be validated against each other, no matter what the choice for the JSON formula evaluator.

Good point. I was thinking about the consistency of JSON-format evaluator and the CMSSW-code in that context as well. There were some issues in the past with reco::formulaEvaluator not giving the same result as TFormula, e.g. https://github.com/cms-sw/cmssw/issues/21851
So in any case for deliverables such as JEC the output of the JSON formula evaluator and the CMSSW-modules need to be validated against each other, no matter what the choice for the JSON formula evaluator.

Let me paste the readme section here for convenience:

Formula support is currently planned via linking to ROOT libraries and using TFormula,
however if possible we would like to avoid this external dependency. One alternative could
be using the boost.spirit parser with some reasonable grammar--
this is the approach used for CMSSW's expression parser.
There are also various C++ formula parsers such as ExprTk,
and the python bindings may be able to call into numexpr,
though, due to the tree-like structure of the corrections, it may prove difficult to exploit vectorization
at levels other than the entrypoint.

At least that answers the question I had in https://github.com/nsmith-/correctionlib/blob/51331ef9f101ede5ba830fc0fab3756c7030432f/src/correction.cc#L65 so indeed now there are at least three reasons to drop TFormula:

ROOT dependency
Slow to compile
Not thread-safe

It would be interesting to know how fast reco::formulaEvaluator compiles (or probably rather it just is parsed into an AST). Perhaps @Dr15Jones can provide some input. One thing that I would like is to have a grammar defined, like how the reco::ExpressionEvaluator grammar is. The advantage is then we can also validate the grammar from the python side with something like lark. The other advantage is it may allow easy construction of parsers in other languages, e.g. javascript for a correction viewer web UI

Let me paste the readme section here for convenience:

Formula support is currently planned via linking to ROOT libraries and using TFormula,
however if possible we would like to avoid this external dependency. One alternative could
be using the boost.spirit parser with some reasonable grammar--
this is the approach used for CMSSW's expression parser.
There are also various C++ formula parsers such as ExprTk,
and the python bindings may be able to call into numexpr,
though, due to the tree-like structure of the corrections, it may prove difficult to exploit vectorization
at levels other than the entrypoint.

At least that answers the question I had in https://github.com/nsmith-/correctionlib/blob/51331ef9f101ede5ba830fc0fab3756c7030432f/src/correction.cc#L65 so indeed now there are at least three reasons to drop TFormula:

ROOT dependency
Slow to compile
Not thread-safe

It would be interesting to know how fast reco::formulaEvaluator compiles (or probably rather it just is parsed into an AST). Perhaps @Dr15Jones can provide some input. One thing that I would like is to have a grammar defined, like how the reco::ExpressionEvaluator grammar is. The advantage is then we can also validate the grammar from the python side with something like lark. The other advantage is it may allow easy construction of parsers in other languages, e.g. javascript for a correction viewer web UI

authors: kirschen nsmith- pieterdavid

repo: nsmith-/correctionlib


text:
Hydrogen not able to run code - "The system cannot find the path specified", kernel path is ok

Description:
I cannot run any python code on Atom/Hydrogen.
I got the same error warning as Issue #1432 (Hydrogen not able to run code - "The system cannot find the path specified")
Kernel's path is ok, and dev console doesn't show any problem
Steps to Reproduce:

Open .py on Atom (it works on cmd)
Try to run "print('Hello')" or "x=2"

Versions:
OS: Windows 10
Atom    : 1.38.2
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3
Logs:

Thanks in advance!

Did you try the solution in the issue you referenced?

Optionally you could also try https://github.com/jupyter/notebook/issues/2301#issuecomment-383408052

Yes, wadethestealth. I try both cmd solutions that appear on the Issue referenced, and I got the same results that its author.

It seems like anyone who runs the code I typed above. It fixes it immediately, but you are saying the install command does nothing?

Apparently, there was a problem with my cmd prompt!
I recently type "python -m ipykernel install --user" and it worked perfectly!!! Thank you so much

https://stackoverflow.com/questions/58422817/jupyter-notebook-with-python-3-8-notimplementederror, this worked for me.

authors: UltraVioletCoin isajacas wadethestealth

repo: nteract/hydrogen


text:
Uncaught Error: Cannot find module '$ATOM_HOME/packages/Hydrogen/node_modules/@nteract/mathjax/li...

[Enter steps to reproduce:]

...
...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Mac OS X 10.14.6
Thrown From: Hydrogen package 2.14.1
Stack Trace
Uncaught Error: Cannot find module '/Users/laura/.atom/packages/Hydrogen/node_modules/@nteract/mathjax/lib/index.js'. Please verify that the package.json has a valid "main" entry
At internal/modules/cjs/loader.js:248

Error: Cannot find module '/Users/laura/.atom/packages/Hydrogen/node_modules/@nteract/mathjax/lib/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:240:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:378:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:670:27)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:155434)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:13:30)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:30:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:6:43)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:11:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:13:36)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:27:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)

Commands

Non-Core Packages
atom-file-icons 0.7.1
atom-language-r 1.4.8
autocomplete-python 1.16.0
busy-signal 2.0.1
git-plus 8.7.1
git-time-machine 2.1.0
Hydrogen 2.14.1
intentions 1.1.5
kite 0.184.0
language-fortran 2.1.10
language-latex 1.2.0
language-matlab 0.2.1
language-tcl 0.1.2
latex 0.50.2
linter 2.3.1
linter-flake8 2.4.0
linter-ui-default 1.8.1
minimap 4.29.9
multi-cursor 3.0.0
script 3.26.0
split-diff 1.6.1
teletype 0.13.4

I got the same issue...
[Enter steps to reproduce:]

...
...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Mac OS X 10.15.4
Thrown From: Hydrogen package 2.14.1
Stack Trace
Uncaught Error: Cannot find module '/Users/uu/.atom/packages/Hydrogen/node_modules/@nteract/mathjax/lib/index.js'. Please verify that the package.json has a valid "main" entry
At internal/modules/cjs/loader.js:248

Error: Cannot find module '/Users/uu/.atom/packages/Hydrogen/node_modules/@nteract/mathjax/lib/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:240:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:378:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:670:27)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:155434)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:13:30)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:30:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:6:43)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:11:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:13:36)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:27:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/index.js:11:18)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/index.js:20:3)

Commands
  2x -5:44.6.0 core:confirm (input.hidden-input)
  2x -5:40 find-and-replace:show-previous (input.hidden-input)
  3x -5:37 core:confirm (input.hidden-input)
 10x -5:20.9.0 core:backspace (input.hidden-input)
     -4:41 core:move-right (input.hidden-input)
  5x -4:40.4.0 core:backspace (input.hidden-input)
  3x -4:38.9.0 core:move-up (input.hidden-input)
  2x -4:36.3.0 editor:delete-to-beginning-of-line (input.hidden-input)
  3x -4:34.2.0 core:move-up (input.hidden-input)
  2x -4:32.5.0 core:move-down (input.hidden-input)
     -4:31.6.0 core:move-left (input.hidden-input)
     -4:31.1.0 core:move-right (input.hidden-input)
     -4:30.9.0 core:move-up (input.hidden-input)
 38x -4:30.7.0 core:move-right (input.hidden-input)
  7x -4:28.1.0 core:backspace (input.hidden-input)
     -4:25.6.0 core:save (input.hidden-input)

Non-Core Packages
atom-beautify 0.33.4
atom-clock 0.1.18
autocomplete-paths 2.12.2
autocomplete-python 1.16.0
file-icons 2.1.41
git-log 0.4.1
highlight-selected 0.17.0
Hydrogen 2.14.1
kite 0.184.0
minimap 4.29.9
minimap-bookmarks 0.4.2
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
platformio-ide-terminal 2.10.0

See also gh-1944, gh-1946.
I had the same problem with a fresh install on my new desktop.   I have a working installation on my laptop, with identical package specification to that on the desktop, checked via diff of atom list, and the same Atom version, checked with atom --version.
I can confirm that the folder packages/Hydrogen/node_modules/@nteract/mathjax/lib is missing in my desktop installation.  Copying the lib folder from the laptop, to the same location on the desktop, fixed the problem.

Thanks for the links @matthew-brett I was able to get my problem fixed by installing an older version of Hydrogen 2.8.0

Installing version 2.8.0 did help me for now, but still if I update to 2.14.1 the installation breaks and I have to reinstall version 2.8.0

Hey I have the issue that atom doesn't let me use the plugin if it's not updated. Anyone know a solution?

Solution to these issues. Enjoy your Hydrogen!
https://github.com/tomato-300yen/mathjax_lib_for_hydrogen

HUGE thanks, I am really looking forwards to being able to use hydrogen

I have copied the lib folder from @tomato-300yen, because I was missing it with mathjax, but I'm still receiving the stack error trace, because it seems to also be missin in "ansi-to-react".
Can someone post the lib folder for this like @tomato-300yen did?
Click for stack trace
Cannot find module 'C:\Users\Matt\.atom\packages\Hydrogen\node_modules\ansi-to-react\lib\index.js'. Please verify that the package.json has a valid "main" entry
Stack Trace:
    at tryPackage (internal/modules/cjs/loader.js:240:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:378:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:670:27)
    at Module._resolveFilename (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\electron.asar\common\reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:155434)
    at Module.require (file:///C:/Users/Matt/AppData/Local/atom/app-1.47.0/resources/app.asar/static/index.js:61:43)
    at require (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:146766)
    at Object.<anonymous> (C:\Users\Matt\.atom\packages\Hydrogen\node_modules\@nteract\outputs\lib\components\kernel-output-error.js:13:41)
    at Object.<anonymous> (C:\Users\Matt\.atom\packages\Hydrogen\node_modules\@nteract\outputs\lib\components\kernel-output-error.js:44:3)
    at Module.get_Module._compile (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:147450)
    at Object.value [as .js] (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (file:///C:/Users/Matt/AppData/Local/atom/app-1.47.0/resources/app.asar/static/index.js:72:46)
    at require (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:146766)
    at Object.<anonymous> (C:\Users\Matt\.atom\packages\Hydrogen\node_modules\@nteract\outputs\lib\index.js:14:29)
    at Object.<anonymous> (C:\Users\Matt\.atom\packages\Hydrogen\node_modules\@nteract\outputs\lib\index.js:27:3)
    at Module.get_Module._compile (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:147450)
    at Object.value [as .js] (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (file:///C:/Users/Matt/AppData/Local/atom/app-1.47.0/resources/app.asar/static/index.js:72:46)
    at require (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:146766)
    at Object.<anonymous> (file:///C:/Users/Matt/.atom/packages/Hydrogen/lib/components/result-view/display.js:5:38)
    at Object.<anonymous> (file:///C:/Users/Matt/.atom/packages/Hydrogen/lib/components/result-view/display.js:82:23)
    at Module.get_Module._compile (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:147450)
    at Object.value [as .js] (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (file:///C:/Users/Matt/AppData/Local/atom/app-1.47.0/resources/app.asar/static/index.js:72:46)
    at require (C:\Users\Matt\AppData\Local\atom\app-1.47.0\resources\app\static\<embedded>:11:146766)
    at Object.<anonymous> (file:///C:/Users/Matt/.atom/packages/Hydrogen/lib/store/output.js:8:25)
    at Object.<anonymous> (file:///C:/Users/Matt/.atom/packages/Hydrogen/lib/store/output.js:62:33)

@mattgebert Hi, this is ansi_toreact lib folder(^^)
https://github.com/tomato-300yen/ansi_to_react_lib_for_hydrogen

Thank you very much for the solution! It saved my day!

I verymuch think this issue should be pinned and closed, as this thread contains a solution to the problem, and this problem seems quite common

Yep perfect. All problems on my end solved with the ansi_to_react lib folder also being included. Thanks @tomato-300yen!

I dont think the issue should be closed - the goal must be that a Hydrogen install should work correctly without these fixes.
Given that the installation of the same exact version of Hydrogen worked correctly a few weeks ago, on the same Atom version and OS, I wonder whether this could be some interaction with the Atom install machinery.

Possibly, but I'm not I don't know how atom works on the inside. I only know basic html and css, plus lots of python. I'm also going to point ihis issue to the issue I accidently created on this same subject know

Wow I was very happy because I am not getting the initial error and looks like now Hydrogen is working, but now I am getting another type of error:
Python 3
Traceback (most recent call last): File "C:\Users\aicrypto\anaconda3\lib\runpy.py", line 193, in run_module_as_main "main", mod_spec) File "C:\Users\aicrypto\anaconda3\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\aicrypto\anaconda3\lib\site-packages\ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "C:\Users\aicrypto\anaconda3\lib\site-packages\ipykernel__init.py", line 2, in from .connect import File "C:\Users\aicrypto\anaconda3\lib\site-packages\ipykernel\connect.py", line 18, in import jupyter_client File "C:\Users\aicrypto\anaconda3\lib\site-packages\jupyter_client__init__.py", line 4, in from .connect import File "C:\Users\aicrypto\anaconda3\lib\site-packages\jupyter_client\connect.py", line 24, in import zmq File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq__init__.py", line 47, in from zmq import backend File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq\backend__init__.py", line 40, in reraise(*exc_info) File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise raise value File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq\backend__init__.py", line 27, in ns = select_backend(first) File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq\backend\select.py", line 28, in select_backend mod = import(name, fromlist=public_api) File "C:\Users\aicrypto\anaconda3\lib\site-packages\zmq\backend\cython__init_.py", line 6, in from . import (constants, error, message, context, ImportError: DLL load failed: The specified module could not be found.

Solution to these issues. Enjoy your Hydrogen!
https://github.com/tomato-300yen/mathjax_lib_for_hydrogen

Hello, I don't have the folder mathjax_lib but I have mathjax-electron. I copied the lin folder there and I still have the same error
[Enter steps to reproduce:]

...
...

Atom: 1.27.2 x64
Electron: 1.7.15
OS: Ubuntu 18.04.4
Thrown From: Hydrogen package 2.8.0
Stack Trace
Failed to activate the Hydrogen package
At Unexpected token {

SyntaxError: Unexpected token {
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:94:52)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/kernelspecs/lib/traverse.js:1:167)
    at /packages/Hydrogen/node_modules/kernelspecs/lib/traverse.js:106:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/kernelspecs/index.js:1:173)
    at /packages/Hydrogen/node_modules/kernelspecs/index.js:11:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/lib/kernel-manager.js:3:23)
    at /packages/Hydrogen/lib/kernel-manager.js:179:35)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)

Commands
     -2:08.5.0 hydrogen:run (input.hidden-input)

Non-Core Packages
atom-material-syntax 1.0.8
autocomplete-python 1.16.0
file-icons 2.1.41
Hydrogen 2.8.0
minimap 4.29.9
python-autopep8 0.1.3
script 3.26.0

@fdkssdks I believe I had the same issue as you on my laptop. The solution was that you needed to rebuild Hydrogen first for the new version of Atom, because it was incompatible, then follow the same procedures as above. Not sure if you get some prompt to rebuild incompatible packages?

@fdkssdks I believe I had the same issue as you on my laptop. The solution was that you needed to rebuild Hydrogen first for the new version of Atom, because it was incompatible, then follow the same procedures as above. Not sure if you get some prompt to rebuild incompatible packages?

I will rebuild and report back and I got the error prompt asking to update the packages but not rebuild.

I solve my problem just installing Hydrogen 2.9.

Same issue repeated on 2.14.3 version. Can't found another file ~.atom\packages\Hydrogen\node_modules@nteract\markdown\lib\index.js

had the same issue, came here, then upgraded to 2.14.14
FIXED!

Hello everyone! This issue originally occurred because the @nteract/mathjax package was shipped with some missing assets. The issue was resolved in a prior release so this should no longer be a problem.
I'll close this issue for now but please re-open if it happens again.

authors: AverageComet250 Oberonhive captainsafia fdkssdks gsidorov larigitusr lecondon ljburtz masx14 mattgebert matthew-brett rmaues tomato-300yen


text:
post shortform

make posts have a "post.sshort" which max x chars
may need to poke into hoedown to do tjis

nope, not doing this.

repo: nu-dev/nu


text:
email#message undefined method

I could run this:

gmail.inbox.emails(:unread).each {|e| p e.subject}

but not this:

gmail.inbox.emails(:unread).each {|e| p e.message}
NoMethodError: undefined method `message' for #Mail::Message:0x00000102cdc578

Good work, btw!

This issue was moved to gmailgem/gmail#2

authors: bootstraponline jShaf


text:
chore: move hanging tests inside builds:list

Resolves #26.

:tada: This PR is included in version 1.4.0-beta.9 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: grof oliver-daniel

repo: nuance-communications/mix-cli


text:
🛑 Secret Site BIS is down

In 2f2bd95, Secret Site BIS ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site BIS is back up in b22edce after 19 minutes.


text:
🛑 Difesa is down

In dc72e2d, Difesa (http://www.difesa.it/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Difesa is back up in 468a5bc.


text:
🛑 Università e ricerca is down

In cdd8e7d, Università e ricerca (https://www.mur.gov.it/it) was down:

HTTP code: 403
Response time: 570 ms

Resolved: Università e ricerca is back up in 0afdb8b.


text:
open_ad_sdk.3.2.6.7-union 编译出现错误

用 build.gradle 导入依赖 dependencies
implementation group: 'com.bytedance.ttgame', name: 'open_ad_sdk', version: '3.2.6.7-union'
这是 maven 仓库查询到的最新版。
不知道是不是因为没有用对版本...编译出现错误
Expected behavior
Running Gradle task 'assembleDebug'...
e: /android/src/main/cn/io/github/nullptrx/pangleflutter/delegate/FLTInterstitialExpressAd.kt: (31, 3): 'onShow' overrides nothing
e: /android/src/main/cn/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt: (56, 10): Class 'RewardAdInteractionImpl' is not abstract and does not implement abstract member public abstract fun onRewardVerify(p0: Boolean, p1: Int, p2: String!): Unit defined in com.bytedance.sdk.openadsdk.TTRewardVideoAd.RewardAdInteractionListener
e: /android/src/main/cn/io/github/nullptrx/pangleflutter/delegate/FLTRewardedVideoAd.kt: (60, 3): 'onRewardVerify' overrides nothing
e: /android/src/main/cn/io/github/nullptrx/pangleflutter/view/FlutterBannerView.kt: (113, 3): 'onShow' overrides nothing
e: /android/src/main/cn/io/github/nullptrx/pangleflutter/view/FlutterFeedView.kt: (85, 3): 'onShow' overrides nothing
pangle_flutter: cn
FAILURE: Build failed with an exception.
Flutter:
environment:
sdk: '>=2.12.0 <3.0.0'
flutter: ">=1.20.0"

看文档，Android版本适配的3.5+。国内使用的话，maven上的库走不通的，那是国外使用的。

看文档，Android版本适配的3.5+。国内使用的话，maven上的库走不通的，那是国外使用的。

确实用错了。多谢！

authors: heshengyahuai nullptrX