Comments (12)
Change line 11 in manager.py from:
tmp_dir = "/tmp"
to:
tmp_dir = "c:\Temp"
then make sure that c:\Temp exists...
from abletonosc.
Some quick testing and I don't see these errors causing any actual failure, but just inflating the log file. I disabled the log entry in the code, and it appears to be working correctly. Reading about WinError 10035 online and lots of folks seem to think it is harmless and not worth trapping and logging.
from abletonosc.
I had this working in Live 11.0 then I made the mistake of updating to Live 11.1. It broke. So I downgraded back to Live 11.0 and now it still doesn't work. What the hell?!? :-)
from abletonosc.
Hi how do you install it in ableton 11 ? doesn't seem to show up
I bet you're on a PC. I'm having the same issue. Works get on my Mac but I can't get it to show up on my PC.
from abletonosc.
Now c:\Temp\abletonosc.log gets spammed with:
(2021-06-08 20:26:04,961) [INFO] AbletonOSC: Socket error: Traceback (most recent call last): File "C:\ProgramData\Ableton\Live 11 Suite\Resources\MIDI Remote Scripts\AbletonOSC\abletonosc\osc_server.py", line 62, in process data, addr = self._socket.recvfrom(65536) BlockingIOError: [WinError 10035] A non-blocking socket operation could not be completed immediately
I believe this may be related to a short or non-existent timeout...?
from abletonosc.
I can confirm that the original script does not show up in Live on PC.
@bsom Thanks a lot for finding the culprit and the solution for the inflating log file!
@ideoforms Would be great to have this fixed or explained in the readme.
It should also be mentioned that the IPs have to be changed in osc_server.py for
non-local OSC apps.
from abletonosc.
Can't make it work in Live 11 under Windows, neither LiveOSC :(
I remember that at least LiveOSC used to work with Live 10.
from abletonosc.
Change line 11 in manager.py from:
tmp_dir = "/tmp"
to:tmp_dir = "c:\Temp"
then make sure that c:\Temp exists...
This fix also works for me in Windows 10/Ableton 11. Turned logging off by commenting out "logger.addHandler(file_handler)". However I notice "file_handler.setLevel(logging.INFO)". Should that be changed to "CRIT", "WARN" to turn off all but the most relevant log items ?
from abletonosc.
A chance to make it appear in ableton live 11.1, windows 10? i put the script in user\Documents\Ableton\User Library\Remote Scripts , no luck Then in C:\ProgramData\Ableton\Live 11 Suite\Resources\MIDI Remote Scripts , no luck to .
I also : "Change line 11 in manager.py from:
tmp_dir = "/tmp"
to:
tmp_dir = "c:\Temp"
then make sure that c:\Temp exists... "
Nothing...
from abletonosc.
Even more interesting: It works just fine on my Mac with Live 11.1.1 but no go on my Windows 10 machine with same version of Live. Trying to figure out where it falls apart...
from abletonosc.
OK, I figured it out.
In manager.py, the commands to construct the log path seem to have changed what they return. Their return value was adding "c:\windows\system32\" to the returned string.
As a simple workaround, I simply commented out the lines:
tmp_dir = "/tmp"
log_path = os.path.join(tmp_dir, "abletonosc.log")
And replaced them with a hard-coded path:
log_path="c:\temp\abletonosc.log"
I'm sure there is a more elegant way to solve this but this was done just to investigate the issue.
from abletonosc.
I've now resolved this more elegantly by having the script create and log to a folder called logs
relative to the AbletonOSC top-level directory, which should resolve these Windows path issues. Thanks @RickDDD for the idea and help with testing.
from abletonosc.
Related Issues (20)
- Duplicate clip missing? HOT 1
- Thank you!
- /api/reload messes up listeners HOT 6
- /name and /color clip listeners breaking HOT 4
- Different response times HOT 3
- Listeners for device parameters HOT 1
- API Call id HOT 12
- Request: Scene name & color HOT 2
- Request: The blue hand HOT 1
- /live/track/get/send should report send index HOT 1
- Request: Support ability to modify automation envelope HOT 1
- Query track data in bulk RuntimeError: Master and Return Tracks have no 'Arm' state! HOT 3
- /live/track/start_listen/* does not work on MIDI tracks HOT 1
- Device parameters data within a range? HOT 1
- Removing listeners? HOT 2
- seemingly missing a way of starting the recording of audio clip (midi clip does work, but need audio clip recording on/off toggle) HOT 2
- a slider to control pitch_coarse of a clip? HOT 2
- Methods for switching between session, arrangement, device and clip view HOT 3
- seeking Warp On/Off, Loop On/Off for audioclips HOT 3
- Inconsistent behaviour for empty clip slots HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abletonosc.