raspbian

Guide to compile Xuggler for Raspberry Pi

僤鯓⒐⒋嵵緔 提交于 2019-12-04 17:10:35
Can someone post a detailed write up, on how to compile Xuggler for Raspberry Pi? Ashish Sharma After working on for about 5 days , I am putting the following guide to compile xuggler for Raspberry Pi (Time required : 8 hrs): Prerequisites: Raspberry Pi Model B+ with 512 MB RAM (Any model less than this will not give you the compiled binaries and will stuck during compilation) Raspbian installed on an SD Card (more than 4GB SD card will do) Steps: Switch to 'root' user. From the Basic xuggler build page install the dependencies ( http://www.xuggle.com/xuggler/build ) labeled as 'Required'

Why does my JavaFx application not have a frame when run on my RaspberryPi?

人走茶凉 提交于 2019-12-04 14:07:34
I installed JDK 8 on my Raspberry Pi and am trying to run a javaFx sample application. My OS is Raspbian. I am using the "DigitalClock" sample application that comes with Netbeans 8. The application launches and runs on the Pi, but when it does it is almost full screen and has this large black border around the main view. Also, there is no frame on the app. No exit or minimize buttons. Frankly, I don't know how to shutdown the app or just run it in a smaller window. To resume using my Pi, I have to unplug it and reboot. What am I doing wrong here? A JavaFX developer, Daniel Blaukopf, explained

Netty 4 Receive Multicast packets on Linux

情到浓时终转凉″ 提交于 2019-12-04 08:50:41
I have written an app which receives multicast packets sent by a sender (containing audio). I have used Netty 4 and have got the app working on Windows but it will not receive multicast packets when run on Linux (Debian Wheezy (raspi) and Ubuntu 12). I have created some test code that can send and receive multicast packets, the results are: Send Windows to Windows works. Send Linux to Windows works. Send Windows to Linux, packets are sent but not received. I run the app as root and have SO_BROADCAST set to true. What have I missed? If I use the standard Java MulticastSocket instead of Netty,

Install R 3.1.2 on Wheezy 7.8 (Raspbian) fails

a 夏天 提交于 2019-12-04 08:42:50
问题 I'm a newbie to Linux and try to install the latest R version on my Raspberry. My Raspberry runs on Wheezy 7.8. I followed instructions on CRAN, so I added deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ to /etc/apt/sources.list ran apt-get update which was successful and gave me only a "signature error" for the public key as pointed out on the CRAN-site ran apt-get install r-base But the result of the last command is Some packages could not be installed. This may mean that you

Pillow: libopenjp2.so.7: cannot open shared object file: No such file or directory

折月煮酒 提交于 2019-12-04 08:01:09
I have a fresh, minimal Raspbian Stretch install. I have installed the PIXEL-dekstop by running sudo apt-get install --no-install-recommends xserver-xorg and am now trying to use Pillow in Python. Pillow was installed by running sudo apt-get install pip3 and then sudo pip3 install Pillow . Whenever I try from PIL import Image I get the error ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory . I have attempted to reinstall Pillow under different versions but it does not help. I have also enabled apt-get sources in /etc/apt/sources.txt and ran sudo apt-get

How to check if a file is already opened (in the same process)

寵の児 提交于 2019-12-04 05:01:45
And I'd like to specifically achieve that with the try catch construct. This related question suggests that I can do: try: open(fileName, 'wb+') except: print("File already opened!") raise However, it doesn't work me. I can open the same file multiple times without any problem: fileObj1 = open(fileName, 'wb+') fileObj2 = open(fileName, 'wb+') Is it because I have Python 3.5? Or because I'm using Raspbian ? Thanks for the help! atayenel You open the same file but assign them to different variables. What you should do is: fileobj=open(filename,"wb+") if not fileobj.closed: print("file is already

How to pass a keystroke (ALT+TAB) using Popen.communicate (on Linux)?

半世苍凉 提交于 2019-12-04 04:16:43
问题 I have two images open in a full-screen mode on my Raspberry Pi (using ristretto image viewer). When certain conditions are met, I need to pass an ALT+TAB keystroke combination to display the other one. I am trying to use Popen.communicate, but I don't know how to pass a key combination like ALT+TAB). Does anyone have any ideas? What I need is something like below (replacing "ALT+TAB" with a working code): s = Popen(['ristretto', '-f', 'my.gif' ,'&'],stdin=PIPE) if my_condition: s.communicate

Pocketsphinx install fail? Raspberry Pi Zero (Raspbian Jessie)

拟墨画扇 提交于 2019-12-03 23:24:33
This will probably get tagged as a duplicate, but I haven't had any luck, so here we go. I'm trying to develop a "Jarvis" like setup with Python2.7. I', looking to use Pocketsphinx as part of that. I tried to do this on my Windows 10 machine, but Pocketsphinx requires Swig, and that utterly failed on the Windows 10 machine (I'm still working on that.) So, I moved over to my Raspberry Pi Zero, since that is where I will be looking to impliment the actual program anyways. I got Swig to install just fine. None of the problems that Windows 10 had. Then I tried to install Pocketsphinx and things

HubConnection could not be loaded from SignalR Assembly in Raspberry Pi Mono Project

不问归期 提交于 2019-12-03 21:26:39
I am trying to build a project in Raspberry Pi which communicates with my Azure server via Signalr. I have used SignalR in .NET client side in a mono project while working on a Xamarin project and was successful. For the test purpose, I have written a small block of code. using System; using Microsoft.AspNet.SignalR.Client; namespace testSignalr1 { class Program { static void Main() { var hubConnection = new HubConnection("******"); var serverHub = hubConnection.CreateHubProxy("HubTest"); serverHub.On("broadcastMessage", message => System.Console.WriteLine(message)); hubConnection.Start().Wait

Install mongodb version >3 raspberry pi 2

…衆ロ難τιáo~ 提交于 2019-12-03 21:19:39
问题 Is it possible to install a mongo db version greater than 3.2 on raspberry pi with RASPBIAN JESSIE LITE installed on the pi? I only succeed to have the version 2.1 using this tutorial. http://www.widriksson.com/install-mongodb-raspberrypi/ I tried a lot of tutorial but impossible to find one which work for greater versions. 回答1: As it was already written in the comments, you are limited to the 32-bit version. Which comes with severe drawbacks: The data which can be stored is less than 2Gb