raspbian

node application getting "Error: EACCES: permission denied, mkdir '.tmp'

不问归期 提交于 2019-12-11 13:07:03
问题 I am running node-red on my raspberry pi and am trying to get a node that I wrote myself working on it. The node works fine on my windows PC but I haven't been able to get it working on my pi yet. My node uses mailin to setup an SMTP server but I don't think it's an issue with that package. mailin is trying to create a temporary folder but it obviously doesn't have permissions. How do I give node the permissions it needs to be able to create this folder? full error: 5 Apr 20:06:22 - [info]

Gstreamer with Python and PyQt does not work very well

六月ゝ 毕业季﹏ 提交于 2019-12-11 12:16:45
问题 I have two Raspberry Pi. and want stream video from one to another. for do this I used the following command on first Raspberry Pi to stream video : raspivid -t 999999 -w 1080 -h 720 -fps 25 -hf -b 2000000 -o - | \gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 \! gdppay ! tcpserversink host=serverIp port=5000 in the second Raspberry Pi I used the following pyqt code to capture streamed video : import sys import gi gi.require_version('Gst', '1.0') from gi.repository

Issue #1 when compiling Xuggler for Raspberry pi with libspeex

左心房为你撑大大i 提交于 2019-12-11 11:36:09
问题 I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian), I followed the 'Basic Build Instructions' available here for compiling Xuggler. After I successfully installed all the prerequisites and set the correct paths, I ran the following command: ant run-tests After sometime I am facing the following error and the ant build fails: {scroll at the end of log to see the issue} [exec] Making all in libspeex [exec] make[2]: Entering directory `/home/pi/Downloads/xuggle

How to install geos on debian raspberry pi

拥有回忆 提交于 2019-12-11 04:02:04
问题 Hi I am trying to install geos on a raspberry pi running rasbian wheezy so that I can include the shapely modules in my python scripts. I tried using: git clone git://git.debian.org/git/pkg-grass/geos this downloads properly, but when I try to run my python script it gives me a traceback error saying OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so'] have I put geos in the wrong place? is there a special way to build the files? Thanks for

PyMongo misbehaving with floating point numbers

五迷三道 提交于 2019-12-11 03:56:33
问题 I am using PyMongo to save data to a MongoDB. THe following is my code: from pymongo import MongoClient import time class data2db: def __init__(self): pass def enter_data(self, data): client = MongoClient('127.0.0.1', 27017) db = client.db coll = db.Temperature1 post = {"auth": data, "Time": time.asctime(time.localtime(time.time()))} post_ = coll.insert(post) c = data2db() c.enter_data(24.3) However, when I retrieve this object I get: { "_id" : ObjectId("558019749f43b8c19779c106"), "auth" :

Installing Ruby Gem on Raspbian Error: Failed to Build Gem Native Extension

自古美人都是妖i 提交于 2019-12-11 01:53:50
问题 I'm trying to install a ruby gem (Jekyll) and I keep getting the following error. ERROR: Error installing jekyll: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from extconf.rb:1:in `<main>' I'm using a Raspberry Pi. When asking Ruby it's version, I get the following: user@raspberrypi ~ $ ruby

Write to file in ARM Assembly

放肆的年华 提交于 2019-12-11 01:53:25
问题 I'm attempting to write the integer contents of a register to a text file in ARM Assembly. I have been reading with little success - I have deduced from reading the technical manual I will require some SWI instruction, but I cannot for the life of me find a concrete example of how to do this. Operating system is Raspbian running on Pi B model. Thank you in advance for any help, if you require any clarifications please let me know! EDIT : To clarify, I am assembling and executing my code

Can't install Heroku CLI on Raspbian

泄露秘密 提交于 2019-12-11 00:47:36
问题 I've just started using my RP3 as my development box, and got everything working fine: Python 3.6, created venv's, installed posgresql, working with Django. All is fine. Except that, if I want to work with Heroku, their CLI (former Toolbelt) won't install, stating the package doesn't exist. What I did: Their official site states that we should run a script: wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh Which basically seems to include heroku on the sources for apt-get ,

.NET Core开发的iNeuOS工业互联网平台,发布 iNeuDA 数据分析展示组件,快捷开发图形报表和数据大屏

谁说我不能喝 提交于 2019-12-10 21:52:20
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 目 录 1. 概述... 2 2. 演示信息... 2 3. 简单介绍... 3 4. 产品特点... 4 5. 价值体现... 5 1. 概述 经过一段时间的努力,iNeuDA产品组件已经开发和测试完成,现在正式上线。现在iNeuOS工业互联网操作系统的技术体系和产品体系更佳完善,为中小企业提供更佳全面解决方案。如下图: iNeuDA 一站式大数据分析平台作为国内领先的新一代自助式、探索式分析工具,在产品设 计理念上始终从用户的角度出发,一直围绕简单、易用,强调交互分析为目的的新型产品。我们将数据分析的各环节(数据准备、自服务数据建模、探索式分析、权限管控)融入到系统当中,让企业有序的、安全的管理数据和分析数据。 其他产品介绍,参见 以前的文章: 《 [视频演示].NET Core开发的iNeuOS物联网平台,实现从设备&PLC、云平台、移动APP数据链路闭环 》 《 .NET Core开发的iNeuOS物联网平台部署树霉派(raspbian),从网关到云端整体解决方案 》 《 .NET Core开发的iNeuOS物联网平台部署在Ubuntu操作系统,无缝跨平台 》 《 iNeuOS 物联网云操作系统2.0发布,集成设备容器、视图建模、机器学习三大模块 》 《 iNeuOS云操作系统,.NET

List devices with PyAudio on Linux

孤街醉人 提交于 2019-12-10 20:06:45
问题 When listing audio devices on Linux (I tried with Raspbian / RaspberryPi) with: import pyaudio p = pyaudio.PyAudio() for i in range(p.get_device_count()): print p.get_device_info_by_index(i) I get these errors. How to have a clean PyAudio running on Raspberry? ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0' ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4720: