Go to advanced search

by Ivan219
Fri Mar 16, 2018 12:44 pm
Forum: Beginners
Topic: Error of using cocos2d python 3.5
Replies: 5
Views: 948

Re: Error of using cocos2d python 3.5

try: import cocos except: print('Cannot import cocos. Did you run \'pip install cocos2d\' ?') # define a simple HelloWorld() class that inherits from cocos.layer.Layer (making it a sub-class of it) class HelloWorld(cocos.layer.Layer): # __init__ is run every time you instantiate the class def __ini...
by Ivan219
Fri Mar 16, 2018 12:22 pm
Forum: Beginners
Topic: Error of using cocos2d python 3.5
Replies: 5
Views: 948

Re: Error of using cocos2d python 3.5

Thank for your answer. I tried to do this steps again: pi@raspberrypi:~ $ cd Desktop pi@raspberrypi:~/Desktop $ pip3 install cocos2d Collecting cocos2d Collecting six>=1.4 (from cocos2d) Using cached six-1.11.0-py2.py3-none-any.whl Collecting pyglet>=1.2 (from cocos2d) Using cached pyglet-1.3.1-py2....
by Ivan219
Thu Mar 15, 2018 4:18 pm
Forum: Beginners
Topic: Error of using cocos2d python 3.5
Replies: 5
Views: 948

Error of using cocos2d python 3.5

Hello, I have problem with use of the cocos2d on python 3.5 I install cocos2d with pip3. Cocos2d successfully installed. I tried to start program: https://github.com/CoderDojoLu/cocos2d-python-examples/blob/master/helloWorld.py But I got: Cannot import cocos. Did you run 'pip install cocos2d' ? Trac...
by Ivan219
Sat Oct 08, 2016 6:12 pm
Forum: Beginners
Topic: Modprobe uinput
Replies: 0
Views: 493

Modprobe uinput

Hello, I install uninput, and enter:

Code: Select all

sudo modprobe uinput
. All is working. But if i reboot my raspberry, i need enter:

Code: Select all

sudo modprobe uinput
How can i do it automatically?
by Ivan219
Fri Jul 29, 2016 8:36 pm
Forum: Beginners
Topic: Install ant to command line
Replies: 6
Views: 3243

Re: Install ant to command line

I find: ant working only in putty, when i try call ant from console in graficial interface it is not working. Why?
by Ivan219
Fri Jul 29, 2016 8:06 pm
Forum: Beginners
Topic: Install ant to command line
Replies: 6
Views: 3243

Re: Install ant to command line

I create .bash_profile without any link, and ant is working. Thank you for replies
by Ivan219
Fri Jul 29, 2016 7:33 pm
Forum: Beginners
Topic: Install ant to command line
Replies: 6
Views: 3243

Re: Install ant to command line

I use Jessie. Yes, I know, that raspberry not supported adobe flash, but i won't launch anything flash files, I want to build ane to adobe air, and then copied this file and used in windows.
by Ivan219
Fri Jul 29, 2016 6:42 pm
Forum: Beginners
Topic: Install ant to command line
Replies: 6
Views: 3243

Install ant to command line

Hello, i try install ant http://peterwawood.blogspot.ru/2014/07/ ... en-on.html by this tutorial. I have problem, where i must create .bash_profile? And the next question: I want build flash adobe air ane, I have all libraries, and build.xml for ant, can I do it with raspberry?
by Ivan219
Sun Jun 19, 2016 3:45 pm
Forum: Beginners
Topic: GPIO 27 not working
Replies: 7
Views: 2321

Re: GPIO 27 not working

It's a pity! :|
Thank you for reply.
by Ivan219
Sun Jun 19, 2016 2:04 pm
Forum: Beginners
Topic: GPIO 27 not working
Replies: 7
Views: 2321

Re: GPIO 27 not working

I think, that gpio 27 is failure. Can i resolve it?
by Ivan219
Sun Jun 19, 2016 2:00 pm
Forum: Beginners
Topic: GPIO 27 not working
Replies: 7
Views: 2321

Re: GPIO 27 not working

