text:
Error if i want to search for new devices

if i want to serach for new devices i get this errors in the log:
if i insert ip name and port manually it works

yeelight-2.0
2018-08-27 13:48:50.206
debug
Create Device: yeelight-2.0.color-

yeelight-2.0
2018-08-27 13:48:48.199
debug
der sm:

yeelight-2.0
2018-08-27 13:48:48.198
debug
hier die ate cfg: {"name":"","ip":"","port":"","smart_name":"","type":"color"}

yeelight-2.0
2018-08-27 13:48:48.194
debug
Element:_yeelight-2.0.color-

yeelight-2.0
2018-08-27 13:48:48.193
debug
count Devices:_1

yeelight-2.0
2018-08-27 13:48:48.193
debug
found  Devices:_{"yeelight-2.0.color-":{"type":"device","common":{"name":"color","icon":"/icons/color.png"},"native":{"sid":"","type":"color"},"from":"system.adapter.yeelight-2.0","user":"system.user.

yeelight-2.0
2018-08-27 13:48:48.143
debug
from_conf: {"devices":[{"name":"","ip":"","port":"","smart_name":"","type":"color"}]}

yeelight-2.0
2018-08-27 13:48:48.104
info
starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v8.11.1

yeelight-2.0
2018-08-27 13:48:48.063
info
States connected to redis: 127.0.0.1:6379

yeelight-2.0
2018-08-27 13:48:48.057
debug
statesDB connected

yeelight-2.0
2018-08-27 13:48:48.024
debug
objectDB connected

host.ioBroker-RasPi
2018-08-27 13:48:46.836
info
instance system.adapter.yeelight-2.0 started with pid 2560

host.ioBroker-RasPi
2018-08-27 13:48:16.805
info
Restart adapter system.adapter.yeelight-2.0 because enabled

host.ioBroker-RasPi
2018-08-27 13:48:16.805
error
instance system.adapter.yeelight-2.0 terminated with code 0 (OK)

Caught
2018-08-27 13:48:16.805
error
by controller[1]:     at Socket.emit (events.js:211:7)

Caught
2018-08-27 13:48:16.805
error
by controller[1]:     at emitOne (events.js:116:13)

Caught
2018-08-27 13:48:16.805
error
by controller[1]:     at Socket. (/opt/iobroker/node_modules/redis/index.js:274:27)

Caught
2018-08-27 13:48:16.805
error
by controller[1]:     at JavascriptRedisParser.execute (/opt/iobroker/node_modules/redis-parser/lib/parser.js:574:12)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at JavascriptRedisParser.returnReply (/opt/iobroker/node_modules/redis/index.js:192:18)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:824:9)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at normal_reply (/opt/iobroker/node_modules/redis/index.js:726:21)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at Command.callback  (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:267:49)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at that.states.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4632:61)

Caught
2018-08-27 13:48:16.804
error
by controller[1]:     at /opt/iobroker/node_modules/iobroker.yeelight-2/main.js:1361:33

Caught
2018-08-27 13:48:16.804
error
by controller[1]: TypeError: Cannot set property '' of null

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at Timer.listOnTimeout (timers.js:277:5)

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at tryOnTimeout (timers.js:317:5)

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at ontimeout (timers.js:482:11)

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:158:37)

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at createDevice (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:322:9)

Caught
2018-08-27 13:48:16.803
error
by controller[0]:     at getPrps (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:333:15)

Caught
2018-08-27 13:48:16.802
error
by controller[0]:     at Yeelight.sendCommand (/opt/iobroker/node_modules/iobroker.yeelight-2/lib/yeelight.js:47:19)

Caught
2018-08-27 13:48:16.802
error
by controller[0]:     at Object.connect (net.js:113:35)

Caught
2018-08-27 13:48:16.802
error
by controller[0]:     at Socket.connect (net.js:1037:5)

Caught
2018-08-27 13:48:16.802
error
by controller[0]:     at lookupAndConnect (net.js:1064:13)

Caught
2018-08-27 13:48:16.801
error
by controller[0]: RangeError: "port" option should be >= 0 and < 65536:

yeelight-2.0
2018-08-27 13:48:16.787
info
terminating

yeelight-2.0
2018-08-27 13:48:16.342
error
Error: connect ECONNREFUSED 127.0.0.1:55443

yeelight-2.0
2018-08-27 13:48:16.341
error
Error: connect ECONNREFUSED 127.0.0.1:55443

yeelight-2.0
2018-08-27 13:48:16.334
debug
listen to: :55443

yeelight-2.0
2018-08-27 13:48:16.326
debug
Update connection for:_yeelight-2.0.color-

yeelight-2.0
2018-08-27 13:48:16.319
error
at Socket.emit (events.js:211:7)

yeelight-2.0
2018-08-27 13:48:16.319
error
at emitOne (events.js:116:13)

yeelight-2.0
2018-08-27 13:48:16.319
error
at Socket. (/opt/iobroker/node_modules/redis/index.js:274:27)

yeelight-2.0
2018-08-27 13:48:16.319
error
at JavascriptRedisParser.execute (/opt/iobroker/node_modules/redis-parser/lib/parser.js:574:12)

yeelight-2.0
2018-08-27 13:48:16.319
error
at JavascriptRedisParser.returnReply (/opt/iobroker/node_modules/redis/index.js:192:18)

yeelight-2.0
2018-08-27 13:48:16.319
error
at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:824:9)

yeelight-2.0
2018-08-27 13:48:16.319
error
at normal_reply (/opt/iobroker/node_modules/redis/index.js:726:21)

yeelight-2.0
2018-08-27 13:48:16.319
error
at Command.callback (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:267:49)

yeelight-2.0
2018-08-27 13:48:16.319
error
at that.states.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4632:61)

yeelight-2.0
2018-08-27 13:48:16.319
error
at /opt/iobroker/node_modules/iobroker.yeelight-2/main.js:1361:33

yeelight-2.0
2018-08-27 13:48:16.319
error
TypeError: Cannot set property '' of null

yeelight-2.0
2018-08-27 13:48:16.318
error
uncaught exception: Cannot set property '' of null

yeelight-2.0
2018-08-27 13:48:16.303
debug
sid by socket:_["yeelight-2","0","color-","info","IPAdress"]

yeelight-2.0
2018-08-27 13:48:16.280
error
at Timer.listOnTimeout (timers.js:277:5)

