mint-n-pepper / DanceBotsEditor

Qt GUI to edit Dancebot Choreographies
https://www.dancebots.ch
GNU General Public License v3.0
4 stars 1 forks source link

Testing develop branch for 1.2.0 release #80

Closed philippReist closed 3 years ago

philippReist commented 3 years ago

Hi @tiemes and @robinhanhart,

Looks like we are there with 1.2.0! Could you (or task someone from M&P, Tobias) please thoroughly test the develop branch before I merge it to master and we do the 1.2.0 release?

What I just did:

Otherwise, please check that the new features work well with robots, and especially also on Mac which I have not tested yet.

New features for 1.2.0:

Once I get the OK from you we can proceed. Thank you for your help! Philipp

tiemes commented 3 years ago

Hi Philipp I'll get in contact with our team to have it tested. I have someone who will provide us with a free to use mp3 file. However it will take some more time for him to create it.

tiemes commented 3 years ago

@philippReist do you have the binaries somewhere? Would make testing easier, we're quite busy with CYBATHLON projects.

philippReist commented 3 years ago

Not for Mac - I can make a zip for Windows. But we really need to test Mac as well.

tiemes commented 3 years ago

I‘d appreciate the windows zip. I tried to build it on my M1 mac, but had errors. Ill follow up next week.

Von meinem iPhone gesendet

Am 17.09.2021 um 09:23 schrieb Philipp Reist @.***>:

 Not for Mac - I can make a zip for Windows. But we really need to test Mac as well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

philippReist commented 3 years ago

Here you go for the Win build: https://drive.google.com/file/d/1uw4eIWdBWZYrmUQzbM_FEDDhaB_5ttgd/view?usp=sharing

It would be great to test on Mac too before we release it.

robinhanhart commented 3 years ago

I tried testing it on my Intel Mac but I'm having cmake issues. Don't think they are related to Dancebots code.

ld: can't map file, errno=22 file '/Library/Frameworks/sqlite3.framework' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

tiemes commented 3 years ago

error.txt

