edne / pineal Goto Github PK
View Code? Open in Web Editor NEWGraphic Synthesis Engine, for live coding performances
License: GNU Affero General Public License v3.0
Graphic Synthesis Engine, for live coding performances
License: GNU Affero General Public License v3.0
Heyy edne, This looks really interesting, I was trying to get started by running PinealLoopProject.py on a linux mint debian machine with all the dependencies met, but I get
Traceback (most recent call last):
File "./PinealLoopProject.py", line 5, in <module>
pineal.main()
File "/home/yggdrasil/pineal/pineal/__init__.py", line 17, in main
for m in MODULES
File "/home/yggdrasil/pineal/pineal/core/__init__.py", line 3, in <module>
from visuals import Visuals
File "/home/yggdrasil/pineal/pineal/core/visuals.py", line 38
exec(self._stack[-1], self.box.__dict__) # update code changes
SyntaxError: unqualified exec is not allowed in function 'iteration' it contains a nested function with free variables
Any ideas?
It seems like Pineal is largely undocumented - from the frontend point of view - so it's not readily usable right now.
A minimal doc could be included in the README (just to start out) - I will work on that.
I'm running pineal with hy 0.11.0 and CPython 2.7.6 on OSX 10.10.1
It works great, but there's abnormally high CPU usage reported from the activity monitor, and my laptop quickly starts heating up an awful lot, far more than any other program i use. (the inside of the laptop has had a recent blowout, so it's not a physical issue, and i don't have this issue with any other programs). I installed wxpython under the guidance of the terminal error i got when i first ran pineal, but this made no difference to the high CPU usage/temps. Not sure why this is.
Also the python process registers as 'not responding', not sure if this is significant - it runs fine regardless.
Could Pineal have a feature similar to Fluxus that overlays the code being written onto the graphics window?
Hello! I'm having some strange exception when starting pineal. I'll put you in context:
brew install boost --c++11
brew install boost-python --c++11
https://aubio.org/installation
https://aubio.org/ofxAubio/download
OF_ROOT
) with the path to my openframeworks folder, this might also be documented) but editing the config.make
file to add some references to some missing boost libs:PROJECT_LDFLAGS = -lboost_python -laubio -lboost_filesystem -lboost_system -L/usr/lib/python2.7/config -lpython2.7
I tried to run the app as the final makefile message told me cd bin/pineal.app/Contents/MacOS/ && ./pineal
and make run
but got the following output (and a crash message from osx):
[notice ] Running setup()
[notice ] created ofxAubioOnset(default, 512, 256, 44100)
[notice ] created ofxAubioBeat(default, 512, 256, 44100)
libc++abi.dylib: terminating with uncaught exception of type boost::python::error_already_set
I tried opening in various ways, using finder and changing the executable current working directory but the error persists. I also tried installing the project requirements into a virtualenv and a system-wide installation, both which didn't gave any different result.
The OSX Error Eeporter gave me some sort of stacktrace about the error which is the following:
Application Specific Information:
terminating with uncaught exception of type boost::python::error_already_set
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff99b30f06 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff917f24ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8fa3e77f __abort + 145
3 libsystem_c.dylib 0x00007fff8fa3e6ee abort + 144
4 libc++abi.dylib 0x00007fff91782c11 abort_message + 257
5 libc++abi.dylib 0x00007fff917a8e17 default_terminate_handler() + 267
6 libobjc.A.dylib 0x00007fff8c8ac6c3 _objc_terminate() + 124
7 libc++abi.dylib 0x00007fff917a600e std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff917a5a7a __cxa_throw + 121
9 libboost_python.dylib 0x000000010b5a9bee boost::python::throw_error_already_set() + 46
10 libboost_python.dylib 0x000000010b594423 _object* boost::python::detail::manage_ptr<_object>(_object*, ...) + 19
11 libboost_python.dylib 0x000000010b5ae176 boost::python::import(boost::python::str) + 86
12 com.your-company-name.www 0x000000010a459c09 Pineal::setup() + 729
13 com.your-company-name.www 0x000000010a49cb07 std::__1::__function::__func<std::__1::shared_ptr<of::priv::Function<ofEventArgs, std::__1::recursive_mutex> > ofEvent<ofEventArgs, std::__1::recursive_mutex>::make_function<ofBaseApp>(ofBaseApp*, void (ofBaseApp::*)(ofEventArgs&), int)::'lambda'(void const*, ofEventArgs&), std::__1::allocator<std::__1::shared_ptr<of::priv::Function<ofEventArgs, std::__1::recursive_mutex> > ofEvent<ofEventArgs, std::__1::recursive_mutex>::make_function<ofBaseApp>(ofBaseApp*, void (ofBaseApp::*)(ofEventArgs&), int)::'lambda'(void const*, ofEventArgs&)>, bool (void const*, ofEventArgs&)>::operator()(void const*&&, ofEventArgs&) + 37
14 com.your-company-name.www 0x000000010a4a4199 std::__1::function<bool (void const*, ofEventArgs&)>::operator()(void const*, ofEventArgs&) const + 31
15 com.your-company-name.www 0x000000010a4a3fc0 ofEvent<ofEventArgs, std::__1::recursive_mutex>::notify(void const*, ofEventArgs&) + 170
16 com.your-company-name.www 0x000000010a4a2e3e ofCoreEvents::notifySetup() + 18
17 com.your-company-name.www 0x000000010a498abd ofRunApp(std::__1::shared_ptr<ofAppBaseWindow>, std::__1::shared_ptr<ofBaseApp>) + 93
18 com.your-company-name.www 0x000000010a4584ce main + 103
19 com.your-company-name.www 0x000000010a446cb4 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff99b315e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff917ef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff917ed341 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff99b31efa kevent_qos + 10
1 libdispatch.dylib 0x00007fff90ef4165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff90ef3dcd _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff99b315e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff917ef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff917ed341 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff99b315e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff917ef578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff917ed341 start_wqthread + 13
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff99b2afae semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff90ef9cb2 _dispatch_semaphore_wait_slow + 224
2 com.apple.HIToolbox 0x00007fff8cf9b9e1 _BeginEventReceiptOnThread + 151
3 com.apple.AppKit 0x00007fff89f7ed33 _NSEventThread + 51
4 libsystem_pthread.dylib 0x00007fff917ef99d _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff917ef91a _pthread_start + 168
6 libsystem_pthread.dylib 0x00007fff917ed351 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff99b3107a __select + 10
1 com.your-company-name.www 0x000000010a473b09 osc::SocketReceiveMultiplexer::Implementation::Run() + 999
2 com.your-company-name.www 0x000000010a4706e4 void* std::__1::__thread_proxy<std::__1::tuple<ofxOscReceiver::setup(int)::$_1> >(void*) + 69
3 libsystem_pthread.dylib 0x00007fff917ef99d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff917ef91a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff917ed351 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff99b2afc6 semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x00007fff90ef9c67 _dispatch_semaphore_wait_slow + 149
2 libdispatch.dylib 0x00007fff90ef3d1b _dispatch_worker_thread + 148
3 libsystem_pthread.dylib 0x00007fff917ef99d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff917ef91a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff917ed351 thread_start + 13
I have no idea how to debug the setup code and therefore I ask for help if I'm missing something or did something wrong or if there is another issue with the project/dependencies.
Thanks!
Documentation from the docstrings builds locally bu not on Read the Docs, probably due to different Sphynx versions (v1.5.3
vs v1.6.2
locally)
With settings in the code and movements with arrows and/or HJKL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.