Search found 13 matches

by graboosky
Sat Feb 15, 2020 11:41 am
Forum: Developer discussions
Topic: Using Python API with Xcode
Replies: 5
Views: 104

Re: Using Python API with Xcode

Thanks for the reply.
Just to let you know, I have done the basic setup and it seems to work. PythonKit in Xcode tried to use system python instead of > 3.0.

Now I hope I will not have to learn Python itself xD
by graboosky
Thu Feb 13, 2020 5:19 pm
Forum: Developer discussions
Topic: Using Python API with Xcode
Replies: 5
Views: 104

Re: Using Python API with Xcode

Hi, yes, I saw that.

The thing is I want to write soft to manage swarm. Bluetooth LE is too slow:/

So I was thinking about Crazyrradio and osx so could osx reach USB.

Script executed from Xcode always stops on:

Code: Select all

Connecting to radio://0/80/2M
Same script works perfectly fine in the terminal.
by graboosky
Wed Feb 12, 2020 9:34 am
Forum: Developer discussions
Topic: Using Python API with Xcode
Replies: 5
Views: 104

Using Python API with Xcode

Hi, I want to give a try myself and write OS X native app (maybe because I am not Python guy xD) Do you have any experience using Python API with Xcode? I was able to execute one of Crazyflie example but I can just see in the console “connecting to” status. Same script works when executed from termi...
by graboosky
Tue Feb 11, 2020 8:52 pm
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

Your changes were necessary, but I had to install pyqt5 with pip instead of homebrew, otherwise, I stacked with: qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fi...
by graboosky
Fri Feb 07, 2020 6:48 pm
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

It works with Qt installed with pip, otherwise, I can see logs from above.

Thank you:)
by graboosky
Fri Feb 07, 2020 3:12 pm
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

Damn it, I was sure I have posted logs yesterday. Anyway that is what I can see: Patryks-Mac:iOS patryk_grabowski$ cfclient INFO:cfclient.gui:Disabling STL printouts INFO:cfclient.gui:Foundation not found. Menu will show python as application name INFO:cfclient.utils.input.inputreaders:Input readers...
by graboosky
Thu Feb 06, 2020 7:54 am
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

Great!!! I have seen your changes on GitHub, thank You. But.. xD It is probably easy to solve - many topics on StackOverflow but neither works for me: qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" This application failed to start because no Qt platform plugin could be initialize...
by graboosky
Wed Feb 05, 2020 7:13 am
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

Same error with USB connected:/ Here is more in crash-report: Process: Python [41784] Path: /usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 3.7.6 (3.7.6) Code Type: X86-64 (Native) Parent Proc...
by graboosky
Tue Feb 04, 2020 3:38 pm
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

There is some progress but still have some problems: Patryks-Mac:~ patryk_grabowski$ cfclient INFO:cfclient.gui:Disabling STL printouts INFO:cfclient.gui:Foundation not found. Menu will show python as application name INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2'] INF...
by graboosky
Mon Feb 03, 2020 1:18 pm
Forum: Support
Topic: cfclient doesn't start on osx
Replies: 14
Views: 312

Re: cfclient doesn't start on osx

Thanks for reply,

Here we go:

Code: Select all

Patryks-Mac:~ patryk_grabowski$ pip3 show pyqt5
Name: PyQt5
Version: 5.14.0
Summary: None
Home-page: None
Author: None
Author-email: None
License: None
Location: /usr/local/lib/python3.7/site-packages
Requires: 
Required-by: 
Patryks-Mac:~ patryk_grabowski$