草庐IT

Raspbian

全部标签

java.nio.file.InvalidPathException : Malformed input or input contains unmappable characters when using national characters

我正在尝试创建一些目录,这些目录具有国家符号,如“äöü”等。不幸的是,每当尝试这样做时,我都会收到此异常:java.nio.file.InvalidPathException:Malformedinputorinputcontainsunmappablecharacters:/home/pi/myFolder/löwenatsun.nio.fs.UnixPath.encode(UnixPath.java:147)atsun.nio.fs.UnixPath.(UnixPath.java:71)atsun.nio.fs.UnixFileSystem.getPath(UnixFileSy

java.nio.file.InvalidPathException : Malformed input or input contains unmappable characters when using national characters

我正在尝试创建一些目录,这些目录具有国家符号,如“äöü”等。不幸的是,每当尝试这样做时,我都会收到此异常:java.nio.file.InvalidPathException:Malformedinputorinputcontainsunmappablecharacters:/home/pi/myFolder/löwenatsun.nio.fs.UnixPath.encode(UnixPath.java:147)atsun.nio.fs.UnixPath.(UnixPath.java:71)atsun.nio.fs.UnixFileSystem.getPath(UnixFileSy

linux - nginx: [emerg] 未知指令 ""在/etc/nginx/sites-enabled/example.com:3

我关注了这个网站http://raspberrypihelp.net/tutorials/24-raspberry-pi-webserver在我的RaspberryPi上设置HTTP服务器nginx并尝试设置站点调用example.com。但是当我运行sudoservicenginxrestart时,它说Restartingnginx:nginx:[emerg]unknowndirective""in/etc/nginx/sites-enabled/example.com:3这是example.com中的代码。server{server_nameexample.com192.168.1

linux - nginx: [emerg] 未知指令 ""在/etc/nginx/sites-enabled/example.com:3

我关注了这个网站http://raspberrypihelp.net/tutorials/24-raspberry-pi-webserver在我的RaspberryPi上设置HTTP服务器nginx并尝试设置站点调用example.com。但是当我运行sudoservicenginxrestart时,它说Restartingnginx:nginx:[emerg]unknowndirective""in/etc/nginx/sites-enabled/example.com:3这是example.com中的代码。server{server_nameexample.com192.168.1

python - Raspberry Pi NoIR 相机挂起

背景信息:我使用RPiB+(Raspbian)构建了一个智能门解决方案,它使用三个传感器(PIR、陀螺仪[I2C]和超声波)。根据Python脚本管理的传感器状态,我开始使用raspivid命令录制视频和/或在蓝牙扬声器上播放声音。我还有一个连接到RPi的USBWIFI加密狗。这就是我在.sh文件中调用PiNoIR相机的方式:raspivid-w800-h600-t15000-ofile.h264-n-rot270问题描述:摄像头可以正常工作一段时间(我无法准确说明多长时间[可能是2小时],也无法确定是什么触发了问题),但随后就停止工作了。有趣的是我没有收到任何错误消息。我做了什么来确

python - Raspberry Pi NoIR 相机挂起

背景信息:我使用RPiB+(Raspbian)构建了一个智能门解决方案,它使用三个传感器(PIR、陀螺仪[I2C]和超声波)。根据Python脚本管理的传感器状态,我开始使用raspivid命令录制视频和/或在蓝牙扬声器上播放声音。我还有一个连接到RPi的USBWIFI加密狗。这就是我在.sh文件中调用PiNoIR相机的方式:raspivid-w800-h600-t15000-ofile.h264-n-rot270问题描述:摄像头可以正常工作一段时间(我无法准确说明多长时间[可能是2小时],也无法确定是什么触发了问题),但随后就停止工作了。有趣的是我没有收到任何错误消息。我做了什么来确

linux - 如何用 QEMU 模拟 Raspberry Pi Raspbian?

我正在尝试使用QEMU模拟带有Raspian操作系统的RaspberryPi。我已经尝试了互联网上描述的几种方法,但都没有成功。我发现我需要为适合所需操作系统的Linux内核打补丁。就我而言,我选择了带有内核4.4的RasbianLite:wgethttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2016-05-31/2016-05-27-raspbian-jessie-lite.zipunzip2016-05-27-raspbian-jessie-lite.ziprm2016-05-27-rasp

linux - 如何用 QEMU 模拟 Raspberry Pi Raspbian?

我正在尝试使用QEMU模拟带有Raspian操作系统的RaspberryPi。我已经尝试了互联网上描述的几种方法,但都没有成功。我发现我需要为适合所需操作系统的Linux内核打补丁。就我而言,我选择了带有内核4.4的RasbianLite:wgethttps://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2016-05-31/2016-05-27-raspbian-jessie-lite.zipunzip2016-05-27-raspbian-jessie-lite.ziprm2016-05-27-rasp

linux - 如何为树莓派编译内核模块?

我在为树莓派编译内核模块时遇到问题。我想使用树莓派本身编译一个“helloworld”内核模块。我正在使用raspbianwheezy3.6.11+。我尝试按照http://elinux.org/RPi_Kernel_Compilation中的说明进行操作.这是我正在使用的Makefile:obj-m+=hello-1.oall:make-C/lib/modules/$(shelluname-r)/buildM=$(PWD)modulesclean:make-C/lib/modules/$(shelluname-r)/buildM=$(PWD)clean这里是hello-1.c的源代码

linux - 如何为树莓派编译内核模块?

我在为树莓派编译内核模块时遇到问题。我想使用树莓派本身编译一个“helloworld”内核模块。我正在使用raspbianwheezy3.6.11+。我尝试按照http://elinux.org/RPi_Kernel_Compilation中的说明进行操作.这是我正在使用的Makefile:obj-m+=hello-1.oall:make-C/lib/modules/$(shelluname-r)/buildM=$(PWD)modulesclean:make-C/lib/modules/$(shelluname-r)/buildM=$(PWD)clean这里是hello-1.c的源代码