94%] Linking CXX executable test-beatdetect ld: warning: ignoring file /Users/toby/Qt/5.12.9/clang_64/lib/QtWidgets.framework/QtWidgets, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /Users/toby/Qt/5.12.9/clang_64/lib/QtGui.framework/QtGui, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /Users/toby/Qt/5.12.9/clang_64/lib/QtCore.framework/QtCore, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "QArrayData::deallocate(QArrayData, unsigned long, unsigned long)", referenced from: QString::~QString() in main.cc.o operator+(QString const&, char const) in main.cc.o (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o QList::append(QString const&) in main.cc.o QString::toStdString() const in main.cc.o QList::detach_helper(int) in main.cc.o QList::detach_helper_grow(int, int) in main.cc.o ... "QArrayData::shared_null", referenced from: AudioFile::AudioFile() in audio_file.cc.o AudioFile::findHeaderCode(QFile) in audio_file.cc.o AudioFile::clear() in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QByteArray::reallocData(unsigned int, QFlags)", referenced from: AudioFile::findHeaderCode(QFile) in audio_file.cc.o "QByteArray::clear()", referenced from: AudioFile::clear() in audio_file.cc.o "QByteArray::append(char)", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QByteArray::resize(int)", referenced from: AudioFile::findHeaderCode(QFile) in audio_file.cc.o "QByteArray::QByteArray(char const, int)", referenced from: GLOBALsub_I_audio_file.cc in audio_file.cc.o "QDataStream::setByteOrder(QDataStream::ByteOrder)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::applyDataStreamSettings(QDataStream) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::applyDataStreamSettings(QDataStream) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QDataStream::QDataStream(QByteArray, QFlags)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QDataStream::QDataStream(QByteArray const&)", referenced from: AudioFile::load(QString) in audio_file.cc.o "QDataStream::~QDataStream()", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QDataStream::operator<<(int)", referenced from: AudioFile::save(QString) in audio_file.cc.o "QDataStream::operator>>(int&)", referenced from: AudioFile::load(QString) in audio_file.cc.o "QFileDevice::seek(long long)", referenced from: AudioFile::load(QString) in audio_file.cc.o "QDir::QDir(QString const&)", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QDir::~QDir()", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QFile::open(QFlags)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QFile::QFile(QString const&)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QFile::~QFile()", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::save(QString) in audio_file.cc.o "QString::toUtf8_helper(QString const&)", referenced from: QString::toStdString() const in main.cc.o QString::toStdString() const in audio_file.cc.o "QString::fromUtf8_helper(char const, int)", referenced from: operator+(QString const&, char const) in main.cc.o "QString::fromAscii_helper(char const, int)", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o GLOBALsub_I_main.cc in main.cc.o "QString::append(QString const&)", referenced from: operator+(QString const&, char const) in main.cc.o (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QString::operator=(QString const&)", referenced from: AudioFile::load(QString) in audio_file.cc.o "QIODevice::read(char, long long)", referenced from: AudioFile::load(QString) in audio_file.cc.o AudioFile::findHeaderCode(QFile) in audio_file.cc.o "QIODevice::read(long long)", referenced from: AudioFile::load(QString) in audio_file.cc.o "QIODevice::write(char const, long long)", referenced from: AudioFile::save(QString) in audio_file.cc.o "QListData::detach_grow(int, int)", referenced from: QList::detach_helper_grow(int, int) in main.cc.o "QListData::shared_null", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QListData::append()", referenced from: QList::append(QString const&) in main.cc.o "QListData::detach(int)", referenced from: QList::detach_helper(int) in main.cc.o "QListData::dispose(QListData::Data)", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o QList::detach_helper(int) in main.cc.o QList::detach_helper_grow(int, int) in main.cc.o "QListData::realloc(int)", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QFileDevice::pos() const", referenced from: AudioFile::load(QString) in audio_file.cc.o "QDir::exists() const", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QDir::filePath(QString const&) const", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QDir::entryList(QStringList const&, QFlags, QFlags) const", referenced from: (anonymous namespace)::BeatDetectTest_beatConsistency_Test::TestBody() in main.cc.o "QFile::size() const", referenced from: AudioFile::load(QString) in audio_file.cc.o "QFile::exists() const", referenced from: AudioFile::load(QString) in audio_file.cc.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [test/test_beatdetect/test-beatdetect] Error 1 make[1]: [test/test_beatdetect/CMakeFiles/test-beatdetect.dir/all] Error 2 make: *** [all] Error 2

M1 Mac

philippReist commented 3 years ago

Hmm, @robinhanhart on an Intel Mac it should work with the instructions we have - can you please double-check that you followed them exactlz?

@tiemes - can you cross-compile for x86, i.e. Intel? Maybe you can choose the correct target/platform. Maybe in cmake? I think the intel apps should run on M1 if I am not mistaken.

tiemes commented 3 years ago

Not without help ;-) I‘m not exactly skilled in cmake and it would cost so much time if I have to set it up on my own.

Am 21.09.2021 um 12:51 schrieb Philipp Reist @.***>:

 Hmm, @robinhanhart on an Intel Mac it should work with the instructions we have - can you please double-check that you followed them exactlz?

@tiemes - can you cross-compile for x86, i.e. Intel? Maybe you can choose the correct target/platform. Maybe in cmake? I think the intel apps should run on M1 if I am not mistaken.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

robinhanhart commented 3 years ago

Hmm, @robinhanhart on an Intel Mac it should work with the instructions we have - can you please double-check that you followed them exactlz?

I think I have a config problem that's specific to my work mac. Will check on my personal Intel mac when I get the chance. Followed the instructions on the readme.

philippReist commented 3 years ago

@tiemes - right cross-compiling could be tricky. So much better to just use an Intel Macbook then. Do you still have the M&P Macbook I used a while back? The toolchain and everything should be installed on it.

