-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Central Issue for porting to windows #2627
Comments
|
I installed the fann2 from the link above (actually though pipwin). |
Nice! Shouldn't >>> from os.path import expanduser
>>> expanduser('~/hello')
'C:\\Users\\afxxu3/hello'
>>> |
Oh cool! I wasn't aware of that. |
windows does not like to connect to 0.0.0.0 (though listening is not a problem) |
Oh, a problem, maybe. |
Haven't tried this but maybe the code should be updated to use os.path.expandvars as well as expanduser. at some point. |
Is there a way to disable some skills? |
You can add them to the list of blacklisted_skills Edit: they will still be downloaded but won't be started. |
Thanks, that's sufficient. |
Do you know of windows builds of mimic? Some binary releases? |
Btw, I have skills service up and runing now:) |
No mimic windows exe pre-built I'm afraid. You can skip local mimic for the time being and use the Mimic2 (American Male selection on home.mycroft.ai) |
But I can't pair it since the code should be spoken... |
It will be written in the log output. Look for |
Wait, I'll try anyway. |
After some workarounds with curses, I have text interface.
So the pairing code though retrieved, is never spoken, and even if print it, there's no one left to listen, as the skill is being removed. |
There's probably some issue in the code checking if a skill has been deleted. Check this method, if something is too isn't adding up: https://github.com/MycroftAI/mycroft-core/blob/dev/mycroft/skills/skill_manager.py#L313 |
Well, it somehow got solved. 🤷♂️ |
I applaud the effort and apparent progress, but I figure I should nevertheless paste the counterargument from chat:
On the other hand, I am very optimistic about Mycroft under WSL, assuming WSL catches up. Right now, everything works out of the box with WSL+PulseAudio. You just can't do any system control tasks, launching programs, stuff like that. Just caching directory contents in a skill has caused bluescreens. But, if all you wanna do is interact with Mycroft, Q&A skills, control IoT devices, things like that, WSL will do fine. |
Oh, and, naturally, no X = no GUI =P but Jarbas' TUI works well. |
@ChanceNCounter |
I don't understand why if audio service loads services like vlc, it uses the audio utils for tts instead.. |
It's made to be a pluggable system for different audio libraries to perform audio playback. This is used for example by skills playing news or a playlist of media. These are loaded as they are available and none is a hard requirement. the "simple" uses the basic playback commandlines defined in the configuration (starting on L53). And can be overridden in any of the system or user configurations. VLC will be used if it is installed since it offers better handling than the "simple" systems, etc. These services aren't needed for speech or anything I wouldn't focus on them in the beginning. Finding replacement commandline applications to use to render speech (play_wav and play_mp3 in the configuration) |
Ok, for now I use ffplay. It's nice:) |
Haven't you already? ;) |
Is there anything holy with the fann2 version? Why not use 1.1.2? |
Ok, I started to make it more organized, beginning with requirements installation script. |
@NoamDev Sorry didn't quite get around to it yet. I've had limited time in front of the computer these past weeks. |
@forslund That's ok, if you need help with cross-compiling tell me:) |
@NoamDev I've built a static binary of mimic for windows and added to the latest mimic-release: Direct link: https://github.com/MycroftAI/mimic1/releases/download/1.3.0.1/mimic_windows_amd64.zip Works for me(TM) but let me know if there are issues with using it. |
How can I force it to use mimic1 specifically without unpairing/disconnecting network? |
@MatthewScholefield |
@NoamDev I run ./build.sh in the repo. |
Select British Male as the voice, this is Mimic 1. |
Thanks! |
@forslund |
Because of multiple edits, I'll clarify about precise:
wine does not support powershell out of the box meaning if we use wine we have to use batch scripts. So, the question is: Are you OK with building precise for windows on a windows machine? |
I think there are two ways of looking at that. On the one hand, it makes sense to build on the target platform. On the other hand, it makes sense to ensure that all builds can be performed by the same machines, and I can't see too many people migrating from Linux to Windows =P IMO, it comes down to how committed you are to maintaining the Windows build. If there's a reasonable chance that it might become abandonware, I think its best shot at attracting a new maintainer would be cross-compilation, so suffer through the batfile. If you expect you'll be doing it for the foreseeable future, do it however's easiest for you. I wouldn't wish a batfile on my worst enemy. The biggest danger in packaging a FOSS project for an unsupported platform is not that you'll do it wrong. It's that you'll do it wrong and nobody else knows how to fix it. That ends with really irate users looking for help where none exists 😛 you haven't lived until you've seen somebody throw a fit at a dev team over an unofficial package they found in the Arch User Repository! So I'd base the decision entirely on whether you think you'll still be maintaining the build in a year. |
@ChanceNCounter Thanks! |
Hmm, I can use python sometimes, instead. This would both more easy and maintainable. |
I created windows precise build script and have built windows precise tars 🥳 |
How can I run the tests on precise executable? |
|
inside or outside the venv? |
Inside |
As you can see in the issue, releasing a new pyache version is required. The latest release is not windows compatible (though the source code is already). |
I'm away camping for a couple of days, in case Kris hasn't verified and prepped the release I can look at the pyache release this weekend and do a release (Kris permitting) |
@forslund sure, enjoy yourself! |
Amm, what's up with that? |
I feel confused. why precise has so many places to list its requirements? |
Seems like some merge has gone wrong there, the requirements.txt shouldn't be needed (replaced by the As far as I know the short list in the setup.py is the list of packages actually needed for building the executable. Maybe my gist for building the bundle on Arm64 Linux could be of use, though windows is likely quite different so probably not. Something that's good to know is that Python 3.8 and precise doesn't work. |
I need to make sure astor's data files get included, astor (a requirement of tensorflow) now uses a file named VERSION.
But the spec tamplate is used for building many scripts and I worry that not all of them use tensorflow.. |
Hey all, took me a while but I adapted precise for windows support :) |
Closing Issue since we're archiving the repo |
This a central issue for discussions about porting Mycroft to windows.
cc @el-tocino
The text was updated successfully, but these errors were encountered: