Åke Forslund
5d50d22061
Fix listing skills
...
python3 dict_keys can't be serialized to json, and needs to be
explicitly converted to list
2018-05-02 08:35:17 +02:00
Matthew D. Scholefield
82a61c76c7
Fix infinite skill reloading by disabling folder checks
...
Python 3 modifies the __pycache__ folder which makes the parent folders update their timestamps causing an infinite skill reload
2018-04-27 11:44:07 -05:00
Matthew D. Scholefield
0abc3c78b1
Fix counting function arguments in Python 3
2018-04-27 11:42:54 -05:00
Matthew D. Scholefield
57a9b0b8e1
Fix running rePIP hack in msm
2018-04-27 11:42:27 -05:00
Matthew D. Scholefield
f7f55546f3
Check for bin/activate when deciding to install venv
2018-04-27 09:14:11 -05:00
Matthew D. Scholefield
de6a8f3ade
Fix venv on Ubuntu
2018-04-27 09:12:17 -05:00
Åke Forslund
d7494193d1
Remove backwards compatibility from tests
2018-04-27 08:58:36 -05:00
Åke Forslund
e6ed237326
Update msm, venv replaces virtualenvwrapper
2018-04-27 08:58:36 -05:00
Åke Forslund
0b0919e542
Fix dev_setup issues
...
- venv is CAN be setup in custom directory
- restore package installation
- set correct package for python3-venv
2018-04-27 08:57:48 -05:00
Åke Forslund
5447983999
Use sorted json to perform hash of settings
2018-04-27 08:57:48 -05:00
Matthew D. Scholefield
3894bc3641
Add .venv/ to .gitignore
2018-04-27 08:57:48 -05:00
Matthew D. Scholefield
78a6ec1ceb
Fix cli crash with Python 3
...
This worked in Python 2 because type(4 / 2) == int but in Python 3 type(4 / 2) == float
2018-04-27 08:56:47 -05:00
Åke Forslund
8673f9cbb9
Replace virtualenv with python3 venv
...
TODO msm
2018-04-27 08:56:47 -05:00
Åke Forslund
a2993e4ba6
Remove backwards compatibility with python 2.7
2018-04-27 08:51:47 -05:00
Åke Forslund
b200d51d39
Fix test cases under python 3
...
Lots of minor fixes including, sorting dicts, making ints of strings,
MagicMock file spec and some other things
A couple of issues in the mycroft-core code base were identified and
fixed. Most notably the incorrect version check for python three when
adding basestring.
Update .travis.yml
2018-04-27 08:50:46 -05:00
Åke Forslund
8840a43886
Fix hashes in settings for python3
...
convert strings to bytes before hashing
2018-04-27 08:50:46 -05:00
Åke Forslund
d4ba484ad9
Make text client python2/3 compatible
...
- Make str unicode string
- Use BytesIO for python2 and StringIO for python3
2018-04-27 08:50:46 -05:00
Åke Forslund
c6584d603d
Make speech client python3 compatible
2018-04-27 08:50:46 -05:00
Åke Forslund
ba8cfcab30
Update dev_setup.sh to install python3
...
This also adds the possibility to set the environment variable MYCROFT_VENV to separate the virtual env for python3 from the stable version.
Example:
export MYCROFT_VENV=mycroft-18.02
./dev_setup.sh
./start-mycroft.sh all
2018-04-27 08:50:46 -05:00
devs-mycroft
ad49a48d34
Version bump from 18.2.4 to 18.2.5
2018-04-27 08:59:31 +00:00
Åke
2f8b149dbd
Merge pull request #1562 from MycroftAI/bugfix/msm
...
Fix msm line numbers in results
2018-04-27 01:13:03 +02:00
Matthew D. Scholefield
48a3abc03a
Fix msm line numbers in results
2018-04-26 17:59:06 -05:00
Åke
f3110bc72b
Merge pull request #1560 from MycroftAI/feature/versioned-msm
...
Add versioning to msm
2018-04-26 23:42:57 +02:00
Åke
a34adeda08
Merge pull request #1559 from MycroftAI/bugfix/load-cache-location-on-timeout
...
add try catch for failed remote fetch location
2018-04-26 23:39:59 +02:00
Michael Nguyen
afd0dbb084
removed unecessary LOG
2018-04-26 16:18:31 -05:00
Michael Nguyen
e941a1d0a7
removed unknown member from exception object
2018-04-26 16:17:45 -05:00
Michael Nguyen
e05765bc12
change HTTPError exception into RequestException for a more general case
2018-04-26 15:23:10 -05:00
Matthew D. Scholefield
c2ac54154e
Add versioning to msm
2018-04-26 15:13:47 -05:00
Michael Nguyen
fbca77d8fc
add try catch for failed remote fetch location
2018-04-26 14:39:53 -05:00
Åke
3da33d1395
Merge pull request #1558 from forslund/bugfix/google-tts
...
Fix google tts playing audio
2018-04-26 15:52:38 +02:00
Åke Forslund
29a2e14a2f
Fix google tts now playing audio
...
The file extention of the audio was not set properly in the google_tts causing it to fail to playback the synthezised audio
2018-04-26 15:08:35 +02:00
Åke Forslund
d1d4256e05
Fix websocket reconnect
...
Making sure the reconnect code is reached after websocket closed error.
2018-04-19 16:00:01 -05:00
Åke
b63928888b
Merge pull request #1545 from MycroftAI/feature/ssml
...
Add SSML support for TTS
2018-04-19 19:01:54 +02:00
Åke Forslund
d03eb4ed70
Add Microsoft NCSI as a backup to detect connection
...
Since on some networks port 53 is blocked the old method failed on
occation. This adds a backup method using standard requests.
Read https://blogs.technet.microsoft.com/networking/2012/12/20/the-network-connection-status-icon/ for more info on the NCSI check.
2018-04-19 11:02:05 -05:00
Matthew D. Scholefield
ac26131b71
Fix SSML when tag spans multiple sentences
...
Now, sentence splitting is disabled if the utterance contains any xml tags
2018-04-18 14:45:09 -05:00
Matthew D. Scholefield
cbf73d4b30
SSML Changes
...
- Engines now specify if they support ssml rather than the configuration
- The text client strips out ssml tags
- Engines can modify tags via the `self.modify_tag` method
2018-04-18 14:45:09 -05:00
Jarbas
7c6af2017c
add SSML support
2018-04-18 14:45:09 -05:00
Åke Forslund
82f6af77b8
Update pygtk link
...
Update to the new archive along and enable follow redirect curl flag
2018-04-18 11:04:58 -05:00
Åke Forslund
560e4a3fef
Update python-gobject-dev to python-gobject-2-dev
2018-04-18 11:04:58 -05:00
Åke Forslund
3644bfdf08
Remove s3_cmd from dev_setup
...
s3_cmd is only used for packaging and shouldn't be installed in
dev_setup
2018-04-18 11:04:58 -05:00
Åke
eb1f1e32e9
Merge pull request #1539 from zeehio/feature_comments_voc_1531
...
Allow comments in skills' voc and regex files
2018-04-16 08:32:20 +02:00
Sergio Oller
5e8d8eb1a6
Feature: Allow comments in voc and regex files
...
When loading voc and regex files, lines starting with "#" are now
ignored, so developers and translators can use them to document their
decisions.
==== Fixed Issues ====
2018-04-14 21:53:14 +02:00
Ceda EI
9655c65686
Change libfann to fann in Arch install.
2018-04-13 15:55:57 -05:00
devs-mycroft
c6ed6f291b
Version bump from 18.2.3 to 18.2.4
2018-04-12 18:27:21 +00:00
Åke
aa4261252b
Merge pull request #1519 from MycroftAI/feature/stop-sigint
...
Shutdown improvements
2018-04-12 12:07:02 +02:00
Åke Forslund
d61e3c2dd0
Extra safety around skill specific shutdown
...
Catch error in shutdown method of skill and continue with general shutdown
2018-04-12 11:11:04 +02:00
Åke
1ef5e1fbfa
Merge pull request #1528 from MycroftAI/feature/decrease-polling
...
Skill settings improvements
2018-04-12 07:36:24 +02:00
Matthew D. Scholefield
fa11ac7dbe
Rename MycroftSkill.shutdown to MycroftSkill._shutdown
...
This removes the need for skills to call Super(MySkill, self).shutdown()
2018-04-11 21:29:14 -05:00
Matthew D. Scholefield
10bd9a1cf3
Change initial kill to SIGINT
...
This sends a ctrl+c signal to each process which will allow code to exit properly by handling KeyboardInterrupt
Other notable changes:
- create_daemon method used to clean up create daemon threads
- create_echo_function used to reduce code duplication with messagebus
echo functions
- wait_for_exit_signal used to wait for ctrl+c (SIGINT)
- reset_sigint_handler used to ensure SIGINT will raise KeyboardInterrupt
2018-04-11 21:29:10 -05:00
Matthew D. Scholefield
2e005a99e8
Support triggering skill settings update via a message
2018-04-11 15:24:07 -05:00