@robinhanhart - thank you for checking with your personal Mac! I hope it'll work!

tiemes commented 3 years ago

I‘ll check.

Am 21.09.2021 um 17:09 schrieb Philipp Reist @.***>:

 @tiemes - right cross-compiling could be tricky. So much better to just use an Intel Macbook then. Do you still have the M&P Macbook I used a while back? The toolchain and everything should be installed on it.

@robinhanhart - thank you for checking with your personal Mac! I hope it'll work!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

robinhanhart commented 3 years ago

Also doesn't work on my personal mac. 😦 Same error. Maybe some issue with higher mac versions. Couldn't find a working fix online.

macOS 11.6 Big Sur Xcode 13.0

Error occurs on [ 25%] Linking C executable sndfile-regtest

ld: warning: directory not found for option '-L/opt/local/lib'
ld: can't map file, errno=22 file '/Library/Frameworks/sqlite3.framework' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libsndfile/sndfile-regtest] Error 1
make[1]: *** [lib/libsndfile/CMakeFiles/sndfile-regtest.dir/all] Error 2
make: *** [all] Error 2
r-oung commented 3 years ago

Sorry for being late to the game.

@philippReist I might not have explained this to you before:

I tested the binary (see above) on macOS 10.15 (Catalina):

  • Fix the umlaut issue in the song title/artist input fields

  • When I loaded an MP3 (with umlaut in the file's metadata title), it gave me the error: "Cannot decode corrupt MP3 file." However, this error might be unrelated.

  • I am able to write umlauts into the DanceBots Editor Artist and Title fields, save the file, and reload the file correctly.

  • Expand the howto text in the (?) button - please check! There's a typo. I'll submit a PR after this.

New features for 1.2.0:

  • Instaplay This works correctly. UI/UX suggestions:

  • The message appears and disappears too quickly to know what's going on.

  • Highlight the Robot and Human button when pressed so that it's clear which mode is being used.

  • toggle for channel swap This works correctly.

Comment:

philippReist commented 3 years ago

Whoa thank you so much Ray! @tiemes FYI you can just take that MacOS binary for testing / I think with Ray's testing we are good to publish this.

@robinhanhart would you be able to address the UI suggestions that Ray has? I agree that the highlight would be very useful.

I will take care of the CLEAR artist title text.

philippReist commented 3 years ago

If you create a Release, it should automatically build a binary for macOS and upload to the release's assets

Is this also true for the develop branch, @r-oung?

r-oung commented 3 years ago

@philippReist Yes. If you create a release on any branch it should generate binaries.

However, I realized today that there are some bugs with it. Don't tick the "This is a pre-release" checkbox, because that runs the build system twice for some reason. As a workaround, just do a standard release and tag with -dev or something, e.g. v1.2.0-dev.

tiemes commented 3 years ago

awesome - thanks! However I cannot access the links (404).

r-oung commented 3 years ago

@tiemes Sorry, I was making some changes and forgot that it would break the link. This should work: https://github.com/r-oung/DanceBotsEditor/releases/tag/v1.2.0. Click on the DMG file.

philippReist commented 3 years ago

Thank you @r-oung!

tiemes commented 3 years ago
  1. After importing a file, I cant see the "drop me" shapes to put in the timeline. Not able to save as well. image
  2. I had to control klick to open the program file on Mac, as it was not signed appropriate - will this vanish with the final release?
  3. Added some typos to the ? section. Bildschirmfoto 2021-10-11 um 14 39 24

Jana tested the win version and would suggest, to add a short explanation to "HUMAN" and "ROBOT" in the ? section that explains, what one hears in which mode.

philippReist commented 3 years ago

Ok I think we are ready for release.

The no primitives to drag-and-drop is an incompatibility with 5.15.2, so looking at that.

I'll merge this to develop and then merge to master and create a new release.