Giter Club home page Giter Club logo

pyosc's Issues

Python 3 Installation and use

Hi all,

I'm trying to install this on Python 3 but I keep getting a lot of errors like:

"AttributeError: module 'types' has no attribute..."

I tried changing this to reflect the changes in Python 3 but there is always a new error. Is there a way to install this for Python 3?

Thanks!

Issues at first run

I'm getting this error when I try to import (just checked, also on installation..):
OSX 10.11, Python 3.4.3

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ ... /OSC.py", line 781
    binary = struct.pack('>LL', 0L, 1L)
                                 ^
SyntaxError: invalid syntax

Any idea?

Problem running the example

Hi there,

Here is what I get when I try to run the sender example:

client.send( OSCMessage("/user/1", [1.0, 2.0, 3.0 ] ) )
TypeError: init() takes at most 2 arguments (3 given)

Thanks,

Example knect-snd.py broken

When I download pyosc via pip and try running the knect-snd.py example I get the following error:

Traceback (most recent call last):
File "BlankOSC.py", line 8, in
client.send( OSCMessage("/user/1", [1.0, 2.0, 3.0 ] ) )
TypeError: init() takes at most 2 arguments (3 given)

This is when I copy and paste the example, nothing else. OSC sending works find when I create an OSC message with no arguments then append address and data. Anything I'm missing?

handshake example

Can you provide an example of an handshake between server and client such that for every data being sent to server from client, the server has to request it to the client.

Error on install

After running pip install pyOSC or ./setup.py install on ubuntu 16.04 and mint 18.2 we get the following error preventing installation.

Collecting pyOSC
  Downloading https://files.pythonhosted.org/packages/7c/e4/6abb118cf110813a7922119ed0d53e5fe51c570296785ec2a39f37606d85/pyOSC-0.3.5b-5294.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g9knkxpt/pyOSC/setup.py'"'"'; __file__='"'"'/tmp/pip-install-g9knkxpt/pyOSC/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-g9knkxpt/pyOSC/pip-egg-info
         cwd: /tmp/pip-install-g9knkxpt/pyOSC/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-g9knkxpt/pyOSC/setup.py", line 5, in <module>
        import OSC
      File "/tmp/pip-install-g9knkxpt/pyOSC/OSC.py", line 735
        binary = struct.pack('>ll', 0L, 1L)
                                     ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.