Giter Site home page Giter Site logo

bwedit-python's People

Contributors

jaxter184 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kucing483

bwedit-python's Issues

Editor doesn't load on Linux

Ubuntu 16.04. Python versions 3.5 and 3.6.

[I] (env3.6) dan@dan-UX303UA ~/C/p/bwConvert> python editor.py 
Traceback (most recent call last):
  File "editor.py", line 1061, in <module>
    app = Application()
  File "editor.py", line 36, in __init__
    tk.Tk.iconbitmap(self, default="bitwig.ico")
  File "/usr/lib/python3.6/tkinter/__init__.py", line 1869, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, '-default', default)
_tkinter.TclError: wrong # args: should be "wm iconbitmap window ?bitmap?"

Unpack process doesn't work on Ubuntu 16.04 64bit

Ubuntu 16.04 x64. Python 3.5 and 3.6.

[I] (env3.6) dan@dan-UX303UA ~/C/p/bwConvert> python main.py
Heyo I'm Jaxter, thanks for using my little script. Notice how I said 'my'. That's right, this is something that I made, and you should therefore be pretty careful about using it. I won't take responsibility for breaking your Bitwig devices, so make sure you have a copy of them saved somewhere before starting. Also, be cautious in general; just because I trust my own work doesn't mean you should.
Now, with the fearmongering out of the way, lets get started.

Enter the subdirectory that your devices are in. (If they're in the 'inputs' folder, just press enter)
-NoteEcho.bwdevice
Traceback (most recent call last):
  File "main.py", line 121, in <module>
    magic(file, inputDir)
  File "main.py", line 24, in magic
    gather = decoder.bwDecode(device_data)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 417, in bwDecode
    output.append(getClass(text))
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 282, in getClass
    getParams(text, object)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 249, in getParams
    value = parseField(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 139, in parseField
    tempList.append(getClass(text))
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 282, in getClass
    getParams(text, object)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 249, in getParams
    value = parseField(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 108, in parseField
    return getClass(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 282, in getClass
    getParams(text, object)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 249, in getParams
    value = parseField(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 108, in parseField
    return getClass(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 282, in getClass
    getParams(text, object)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 249, in getParams
    value = parseField(text)
  File "/home/dan/Code/python/bwConvert/src/decoder.py", line 168, in parseField
    flVals.append(struct.unpack('f', struct.pack('L', intConv(text[offset:offset + 4])))[0])
struct.error: unpack requires a buffer of 4 bytes

Path issue on Linux

Ubuntu 16.04. Python 3.5 and 3.6.

> python main.php

Heyo I'm Jaxter, thanks for using my little script. Notice how I said 'my'. That's right, this is something that I made, and you should therefore be pretty careful about using it. I won't take responsibility for breaking your Bitwig devices, so make sure you have a copy of them saved somewhere before starting. Also, be cautious in general; just because I trust my own work doesn't mean you should.
Now, with the fearmongering out of the way, lets get started.

Enter the subdirectory that your devices are in. (If they're in the 'inputs' folder, just press enter)
-NoteEcho.bwdevice
Traceback (most recent call last):
  File "main.py", line 121, in <module>
    magic(file, inputDir)
  File "main.py", line 14, in magic
    device_data = fs.read_binary(directory + '\\' + name)
  File "/home/dan/Code/python/bwConvert/src/lib/fs.py", line 16, in read_binary
    with open(path, 'rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'input\\NoteEcho.bwdevice'

Changing line 14 of main.py resolved the issue for me:

device_data = fs.read_binary(os.path.join(directory, name))

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.