yeelight-2.0
2018-08-27 13:48:16.280
error
at tryOnTimeout (timers.js:317:5)

yeelight-2.0
2018-08-27 13:48:16.280
error
at ontimeout (timers.js:482:11)

yeelight-2.0
2018-08-27 13:48:16.280
error
at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:158:37)

yeelight-2.0
2018-08-27 13:48:16.280
error
at createDevice (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:322:9)

yeelight-2.0
2018-08-27 13:48:16.280
error
at getPrps (/opt/iobroker/node_modules/iobroker.yeelight-2/main.js:333:15)

yeelight-2.0
2018-08-27 13:48:16.280
error
at Yeelight.sendCommand (/opt/iobroker/node_modules/iobroker.yeelight-2/lib/yeelight.js:47:19)

yeelight-2.0
2018-08-27 13:48:16.280
error
at Object.connect (net.js:113:35)

yeelight-2.0
2018-08-27 13:48:16.280
error
at Socket.connect (net.js:1037:5)

yeelight-2.0
2018-08-27 13:48:16.280
error
at lookupAndConnect (net.js:1064:13)

yeelight-2.0
2018-08-27 13:48:16.280
error
RangeError: "port" option should be >= 0 and < 65536:

yeelight-2.0
2018-08-27 13:48:16.279
error
uncaught exception: "port" option should be >= 0 and < 65536:

yeelight-2.0
2018-08-27 13:48:16.257
debug
Create Device: yeelight-2.0.color-

yeelight-2.0
2018-08-27 13:48:14.248
debug
der sm:

yeelight-2.0
2018-08-27 13:48:14.247
debug
hier die ate cfg: {"name":"","ip":"","port":"","smart_name":"","type":"color"}

yeelight-2.0
2018-08-27 13:48:14.243
debug
Element:_yeelight-2.0.color-

yeelight-2.0
2018-08-27 13:48:14.243
debug
count Devices:_1

