ubuntu-14.04

ImageMagick on Ubuntu 14.04 No decode delegate

为君一笑 提交于 2019-12-12 03:39:09
问题 In development enviroment works but not in production enviroment. Production enviroment error: $e->getMessage(): "no decode delegate for this image format '/tmp/sws5725c638311df5.24370631' @ error/svg.c/ReadSVGImage/2871" Generate tmpname: $tmpname = '/tmp/'.uniqid('sws', true); Method: public function load($filename) { try { $this->filename = $filename; $this->image = new Imagick($filename); return $this; } catch(ImagickException $e) { error_log($e->getMessage(), 3, "/tmp/log.log");

Unable to run logstash config file (permission denied)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 03:38:40
问题 my config file is stored in /etc/logstash/ and I ran the command $ /etc/logstash -f /etc/logstash/logstash.conf as root. However, they told me that permission denied when I tried to do that. Is there any way to solve this? 回答1: As said, you need to run /opt/logstash/bin/logstash -f /etc/logstash/logstash.conf instead of /etc/logstash -f /etc/logstash/logstash.conf . This is caused by the default directory structure of your Linux system which logstash uses to put its files in. Wikipedia:

Alfresco 5.1 Javascript debugger error no x11 display variable was set but this program performed an operation which requires

纵然是瞬间 提交于 2019-12-12 03:37:49
问题 I have installed Alfresco 5.1 on Ubuntu 14.04 and I have also installed the Javascript repo for script editing. However my challenge is when I want to enable javascript debugger through http://localhost:8080/alfresco/s/api/javascript/debugger I get the following error: The Web Script /alfresco/s/api/javascript/debugger has responded with a status of 500 - Internal Error. 500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: 05230000 Wrapped

linking error while using opencv 3.0 on eclipse

前提是你 提交于 2019-12-12 03:37:19
问题 I am trying to build an opencv 3.0.0 video project under ubuntu 14.04 on eclipse luna. This is the code sample: #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <opencv2/videoio.hpp> using namespace cv; int main( int argc, char** argv ) { VideoCapture cap(0); Mat edges; namedWindow("edges", 1); while(1) { Mat frame; cap >> frame; cvtColor(frame, edges, CV_BGR2GRAY); GaussianBlur(edges, edges, Size(7,7), 1.5, 1.5); Canny(edges, edges, 0, 30, 3); imshow("edges", edges); if

Java: Class -Xmx1g not found [duplicate]

≯℡__Kan透↙ 提交于 2019-12-12 03:26:25
问题 This question already has answers here : Error: Could not find or load main class –Xmx1G (2 answers) Closed 2 years ago . I am trying to run a Program called "YouTrack" on my server. It did always work, but after the server restarted i am getting an error message when i want to start YouTrack. Class -Xmx1g could not be found. I am executing this command: java –Xmx1g –XX:MaxPermSize=500m –Djava.awt.headless=true –jar youtrack-6.5.16932.jar 8112 My system: ubuntu 14.04 Plesk java version "1.7.0

unable to remove index.php from laravel url ?? in ubuntu 14.04

霸气de小男生 提交于 2019-12-12 03:08:51
问题 there I just created a new project in laravel 5.2. then I had successfully removed public/index.php from url of my project in windows it works fine. But While I copied the same project in ubuntu inside var/www/html as /var/www/html/myproject . And enabled apache2 rewrite_mode. But it no work without putting index.php in url. It works without public only. http:://localhost/myproject/index.php/cms (it works fine) BUT http:://localhost/myproject/cms (it does not works)??? .Any suggestion???? my

graph-tool - k-shortest path - boost::coroutine was not found at compile-time

被刻印的时光 ゝ 提交于 2019-12-12 02:57:46
问题 I am trying to find the k shortest paths between two nodes in my directed graph. To this end I run the following snippet of code: g = load_graph('graph.xml') source = find_vertex(g,g.vp.xrn, '774123') source = source[0] target = find_vertex(g,g.vp.xrn,'636131') target = target[0] for path in all_shortest_paths(g,source,target): print path This returns the following error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/graph_tool

Unity3D scene blank in ubuntu

为君一笑 提交于 2019-12-12 02:25:35
问题 I am very new with unity3d. I download unity3d in format .deb file and install it. Is it because it missed configuration or something not support? Thank 回答1: have you checked all your graphics drivers? this black screen can happen if it is not all updated, go to the terminal in Ubuntu and try this command - sudo apt-get install xserver-xorg-video-intel, Once you've done that click this link and try installing the new build of Unity if you haven't http://beta.unity3d.com/download/f4fc8fd4067d

Pretty urls not working laravel 5.2 on a https protocol

余生长醉 提交于 2019-12-12 02:22:23
问题 Pretty urls was working on when it was on "http" using this tutorial (https://laravel.io/forum/09-15-2015-removing-indexphp-from-url-laravel-5116) i figured it out but as i configured the "https" it stopped working (Not Found The requested URL /login was not found on this server. Apache/2.4.7 (Ubuntu) Server at wasamar.com.ng Port 443) , what did i do wrong? by the way i am using an ubuntu cloud server 14.04 This is my virtual host config /etc/apache2/sites-avalable/wasamar.com.ng.conf

Beagleboard Black doesn't boot from MicroSD

别等时光非礼了梦想. 提交于 2019-12-12 01:58:25
问题 So I can flash the eMMC from the BBB. However I downloaded from wget https://rcn-ee.com/rootfs/2016-06-09/flasher/BBB-eMMC-flasher-ubuntu-16.04-console-armhf-2016-06-09-2gb.img.xz the Ubuntu image and extracted and placed it on the SD card through Win32DiskImager. I put the SD card in the sd slot and tried to boot by pressing the S2 button while I connect the board to the usb for power to my laptop. I wait for LEDs to turn on and nothing happens. It works without the SD card, but not with it.