Brackets error: failed to connect to NodeJs - node.js

I am facing brackets error after installing an extension brackets-npm-registry. Its prompting Failed to connect to NodeJs.
How to solve this error ?

This is a known issue on the brackets-git repo. There may be workarounds/solutions on the linked issue page.
This comment by #anukanth has been reported (in a linked issue) useful to fix the issue.
You have to manually edit C:/windows/system32/drivers/etc/host with notepad and enter a line without any comment sign (#) and enter the following line without any add on like comma or anything.
127.0.0.1 localhost

Related

TNS:could not resolve the connect identifier specified error

I am trying to connect to a database using cx_Oracle in Python.
this is the way I'm doing it :
connection = cx_Oracle.connect("user", "pass", "service")
I am able to connect to the db using sql developer with the same credentials but when I try to connect from python it throws the error :
ORA-12154: TNS:could not resolve the connect identifier
specified.
I tried the same thing from another system and I am able to connect to the database using cx_Oracle. The contents of TNSNames.ora file are exactly the same in both systems.
I removed everything and installed again hoping to get rid of mistakes I might have done the first time but I am still facing the same error.
Please let me know if there is any way to fix this.
Thank You.
You can try with EZ connect instead, or you can use cx_Oracle.makedsn() to build up the connect string. If you provide the contents of your tnsnames.ora file I can provide a more detailed answer.
I realised what was going wrong.
The database uses a LDAP file. And in the SQLNET.ORA file, LDAP was not mentioned, that caused the error for me.
Just adding LDAP to NAMES.DIRECTORY_PATH in SQLNET.ORA solved this issue for me.

SVN export leads to E020024: Error resolving case

I've been having a very weird error using svn export. Calling this command from within a powershell script:
svn export svnFilePath \\abcd.aa.bb\aaa_b_c6$\abcdef\Abcdef\abcdef
which leads to
svn: E020024: Error resolving case of \\abcd.aa.bb\aaa_b_c6$\abcdef\Abcdef\abcdef
Now i've tried reversing the slashes like this
svn export svnFilePath //abcd.aa.bb/aaa_b_c6$/abcdef/Abcdef/abcdef
or using single quotation and double quotation marks but the end result is the same. I believe it has something to do with the server \\abcd.aa.bb\ because the same command works if it's used on another server \\xyz.aa.bb\. I don't have access to these Servers, as they're managed by someone else, to check for any differences unfortunately. Is there any way to fix this problem?
There is a chance that the error svn: E020024: Error resolving case of indicates that the network share is inaccessible by the user account under which you run svn export. I suggest double-checking access permissions configured on the network share and the UNC path you enter.

CMIS Workbench Error running Query - Sharepoint 2013

We are trying to run a simple query on a list (Sharepoint 2013) on Workbench but we are getting the "Connection:Redirects are not supported (HTTP status code 302):" error. What's weird is that we can run queries on other list except one named "AP Document".
We have also tried on on Visual Studio but is now getting the "Unauthorized error". With this we had set the permission to all lists to default but am still getting an error. We had also tried deleting the list and re-creating it but still no go.
What are we doing wrong with this one list? Here's a log to check the codes. Please help.
ERROR hemistry.opencmis.workbench.ClientHelper:
CmisConnectionException: Redirects are not supported (HTTP status code
302): Found
org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
Redirects are not supported (HTTP status code 302): Found at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:460)
at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:650)
at
org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:179)
at
org.apache.chemistry.opencmis.client.runtime.SessionImpl$5.fetchPage(SessionImpl.java:887)
at
org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCurrentPage(AbstractIterator.java:132)
at
org.apache.chemistry.opencmis.client.runtime.util.CollectionPageIterator.hasNext(CollectionPageIterator.java:48)
It seems that it was a file within the list that was causing the error. When you try to run a query within that list that excludes that file -- everything works fine.
Had to just remove and reupload it to fix the issue. but still curious why that is because the file can still be opened and viewed with no error on sharepoint but is getting the Unauthorize or Connection error when accessed thru CMIS...

mediawiki-parsoid "name lookup timed out" error

At short - I am getting an error regarding name lookup timed out and don't understand where to search for the problem.
The long story - I've been trying to install MediaWiki Visual Editor, and launched a Heroku based node.js parsoid server for that. I was running the experimental wiki both on localhost and in OpenShift, and it all worked great. However, when I tried to launch it in my main wiki, the editor failed in completing the "round-trip" (wiki-text > html > wiki-text) with the following results:
When re-editing, the editor "forgot" last time edits
Error message - After repeating this action three or four times it resulted in the following error message: parsoid-server-http-request-error: "name lookup timed out".
My main assumption was that it had to do with some inability to cURL the other sever, and therefor tried to make cURL request around the trip but it all worked out with no problem. could it be a firewall I am not aware of?
Second assumption - something to do with server side to client side cache.
Any clue where to search for will be very helpful.
This is what solved this:
shortened the heroku app url
added time (3000) to $wgHTTPConnectTimeout and $wgHTTPTimeout.
The "forgetting" problem mentioned was due to client side cache.

The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for

I use the TortoiseSVN to checkout source code from URL (browser) and get Error as follows :
Could not resolve hostname : The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
I have seen similar error being reported in this forum but wonder what was the exact solution to resolve the said error.
Among solutions proposed were :
'Everything was fixed by yet another reboot (2 reboots after TSVN update).'
posted Nikolay R
'The solution for me involved setting the appropriate proxy settings within Tortoise
SVN -> Settings -> Network (which were already setup in my browser, hence being able
to view the repository fine there). So if you are behind a proxy server, make sure
you setup TSVN appropriately'
posted by Chris
May I know what TSVN/network settings were changed to resolve this error?
Thank you.

Resources