-
Notifications
You must be signed in to change notification settings - Fork 3
first steps at testing as-installed opencv #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks. Anything that successfully imports cv2, would be enough. I have a proper internet connection for setting up virtual machine only in the Sunday evening. I’ll do final tests then. |
Looks like win could import cv2, but I should go ahead and move that test
to the conda package build rather than wait for the atest, haven't had the
chance to look at logs. No idea what to do about osx yet, might have been
flake? I have no way to test that os until at least Monday, if then. Great
timing, right? There may be some quick wins if we can get rid of qt by
depending on matplotlib-base, but I don't see how that would help the osx
issue.
…On Sat, Jan 11, 2020, 01:32 Asko Soukka ***@***.***> wrote:
Thanks. Anything that successfully imports cv2, would be enough. I have a
proper internet connection for setting up virtual machine only in the
Sunday evening. I’ll do final tests then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCREDDDD54VNXGKWOAVDQ5FRXPA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIV223A#issuecomment-573287788>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRD57BCXBOF3JTBC6C3Q5FRXPANCNFSM4KFPZVPA>
.
|
I can test OSX on Sunday even. The drafted release did work on OSX. |
Does open CV work on that one? Is just hard to tell, since we weren't
testing it... Perhaps I need a separate or of just the cli/nb tests, and
not the resolving.
…On Sat, Jan 11, 2020, 08:37 Asko Soukka ***@***.***> wrote:
I can test OSX on Sunday even. The drafted release did work on OSX.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRBTLJEVQ5TUTVRAYEDQ5HDSHA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWCETQ#issuecomment-573317710>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRGS7423WH6TTSJLXOLQ5HDSHANCNFSM4KFPZVPA>
.
|
Yes, the OpenCV example worked on OSX and has been working on Windows too (I just have not tested the last build). Did you have time to try the draft Linux installer if it worked? My Linux test on NixOS could have been false negative and I can only get working VM on Sunday evening. |
Trying released assets inside clean vagrant boxes...
…On Sat, Jan 11, 2020 at 9:38 AM Asko Soukka ***@***.***> wrote:
Yes, the OpenCV example worked on OSX and has been working on Windows too
(I just have not tested the last build).
Did you have time to try the draft Linux installer if it worked?
My Linux test on NixOS could have been false negative and I can only get
working VM on Sunday evening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRCDPPEHFEHO7KY6P7TQ5HKVRA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWDI3A#issuecomment-573322348>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRA3QIWN2STSXEMSYJ3Q5HKVRANCNFSM4KFPZVPA>
.
|
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision "shell", inline: "apt-get update"
config.vm.provision "shell", inline: "apt-get install -y xfce4 virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11"
config.vm.provision "shell", inline: "sed -i 's/allowed_users=.*$/allowed_users=anybody/' /etc/X11/Xwrapper.config"
config.vm.provision "file", source: "RobotLab-2020.01.0-Linux-x86_64.sh", destination: "RobotLab-2020.01.0-Linux-x86_64.sh"
config.vm.provision "shell", inline: "bash RobotLab-2020.01.0-Linux-x86_64.sh -fbp ~/robotlab", privileged: false
end |
Can confirm |
It also seems not particularly possible to install |
@bollwyvl Thanks for confirming the issue. I did not bother you for nothing. Weird it still works for Windows and OSX. Btw, OSX test did flicker for me on Friday. Just triggered build again and it passed. |
Rad. I'll keep banging on this today.
|
Could you check these versions? I have added in notes that 2020.01.0 has version opencv-3.4.1-py36h6fd60c2_1.tar.bz2 But 2019.12.0 has version opencv-3.4.2-py36h6fd60c2_1.tar.bz2 That’s curious. |
Anyway, maybe this could be fixed by just finding opencv version that includes Python bindings for all platforms. Linux missing cv2 may be just packaging error 🤔 |
Yeah, I think adding matplotlib did some things to the final resolution. |
Ick: osx couldn't find the right FF during the build... |
Ok, all the OSX failures are now due to Create WebDriver Firefox executable_path=${geckodriver} firefox_binary=${firefox} I'm thinking that patching the notebook on packaging will be the most robust solution, but it's going to take a sec. The windows fail looks like simple flake. |
} | ||
SVG = SRC_DIR / "robotlab" / "src" / "robotlab" / "icons" / "starter.svg" | ||
|
||
OPENCV_OSX = """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not prod of this: any thoughts of ways to make it cleaner? Can we add something at the RFSL layer?
if line.startswith("Open Browser"): | ||
lines[i] = OPENCV_OSX | ||
|
||
opencv.write_text(json.dumps(nb, indent=2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeesh
I am ok with search and replacing headlessfirefox with firefox if that helps for now. |
nah, there's hardcoded stuff to look for it in like
Applications/FireFox.app/Contents/Blah/Blah i think... thing is it actually
started it, but then crapped out in some opencv stuff.
…On Sun, Jan 12, 2020 at 1:22 AM Asko Soukka ***@***.***> wrote:
I am ok with search and replacing headlessfirefox with firefox if that
helps for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRBS7JHHLMYAUEUL2ZTQ5KZLDA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWS6BI#issuecomment-573386501>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRG5IJF7JA7I5AQSEXLQ5KZLDANCNFSM4KFPZVPA>
.
|
C'mon windows, no ❄️ |
😆 |
No sleep? 🙃 I’ll try these out in 12 hours. |
|
What is the correct way to activate the env in Linux and MacOS.
? |
Yeah that's what we do generally...
…On Sun, Jan 12, 2020, 13:42 Asko Soukka ***@***.***> wrote:
What is the correct way to activate the env in Linux and MacOS.
source bin/activate
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRGXWIKWCMJT3DZOGZ3Q5NQAJA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXBD7Y#issuecomment-573444607>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRBRDFLIHKEK4K4SMHLQ5NQAJANCNFSM4KFPZVPA>
.
|
That was quite a patch you had to do for OSX on OpenCV demo, and those patched notebooks ended up in the final distribution. It's ok for now, but need to think about those. I'd feel better to have simpler test notebooks separately for selenium and OpenCV in RobotLab instead of trying to execute everything crazy I dump into robotkernel examples :-) |
I learned the way to test Linux-installer on top of NixOS. OpenCV works. Once again you saved the day! |
All green. Going to merge and relabel "More on robotkernel"-starter. And then move v2020.01.0 tag. |
Agreed, too crazy, but presumably would be required to work for a robotlab
user on osx that didn't have ff already. But the more we can test, the less
we have to manually test... Or in my case with osx, the only way I care to
test. It's one of the key stories I tell people about this project.
I could see offering a Library that did some of these dirty tricks. But wanted
to get something working first.
***Settings***
Library SeleniumLibrary
Library robotlab.FirefoxAsHeadlessFirefox
Open browser http://Google.com browser=headlessfirefox
And just do a savage hack of selenium to do our bidding. Wouldn't want it
to be automatic, though.
…On Sun, Jan 12, 2020, 14:54 Asko Soukka ***@***.***> wrote:
I learned the way to test Linux-installer on top of NixOS. OpenCV works.
Once again you saved the day!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRCMU7FVHGRZVBVUGK3Q5NYQJA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXCUYY#issuecomment-573450851>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRH2MB7ZE6V2N6HA2Q3Q5NYQJANCNFSM4KFPZVPA>
.
|
Hooray!
…On Sun, Jan 12, 2020, 15:09 Asko Soukka ***@***.***> wrote:
Merged #63 <#63> into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRFB4CO7NEFUAX3ME2LQ5N2GDA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOV5JUO5I#event-2941470581>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRDM7K6J6R2IUFNED7LQ5N2GDANCNFSM4KFPZVPA>
.
|
Needless to say I do appreciate a lot your effort and all the tests! There is your name and picture on the slides :-) https://github.com/robots-from-jupyter/robotkernel/blob/master/docs/robocon2020/index.ipynb This time I've prepared them with Notebook + RISE. |
Tested and released. Thanks again! (Windows tests did flicker once.) |
With _hours_ to spare!
…On Sun, Jan 12, 2020, 23:29 Asko Soukka ***@***.***> wrote:
Tested and released. Thanks again!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRCBRXJG47ZKZ7CAHULQ5PU2BA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXPSNA#issuecomment-573503796>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRC7SYLLF7QC5QOBRALQ5PU2BANCNFSM4KFPZVPA>
.
|
Hours... and a day! The workshop is only in 21 hours.
…On 13. Jan 2020, 13.40 +0200, Nicholas Bollweg ***@***.***>, wrote:
With _hours_ to spare!
On Sun, Jan 12, 2020, 23:29 Asko Soukka ***@***.***> wrote:
> Tested and released. Thanks again!
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#63?email_source=notifications&email_token=AAALCRCBRXJG47ZKZ7CAHULQ5PU2BA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXPSNA#issuecomment-573503796>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAALCRC7SYLLF7QC5QOBRALQ5PU2BANCNFSM4KFPZVPA>
> .
>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Heck, then what was I even worried about! But it's still great we got it
out there.
On Mon, Jan 13, 2020 at 8:54 AM Asko Soukka <[email protected]>
wrote:
… Hours... and a day! The workshop is only in 21 hours.
On 13. Jan 2020, 13.40 +0200, Nicholas Bollweg ***@***.***>,
wrote:
> With _hours_ to spare!
>
> On Sun, Jan 12, 2020, 23:29 Asko Soukka ***@***.***>
wrote:
>
> > Tested and released. Thanks again!
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <
#63?email_source=notifications&email_token=AAALCRCBRXJG47ZKZ7CAHULQ5PU2BA5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXPSNA#issuecomment-573503796
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/AAALCRC7SYLLF7QC5QOBRALQ5PU2BANCNFSM4KFPZVPA
>
> > .
> >
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63?email_source=notifications&email_token=AAALCRFK6FCSGRTKNSS53PLQ5RXA5A5CNFSM4KFPZVPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIYZBGI#issuecomment-573673625>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRHUNE752RAWUXIIUWDQ5RXA5ANCNFSM4KFPZVPA>
.
|
It is. Now I can have a good night sleep before (or try out what's broken in the latest RF 3.2 beta). And I did share the download links with the participants already in the morning. |
While looking into the built installer locally, I'm also kicking the tires on testing the OpenCV example notebook.