I have troubles replicating a Jupyter Lab install on a new PC. It is working fine on my previous one.
I am unable to display simple widgets (like a checkbox from ipywidgets or ipyvuetify).
I checked that jupyter-widgets is enable with jupyter labextension list. The results is :
jupyter-vue v1.7.0 enabled ok
jupyter-vuetify v1.8.4 enabled ok
#jupyter-widgets/jupyterlab-manager v5.0.2 enabled ok (python, jupyterlab_widgets)
In the notebook, when i try to display a widget, the cell display a Javascrip error :
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'CheckboxModel' from module '#jupyter-widgets/controls'
Error: Module #jupyter-widgets/controls, version ^1.5.0 is not registered, however,
2.0.0 is
at f.loadClass (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/134.083e6b37f2f7b2f04b5e.js?v=083e6b37f2f7b2f04b5e:1:74976)
at f.loadModelClass (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/150.467514c324d2bcc23502.js?v=467514c324d2bcc23502:1:10721)
at f._make_model (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/150.467514c324d2bcc23502.js?v=467514c324d2bcc23502:1:7517)
at f.new_model (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/150.467514c324d2bcc23502.js?v=467514c324d2bcc23502:1:5137)
at f.handle_comm_open (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/150.467514c324d2bcc23502.js?v=467514c324d2bcc23502:1:3894)
at _handleCommOpen (http://localhost:8888/lab/extensions/#jupyter-widgets/jupyterlab-
manager/static/134.083e6b37f2f7b2f04b5e.js?v=083e6b37f2f7b2f04b5e:1:73392)
at b._handleCommOpen (http://localhost:8888/static/lab/jlab_core.86360d749a1ef5f29afb.js?
v=86360d749a1ef5f29afb:2:924842)
at async b._handleMessage
(http://localhost:8888/static/lab/jlab_core.86360d749a1ef5f29afb.js?
v=86360d749a1ef5f29afb:2:926832)
That error is consistent with one noted here in an issue report recently. The suggestion there is to change to ipywidgets version 7.7.2 or 7.6.5 to fix this issue. Also, see the note here, too.
My react native app is giving me the following error.
Execution failed for task ':app:mergeDebugJavaResource'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform kotlin-stdlib-1.4.10.jar (org.jetbrains.kotlin:kotlin-s
tdlib:1.4.10) to match attributes {artifactType=android-java-res, org.gradle.cat
egory=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gr
adle.usage=java-runtime}.
> Could not download kotlin-stdlib-1.4.10.jar (org.jetbrains.kotlin:kotlin
-stdlib:1.4.10)
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetb
rains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/
kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar'.
> No such host is known (repo.maven.apache.org)
I don't know why it is giving me the error because i just build this app and am running it for the first time. Can Anyone please help me.
I have the app that uses React-Native 0.62.3 and it does not run on iOS. It launches, receives the bundle from metro and does nothing but keeps showing the splash screen. Here's the run log:
flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2020-10-15 15:30:32.116261+0300 fastboss_mobile_rn[60669:792251] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000aebe00> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-10-15 15:30:32.326978+0300 fastboss_mobile_rn[60669:793032] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2020-10-15 15:30:32.410529+0300 fastboss_mobile_rn[60669:792251] [native] Running application fastboss_mobile_rn ({
initialProps = {
};
rootTag = 1;
})
2020-10-15 15:30:39.443156+0300 fastboss_mobile_rn[60669:793034] [connection] nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
2020-10-15 15:30:39.450465+0300 fastboss_mobile_rn[60669:793034] [connection] nw_socket_handle_socket_event [C6.2:1] Socket SO_ERROR [61: Connection refused]
2020-10-15 15:30:39.452317+0300 fastboss_mobile_rn[60669:793033] [connection] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-10-15 15:30:39.452482+0300 fastboss_mobile_rn[60669:793033] TCP Conn 0x600003cf4a50 Failed : error 0:61 [61]
2020-10-15 15:30:39.975074+0300 fastboss_mobile_rn[60669:793119] [javascript] Require cycle: components/Dashboard/content/index.js -> components/Dashboard/content/Customers.js -> components/Dashboard/content/index.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
2020-10-15 15:30:39.980483+0300 fastboss_mobile_rn[60669:793119] [javascript] Require cycle: components/Dashboard/index.js -> components/Dashboard/Menu.js -> components/Dashboard/index.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
2020-10-15 15:30:39.986365+0300 fastboss_mobile_rn[60669:793119] [javascript] Require cycle: components/index.js -> components/Dashboard/index.js -> components/index.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
2020-10-15 15:30:40.029406+0300 fastboss_mobile_rn[60669:793119] [javascript] Running "fastboss_mobile_rn" with {"rootTag":1,"initialProps":{}}
2020-10-15 15:30:40.166056+0300 fastboss_mobile_rn[60669:793284] [native] Manifest does not exist - creating a new one.
(null)
2020-10-15 15:30:40.236534+0300 fastboss_mobile_rn[60669:793119] [javascript] 'token on start up:', null
I've tried to google about nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused], but for me it seems like all the reasults are about this line being looped, but in my case it appears only 2 times.
Also the last log string is console.log() from the app, so i guess it kinda tries to work, i don't know..
I'd be pretty happy if you could tell me what is possibly wrong, because I ran out of ideas what can I do about it
xcode v12.0.1
ios 14 simulator
If I can provide any useful for you info, let me know
I ran into this issue and noticed it was because my iPhone and my Mac running XCode were on different WiFi networks. Verify that both devices are on the same network.
I've encountered an error in my Gradle Log. It prevents my Android Studio App to deploy / do a Gradle sync.
Full Error Message:
Gradle sync failed: Could not find kxml2.jar (net.sf.kxml:kxml2:2.3.0).
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Consult IDE log for more details (Help | Show Log)
In this directory "C:/Program Files/Android/Android Studio/gradle/m2repository/net/sf/kxml/kxml2" is indeed no file named kxml2.jar.
Sloppily creating the file with no content, doesnt solve the Problem, expectedly.
And Google doesn't help me at all, so I need you help.
Elias
EDIT:
This is the full error Message from the idea.log:
2017-05-30 09:39:19,203 [ 145127] WARN - ect.sync.idea.ProjectSetUpTask -
2017-05-30 09:39:19,203 [ 145127] INFO - ect.sync.idea.ProjectSetUpTask - Could not find kxml2.jar (net.sf.kxml:kxml2:2.3.0).
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Consult IDE log for more details (Help | Show Log)
2017-05-30 09:39:19,203 [ 145127] INFO - e.project.sync.GradleSyncState - Sync with Gradle for project 'ShishaTobacco' failed: Could not find kxml2.jar (net.sf.kxml:kxml2:2.3.0).
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Consult IDE log for more details (Help | Show Log)
2017-05-30 09:39:19,252 [ 145176] INFO - #com.jetbrains.cidr.lang - Clearing symbols finished in 0 s.
2017-05-30 09:39:19,253 [ 145177] INFO - #com.jetbrains.cidr.lang - Loading symbols finished in 0 s.
2017-05-30 09:39:19,255 [ 145179] INFO - #com.jetbrains.cidr.lang - Building symbols finished in 0 s.
2017-05-30 09:39:19,255 [ 145179] INFO - #com.jetbrains.cidr.lang - Saving symbols finished in 0 s.
Edit 2:
I've just reinstalled Android Studio, now everything is working fine.
I'm hoping someone here can help me out, I'm not having much luck figuring this out myself. I'm running node.js version 0.3.1 on Cygwin. I'm using Connect and Socket.io. I seem to be having some random problems with DNS or something, I haven't quite figured it out. The end result is that I the server is running fine, but when a browser attempts to connect to it the initial HTTP Request works, Socket.io connects, and then the server dies (output below).
I don't think it has anything to do with the HTTP request because the server gets a lot data posted to it, and it was receiving requests and responding up until my connection that killed it. I've googled around and the closest thing I've found is DNS being set improperly. It's a network program meant to run only on an internal network, so I've set the nameserver x.x.x.x in my /etc/resolv.conf to the internal DNS. I've also added nameserver 8.8.8.8 in addition. I'm not sure what else to check, but would be grateful of any help.
In node.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610C51B9
eax=00000000 ebx=00000001 ecx=00000000 edx=00000308 esi=00000000 edi=010FCCB0
ebp=010FCAEC esp=010FCAC4 program=\\?\E:\cygwin\usr\local\bin\node.exe, pid 3296, thread unknown (0xBEC)
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
010FCAEC 610C51B9 (00000000, 00000000, 00000000, 00000000)
010FCBFC 610C5B55 (00000000, 00000000, 00000000, 00000000)
010FCCBC 610C693A (FFFFFFFF, FFFFFFFF, 750334F3, FFFFFFFE)
010FCD0C 61027CB2 (00000002, F4B994D5, 010FCE64, 00000002)
010FCD98 76306B59 (00000002, 010FCDD4, 763069A4, 00000002)
End of stack trace
Node Output:
node.js:50
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ENOBUFS, No buffer space available
at doConnect (net.js:642:19)
at net.js:803:9
at dns.js:166:30
at IOWatcher.callback (dns.js:48:15)
EDIT
I'm hitting an LDAP server using http.createClient immediately after a client connects to get information, and that seems to be where the problem is that is causing ENOBUFS. I've edited the source to include && errno != ENOBUFS which now prevents the server from dying, however now the LDAP request isn't working. I'm not sure what the problem is that would cause that though. As I mentioned this is an internal only application, so I set the DNS servers in /etc/resolv.conf to the DNS servers that are being applied to the host machine. Not sure if this is part of the issue?
EDIT 2
Here's some output from gdb --args ./node_g --debug ../myscript.js. I'm not sure if this is related to ENOBUFS, however, as it seems to be disconnecting immediately after connection with Socket.io
[New thread 672.0x100]
Error: dll starting at 0x76e30000 not found.
Error: dll starting at 0x76250000 not found.
Error: dll starting at 0x76e30000 not found.
Error: dll starting at 0x76f50000 not found.
[New thread 672.0xc90]
[New thread 672.0x448]
debugger listening on port 5858
[New thread 672.0xbf4]
14 Jan 18:48:57 - socket.io ready - accepting connections
[New thread 672.0xed4]
[New thread 672.0xd68]
[New thread 672.0x1244]
[New thread 672.0xf14]
14 Jan 18:49:02 - Initializing client with transport "websocket"
assertion "b[1] == 0" failed: file "../src/node.cc", line 933, function: ssize_t
node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding)
Program received signal SIGABRT, Aborted.
0x7724f861 in ntdll!RtlUpdateClonedSRWLock ()
from /cygdrive/c/Windows/system32/ntdll.dll
(gdb) backtrace
#0 0x7724f861 in ntdll!RtlUpdateClonedSRWLock ()
from /cygdrive/c/Windows/system32/ntdll.dll
#1 0x7724f861 in ntdll!RtlUpdateClonedSRWLock ()
from /cygdrive/c/Windows/system32/ntdll.dll
#2 0x75030816 in WaitForSingleObjectEx ()
from /cygdrive/c/Windows/syswow64/KernelBase.dll
#3 0x0000035c in ?? ()
#4 0x00000000 in ?? ()
(gdb)
OK, I digged around a bit, and after your second edit I found this bug on the issue list.
I doesn't state whether this was encountered under cygwin or not, but the error that it is hitting leads down to this piece of code:
uint16_t * twobytebuf = new uint16_t[buflen];
str->Write(twobytebuf, 0, buflen, String::HINT_MANY_WRITES_EXPECTED);
for (size_t i = 0; i < buflen; i++) {
unsigned char *b = reinterpret_cast<unsigned char*>(&twobytebuf[i]);
assert(b[1] == 0); // this assertion fails
buf[i] = b[0];
}
From what I can read (with my rusted C) it will convert it will create a new uin16 array and write the contents of the V8 string in their, then it will ensure that casting did not write any values outside the range of 0 - 255, and that's exactly what fails here.
I couldn't find anything regarding whether this is a V8 issue or not.
Since the code was added in this commit, the only thing I can suggest here is to try pulling the tree from a commit before the code was added. Since all versions after that have the crashing code.
If that works, I would recommend you to file another bug report on the issue Node.js issue list, although I made do this later this day.
Very hard to answer this one but +1 for the subject line.
Node.js comes with a test suite along with the main build, have you run that? I had built node successfully but because I'd omitted OpenSSL my web socket tests were failing. Install/rebuild fixed it. The test projects helped me diagnose the issue.
suggest doing "make test" as http://nodejs.org/#download describes.