yeelight-2.0
2018-08-27 13:48:14.242
debug
found  Devices:_{"yeelight-2.0.color-":{"type":"device","common":{"name":"color","icon":"/icons/color.png"},"native":{"sid":"","type":"color"},"from":"system.adapter.yeelight-2.0","user":"system.user.

yeelight-2.0
2018-08-27 13:48:14.191
debug
from_conf: {"devices":[{"name":"","ip":"","port":"","smart_name":"","type":"color"}]}

yeelight-2.0
2018-08-27 13:48:14.151
info
starting. Version 0.3.6 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v8.11.1

yeelight-2.0
2018-08-27 13:48:14.109
info
States connected to redis: 127.0.0.1:6379

yeelight-2.0
2018-08-27 13:48:14.102
debug
statesDB connected

yeelight-2.0
2018-08-27 13:48:14.068
debug
objectDB connected

please try to delete all states and reinstall the adapter


text:
All features are positioned over [0,0] if I use the Mercator projection

Describe the bug
Whenever I try to add features to a map that uses the Mercator projection (ESPG:3857) all the features are set in the coordinates [0,0] instead of their respective location.
Here's a simple example to reproduce the bug:
<template>
  <ol-map
    :loadTilesWhileAnimating="true"
    :loadTilesWhileInteracting="true"
    style="height: 400px"
  >
    <ol-view
      ref="view"
      :center="center"
      :rotation="rotation"
      :zoom="zoom"
      :projection="projection"
    />

    <ol-tile-layer>
      <ol-source-osm />
    </ol-tile-layer>
    <ol-vector-layer>
      <ol-source-vector>
        <ol-feature>
          <ol-geom-point :coordinates="[10.757933, 59.911491]" />
        </ol-feature>
      </ol-source-vector>
      <ol-style>
        <ol-style-stroke color="black" :width="2"></ol-style-stroke>
        <ol-style-fill color="rgba(255,255,255,0.1)"></ol-style-fill>

        <ol-style-circle :radius="10">
          <ol-style-fill color="green"></ol-style-fill>
          <ol-style-stroke color="#fff" :width="1"></ol-style-stroke>
        </ol-style-circle>
        <ol-style-text>
          <ol-style-fill color="#fff"></ol-style-fill>
        </ol-style-text>
      </ol-style>
    </ol-vector-layer>
  </ol-map>
</template>

<script>
import { ref, inject } from 'vue';

export default {
  setup() {
    const center = ref([10, 60]);

    // CHANGE THESE LINES
    // const projection = ref('EPSG:3857');
    const projection = ref('EPSG:4326');
    const zoom = ref(4);
    const rotation = ref(0);

    const format = inject('ol-format');
    const geoJson = new format.GeoJSON();

    return {
      center,
      projection,
      zoom,
      rotation,
      geoJson,
    };
  },
};
</script>

If you change the projection to the default one on the examples (ESPG:4326), it works fine.
Affected version(s)
> npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu
vue3-openlayers-starter@0.0.0 /home/projects/vue3-openlayers-template
+-- vue@3.2.47
`-- vue3-openlayers@0.1.74

To Reproduce
Steps to reproduce the behavior:

Go to the StackBlitz playground and paste the Vue component that I defined on the top of this bug report
Initially it will use the ESPG:4326 projection, verify that there's a green dot over Oslo, Norway.
Comment the line const projection = ref('EPSG:4326'); and uncomment the line // const projection = ref('EPSG:3857');
Now the green dot will appear somewhere over the Atlantic, on the [0,0] coordinates.

Expected behavior
The green dot should be over Oslo, Norway no matter what projection I'm using.
Screenshots
Invalid feature position using the Mercator projection:

Correct feature position using the ESPG:3857 projection:

Desktop (please complete the following information):

OS: MacOS and Windows
Browser Firefox, Safari, Edge

A geographical location will have different coordinates in different projections. The coordinates you've used in your example are valid for the EPSG:4326 projection, representing Oslo. However, these coordinates are not valid in the EPSG:3857 projection. If you wish to use the EPSG:3857 projection, you'll need to transform the coordinates. For example, Oslo's coordinates in EPSG:3857 would be [1197567.6235481538, 8380058.64380335].
For more insight, there's a nice writeup in the OpenLayers FAQ. Additionally, OpenLayers offers a utility function to transform coordinates between projections, which is also mentioned in an example in the FAQ.

I was not aware of that. Thanks!

source: gharchive/issue

authors: adamkw ldellisola

license: MIT

license_type: permissive

license_source: github-api


text:
i hope to see your code

hello, when can you post your code?

Sorry for the late reply. We have released the code.

repo: MendelXu/ANN


text:
cmake 编译测试代码，开启c++11

cmake 构建没有编译测试程序，没开c++11，这里修改了一下。

666

谢谢老铁了，现在的test基本啥也没测，所有没加到cmake里

source: gharchive/pull-request

authors: FanFansfan Menooker

repo: Menooker/PFishHook


text:
[Feature] SetState with Callback

added callbacks to setState

👍🏻

repo: Meowmir/aidem-loot

license: ISC


text:
🛑 API MTTK IPFS is down

In 733d77d, API MTTK IPFS (https://api.mttk.net/post/ipfs/QmSr94SdMEdCgGTKyJYTwMdVEzZ28sRiLqfQ7S7c2t8C5h) was down:

HTTP code: 502
Response time: 226 ms

Resolved: API MTTK IPFS is back up in 01b6598.

repo: Meta-Network/upptime


text:
[Bug] TProxy server error since upgrade to 1.8.1

Verify steps

[X]  确保你使用的是本仓库最新的的 mihomo 或 mihomo Alpha 版本 Ensure you are using the latest version of Mihomo or Mihomo Alpha from this repository.
[ ]  如果你可以自己 debug 并解决的话，提交 PR 吧 Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X]  我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
[X]  我已经使用 Alpha 分支版本测试过，问题依旧存在 I have tested using the dev branch, and the issue still exists.
[X]  我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.
[X]  这是 Mihomo 核心的问题，并非我所使用的 Mihomo 衍生版本（如 OpenMihomo、KoolMihomo 等）的特定问题 This is an issue of the Mihomo core per se, not to the derivatives of Mihomo, like OpenMihomo or KoolMihomo.

Mihomo version
1.8.1
What OS are you seeing the problem on?
Linux
Mihomo config
mixed-port: 7890
tproxy-port: 7893
allow-lan: true
bind-address: '192.168.1.2'
mode: rule
log-level: info
ipv6: true
external-controller: 192.168.1.2:9090

rules:
  - GEOIP,CN,DIRECT
  - MATCH,PROXY

dns:
  enable: true
  listen: 192.168.1.2:53
  ipv6: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.0/16
  nameserver:
    - 192.168.1.3
  fallback:
    - https://1.1.1.1/dns-query
    - https://8.8.8.8/dns-query
    - https://45.11.45.11/dns-query

proxies:
  - name: yun
    type: http
    server: 192.168.1.1
    port: 7890

proxy-groups:
  - name: PROXY
    type: select
    proxies:
      - yun

Mihomo log
INFO[2024-02-06T16:58:23.555388451+08:00] Start initial configuration in progress
INFO[2024-02-06T16:58:23.555592948+08:00] Geodata Loader mode: memconservative
INFO[2024-02-06T16:58:23.555610996+08:00] Geosite Matcher implementation: succinct
INFO[2024-02-06T16:58:23.573838419+08:00] Initial configuration complete, total time: 18ms
INFO[2024-02-06T16:58:23.575627358+08:00] RESTful API listening at: 192.168.60.2:9090
INFO[2024-02-06T16:58:23.63960607+08:00] Sniffer is closed
INFO[2024-02-06T16:58:23.639786475+08:00] DNS server listening at: 192.168.60.2:53
ERRO[2024-02-06T16:58:23.639870333+08:00] Start TProxy server error: protocol not available
INFO[2024-02-06T16:58:23.639963556+08:00] Mixed(http+socks) proxy listening at: 192.168.60.2:7890
INFO[2024-02-06T16:58:23.643495057+08:00] Start initial Compatible provider PROXY
INFO[2024-02-06T16:58:23.643564792+08:00] Start initial Compatible provider default

Description
Based on the same config file, 1.8.0 TProxy could work. But under 1.8.1, the log shows TProxy server start error. "Start TProxy server error: protocol not available "
I'm using mihomo-linux-amd64-compatible-v1.18.1 on Debian 12. (Linux gate 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux)
Same issue happened on the latest alpha version.

同样的问题。最新alpha也一样。

可以了。

It works. Thanks a lot :)

repo: MetaCubeX/mihomo


text:
[Figma] Add to Text Field Doc "Action button placement practices"

Add to guideline section about action button placement rules for text field
https://www.notion.so/Walkthrough-V0-75-504e48224090476bb76bff7a25553490?pvs=4#efa787beb61e4ab9939cbbcc8f56b9e9
https://www.figma.com/file/HKpPKij9V3TpsyMV1TpV7C?node-id=14484:52235#417545870

https://www.notion.so/Text-Field-73e2b9b748404901ab2c9fba13eb7785?pvs=4#489a9dc370214fbc80b5e944c3513de9

repo: MetaMask/design-tokens


text:
mandatory-script-verify-flag-failed (Operation not valid with the current stack size) after broadcast transaction.

I have a problem with broadcast my transaction. This error: "mandatory-script-verify-flag-failed (Operation not valid with the current stack size)".  My code follows https://programmingblockchain.gitbooks.io/programmingblockchain/content/other_types_of_asset/transfer_an_asset.html.
This is my dummy data:
AssetId assetId = new AssetId(BitcoinAddress.Create("muTacWdEpBQZA3X7DWMTYjJEGboELoyPPC")).GetWif(network);

Coin coin = new Coin(
    fromTxHash: new uint256("3c00cb76dd442d7a8202e6a05bd0dfed45f34cd58afcfec83a5f754e442da79a"),
    fromOutputIndex: 0,
    amount: Money.Satoshis(2730),
    scriptPubKey: new Script(Encoders.Hex.DecodeData("76a9140ea3d783da828f2015add0cfffbf39345b40325488ac"))
);

ColoredCoin coloredCoin = coin.ToColoredCoin(assetId, 100000000);

Coin forFees = new Coin(
    fromTxHash: new uint256("2cc2e1086bee333d935c9c6d188ced632861339b60874722399a41a759029016"),
    fromOutputIndex: 0,
    amount: Money.Satoshis(27500000),
    scriptPubKey: new Script(Encoders.Hex.DecodeData(76a9143a596b8073bf0e40ec1273e4d4b4e6df1e84907388ac))
);

BitcoinAddress book = BitcoinAddress.Create("mvgFVde726uBNA7Y2ebCBZ6xkoqyPaf3xD");
BitcoinSecret sendSecret = new BitcoinSecret("cNr9THruPa5SVHt9BmVdKzguKTXDUtH3tKBrJTbZmgTgHgfWQ1iv");
BitcoinPubKeyAddress sendAddress = sendSecret.GetAddress();

TransactionBuilder builder = new TransactionBuilder();
Transaction tx = builder
    .AddKeys(sendSecret)
    .AddCoins(coloredCoin, forFees)
    .SendAsset(book, new AssetMoney(assetId, data.quantity))
    .SetChange(sendAddress)
    .SendFees(Money.Coins(0.0001m))
    .BuildTransaction(true);

BroadcastResponse broadcastResponse =
    new QBitNinjaClient(network).Broadcast(tx).Result;

Please give me a solution for this. Thank you.

your forFee is using the wrong scriptPubKey.
The address of your forFee is mkqUcBj9FhPWKtUJ5GLEMxGAC9mH9muUQi, while you try to sign with mgrN2ftggVKj2QYPEHq2bLDaMcuHJWoHZq private key.
You can see it by yourself by printing tx on the console, the input scriptSig is empty.

@NicolasDorier  with my scriptPubKey, i get it from vout after decoderawtransaction of address  mgrN2ftggVKj2QYPEHq2bLDaMcuHJWoHZq  :
{   "value": 0.275,   "n": 0,   "scriptPubKey": {     "asm":       "OP_DUP OP_HASH160 3a596b8073bf0e40ec1273e4d4b4e6df1e849073 OP_EQUALVERIFY OP_CHECKSIG",     "hex": "76a9143a596b8073bf0e40ec1273e4d4b4e6df1e84907388ac",     "reqSigs": 1,     "type": "pubkeyhash",     "addresses": ["mkqUcBj9FhPWKtUJ5GLEMxGAC9mH9muUQi"]   } }
Is it wrong to get from this? Sorry if I misunderstood you.

You are spending 2 outputs. One of which is using the private key of mgrN2ftggVKj2QYPEHq2bLDaMcuHJWoHZq  and is correctly signed.
The other output (2cc2e1086bee333d935c9c6d188ced632861339b60874722399a41a759029016) is using another private key, and you are setting the wrong scriptPubKey. (check with a block explorer)

Thank a lot. This is a mistake of me.

authors: NicolasDorier VuongVu

repo: MetacoSA/NBitcoin


text:
Doesnt work with Cheat Engine 7.5

After building release and dragging the dll into my main Cheat Engine plugin directory, I get an error "The plugin cannot be loaded: 126"
My steps were as follows:

Download files
Build Release
Realize I needed leechcore.lib,vmm.lib, and lua53-64.dll.  After adding those 3 files to the directory, I successfully built and constantly get this error.  Any help would be appreciated as I'm very excited to get this working.

Make sure you've included FTD3XX.dll, VMM.dll, Leechcore.dll ect, inside the CheatEngine folder aswell.

Make sure you've included FTD3XX.dll, VMM.dll, Leechcore.dll ect, inside the CheatEngine folder aswell.

Added the 3 listed DLL's to both the root CE folder and the plugin folder, has now changed my error from 126->127. Unsure if I'm missing some as you said "etc".

I personally have added symsrv.dll, vcruntime140.dll, vmm.dll, FTD3xx.dll, leechcore.dll inside cheatengine.exe folder. not sure what error 127 is, but error 126 means missing dependencies

This project doesn't compile and has a lot of errors

Then maybe compile using Release, and not Debug.

I personally have added symsrv.dll, vcruntime140.dll, vmm.dll, FTD3xx.dll, leechcore.dll inside cheatengine.exe folder. not sure what error 127 is, but error 126 means missing dependencies

Added all the requirements you listed using old versions from my own projects so I assume that was causing error 127. Heading to ulfrisks git and grabbing the latest files fixed this issue.

I personally have added symsrv.dll, vcruntime140.dll, vmm.dll, FTD3xx.dll, leechcore.dll inside cheatengine.exe folder. not sure what error 127 is, but error 126 means missing dependencies

Added all the requirements you listed using old versions from my own projects so I assume that was causing error 127. Heading to ulfrisks git and grabbing the latest files fixed this issue.

Happy to hear you managed to figure out the issue.

Then maybe compile using Release, and not Debug.

You are right, I have successfully compiled and used it. However, scanning a large amount of data can cause CE to crash

Then maybe compile using Release, and not Debug.

You are right, I have successfully compiled and used it. However, scanning a large amount of data can cause CE to crash

That's because DMA is inheritely slow, you just gotto wait for it to finish scanning all data. I'll be closing this issue now as it's original issue has been solved.

repo: Metick/CheatEngine-DMA


text:
Design a header menu and provide links to various subpages of the website

We need a menu on header to navigate to various pages on the website on desktop version as well as on mobile version. The first iteration of the menu can start linking to

dashboard available at /dashboard
showcase available at /showcase
documentation available at https://docs.metricsdao.xyz/ ( related issue #8 )

@olafsnowman you can work on this issue. Please let me know if you change your plans then I'll assign this to another community member.

@thekakamora sure, I'll start working on this issue.

@olafsnowman  we have second version of header (thin one) and it needs to be  updated along with the regular one - https://github.com/MetricsDAO/xyz/blob/main/app/components/app-header-skinny.tsx

@thekakamora Updated skinny header as well.

authors: olafsnowman thekakamora

repo: MetricsDAO/xyz


text:
Calendar not showing todays "full-time"-events

Hello,
i just found an issue i cannot explain. The Calendar works really fine, with one exception:
I´m using just one Calendar for my Mirror. It´s a google-Calendar that only stores full-time-events (birthdays from family&friends).
My issue is: These events keep disappearing on the event-day. In the evening i see, that it´s happening the next day, on the next day: the event has disappeared. It would be nice if i could see the event on the day it´s happening, maybe with an text that says "today" or something like that.
Maybe someone can help me with this issue. Thank you in advance :-)
I´m using MagicMirror1, not the  ²-Version.
With best regards
Calibba

Hi Caliber,
Try using the v2 version. A lot of effort went into issues like this.

authors: Calibba MichMich

repo: MichMich/MagicMirror

license: mit

license_source: bigquery


text:
What about NCache support?

It used by Amazon aws  and suggested to customers.
Do you have any plans to add NCache support  (like Redis etc) to the CacheManager?

Hi @Oleg26Dev, from what I've seen NCache is a commercial product and I have no intention in spending time on it if I can test it only on the development machine.
If you or someone actually work with that cache in production and wants to implement a CacheManager handle for it, go for it, I'm happy to accept a pull request ;)

Ok, thank you.
Yes, I mean the free version of NCache.
I do not use it but asked only because Amazon AWS provides it.
I am decided to use CacheManager in the next version of our WCF service.

repo: MichaCo/CacheManager


text:
Redis cache performance question

Have you guys experienced performace issues with Redis over time. In other words the longer the cache is up and serving content the slower it gets. Almost seems like its not closing or sharing connections to the cache

Same question.  Saw this
http://stackoverflow.com/questions/25416562/stackexchange-redis-with-azure-redis-is-unusably-slow-or-throws-timeout-errors

Well, I can you say that if I run my tests, which does heavy compute per second all the time, I never encountered any change in performance and/or memory footprint of my application.
Depending on what you are doing, which version of redis, stackexchange.redis and where Redis is running, you results may vary a lot.
So it is really hard to tell ^^
If you can provide numbers or code to reproduce your behavior, that would help a lot to figure out what's going on... Otherwise, I think I cannot really help you with that ;)

@tatarincev
closing this as it is unclear if that has anything todo with CacheManager

authors: MichaCo brianmrush tatarincev


text:
Error when validate nested Object

Hello,
I have this code :
import 'reflect-metadata'

import { IsDate, ValidateNested, validate } from 'class-validator'
import { Type, plainToClass } from 'class-transformer'
import { transformAndValidate } from 'class-transformer-validator'

export class User {
  @Type(() => Date)
  @IsDate()
  availabilityDate?: Date
}

export class Parent {
  @ValidateNested()
  @Type(() => User)
  user?: User
}

const body = {
  user: {
    availabilityDate: new Date().toISOString(),
  },
}
const classTransformer = plainToClass(Parent, body) as any

console.log(
  'Typeof',
  Object.prototype.toString.call(classTransformer.user.availabilityDate) === '[object Date]'
) // true

validate(classTransformer).then((errors) => {
  console.log(errors) // []
})

transformAndValidate(User, body)
  .then((resultValidator: any) => {
    // Don't pass here
    console.log(
      Object.prototype.toString.call(resultValidator.user.availabilityDate) === '[object Date]'
    ) // Should be true
  })
  .catch((err) => {
    console.log(err) // -> constraints: { isDate: 'availabilityDate must be a Date instance' }
  })

As you can see, validate don't returns errors but transformAndValidate do. Did I miss something ?
Thanks

@zgababa
Why do you have plainToClass(Parent, body) and transformAndValidate(User, body)?
Shouldn't it be transformAndValidate(Parent, body)?
At least then it works for me 🤔

Closing for a housekeeping purposes 🔒

authors: MichalLytek zgababa

repo: MichalLytek/class-transformer-validator


text:
Cannot access a disposed object

When I send Http Request from one function and try to process Response in the next function, I get an error:

Cannot access a disposed object.
Object name: 'System.Net.Http.StreamContent'.
Example:
procedure TestProcedure();
    var
        Response: HttpResponseMessage;
        ResponseText: Text;
        URL: Text;
        BodyText: Text;
    begin
        URL := 'https://postman-echo.com/post';
        BodyText := 'testtest';

        SendRequest(URL,BodyText,Response);
        Response.Content.ReadAs(ResponseText);
        Message(ResponseText);
    end;

    local procedure SendRequest(URL:Text;var BodyText: Text;var Response: HttpResponseMessage);
    var
        Client: HttpClient;
        Content: HttpContent;
    begin
        Content.WriteFrom(BodyText);
        Client.Post(URL,Content,Response);
    end;

Looks like HttpResponseMessage is disposed automatically in the end of my 'SendRequest' function.
Is it possible to process Response only in the same function where request was sent?

Which versions(extension version, server version) are you using?

authors: kalberes yuliia-biloklokova

repo: Microsoft/AL


text:
Pageextension New Action Shortcut not working

AL Extension Version: 0.12.28462
Server Version: DK Dynamics NAV 11.0 (23572)

pageextension 50102 "Test SalesHeaderExtension" extends "Sales Order"
{
actions
{
addlast("P&osting")
{
action(DisplayMessage)
{
Caption = 'Display Message AL';
ShortcutKey = 'CTRL+F5';
Promoted=true;
PromotedCategory=Category6;
trigger OnAction();
begin
Message('Ok');
end;
}
}
}
}

The shortcut do work when made in CAL

Does this refer to the RTC client. We may not support that from extensions,

Yes.
What do you mean by 'may not'

May not means that I forgot how it works on the RTC and need to verify it.  Actually it is supported but it is case sensitive. Have you tried with Ctrl+F5

"Ctrl+F5" works 👍
Thank a lot for your swift answer.

authors: LAGLSystemcenter kalberes


text:
Clear report before run it.

Hi!
I create a new report. In my report, I will update data using the processingonly report.
But I can't run the processingonly report 2 times.

When the processingonly report run second times, the error is shown as below:

I already clear report variable, but system still show error.
Please help me solve this issues.
Version: November Update

Is the procedure UpdateCFSEntries in the same report as the report no. 50000 you are calling?
Or do you call it from a different report object?

what about using runmodal?
or as a test, create another variable for the same report

I run report ID 50001.
From Report 50001, I create  function UpdateCFSEntries to call report ID 50000 to update some data before I run report 50001.

Hi tatnorther,
I also solve my case by create new variable for the same report.
But I think this case should be solved, maybe we catch this case many in the future.

Is this converted code or new code? It will help us to know if this is caused by a change in compiler behavior or because of a bug in the runtime.

Hi esbenk,
Report 50000 and 50001 are converted from NAV 2017. However, the function UpdateCFSEntries (on Report 50001) is written directly on Visual Studio Code.

I have a similar situation. I created an Action in a new page that runs a processing only report to populate data in the page. The first time the action works fine, any subsequent time the action is called I get he same error:
The object has been run. Use the function CLEAR(Report).
As you can see from the screenshot, the CLEAR function is used just prior.

authors: darench epernst esbenk hgnamvn tatnorther


text:
Android 7.0 Being listed as Linux in Telemetry collection

I am testing some telemetry collection using mobile and client_OS is being listed as Linux. Should it not say Android?

@acearun you had plans to improve OS detection logic. Any ETA's on this?
@isaac2004 do you by chance know what user agent your device sends?

@SergeyKanzhelev what field is agent? Is it on a particular content type? I can query analytics to get it.

No, we do not store user agent in our backend. This is why I'm asking if you by chance can get this value some other way. Maybe visit http://www.useragentstring.com or something similar from the same browser

No worries, I just remote connected to my phone to get it.

User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Safari/537.36

It seems that this user agent string doesn't carry any information to say it's an Android. Maybe it's intentionally made in Chrome. Perhaps some logic can be implemented in JavaScript to make os detection more precise. Something like described here.
You can implement it yourself. Similar to how you can add network properties. Just implement a telemetry initializer and populate the client OS version yourself.
I understand you'd prefer it to be part of SDK. I'd let @acearun and @KamilSzostak comment on whether it should be implemented natively.

So what is bizarre here is that this UA does not match what Google says
https://developer.chrome.com/multidevice/user-agent

@markwolff is this closed because it is fixed?

@isaac2004  - we will not add this functionality in SDK as it would increase sdk size and possibly not be still 100% correct based on response from Osvaldo for other OS. Please try the workaround Sergey suggested above (using addTelemetryInitializer) if it solves for target platforms for your product.

@jpiyali fair enough. Thanks for the quick response

authors: SergeyKanzhelev isaac2004 jpiyali

repo: Microsoft/ApplicationInsights-JS


text:
The attached account doesn't auto expand under Custom Connections

Storage Explorer Version: 1.2.0
Platform/OS Version: Windows 10/Linux Ubuntu 16.04/MacOS High Sierra
Architecture: ia32/x64
Build Number: 20180614.2
Commit: 5dbf0913
Regression From: Not a regression
Steps to Reproduce:

Go to (Subscription) -> Storage Accounts.
Right click one blob account -> Select 'Get Shared Access Signature...' -> Copy the generated connection string to 'Attach with Connection String' dialog -> 'Connect'.
Check whether the attached account auto expands or not.

Expected Experience:
The attached account auto expands under Custom Connections.
Actual Experience:
The attached account doesn't auto expand under Custom Connections.

CYBERCRiME-05-12-18.txt

authors: burbuzug v-xuanzh

repo: Microsoft/AzureStorageExplorer


text:
npm install -g @angular/cli fails

While trying to install angular cli, I get the following error message:

I have no clue where to even begin.
If you want me to provide more information, just let med know.

nvm. Solved it.

repo: Microsoft/BashOnWindows


text:
Soft link not working as intended

When trying to ln -s the /mnt/c directory to my home directory it will link but not work properly.
Once it is link when I navigate to my home directory and go into the symlink it will not allow you to navigate through it. It alwasy returns the base folders in the directory.
EXAMPLE:
chrisr@LAPTOP:~$ ln -s /mnt/d/Work/
chrisr@LAPTOP:~$ ls
stuff  Work
chrisr@LAPTOP:~$ cd Work
chrisr@LAPTOP:~/Work$ ls
Admin Stuff  Clients  Images  json   Notes  VirtualBoxVms
chrisr@LAPTOP:~/Work$ cd Clients/
chrisr@LAPTOP:~/Work/Clients$ ls
Admin Stuff  Clients  Images  json   Notes  VirtualBoxVms

duplicated here: https://github.com/Microsoft/BashOnWindows/issues/650
For a temporary workaround, do
ln -s /mnt/d/Work

(without the slash in the end)

Thanks!

Issue is fixed in the 14901 Windows Insider build.

Correction.  Still waiting on the fix.  When testing I ran ln -s /mnt/c/tmp ~/temp instead of ln -s /mnt/c/tmp/ ~/temp. Forgot the all important '/' at the end of tmp.  Fix is inbound.
Also, linking to #650.  I have an example of running internally there.

authors: chrisreeves48 russalex shavvn


text:
Modify echobot and basicbot to add Publish validations

Fixes #https://fuselabs.visualstudio.com/BotFramework/_workitems/edit/25131.
Proposed Changes

Adds a "BeforePublish" validation step in csproj that gets run prior to right-click publish on your project.
Adds Script directory with PrePublishValidate.cmd, which performs validations.
If Validations fails, Visual Studio spits out:
Your bot configuration is incorrect.  Please see README.md for instructions on how to get set up with this bot.
Modify Startup so it falls back to a "development" .bot configuration endpoint if no "production" endpoint defined.
Removed default .bot configuration file from BasicBot only.
BasicBot must have appsettings.json configuration file set to your Bot configuration file.
BasicBot, if you choose not to go msbot route, you must create your own .bot configuration.
Significant changes to README.md for BasicBot that handles msbot decoration and all other fixups in detail.
We should ripple these changes to other samples.

Validations are not the same.

@vishwacsena, @stevengum discussed validations.
V3 enabled you to deploy a bot without any appId/appPassword and run without modifications.
This functionality is preserved - so echobot you should be able to download, right click and publish without modification.
During Publish you will receive warnings in output that appId/appPassword are missing, but you can still publish.
For basicbot, you need LUIS configured in your .bot file.
If you don't have LUIS in your .bot file, the Publish will fail.
Similarly if you don't have the .bot file specified in appsettings.json for basicbot, Publish operation will fail.

Testing
I've tested this, but suggest at least one additional pair of eyes go through and validate functionality. (@stevengum ? @JasonSowers ?).

You should be able to right click deploy Echobot with no alterations.
You should be blocked from publishing BasicBot, unless you:

Run msbot like a evolved human.
Hand craft your own .bot configuration file.

Also note the hand edits to accomodate msbot decroration for LUIS.

This looks good to me, although I didn't test it. @JasonSowers Do you have time to sanity test this?

Tested successfully

authors: JasonSowers cleemullins daveta

repo: Microsoft/BotBuilder-Samples


text:
[Question] After adding luis integration bot is working only in web chat but not in skype and facebook

please help me in this
Here greeting is my intent
But its only working in enumelator locally and on azure its working with web chat only
FB and skype doesnt through any error but didnt resspond any thing
bot.dialog('greeting', function (session, args) {
 session.send("Hello hope you are good ,Please start finding nearest metro by messaging me 'PlaceName City' like nearest gip noida or closest to akshardham or way you want");
greeting="";
   }).triggerAction({
    matches: 'greeting'
});

Thanks

On your dev.botframework.com page for your bot are the channels for Skype and FB showing any errors?

No its not showing any error
@stevengum97

@stevengum97 can you please help me in this regard as the issue is not stil resolved

@hardikchoudhary, are you still experiencing this problem? If so, can you provide your bot's app ID?

Hi I have this problem. How did you solve it?

repo: Microsoft/BotBuilder


text:
[Question] How do I tell LUIS to use this Intent instead of the one it's thinks

What should I do when Luis says "Luis thinks this is the correct intent" and shows me a different intent for my phrase than the Intent I'm looking at. It says 62% chance it's the None intent while my phrase in my current intent says only "30% chance". (Luis thinks this intent is NOT correct for this utterance)
How do I tell Luis it's wrong and that it needs to use this intent for this utterance?

@elubinenaptive For reference, are you using .NET or Node?
You need to train your model in order for it to recognize things the way you want it to.

You should continuously work on your application to refine it and improve its language understanding. Whenever you make updates by adding, editing or deleting entities, intents or utterances in your current model, you’ll need to train your app before testing and publishing. When you "train" a model, LUIS generalizes from the examples you have labeled, and builds model to recognize the relevant intents and entities in the future, thus improving its classification accuracy.

For more information about training your LUIS model, see:
https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/train-test

I am using C#.
Are the score values just for reference?  Or is there a way to use those values to train Luis?

The scores are a hint that tell you which utterances are the most important for training LUIS. A big difference in the scores mean a bigger change in the behavior of the LUIS app if you retrain with that utterance. For example, let's say you have a LUIS app with a None intent and the prebuilt Weather.GetCondition intent, and you've already trained it on just the utterance "hi" in the None intent. Then you add "help", "what time is it" and "what kind of weather does this app get?", and get a result like the following:

This means:

Both "what time is it" and "what kind of weather does this app get" will be misclassified as Weather.GetCondition unless you train the app again with these utterances labeled as None.
Re-training with "what kind of weather does this app get" will likely have a greater effect on the behavior of the LUIS app than re-training on "what time is it", although you should probably include both.  The utterance "help" would already be correctly classified, so adding it to the example utterances will have less of an effect.

Thanks for the additional info @DeniseMak 👍

authors: DeniseMak elubinenaptive nwhitmont


text:
Emulator doesnt allow double messages to bot?

I noticed that if you send a message through the emulator to your bot, and the bot is programmed to not send a message back, the emulator doesnt seem to allow you to send another message.
Also, is there a way to "restart" everything in the emulator? I find myself having to close the emulator and restart it every few minutes.

You're correct that the emulator waits for a response from the bot's web endpoint.  I'm not sure if it eventually times out.
We tend to "restart" the emulator by changing the user and/or conversation ID.  I'm not sure that stops the emulator's current http request, though.

you need to reply with at the very least a status code such as OK.  You don't have to return a message. Otherwise the emulator will wait for a response until it times out (probably 2 minutes).

authors: Orbyt tomlm willportnoy


text:
Version 3.5.33

3.5.31 version is working. I think, it is connected with Electron.
Windows 10 Enterprise x64.
Text size is 125%.

Hi @FiodorTretyakov
This looks like a window sizing/positioning issue.
Please try shutting down the emulator, navigate to C:\Users[YourUserName]\AppData\Roaming\botframework-emulator\botframework-emulator  in Windows Explorer and delete client.json and server.json, then restart the emulator.
Let us know if this helps.

No, still black screen.

I'm sorry that didn't help.  I assume you installed botframework-emulator-Setup-3.5.33.exe from https://github.com/Microsoft/BotFramework-Emulator/releases  Maybe the install logs have some information.
Please try opening this file in notepad: %LocalAppData%\SquirrelTemp\SquirrelSetup.log, e.g.:
C:\> start %LocalAppData%\SquirrelTemp\SquirrelSetup.log
All apps that use the Squirrel installer system write to this log. If you're able to open it, scroll to the bottom of the file and look for entries for botframework. There may be an error listed there.

@FiodorTretyakov sorry you're seeing this, and thanks for reporting it. We did update to Electron 1.8.1 in this release. If you need to rollback to an earlier version while we sort this out, you can disable auto-update by passing --no-update as a command line argument. If you choose to do this, you'll have to work around a bug in Electron's handling of command line parameters: it skips the first one, so pass something like
--foo --no-update

Hi, Thanks - using 31 version, and there are no errors in SquirrelSetup.log

Hey @FiodorTretyakov ,
Would you please try starting the emulator with the --disable-gpu command line parameter. As eanders-MS mentioned, you'll need to pass it as the second parameter due to a bug in Electron.  So, something like:
--foo --disable-gpu
This option worked for a different user who was also seeing a black screen: https://github.com/Microsoft/BotFramework-Emulator/issues/357

Please try version 3.5.37 on the Releases Page.

authors: EricDahlvang FiodorTretyakov eanders-MS tonyanziano

repo: Microsoft/BotFramework-Emulator


text:
auto-scroll can stop working

When I connect to the Bot Framework's TestBot (an internal tool used for feature testing), and I send it the 'runall' command, auto-scroll in the client will quickly fail. I have to manually scroll to keep up with its output.

Yeah, I think @danmarshall broke autoscroll.

runall is the test I used to test autoscroll, and it works for me, even in a mobile browser. @eanders-MS are you seeing this in the emulator or standalone webchat?

This was in standalone webchat. Same behavior in both, actually.

I'm seeing it in Chrome on Win10.

And I'm no longer able to repro!

I was able to easily reproduce this by running "run all" and then resizing the window while stuff came in. I'm not sure this is a terribly important case, but I think @danmarshall's code is meant to handle it.

But the real problem here is that "runall" sends several videos that autoPlay, which (who knew?) scrolls them into view, turning autoscroll off. I think that's actually a reasonable behavior, which is good because I don't know how we'd possibly fix it. So I'm going to close this issue.

authors: billba danmarshall eanders-MS

repo: Microsoft/BotFramework-WebChat


text:
Show deadzone variables as TDZ in debugger

This changes the debugger to report the type of variables still in deadzone as "tdz" in the JSON instead of the previous behavior of reporting them as "string".  As I'm still unfamiliar with the ChakraCore codebase, let me know if there is a cleaner way to implement this.
Fixes #3690.

@fatcerberus,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@fatcerberus, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

@fatcerberus In all cases the type property in the JSON represents one of JavaScript primitive types (undefined/function/Boolean/number/string/symbol/object) and the value debugger is giving is infact a string ("[Uninitialized block variable]") so I don't think that we should change the type to "tdz". I would suggest you add a new enum value to JsrtDebugPropertyAttribute and add that to propertyAttributes if the value is tdz.

Yes, I agree that a flag would be cleaner.  Is there a better way to determine whether a variable is in TDZ than comparing the value to the known string?

@fatcerberus you can do
bool isTdz = (objectDisplayRef->GetDiagAddress() != nullptr) ? objectDisplayRef->GetDiagAddress()->IsInDeadZone() : false;

@fatcerberus I mean do something like below here
if (objectDisplayRef->GetDiagAddress() != nullptr && objectDisplayRef->GetDiagAddress()->IsInDeadZone())
{
    propertyAttributes |= JsrtDebugPropertyAttribute::TDZ;
}

At @agarwal-sandeep's suggestion I changed the PR to use a property attribute to signify TDZ variables rather than changing the type.

@fatcerberus can you also add the new enum value to ChakraDebug.h for documentation.

@agarwal-sandeep I thought I did?

authors: agarwal-sandeep fatcerberus msftclas

repo: Microsoft/ChakraCore


text:
Backport HostPromiseRejection

Backporting the HostPromiseRejection change to release/1.9

Thanks again @rhuanjl!


text:
wasm non-trapping float-to-int conversions

Implements the wasm proposal, as specified here:
https://github.com/WebAssembly/nontrapping-float-to-int-conversions
Closes #3228

Note: Tested locally, but there are no tests attached to the PR yet. I will push tests to the PR later once I figure out how to port the spec tests.

For the tests, I think you can look at what I did for Sign extension.
I added a feature folder in the WasmSpec test folder for that purpose.
I think wabt already supports the non-trapping under a feature flag.

@dotnet-bot test Ubuntu shared_ubuntu_linux_debug

authors: Cellule MikeHolman


text:
GraphEngine: Save Cell

Save a cell with size larger than 1G in GraphEngine, it will crash, but the return value is "E_SUCCESS". it is not reasonable, it should be “cell too big” or some others like this.

Fixed in #53

authors: jiabaohan yatli

repo: Microsoft/GraphEngine


text:
LightGBM import error

Environment info
Operating System: Windows 10 Home, 64 bit
CPU: Intel i7-7700
GPU: GeForce GTX 1070
C++/Python version: Microsoft Visual Studio Community 2017/ Python 3.5.2 /Anaconda 4.3.1 (64-bit)
My laptop has 2 hard drives, C: and D:.
I followed the installation instruction at: https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#windows-2
This has GPU support. For D:\local\boost_1_64_0\ and D:\local\boost_1_64_0\lib64-msvc-14.0, the location of the Boost binaries, I set them to the system environment variables BOOST_ROOT and BOOST_LIBRARYDIR. No errors during installation. After installation, I checked it by "conda list lightgbm", it shows lightgbm 0.1. It appeared fine.
However, when I imported the lightgbm in Jupyter Notebook, I got Error messages:
Error Message:

OSError                                   Traceback (most recent call last)
 in ()
----> 1 import lightgbm as lgb
D:\Program_Files\Anaconda3\envs\py35\lib\site-packages\lightgbm-0.1-py3.5.egg\lightgbm_init_.py in ()
7 from future import absolute_import
8
----> 9 from .basic import Booster, Dataset
10 from .callback import (early_stopping, print_evaluation, record_evaluation,
11                        reset_parameter)
D:\Program_Files\Anaconda3\envs\py35\lib\site-packages\lightgbm-0.1-py3.5.egg\lightgbm\basic.py in ()
29
30
---> 31 _LIB = _load_lib()
32
33
D:\Program_Files\Anaconda3\envs\py35\lib\site-packages\lightgbm-0.1-py3.5.egg\lightgbm\basic.py in _load_lib()
24     if len(lib_path) == 0:
25         return None
---> 26     lib = ctypes.cdll.LoadLibrary(lib_path[0])
27     lib.LGBM_GetLastError.restype = ctypes.c_char_p
28     return lib
D:\Program_Files\Anaconda3\envs\py35\lib\ctypes_init_.py in LoadLibrary(self, name)
423
424     def LoadLibrary(self, name):
--> 425         return self._dlltype(name)
426
427 cdll = LibraryLoader(CDLL)
D:\Program_Files\Anaconda3\envs\py35\lib\ctypes_init_.py in init(self, name, mode, handle, use_errno, use_last_error)
345
346         if handle is None:
--> 347             self._handle = _dlopen(self._name, mode)
348         else:
349             self._handle = handle
OSError: [WinError 126] The specified module could not be found
Please help!

@llmercury
can you add this line:
print(lib_path) before lib = ctypes.cdll.LoadLibrary(lib_path[0]) in the file D:\Program_Files\Anaconda3\envs\py35\lib\site-packages\lightgbm-0.1-py3.5.egg\lightgbm\basic.py ?
then run it again ?

I added print(lib_path) and got:
['D:\Program_Files\Anaconda3\envs\py35\lib\site-packages\lightgbm-0.1-py3.5.egg\lightgbm\lib_lightgbm.dll']

can you try the latest commit ?

I used "git clone --recursive https://github.com/Microsoft/LightGBM"
Isn't it the latest version? If not, how to get the latest version?

@llmercury I just commit a fix for this. So you can re-clone the code.

I re-cloned it. During building, error happened:
CMake Error in CMakeLists.txt:
A logical block opening on the line
D:/PythonModules/LightGBM/CMakeLists.txt:38 (if)

is not closed.

@llmercury
sorry, forgot endif.  just push a new fix.

Awesome. Problem solved! Thank a lot! @guolinke

authors: guolinke llmercury

repo: Microsoft/LightGBM