ubuntu-14.04

Python - Node.js (V8) runtime is not available on this system

。_饼干妹妹 提交于 2019-12-10 03:10:42
问题 I'm getting the following error when trying to use ExecJS: execjs.RuntimeUnavailable: Node.js (V8) runtime is not available on this system I have node.js installed on my machine (Ubuntu 14.04). Which Node outputs /usr/bin/node Any ideas? 回答1: Have you seen this similar issue They resolve the problem by linking node under /usr/local/bin/node ln -s /usr/local/bin/node /usr/bin/node 回答2: Hello I've had the same issue before and this solved it: Node.js not found by Rails / execjs PS: if this

Packaging with Pyinstaller: PyQt4.QtGui.setStyle ignored?

主宰稳场 提交于 2019-12-09 19:46:56
问题 Question: How do I set the PyQt style for my app using Pyinstaller on Ubuntu 14.04? Details: I have packaged a PyQt4/Python app using pyinstaller on Windows and it seems to work fine with no difference between the package and when running just in my IDE. I have tried to reproduce this process using Ubuntu 14.04 and I have some issues that I can't solve. I can set the PyQt style when running in my IDE by using: app = QtGui.QApplication(sys.argv) app.setStyle('sgi') This is ignored during the

Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr) [closed]

最后都变了- 提交于 2019-12-09 17:58:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . While running the update at Ubuntu 14.04 LTS (Trusty Tahr). The following error is being encountered: W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse

Mongo daemon doesn't run by service mongod start

徘徊边缘 提交于 2019-12-09 11:19:25
问题 Recently I installed mongodb package by reading this page (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/). I use docker and ubuntu 14.04 image to deploy my server. The problems start by first running the mongod service: # service mongod start I got the following: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service mongod restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

喜欢而已 提交于 2019-12-09 09:13:42
问题 I installed the latest version of the ADT Bundle 32 bit on my ubuntu 14.04 32 bit. I created an AVD, but it doesn't launch. When I press the start button it shows this message: Starting emulator for AVD 'NexusOne' ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' option when invoking 'emulator'. - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment. Either one will allow you to use

Python or LibreOffice Save xlsx file encrypted with password

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-09 01:48:57
问题 I am trying to save an Excel file encrypted with password. I have tried following the guide on https://help.libreoffice.org/Common/Protecting_Content_in - and works perfectly. However, this is in the GUI, but I am looking for a solution using the command line interface in headless mode. I have looked at the man libreoffice , but I could not find anything in there. Likewise I have looked at the documentation of the Python 3 library openpyxl , but I did not find anything useful there either. Is

Eric5: The OK button of 'new project' dialog is disable

℡╲_俬逩灬. 提交于 2019-12-08 17:48:30
I have installed Eric5 successfully. But I could not create a new project, as the 'OK' button of the 'Project Properties' dialogue is disable. Help ! Thank you very much. PS: I install the dependence via synaptic. System is Ubuntu 14.04. I have fund a indirect solution: Download a example source, for example, from the tutorial of python: tutorial of Eric4 edit the *.e4p file with a text editor, make sure the value of 'version' of 'Project' section is 5.0 or higher. Return Eric IDE, open the project. Delete all the source files and save as the project file to a expect folder. Add my source

Exception in thread “main” org.hibernate.HibernateException: Error accessing stax stream

家住魔仙堡 提交于 2019-12-08 15:17:32
I am making hibernate application using ubuntu trying to connect hibernate with mysql but this exception is arising. What should I have to do now to solve this? Exception in thread "main" org.hibernate.HibernateException: Error accessing stax stream at org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.unmarshal(JaxbCfgProcessor.java:107) at org.hibernate.boot.cfgxml.internal.JaxbCfgProcessor.unmarshal(JaxbCfgProcessor.java:65) at org.hibernate.boot.cfgxml.internal.ConfigLoader.loadConfigXmlResource(ConfigLoader.java:57) at org.hibernate.boot.registry.StandardServiceRegistryBuilder.configure

“dotnet restore” fails with “SSL peer certificate or SSH remote key was not OK”

微笑、不失礼 提交于 2019-12-08 11:39:33
问题 I've just followed the procedure here: https://www.microsoft.com/net/core#ubuntu and that's the output of dotnet restore log : Restoring packages for /home/test/project.json... error: Unable to load the service index for source https://api.nuget.org/v3/index.json. error: An error occurred while sending the request. error: SSL peer certificate or SSH remote key was not OK I've added the relevant certificates to the trusted ones in order to make curl work but the error remains for dotnet

Hyperledger Docker endpoint not found

≡放荡痞女 提交于 2019-12-08 10:00:54
问题 I have setup a 2 node Hyperledger network using Docker images on Ubuntu 14.04 by creating 2 containers as per the steps provided @ http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/#leveraging-published-docker-images Then I tried to deploy a chaincode, which compiles without errors, by calling POST /chaincode API and got response 200 with the hash returned for the deployed chaincode. But immediately after that I got the following error in the docker logs: 08:44:26.560