Comments (8)
hello from the Playwright team! In the past a few users ran into this issue with using the library, which broke Playwright. We are unsure if its an issue on our or on your side. When I was debugging it, I saw that after we load the native ibm binding, it stops working, maybe you have a clue on whats going on there. See microsoft/playwright#28846 (comment).
Thanks!
from node-ibm_db.
@mxschmitt @54995610 what was the previous version of ibm_db which was working?
In the shared code, I see you are promisifying ibmdb.open() as const open = util.promisify(ibmdb.open)
. It may be the cause of issue as open
api returns promise in latest version if you do not pass a callback function. In fact, all ibmdb apis returns promise and you can use it for async-await programming. Please check and update. thanks.
from node-ibm_db.
I think it was never working. It only reproduces on Windows and it also reproduced without util.promisify.
from node-ibm_db.
That's correct we are also seeing this issue even without using util,promisify.
from node-ibm_db.
@54995610 Could you please share simplified steps to reproduce this issue on my Windows system? I have not used Playwright yet. Thanks.
from node-ibm_db.
OS: Windows
npm init playwright my-project
cd my-project
// put the require inside tests/example.spec.ts
npx playwright test
Actual: throws with a weird error (via a Windows MessageBox) when we launch PrintDeps.exe via child_process.spawn
Expected: Does not
Note: We mitigated it on the Playwright side for now, @54995610 has not confirmed yet, that it works for him, but for me did not reproduce anymore.
from node-ibm_db.
@mxschmitt Thanks for sharing the repro steps. I am able to reproduce the issue and getting test result as below:
C:\nodework\defects\my-proj>npx playwright test
Running 6 tests using 4 workers
6 passed (37.6s)
To open last HTML report run:
npx playwright show-report
C:\nodework\defects\my-proj>
The reason for these pop-ups only for require('ibm_db')
is unknown for me. We need detailed info from playwright
team about this behavior, then we can look further. Thanks.
from node-ibm_db.
Closing the issue now as issue seems with playwright. Once, you have input from playwrite team with detail, you can post here and we can reopen the issue. Thanks.
from node-ibm_db.
Related Issues (20)
- Incorrect results with XML containing Chinese data on Linux. Same code works on Windows. HOT 12
- await ODBCStatement.executeNonQuery does not work as the callback version does HOT 4
- ibm_db install on z/OS is failing HOT 22
- New Feature/Enhancement Request: Stream data into a blob instead of having entire buffer in memory HOT 1
- New Feature/Enhancement Request: Binary release (and make it small) HOT 4
- Update Axios HOT 1
- Timeout is not working with connectionPool or non-pooled connection HOT 2
- byte change when inserting hex byte array into varchar(16) for bit data column HOT 2
- Error: /node_modules/ibm_db/build/Release/odbc_bindings.node: ELF file's phentsize not the expected size HOT 4
- Unable to connect using TLS. Error - SQL30081N, Protocol Specific Error -414 HOT 2
- Providing extended client information HOT 4
- DB2 connection pool is unavailable after DB2 server restart HOT 1
- PDF content error happens after inserted PDF BLOB to DB2 table HOT 6
- insert data error HOT 2
- string returned after date type requested HOT 1
- Fetch multiple rows HOT 2
- adm-zip can it be moved to dev dependencies HOT 2
- queryResult deferred callback result changed with version 3.2.3 HOT 5
- Node ibm_db Installation Error with Python 3.12 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ibm_db.