I got: The main 8 GPIO pins 0: 7: Pin 2 failure - expected 0, got 1 One fault detected. The 5 SPI pins 10:14: OK The serial pins 15:16: OK The I2C pins 8: 9: OK Faults detected! Output of 'readall': +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+ | BCM | wPi | Name | M...
by Ivan219
Sun Jun 19, 2016 1:48 pm
Forum: Beginners
Topic: GPIO 27 not working
Replies: 7
Views: 2321

Re: GPIO 27 not working

joan wrote:GPIO27 is connected to pin 13 on the expansion header. Is that the GPIO you mean?
Yes, pin13
by Ivan219
Sun Jun 19, 2016 1:40 pm
Forum: Beginners
Topic: GPIO 27 not working
Replies: 7
Views: 2321

GPIO 27 not working

Hello, I have problem GPIO 27 not working - led alltimes in 1. (i try it with gpio 23 -all is working ) Port burned? Raspberry itself works will the port be restored? fuse to fix?
by Ivan219
Thu Jun 16, 2016 8:55 pm
Forum: Troubleshooting
Topic: Aconv timelapse [RESOLVED]
Replies: 2
Views: 685

Re: Aconv timelapse

Error was in memory, after 64 mgbyte to gpu all is ok
by Ivan219
Thu Jun 16, 2016 6:50 pm
Forum: Beginners
Topic: Change layout
Replies: 7
Views: 1861

Re: Change layout

Thank you!) It's works! And how send keys from remote-keyboard regardless of the layout on raspberry, for example: on raspi - en, but print ru symbols, before reinstall os it was...
by Ivan219
Thu Jun 16, 2016 6:03 pm
Forum: Troubleshooting
Topic: Aconv timelapse [RESOLVED]
Replies: 2
Views: 685

Re: Aconv timelapse

May be i could to use another programto make timelapse?
by Ivan219
Thu Jun 16, 2016 3:43 pm
Forum: Troubleshooting
Topic: Aconv timelapse [RESOLVED]
Replies: 2
Views: 685

Aconv timelapse [RESOLVED]

Hello, I make 250 fotos from foto_0000.jpg to foto_0250.jpg. Then i try: sudo avconv -r 24 -i "foto_%4d.jpg" -r 24 -vcodec libx264 -crf 20 -g 15 test_timelapse.mp4 And on 20th (sometimes on 23th or 29th) frames raspberry pi freeze up and i can't do anything on raspi (mouse does not move). After 10-1...
by Ivan219
Thu Jun 16, 2016 3:05 pm
Forum: Beginners
Topic: Change layout
Replies: 7
Views: 1861

Change layout

Hello, i try to change layout in raspi-config, but when I i press: "Change layout", i got update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Reloading keymap. Th...
by Ivan219
Sun Jun 12, 2016 8:51 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

After

Code: Select all

sudo apt-get purge python3*
deleted GUI, and after reboot too... I made bakcup before this. And I think that I could reinstall raspabian...
by Ivan219
Sun Jun 12, 2016 6:08 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

I had two python3.4 I delete some files from python3.4 (downloaded), and in console I am getting errors, that i haven't some files.. I want to delete python3.4 (downloaded), and save python3.4 (from OS)
by Ivan219
Sun Jun 12, 2016 5:58 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

Yes, if I start program from root-user and in idle - all is working. But in console - errors, and in pi-user in idle i have permission (i know that this in normal). How I can resolve, that my programm is working in console? Sometime ago I made this: rm /usr/bin/python3 ln -s /usr/local/bin/python3 /...
by Ivan219
Sun Jun 12, 2016 5:53 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

I haven't any modules on python3.4, but they in dist-packages
by Ivan219
Sun Jun 12, 2016 4:53 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

I think, that problem in python 3.4... Can i delete him and install it again?
by Ivan219
Sun Jun 12, 2016 4:07 pm
Forum: Beginners
Topic: Rpi don't install
Replies: 16
Views: 3500

Re: Rpi don't install

And with:
#!/usr/bin/python3
or
#!/usr/bin/env python
i have the same error
by Ivan219
Sun Jun 12, 2016 4:06 pm
Forum: Troubleshooting
Topic: web browser crashes on booting
Replies: 5
Views: 1186

Re: web browser crashes on booting

Thank you, i install, it's very quickly! And how i can open this browser again? I haven't any icon... or icon in menu

Go to advanced search