progress and suggestions

Let's continue our discussions from the lightwand post here.
I'll start by saying that I now have my test code on the TTGO getting closer.

SD card works, even with exFat formatted cards larger than 32GB.
Rotary dial switch works
LED strip works
I have some text working on the display, but I have some work left to do to get the full menu system up and running. Later this week if I don't get too many interruptions.
I also have a schematic that I'll post tomorrow.
I'll have the code up as soon as it works.

Hi gentlemen, hope all are well. It's been a while, been busy with covid life and the ever changing rules.
Anyway, seems much has been progrssed, the excitement is overwhelming.
Haven't had much time to design enclosures and attaching mechanisms, though I did look at Dirks design on previous thread and looked great, hows that going?
Whilst I've been away/waiting, ordered another LED strip, the temptation for a £5 deal with coupons was too good pass.
So, are we still using Arduino to compile?

Sounds fun. :-(
It can be compiled and it is running more or less on the TTGO now. I have a lot of display issues to resolve, but most of them should be done in the next couple of days. The LED's are running ok as far as I can tell.
I'm going to improve the fonts a bit, I think they are a little bit too small. I can read them ok, but I have really good eyes for a 70+ old engineer. I know a lot of my friends won't be able to read them.
As soon as I get that stuff done I'll add the preview feature and then start on other ideas that we think (or thought) of.

We've had a number of our friends get Covid now, One died, he was 5 years older than me. Kind of scary. Everybody else we know has recovered. We mostly stay at home. I'm retired so it hasn't affected me very much really. We have started going to the store for food more now. I have about a 1/4 acre garden so during the summer we grow a lot of our own food, but now it is winter and the vegetables don't grow very well. We have a lot in the freezer, but fresh food is nice.

@MartinNohr yes, covid keeps us all busy. I'm sorry for you losing a friend due to it. A close friend of mine also had it and recovered, just his sense of taste hasn't come back, yet. As I live in the middle of Munich, I have no chance of growing my on vegetables, but this would be wonderful if I would be able to do that.

I have put all the info from the Word file into the wiki here, this makes it easier to maintain (at least for me :-) ). Once I will have the hardware running, I will put examples pictures for the inbuilt patterns and other stuff. BOM list needs to be updated.
I have also designed and printed a new case, as on my previous case the TTGO was upside down. Everything fits neatly inside now and there is enough room for the wiring harness. ToDo on the case are snap connectors to make the case close without screws.
I received my aluminum extrusions with a diffuser and they are very low profile, just as I like them. When the hardware runs I will try to put more effort into the gapless connector and look for mounting options for handles and the battery. There is the beauty on open source designs, as the way Martins MIW is constructed does not fit my very minimalistic approach, but might suit others. This way we can supply more options for cases, handles, etc. Just Beautiful.

@DaveStu It works a breeze with the Arduino IDE, as Martin has ironed out all the issues with special libraries. I will provide an detailed instruction on how to install the Arduino IDE and the needed libraries shortly. We will also share an already compiled binary which can be flashed by an inexperienced user with a small tool. We can use the releases feature of github and share a nice changelog.

Documentation is done for compiling it in the Arduino IDE https://github.com/MartinNohr/MagicImageWand/wiki/9.-Compiling-from-source

I got the BMP preview working nicely now. It's on the first menu. You can use the dial to scroll left and right by screens. It does have a bug for images less than 240 pixels wide. I'll fix that tomorrow, it's past midnight here and my brain goes foggy. :-)
Thanks for all the help guys. This is a great project.

Preview working fine on everything I tested. I'm sure you'll let me know of any problems. :-)
It's a neat feature.
Dirk: thanks again for the nice image samples. I especially like the space and the flame ones. I had created a simple wall of flame, that was the limit of my talent.

Preview works fine, really amazing. Just I think scrolling is reversed on the wheel.
My physical build is done, everything works amazingly well. I have some minor issues with the hardware, but will sort them out for sure. I have not run the LEDs on full brightness, yet, but have never needed full brightness on my previous build. Timing on the ESP is much faster which is very nice and will help for sure in the future.
Martin, your talent to code this is out of this world, I am absolutely blown away by the features you have implemented. Truly stunning. I guess it can easily be extended to be of use for other projects, a VILTROX Weeylite RB08P could easily be made for much less money. The TTGO also has a Lipo charging circuit and this would make for a nice affordable RGB LED light. An SD reader is not needed and probably the inbuilt buttons would maybe be enough (but I admit the wheel is very nice) to drive very minimalistic menu system for hue, sat, and brightness + some inbuilt effects (they all have inbuilt effects these days like TV, Police, fire, etc.) A lot of hobby film makers are on a budget...
I will open issues for the bugs, I have found :-)

@MartinNohr Sorry to hear about your loss, it's been an unprecedented year and much sadness. I've had a few friends and ex collegues go through the covid illness, and with some friends of friendswho have been taken away.
Plus UK has got one of the most inept governments in power right now, they've ruined brexit and handled covid so disastrously.
Your fresh foods gardening sounds wonderful, to have the ability. The most I've got to ability to grow are tomatoes and some herbs. The taste experience is very different indeed, comapred to commercial grown produce.
I used to have a friend in Tampa, who bring us florida oranges and admittedly the best oranges I've ever tasted.

@dirkessl Thanks for the uploads.
Now that I've temporarily connected the parts (haven't got a breadboard), I'll compile/upload the code and give it a test run.
I've been running it through many test programs from various blogs. Had fun playing with all manner of light sequences, testing WIFI which works finding signals, also testing the display but now to some serious stuff.
Look what I found, though not what we need, just found it fascinating. The world of programmable RGB LED's is truly amazing.
https://www.twinkly.com/whats-new/

@dirk I'm not sure how much further your connecting mechanism has got, perhaps you've finished it. I had this idea for the pin connection layout. Apologies for the crude sketching.

The wires would then be fed through a hole in the extrusion and hidden inside the connection block, with only the pogo style pins showing until connected together. This should allow you to bring the LEDS closer. The data line will obviously have to come from the other side, which can be hidden underneath the LED strip. Maybe use ribbon or FFC cable?
I've pencil sketched something like this, but with a thicker body to hold the two extrusions which I need to sketch in modelling software

@DaveStu Yes, this is basically the idea for the connector, but all very slimline. the things you added will be inside the black parts already.

Currently the data lines at the junction are not connected to each other, each one goes to a control line on the ttgo. If you want them connected here then we need to run the 3 wires down to the far end of the strip. The software is simplified if we're do that. I originally thought it was clever to avoid the long wire by feeding both strips in the middle. Doing that also means that you don't really need those pogo pins you just need connections to the 3 wires. I'm ok with either way of doing it.

If you do it my then the pogo pins won't be on the strip buy rather on the carrier housing. Make sense? I'm still trying to avoid that long ugly wire.

I will think about it what's the best way

so I took the MIW for a quick spin to try out the inbuilt patterns. Most of them look really awesome. They look indeed that good that I need a nicer location to shoot them for the documentation. I also found some images do not look really good, as they have no pure black background. I will either fix those or remove them from the standard set

Excellent! I haven't been out with the new one yet. I've been too busy to even make one yet. I could of course use the images on my older wand to see what they look like. Any kind of non-black that shouldn't be there really does show up. I had that image with some of mine, I just went into Photoshop and used the levels control to clean them up.

That twinkly site is inspiring. I'm getting some pattern ideas for the built-ins. Thanks, I hadn't ever seen that device. Very clever.

@dirkessl Oh I see, excellent. They always say, if you've thought of it, someone has probably done it ha.
Sorry for my amateur hour, but having problems with the rotary encoder, the switch works but unsure as to where

connection goes too, 5v or 3v rail or other.
I have this type of encoder.

@MartinNohr I thought you may like the twinkly products, well find inspiration from. Just surprises me what can be achieved.
The possibilities are endless and has given me more ideas, some crazy of course ha

I don't know about that kind of switch. I designed it around the switch with nothing else. You can see on the schematic how I wired it. Do you have a schematic of that switch board?

I just expect the switch contacts to connect to ground, no power connections at all.

In other words I expect the switch to pull to ground. If it does have its own power it would have to be 3.3V. 5V will fry the chip. My worry is that that board inverts the signals. The software can handle that if I put in an option for inverted signals.

I found the switch schematic. They have pullup resistors on the board. I'm turning on the internal esp32 pullups. You could just ignore the + connection or connect it to 3.3V. Do NOT connect to 5V! It will work fine with no connection. It might have a little better noise immunity with the 3.3V connected.
Clk=A dt=B and sw is the button on our schematic.

@MartinNohr Thanks, appreciate the help. I updated the code but still needed the 3.3v line, so had to solder that connection.
The switch/encoder works! The way it boots has changed though, without the switch it boots immediately, with the 3.3v line connected, only when I rotate the dial a few times it boots. By design or possibly my switch/encoder type?
Going through your menu myself, I can truly appreciate your intelligent thinking, options galore!
Though I may have a grounding issue or related to switch/enoder.
The LEDS turn on randomly during pattern selection. For example, choosing the solid colour sequence, some LEDS turn on some dont. Cycling through the hues, they are not constant. If for example, I choose 100, then go to another hue then return to 100, the colour will be differernt or some LEDS do not light up.
I'm powering the strip from a usb powerbank and the TTGO from laptop.

Don't connect the 3.3V line to the switch. I just remembered pulling one of the those lines high will prevent booting. The switch only needs the ground and the contacts connected.

Interesting about the LEDs. I haven't seen that. I do worry that it might be because our data lines are 3V3, while the WS2812 spec says this is not enough. Try running the LED strip on 4 volts or less, even 3V3 (although it may act funny at that voltage. You may have a strip that needs the 0.7xV on the data line in order to work consistently. That is why my original design included a level converter. There is another way to cover it by sacrificing the first LED on the strip.
Here's the issue and solution. https://hackaday.com/2017/01/20/cheating-at-5v-ws2812-control-to-use-a-3-3v-data-line/

Don't connect the 3.3V line to the switch. I just remembered pulling one of the those lines high will prevent booting. The switch only needs the ground and the contacts connected.

Thnaks. I tried that but then only the switch works, not the rotarty controls. The text just flickers when I turn the encoder.

Interesting about the LEDs. I haven't seen that. I do worry that it might be because our data lines are 3V3, while the WS2812 spec says this is not enough. Try running the LED strip on 4 volts or less, even 3V3 (although it may act funny at that voltage. You may have a strip that needs the 0.7xV on the data line in order to work consistently. That is why my original design included a level converter. There is another way to cover it by sacrificing the first LED on the strip.
Here's the issue and solution. https://hackaday.com/2017/01/20/cheating-at-5v-ws2812-control-to-use-a-3-3v-data-line/

I assume the mega2560 output had a higher signal voltage, as the strip worked fine on it?

@MartinNohr Is this something that my encoder would need?
https://github.com/igorantolic/ai-esp32-rotary-encoder
I'm trying not to guess, just trying to learn and get my head around things. Appreciate your help and support.

I wrote my own dial encoder, you don't need the irgorantolic one. I looked around and didn't like how any of the libraries worked, so I created one with my needs in mind.
The further insight... I just used the raw switch, no board. You can't have those pullup resistors connected to +v, it will mess up the boot logic. Just leave that wire (+V) empty on the board. It should work fine. Isn't it working?

I wrote my own dial encoder, you don't need the irgorantolic one. I looked around and didn't like how any of the libraries worked, so I created one with my needs in mind.
The further insight... I just used the raw switch, no board. You can't have those pullup resistors connected to +v, it will mess up the boot logic. Just leave that wire (+V) empty on the board. It should work fine. Isn't it working?
You can see on the schematic how I wired the switch.

I understand and makes sense. I've been thinking all sorts to figure things out so went all over the internet going crazy.
So, I went back to the mega2560 board to test the strips and they work fine but I encountered a GND issue which lead me to believe a power issue with the TTGO too.
From the USB power bank supplying voltage to the LEDS, I also connected to the 5V and GND board pins.
Effectively removing USB-C to power the board.
Finally the LED's now seem to be behaving, before when turning on the LED intro seqence was crazy, but now it runs smoothly. BUT the encoder problem remains, only the switch works. I can select the first inbuilt pattern (which again confirmed the LEDS working now) but nothing else.
If your's is a RAW encoder, I will remove the resistors. Perhaps they're creating a voltage drop or something else.

Looking at the switch/encoder trace lines, withoutn the + connectors, the resistors wont effect the clk/dt lines.
So pointless removing them. I'm going to connect the GND from encoder directly to power supple. Perhaps my board is faulty
in regards to grounding.
I think my soldering was bad too. Need a better iron.

I have just unsoldered the encoder from the board as I had exactly the same problems. Works as expected now and also saves space. A Facebook friend of mine (also from the UK), who is also building the MIW did the same and it just works.

I have just unsoldered the encoder from the board as I had exactly the same problems. Works as expected now and also saves space. A Facebook friend of mine (also from the UK), who is also building the MIW did the same and it just works.

Really!? Very strange considering its just a simple board. I'll do the same then. Thanks, its been very frustrating, plus I must have annoyed Martin quite a bit.

Finally, it works! Thank you both.
I will add, for me, connecting terminal C of encoder direct to board didn't work, only when connected to negative power it worked, flawlessly. Looking at the traces on a spare encoder, I'm sure If I cut the GND trace and connect a wire from C direct to Negative would have the same effect.
Ok, so now back to thinking of enclosure and attaching designs.

Good detective work! I had connected my power directly to the 5V pin on the TTGO board. You can't really run the LED's when running from the USB connector, not enough power, strange things happen.
I also suddenly realized what the problem with that board is. If the power is not connected, you have A and B connected through resistors. Bad idea. And if you connect the power, then it messes with the startup conditions. Bad idea.
You could remove the little resistors from that board and it would work. I could also redesign the software to use a different pin so it won't affect the booting, but then that board would have to have power supplied to it so there isn't a bridge between A and B. I could use ESP pins 32-36, but they don't have internal pullups so we would have to always add some pullups for A, B, and the switch. I don't like that either! If you don't mind using the switch without a board that would be my preference.

Actually if you look at the schematic I uploaded you will notice that I implied a battery connection to the +5V connector and no USB connection. I only use the USB for programming. I'll see if I can make that more clear.

Hardware guys like to blame software and software guys like to blame hardware. I've always had lots of fun in my career because I've done both at various times.

Your schematic is good, it was just me. I should have realised earlier, after the experience with the Mega2560 board and also as I've fitted so many car audio and amplifiers to classic cars, that grounding/ground loops and power rails was always a problem.
The thing that got me was the encoder GND though, I'm still baffled. From my understanding the resistors would not be involved, unless the + line was connected. It seemed terminal C ground, did not like the GND that was connected to Switch.

Had a play around with the patterns. It's amazing how some light sequences can excite haha.
Connected a second strip, all the patterns worked flawlessly, flowing from strip to the other.
Your coding skils are magical @martin. Glad I reached out.

Dave: Don't worry, I'm not annoyed in the least. I'm always glad to help. Many people helped me learn and understand how things work. I like to give back when I can.
Each of the ESP inputs have an input pullup or pulldown resister (except for 32 to 36) that can be enabled. This allows contacts like switches and dials to be connected with their common parts connected to either + or ground. When you use a pullup, then the switches are wired so they connect to ground. This is very common mostly because it means there isn't any live voltage on the switch and is thus safer because a short to ground won't hurt anything like a short to +v might.
Those resistors on the dial board you used effectively connect A and B together. So if the +V isn't connected then closing A or B would tend to also pull the voltage on the other B or A towards ground. Depending on the value of the internal resistor and the one on the board you might have situation where A and B will follow each other to ground, thus make it not work correctly.
I hope this rambling makes sense. If not I'll try again tomorrow morning when I'm sharper!

You like working on classic cars? That's cool.
I'm not just a hardware designer and software developer and photographer... I have recently restored a 1953 Ford Tractor, NAA Jubilee edition. It sat in a field for years with a seized engine. It now runs like new. I had parts scattered all over my driveway and garage for a couple of years while I worked on it. My wife kept encouraging me to finish it so she could have the driveway back! I had to take almost everything apart on it. Heavy parts. It was very satisfying the first time I finally cranked it over and it started with that lovely tractor engine sound.
What classic cars have you worked on?

Dave: Don't worry, I'm not annoyed in the least. I'm always glad to help. Many people helped me learn and understand how things work. I like to give back when I can.
Each of the ESP inputs have an input pullup or pulldown resister (except for 32 to 36) that can be enabled. This allows contacts like switches and dials to be connected with their common parts connected to either + or ground. When you use a pullup, then the switches are wired so they connect to ground. This is very common mostly because it means there isn't any live voltage on the switch and is thus safer because a short to ground won't hurt anything like a short to +v might.
Those resistors on the dial board you used effectively connect A and B together. So if the +V isn't connected then closing A or B would tend to also pull the voltage on the other B or A towards ground. Depending on the value of the internal resistor and the one on the board you might have situation where A and B will follow each other to ground, thus make it not work correctly.
I hope this rambling makes sense. If not I'll try again tomorrow morning when I'm sharper!

Even still, I do really appreciate the guidence and patience. Yes, I do kind of understand it. Some bits are coming back to me.
As I child I was very curious around all things electronics, and would get electronic learning kits as birthday gifts, particulary from Tandy/Radioshack (a long time ago). Like many curious children breaking home appliances (and put them back togther) was my thing, with angry parents of course ha.

You like working on classic cars? That's cool.
I'm not just a hardware designer and software developer and photographer... I have recently restored a 1953 Ford Tractor, NAA Jubilee edition. It sat in a field for years with a seized engine. It now runs like new. I had parts scattered all over my driveway and garage for a couple of years while I worked on it. My wife kept encouraging me to finish it so she could have the driveway back! I had to take almost everything apart on it. Heavy parts. It was very satisfying the first time I finally cranked it over and it started with that lovely tractor engine sound.
What classic cars have you worked on?

Sorry, that read wrong. I worked on the audio section of some classic cars. I had some friends, who'd restore froom body work and engines and I'd help them, so I could learn but it was all their domain. I only came in fully, to lay in wiring, fit speakers, amplifiers, sound deadening and the main stereo. Then I'd tune them for optimal sound.
The cars they restored were classic BMW's, Mercede's, some Audi and some VW's, mostly MK1+2 Golfs.

Anyway, Merry Christmas/Happy Holidays to you both, be well and be safe. Will engage here after the festivities.

Merry Christmas to you as well.
My tractor could use a good audio system. :-)
I've rebuilt a couple of classic VW's as well. 1962 and 1964. Way before the Golf (called Rabbit here).

Merry Christmas to you, I hope you are having a wonderful time with the family!

Thanks. We're having an interesting time... We drop food and presents at the door for my daughter and grandson. They both have covid so are confined to their house. Slight fevers and tired, but otherwise they're fine. They were in our car two days before they had any symptoms, so we were a little bit worried. We got tested and we don't have it, at least not yet! So we had a very quiet Christmas this year. We did use Skype for opening the presents. We do that Christmas eve, remember I was born in Denmark, so that's my heritage.

I put up new code this afternoon. I found a font that I think is much better. I had to shorten some of the menu lines, but it is much easier to read. I also added a system setting to change the menu colors. I'm not completely satisfied with how it works, so I will probably change it later when I think of a better way.

I added the IP address to the main menu so you can find it.
Dirk: Do you mind if I make some changes to the wifi code? I like what you have done so far, but it does need a bit more work. I see the uploading isn't working yet. It would also be nice to be able to get a list of the files down to the web browser. I think this is going to be much better than using Bluetooth. Thanks for your work on this, it's a great start.
I think I'd like to see the settings and be able to change things from the computer/phone web browser. This is going to stretch my knowledge of HTML and buttons and things that I have only a passing familiarity with.

It was a very strange Christmas, indeed. We have a lockdown here in Germany so we are not allowed to be outside between 21:00 and 5:00. The kids were with us and we had a nice evening, but it was strange sending them home at 20:30. If you are outside at night without any urgent reason the police fines you at least EURO 500. My parents in law picked up food and presents from our doorstep as you can only celebrate with one other household so it was really strange not celebrating with them.

@MartinNohr yes please change the code, as I am not very good in programming these advanced features. If you just put basic html code there, I can make it look prettier and responsive if you wish.
I am also thinking about the remote functionality, on how to implement this in a clever way. I guess we have two options here. We can either send commands to a remote unit with a webrequest when a pattern/image runs to a fixed address like http://<IP_ADDRESS>/remotestart and http://<IP_ADDRESS>/remotestop or we offer an URL which gets pulled by the receiver (http://<IP_ADDRESS>/isrunning), but I guess this will harder as the remote receiver needs to constantly pull the website of the MIW which might generate too much load or cause stutter on the MIW. I think I would prefer the first way. The receiving unit could then have a status LED which shows if the unit has received the command or it could use the display if we use another TTGO-Display or the other Board I found with the antenna connector.

We'll have to do a little experimenting to determine how much load we can put on it. It is a dual processor and pretty fast. Running the leds doesn't use too much computer time. What I don't know is if both of those processors are actually used when we compile single thread stuff. We might have to start using FREERTOS! I'm sure it supports both processors for tasks. It would be fun to have a real OS to work on again. Anyway, just thinking out loud.
It must be strangely quiet in the evening and night there. Almost no traffic, right?

I noted in the WiFi comments, but I'll mention it here also. I fixed the file upload to SD using WiFi.

I added a little feature. Pressing button 0 (on the board) will always display the image no matter what else is on the screen. Pressing it again restores whatever was going on before. Note that it doesn't work if an image is actually being shown on the LED strip of course.
I suppose we could make button 0 do other things, but I got tired of selecting a menu item to preview the file.

Dirk: Would you consider adding the sources for the STL files? Some people might need to modify them slightly for different extrusions.

@MartinNohr sure, but as I use TinkerCAD for all of this, I can only supply online links. I guess I need to learn some Fusion360, I already have a license for it and think I will be much faster once I mastered it.

Quick Update, I took the time today and learned Fusion 360 and created the basic case. I need to print one first, before I can make more adjustments, as I guess I did not include enough tolerances for 3D printing. But it is a good start and Fusion is really powerful.

Morning/Evening gentlemen. Hope the Christmas holidays was a happy and healthy one. I've been busy with things, so havent had time to check in, but see progress in well ahead. I won't get time until a few days into 2021 so with that
I'll say Happy New Year to you both and to all your family and friends. Lets hope 2021 is a true turn around from the fiasco of this year. Cheers and salut.

Thanks Dave. Happy New Year to you all. My daughter and grandson recovered from Covid in a couple of days. It must be nice to be young! Even though we were in the same car for an hour the night before she developed symptoms, we didn't get it. She did lose her sense of smell, but it is coming back.

Dirk: I started out with TinkerCad, but I was never very good at it. Due to my teaching part time at the University I got the educational license for Fusion 360. I'm always amazed at the good designs people can do with TinkerCad, even yours, I can't do that much with it. Fusion however is a very powerful tool. I found rounding edges and editing shapes much easier in fusion. It also handles multiple shapes that fit together in a single file very nicely. Fusion does have a longer learning curve. Threads and holes are handled extremely well in Fusion.
And yes, 3D printing is not like machining, tolerances have to be accounted for, and even worse, unless the printer is well calibrated (mine is), then things won't fit!

Links to the TinkerCad are ok, as long as the project is shared. Many people so use TinkerCad. You can import TinkerCad models to Fusion but I find they don't always work well, so I often start over. One big problem is that only basic shapes from TinkerCad get imported, not any of the fancy extension/plugin features.

Hi! Im a photographer with interest in tinkering and some programming. I would love to make a light wand for light painting pictures. Do you know if this code could be tweaked for use with m5 stack core or core2 ? It has a screen and a Sd-card reader, so i think it should be perfect for such project. I just dont have the knowledge to program it yet. Stay safe and all the best from Northern Norway. Kolbjørn.

Hi! Im a photographer with interest in tinkering and some programming. I would love to make a light wand for light painting pictures. Do you know if this code could be tweaked for use with m5 stack core or core2 ? It has a screen and a Sd-card reader, so i think it should be perfect for such project. I just dont have the knowledge to program it yet. Stay safe and all the best from Northern Norway. Kolbjørn.

I could probably make it work on that m5 stack. I thought of using one once. I would have to get one and see how hard it would be. And I would have to find the time to test it. If you want to keep it simpler I do have a PCB made with the TTGO and an SD card reader attached.
Anyway, I'll go look at the m5 stack specs to see how easy it might be to port the code.
I've been to Norway a few times. I was born in Århus and until I was 18 I lived in Ryomgård Denmark.
Jeg kan godt læse norsk, dog ser det ud som om der er mange stavefejl. :-)

I could probably make it work on that m5 stack. I thought of using one once. I would have to get one and see how hard it would be. And I would have to find the time to test it. If you want to keep it simpler I do have a PCB made with the TTGO and an SD card reader attached.
Anyway, I'll go look at the m5 stack specs to see how easy it might be to port the code.
I've been to Norway a few times. I was born in Århus and until I was 18 I lived in Ryomgård Denmark.
Jeg kan godt læse norsk, dog ser det ud som om der er mange stavefejl. :-)

Always good to hear that people visit Norway! You hva probably not been so far north as i live in Vesterålen. :) I just thought it would be a perfect project for the M5 Stack system. I have the Core and Core 2. By the way i have been to Århus once. Thats a tech city right?

No, I have not been that far North! I walked up and down Holmenkollen and decided that skiers were crazy people. I was mostly in and around Oslo. Loved that big park with statues all over.
I ordered a core 2 from China that I will experiment with. I looked at the docs and it looked like it should be easy enough to port.

I'll be back working on this project now. I want to improve the web interface. I also want to make the remote camera control work. I've got the cable for my Nikon and I have verified that it works!
I have been busy finishing another project and haven't had much time to work on this one.
https://www.thingiverse.com/thing:4723557

I will have to get a  TTGO and test it. Never tried. I actually started a makerspace up here for kids. Maybe we could hire you for a weekend or so after corona. https://www.facebook.com/makerspacevesteralen

I'd love to come up to Norway... but it's a bit of a trip now, I am currently living in Utah.

Long time no read, I started a new job in January and everything is going well. Currently I am off the Computer in the evenings and am painting figures from my new resin printer. Very relaxing and a lot of fun. Weather is also pretty bad in Germany, so photography is not nice at the moment. We also need to wait for the government to lift the curfew, as my favourite places are out of reach at the moment as we have to be home at 9pm.
But I am ready to make more tests and help with ideas, of course. Looking forward to get some progress on the remote functionality.
@krealab I have built a remote timer based on the M5, you can read about it here: https://www.essl.de/2020/10/23/timy-the-open-source-camera-timer/
We decided against the M5 as its logic circuit is 3.3V and while this works with most LED strips, some might have issues so a Logic shifter is needed. Martin has created a board which has this integrated, but its not needed with the TTGO as it is a 5V board. I also find the buttons not really good on the M5 and power management is a mess on this device.

The TTGO is a 3V3 board, it is not 5V. It will take 5V input because it has an onboard regulator. The TTGO is an ESP32 and it is 3V3.
I have finished my new PCB with the level shifter and the rotary switch on the board.

I made a change to the code today. The other button now acts like a long-press so you can use it to jump in and out of the menus.

Afternoon/Morning gentlemen, it's been a while and hope all are well. Similar to Dirk, i've have been working with photography mostly dead in the UK rules changing constantly, I've been juggling between 2-3 jobs to keep things going and now has been shifted to one for the time being.
I'm eagerly trying to catchup on the progress of the wand and all the new changes, which to me feels like months ago when last last I worked on it.

Found an interesting program, especially for people who don't program as such. It uses visual logic to interface with controllers and help to create code for them. Its this https://xod.io/
Probably help any future projects I get into

xod is interesting but I have seen many attempts at that kind of thing in the past, none have really interested me, but then I'll admit that is largely because I'm already a moderately competent programmer.

Note that in the latest code I added an information screen to the preview, just click the button. It now shows the distance to walk to maintain square pixels. I found in using the wand that I had to make several test shots to get the ratio correct of images. for some patterns it doesn't matter, but often it does. That info screen also shows the approximate number of seconds using the current frame hold time.

I created a new branch with new features and many internal changes to the code.
There is now a preview of built-in patterns.
The display can mirror the LED as it is being displayed to give a better idea of the image progress.
The code has been improved for ease of managing variables.
I have also started to implement a new feature in the macros that will indicate how long it takes to display the macro. There might also be a feature to over-ride the macro settings like the hold time, but I am still thinking about how best to do that.
I will leave this as a branch until it has been tested more to make sure it all still works.

I added sideways scrolling to long lines. They now scroll to the end, and then back again so long lines can be seen. This is especially useful for long filenames and paths. It is also useful for longer menu names. There are adjustable settings to control the scroll speed, return speed, and the pause at each end.

I added a confirmation screen to anything that deletes files or settings. I accidentally deleted a macro file because it just quietly erased it.
I also added a switch to ignore the settings that are stored in the macro file. Sometimes you might want to change the settings.
I have merged the new code into main. Please let me know if any problems are found. I'll update the documentation soon to reflect the new features.

I got the stick working and everything is working great, thank you for this great work. One more thing I noticed or I do not operate the menu correctly. For example, when I start the stick, all the settings I made in the System Settings (Display Brightness, Text Color, Show BMP on LCD, etc.) are always reset to the original state. Is this the way it should be or am I doing something wrong here.

Under saved settings: set autoload to yes and save the current settings.
I have considered making all the system settings automatically saved. That probably makes sense. I'll change in a future version soon. The LED controller and count settings are always saved and loaded regardless of the autoload setting, but I agree, the system ones should also be saved and loaded all the time.


dtoEvolution Error

When I execute the scm load command to load the target workspace, I get the following error:
java.lang.IllegalStateException: Found two dtoEvolution elements with the same c
omponentVersion value in bundle com.ibm.team.scm.common.
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$E
volutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java
:223)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$E
volutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java
:1)
at java.util.TreeMap.compare(TreeMap.java:1188)
Any ideas?

Are you working with our docker images or where you get this error?
Do you have the error too without the migration cli plugin?
Is the workspace name you are using unique or coudl there be an other workspace with the same name?
Have seen this kind of error when using Java8 with the RTC CLI.


Update CRDs as per GEP-3155

/kind gep
What this PR does / why we need it:
Updates CRDs as per GEP-3155
Does this PR introduce a user-facing change?:
Updated CRDs as per GEP-3155

/ok-to-test

/assign

this moved to #3304


inject msg.headers{"X-Requested-With"} for web-api-write

Machine configuration
Node-red version: v3.0.2
OS: Windows 11
httpNodeCors: enabled
PI webapi configuration
Authentication method: "Basic"
EnableCSRFDefense flag: "True"
Issue:
web-api-write produce 403 error. HTTP POST calls works using POSTMAN and Node-red HTTP request by defining "X-Requested-With" in the headers even with httpNodeCors disabled.
I created a function to set the payload and headers node before the pi-web-api-write node for both webid and point path but still getting the same 403 error.
Please advise.

solved with editing the osisoft-web-api.js
  webAPIClientNode.prototype.writeByCustomUrl = function (protocol, url, method, data, node) {     return new Promise(function(resolve, reject) {        var requestOptions = {         url: protocol + node.server.baseUrl + url,         headers: {           'Authorization': node.server.generateAuth(),           'Content-Type': 'application/json', 		  'X-Requested-With' : '*' //Proposed add-in to Allow Write data connection via pi web api to PI when "EnableCSRFDefense": true         },


Editing the .bashrc from windows will make it not visible on bash

I edited the .bashrc file from APPDATA folder using Visual Studio Code,
and after edit the file was not executed anymore, or visible in bash

This would seem to relate to the (now closed) issue #45.  Essentially, we shouldn't be editing the Linux files from the Windows side, as this can cause instability and some other scary words.  The reverse, however, (editing Windows files from the Linux side) works fantastic and is intended to do so.  Suggest closing this issue?
Props for using Visual Studio Code, though.  That thing rocks :-)

For the moment it seems ok not to edit the linux files from windows, but as a person that hates vim I would like to have the posibility to edit the files in a win32 app or metro :P app.
Also this reminds me of another bug, in nano you can not scoll the document the texts overlaps.

Closing this out as a duplicate.

To fix this issue:
first on Windows: Copy the .bashrc into another folder. Delete the .bashrc file (or other files) in the initial directory.
Then in Bash: Type "vim .bashrc", and paste the text back in, using right click. (Make sure you are in the home folder, but typing "cd".)
In the long term, don't edit crucial linux files with Windows applications.
https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/

After reading this issue, I realized that I have edited my .bashrc in Sublime Text many times, and have encountered no issues so far. Has this issue been improved recently? Just curious.

@ZYinMD It is highly advisable not to modify any WSL files from Windows programs. Always make a backup the .bashrc file. Open the file in any Windows text editor you want, edit it. Now the file permission will be 000. So change the file permission with chmod 664 ~/.bashrc. This is only for experimenting.

@Biswa96 Thanks! I took a look, and indeed the permission of my .bashrc has become 000. However, it's still working as intended, somehow it can still be read by linux on start up. Hmmm~


Future plans?

Curious to know if you have a plan for future enhancements for this project? Or do you consider it "done"?
There are a couple of features that come immediately to mind when I consider using this in my project:

Support for updating to specific versions or downgrading to specific versions. Even in the best-run projects. there are bugs or incompatibilities that take a while to fix. Allowing my users to downgrade to a specific version until a bug could be fixed might be very valuable to them.
Support multiple update channels. E.g. Allow users to switch to (or from) a beta channel to get the latest goodies or the most stable release.
Delay updating and expose APIs to the target software for controlling updates. So instead of updating at startup, it would simply check for updates and then allow my software to notify the user that updates are available and ask them if/when they would like to update at the next startup.

Thanks!
Chris

Hi Chris,
My plan is to reboot the project once Java 9 is nearing completion. I think the current version is stable and working quite well, but I would like to rewrite everything based on what I know now and make it much more extensible + introduce a plugin architechture to make it easier to contribute new functionality.
There are a lot of cool things we can do in the context of Java 9 / Jigsaw, but as you point out there are also a lot of things we could do that has nothing to do with Java 9. I particularly like your idea about update channels and delayed updates, rollback to specific versions etc. These are must haves for a reboot of this project.
I'm also thinking about creating native stubs for each platform to make it much nicer to create native installers, skipping over the need for javapackager altogether. This will be an optional feature though, and javapackager will still be supported, but I think we can achieve much better integration by going this route.
Another idea I have is for an app store like functionality where you can browse and install fxlauncher enabled software, possibly categorized and maybe even with the option to sell licenses etc.
If you are up for it, you can submit a PR for a document describing wanted features for the FXLauncher 9 reboot, so we can start gathering ideas for the next version. In the mean time I'll continue to add smaller features to the current branch upon request.

Thanks for the response!
The other project I looked at for installers was https://github.com/FibreFoX/javafx-gradle-plugin . I felt like it had much more customization for installers...though I don't know enough to feel confident about that statement. I chose your project because, for now, it was simpler and I think my users will REALLY appreciate the auto-update. But if you are considering a complete re-write, maybe you should consider focusing on the auto-update part and working with that project to handle the installer part. Just an idea...I don't know if that is even feasible.
As for the things I want - 3 suggestions I made in this issue cover everything I envision needing. If you'd like me to elaborate on those, I can do that. As for the app-store and licensing ideas, I don't think that is something I would make use of.
Thanks for this project...saved me a lot of work!

Thanks for the input. I'm excited to begin the reboot, and I agree that the update prosess is what should receive the most love. There are a lot of things we can improve for sure.


modular install

hello,
it looks like gpgomea gets installed as a local/user install in the Makefile, which makes it not possible to restore it from a cached environment, e.g., https://github.com/cavalab/srbench/actions/runs/7648179417/job/20840521374
is there a way to get it to install everything into the conda environment so that can be restored without re-installing?

Hi, I suppose it would suffice to change line 14 in the Makefile
python setup.py install --user --force && ... by removing --user?


Experiment Rose Tree Fixing for PropCheckerAsserting

Trying to fix one example use of the new design with RoseTree in PropCheckerAsserting.scala.

@cheeseng Can you look again at these changes in light of the latest changes in the feature-rose-tree-after-next branch? If they make sense, please submit a different PR against that branch. I'm closing because I'm not sure what the experiment-rose-tree-wip branch was for.  I'm thinking it was an older branch that we've moved on from. If not, please let me know. Tnx.


Build fixes

Addresses a few issues:

Use local binaries for npm scripts to reduce dependencies on global tools such as Gulp
Font Awesome was not being included in the build directory
Babel errors resulting from missing the transform runtime plugin
Optimize the copy Gulp task by only adding top-level node deps to the list of resources

@dstreet please give PR with  329b1d6 and cb19c00 commits.

I've reverted the other two commits, but I can create a new PR if you need

@dstreet No. I mean, you can force update your branch with just two commits. No need to create new one.

Should be ready now

@dstreet thanks.


Displays incorrect days count on status note.

SPPC
Screenshot

Attempted on same day.
its solved i guess


SheetDismissible not working with infinite looping scroll widget

Hi,
Maybe I didn't do it correctly, but I stumbled into problems when using ScrollableSheet.

When the scrollable initially can be scrolled upwards, the sheet thinks I want to close it, but I want to scroll up. The sheet corrects itself when scrolling down and then up, but there is another problem that occurs now..  ->
The sheet cannot be dismissed when using ScrollableSheet & SheetDismissible when the scrollable widget is scrolled & wrapping the header in SheetDraggable + putting the finger on the header Text and not the space around it.

See here:
https://github.com/fujidaiti/smooth_sheets/assets/37176893/80c49936-1401-4b49-989d-ec9f4bf30d07
Code:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:smooth_sheets/smooth_sheets.dart';

class SheetShape extends StatelessWidget {
  final Widget child;
  const SheetShape({super.key, required this.child});

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Card(
        color: Theme.of(context).bottomSheetTheme.backgroundColor,
        elevation: 0,
        clipBehavior: Clip.antiAlias,
        margin: const EdgeInsets.only(left: 15, right: 15, bottom: 3, top: 3),
        shape: const RoundedRectangleBorder(
          borderRadius: BorderRadius.all(Radius.circular(36)),
        ),
        child: child,
      ),
    );
  }
}

class StaticSheetContent extends StatelessWidget {
  final bool includeShape;
  final Widget? header;
  final Widget? body;
  final Widget? footer;
  final bool isScrollableSheet;
  const StaticSheetContent({
    super.key,
    this.body,
    this.header,
    this.footer,
    this.includeShape = true,
    this.isScrollableSheet = false,
  });

  @override
  Widget build(BuildContext context) {
    final content = Column(
      mainAxisSize: MainAxisSize.min,
      children: [
        if (header != null) header!,
        if (body != null)
          Expanded(
            flex: isScrollableSheet ? 1 : 0,
            child: Padding(
              padding: const EdgeInsets.symmetric(vertical: 10),
              child: body,
            ),
          ),
        if (footer != null) footer!,
      ],
    );

    if (includeShape) {
      return SheetShape(
        child: content,
      );
    }

    return content;
  }
}

Future<void> showTimeSheet(BuildContext context) async {
  final now = DateTime.now();
  var newDateTime = DateTime.now();

  final modalRoute = ModalSheetRoute(
    transitionDuration: const Duration(milliseconds: 250),
    builder: (context) => SheetDismissible(
      child: ScrollableSheet(
        child: StaticSheetContent(
          header: const SheetDraggable(
            child: Column(
              children: [
                SizedBox(height: 24),
                Padding(
                  padding: EdgeInsets.symmetric(
                    horizontal: 24,
                  ),
                  child: Text('Pick a time'),
                ),
              ],
            ),
          ),
          body: SizedBox(
            height: 250,
            child: CupertinoTheme(
              data: const CupertinoThemeData(
                textTheme: CupertinoTextThemeData(
                  dateTimePickerTextStyle: TextStyle(
                    fontSize: 40,
                  ),
                ),
              ),
              child: CupertinoDatePicker(
                initialDateTime: now,
                mode: CupertinoDatePickerMode.time,
                use24hFormat: MediaQuery.alwaysUse24HourFormatOf(context),
                onDateTimeChanged: (value) {
                  HapticFeedback.selectionClick();
                  newDateTime = value;
                },
                itemExtent: 80,
              ),
            ),
          ),
        ),
      ),
    ),
  );
  await Navigator.push(context, modalRoute);
}

The ScrollableSheet won't work with the date picker because it can be scrolled down infinitely and it's unclear when to start dragging the sheet down. I'd recommend using the DraggableSheet instead.

I'm not sure if it's only for infinite scroll widgets but also for scrolling widgets that the initial scroll offset is not zero (could be at the middle of the list initially) and then when trying to scroll down it would still dismiss the sheet instead of scrolling.
Need to test it though.


int validation failed

TODO
Step 1

[ ] Support integer as proper type and fix the validation error, int does not generate an error
[ ] Translate number to float
[ ] Null should generate an error, saying use omitempty constraint on a supported type (string, integer, ...

Step 2

[ ] Support array type

JSON
GO Type
Today
Working
Tomorrow

string
string
string
True
No Change

integer
int
int
Validation error
int fix validation

number
float
number
Broken should be float
float

boolean
bool
boolean
No
bool

time
time.Time
time.Time
Yes
No Change

**null
Not supported
Untested
no
omitifempty set default zero nul or zero

object
struct
sub-table
Yes
No Change

array
list
TODO
No
Implement list

uuid
uuid.UUIDv4
uuid.UUIDv4 "
Yes
No Change

Current code in definitions
var validColTypes = []string{
        "string",
        "number",
        "integer",
        "boolean",
        "time",
        "null",
        "uuid",
    }

I was working with the past-definition pull request, so I push these changes there.
Is that OK?


Use different namespace for collections and documents' data

A document may contain a key and a sub-collection with the same name: they should not conflict.
By having separate namespaces for data and sub-collections, this also fixes #90: indeed, updating a document's data without setting the merge flag won't remove sub-collections.
One limitation is the dump() function of the MockFirestoreInstance class: because it rerturns a single tree, precedence is given to the sub-collection is there is a name conflict between a sub-collection and a key in the data.
Fixes #90.

Also can you write unit tests?

Here is the new patch, with a testcase added.

Thank you! I'll publish an update this weekend.

Awesome, thank you!

Your PR is now out at https://pub.dev/packages/cloud_firestore_mocks/changelog#047. Thanks again!


feat: mount user ssh folder for git authentication

Description
When developing in the container, users may want to submit the commits. But it will fail because there is no public/private key there.
 ⬢ [envd]❯ git push --set-upstream origin add_envd
The authenticity of host 'github.com (XXXXXXXXXXX)' can't be established.
ECDSA key fingerprint is SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

mosec on git add_envd [$] is 📦 v0.4.5 via Py v3.9.16 via 🦀 v1.66.1 via 🅒  envd took 3s
[128:] ⬢ [envd]❯ ls $HOME/.ssh

⬢ [envd]❯

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

It should work with the agent forwarding. Thus it is not a feature, it should be a bug.


Update all config

Fixes #5

@renanfranca : a mix of renaming with IDE, global search and replace, and re-applying modules and checking differences :)

@renanfranca : a mix of renaming with IDE, global search and replace, and re-applying modules and checking differences :)

Thank you for sharing your approach! I'm interested in how JHLite is used in daily tasks and activities 😃👌


cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 1 simulation(s), 1 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_2757f0ea-b55c-43e4-bca7-5404b411b3581582570726899891491/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

Jan 21, 2022 7:38:36 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_f37ab054-dbb4-422c-a08b-ae563a5e6f7a4305759566234714146

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 1 simulation(s), 1 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_f37ab054-dbb4-422c-a08b-ae563a5e6f7a4305759566234714146/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

sedml.SimulatorSupportsComputeModelChanges (5.5 s)

Test that a simulator supports compute model changes
Reason for skip:
Simulator did not produce the following reports:
  - `BIOMD0000000912_sim.sedml/report`

Log:
Jan 21, 2022 7:38:41 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_8026d17c-e776-48aa-a05d-36d8d79b4b953383025663776280396

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 1 simulation(s), 1 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_8026d17c-e776-48aa-a05d-36d8d79b4b953383025663776280396/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

Jan 21, 2022 7:38:44 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_336fa971-f069-4e49-b87b-3dd967668e2b7614957436095996621

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 1 simulation(s), 1 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_336fa971-f069-4e49-b87b-3dd967668e2b7614957436095996621/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

sedml.SimulatorSupportsDataGeneratorsWithDifferentShapes (2.2 s)

Test that a simulator supports data generators with different shapes
Reason for skip:
[Errno 2] Unable to open file (unable to open file: name = '/tmp/tmpkscqhkzb/sedml/sedml.SimulatorSupportsDataGeneratorsWithDifferentShapes/1/outputs/reports.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Log:
Jan 21, 2022 7:38:46 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_c1adbfcd-a4d6-4305-b1e6-7c4a100b4eba8433331964094325173

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 2 simulation(s), 2 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_c1adbfcd-a4d6-4305-b1e6-7c4a100b4eba8433331964094325173/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

sedml.SimulatorSupportsDataSetsWithDifferentShapes (2.3 s)

Test that a simulator supports data generators with different shapes
Reason for skip:
[Errno 2] Unable to open file (unable to open file: name = '/tmp/tmpkscqhkzb/sedml/sedml.SimulatorSupportsDataSetsWithDifferentShapes/1/outputs/reports.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Log:
Jan 21, 2022 7:38:49 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_eae9e227-f418-4465-89a6-a2ea32dfcd875314937031264062731

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 2 simulation(s), 2 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d and 3D python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

SED-ML processing for /tmp/vcell_temp_eae9e227-f418-4465-89a6-a2ea32dfcd875314937031264062731/BIOMD0000000912_sim.sedml failed with error: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

java.lang.RuntimeException: Failed to create file /tmp/out/temp/simulation_BIOMD0000000912_sim.sedml

	at org.vcell.cli.CLIStandalone.singleExecOmex(CLIStandalone.java:335)

	at org.vcell.cli.CLIStandalone.main(CLIStandalone.java:144)

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating sedml document status YAML

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

 All sedml documents in this archive failed to execute

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed updating task status YAML

sedml.SimulatorSupportsModelAttributeChanges (4.7 s)

Test that a simulator supports changes to the attributes of model elements
Reason for skip:
Simulator did not produce the following reports:
  - `BIOMD0000000912_sim.sedml/report`

Log:
Jan 21, 2022 7:38:51 PM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

VCell CLI input archive /tmp/in/archive.omex

-----------------------------------------------------------------------------------------------------

TempPath Created: /tmp/vcell_temp_9eaceb54-f917-4c36-b94e-cffdc4b4b17b1396717065225034812

Python 3.8.10

utilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils

cliUtilPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils

cliPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py

statusPath: c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/status.py': [Errno 2] No such file or directory

Failed generating status YAML

SED-ML version level not supported, import may fail

SED-ML version level not supported, import may fail

Unsupported version, import may fail

Found 1 SED-ML document(s) with 1 model(s), 1 simulation(s), 1 task(s), 1  report(s),  0 plot2D(s), and 0 plot3D(s)

Successful translation of SED-ML file : BIOMD0000000912_sim.sedml

-----------------------------------------------------------------------------------------------------

python3: can't open file 'c:/usr/local/app/vcell/installDir/python/vcell_cli_utils/vcell_cli_utils/cli.py': [Errno 2] No such file or directory

Failed generating SED-ML for plot2d  ...

wrong branch merged in this build


Add Group Lasso with positive weigths

Context of the PR
Add group Lasso  with positive coefficients to solve #197
Contributions of the PR
Add proximity operator of the block soft thresholding
Remains to add the subdifferential and tests
Checks before merging PR

[ ] added documentation for any new feature
[ ] added unittests
[ ] edited the what's new(if applicable)

Should the generalized_support function be updated as well? Feels like no to me

@tomaszkacprzak can you give this PR a try and tell us if it suits your needs?

Feel free to add some refs if you have some in mind

Thanks Quentin, one more thing : I cannot click the link of Detail group lasso here:
https://output.circle-artifacts.com/output/job/ccfbd6e0-3370-4131-8e83-177cce0569aa/artifacts/0/dev/tutorials/tutorials.html

minor typo, after that LGTM, thanks @QB3


Error while setting up platform myicomfort

Got through a configuration error, but am now getting an error thrown from inside climate.py
(this is from a hassio 0.93.2 installation)

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/myicomfort/climate.py", line 109, in setup_platform
from myicomfort.api import Tstat
ModuleNotFoundError: No module named 'myicomfort'

I am running Home Assistant instead of Hassio so I can't recreate your exact setup.  The error comes from the python myicomfort api not being available.  I just upgraded to 0.93.2 and then uninstalled the api package.  When I restarted HA, the component loaded and I see this in the log:

[homeassistant.util.package] Attempting install of myicomfort==0.2.1
[homeassistant.components.climate] Setting up climate.myicomfort
[myicomfort.api] Initializing Thermostat

Can you try manually installing the python package in the Hassio python environment?
python3 -m pip install myicomfort==0.2.1

Haven't heard back so I will close this issue.  I will be posting an update for 0.96 soon.


[Workspaces] snapshot: fix coordinates for the minimized apps.

Summary of the Pull Request
Replacing the apps' coordinates for the freshly snapshoted minimized windows. In that case we get wild coordinates like -32000. If the user unchecks the "minimized" checkbox, the launcher tries to position the window out of the screen area. To fix it, the monitors' full screen positions are copied to the app's position.
Not sure, if the fix closes #34826

PR Checklist

[X] Closes: #34826
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

/azp run


Can't work with models that contain dicts of other models

Currently a model like the ScoreBoard model below with the field scores being a dictionary of string and Model fails to work
from typing import Dict
from pydantic_redis import RedisConfig, Model, Store

class Score(Model):
    _primary_key_field: str = 'id'
    id: str
    total: int

class ScoreBoard(Model):
    _primary_key_field: str = 'id'
    id: str
    scores: Dict[str, Score]

if __name__ == '__main__':
    store = Store(name="test", redis_config=RedisConfig())
    store.redis_store.flushall()
    store.register_model(Score)
    store.register_model(ScoreBoard)

    example_score = Score(id="some id", total=50)

    ScoreBoard.insert(data=ScoreBoard(id='test', scores={"mark": example_score, "tom": example_score}))
    items = ScoreBoard.select(ids=["test"])
    print(f"{items}")

It raises the following exception:
Traceback (most recent call last):
  File "main.py", line 27, in <module>
    items = ScoreBoard.select(ids=["test"])
  File "/Users/apple.inc/work/code/sopherapps/pydantic-redis/pydantic_redis/model.py", line 139, in select
    return cls.__parse_model_list(response)
  File "/Users/apple.inc/work/code/sopherapps/pydantic-redis/pydantic_redis/model.py", line 237, in __parse_model_list
    return [cls(**record) for record in parsed_dict_list]
  File "/Users/apple.inc/work/code/sopherapps/pydantic-redis/pydantic_redis/model.py", line 237, in <listcomp>
    return [cls(**record) for record in parsed_dict_list]
  File "pydantic/main.py", line 342, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 2 validation errors for ScoreBoard
scores -> mark
  value is not a valid dict (type=type_error.dict)
scores -> tom
  value is not a valid dict (type=type_error.dict)

Pydantic_redis version: 0.1.6

It kind of seems like a dict might be better represented by a model
e.g.
class Score(Model):
    _primary_key_field: str = 'id'
    id: str
    total: int

class ScoreBoard(Model):
    _primary_key_field: str = 'id'
    id: str
    scores: Dict[str, Score]

might as well have been:
class Score(Model):
    _primary_key_field: str = 'name'
    name: str
    total: int

class ScoreBoard(Model):
    _primary_key_field: str = 'id'
    id: str
    scores: List[Score]


Added tips and tricks to the help menu and welcome page

Hey Wade, set up your email address in Git so your commits are properly attributed to your github account for next time (gotta get those green squares): https://help.github.com/articles/setting-your-email-in-git/


Support of polyfill on non-browser non-node.js environments

Hi, thanks for the great library.
I always prefer using this lib through polyfilled style, but I found that in some environments, such as titanium mobile, the current polyfill doesn't work.
After searching a bit on stackoverflow I found a generic way to access the global object, then I suggest this change.
see http://stackoverflow.com/a/3277192/1185492
Thanks,

Now I think the completely generic polyfill is difficult, then I propose a modfied version of this.


[dev-tool] upgrade typescript to ~5.7.2

and ts-morph to ^25.0.0

API change check
API changes are not detected in this pull request.


Issue with saving cars for "continuable" missions

When I started the mission, the car just jumps away when I accelerate or reverse. Tried many times and every time it does this.

ReDriver2 beta 1
Windows 10 Pro x64
Intel i5-8250u
Radeon 535

https://vimeo.com/553996172
Using the NTSC-U v1.1 Disc

Hopefully this time it gets fixed by 8953ae0


Fix broken search #210

Search must consider that not all collections contain "Resources"

Issue  "Search broken #210 "


Remove the 'fix image path' command from this artifact.

It has been moved to the core artifact.

This was resolved in #64


AccountReference character limit.

There is a 12 character limit for the account reference.
Funny thing is the response returned says request is being processed, however the actual push is not made to device. Was trying this out today on the Safaricom portal earlier, probably a bug on their end.

Hi @nyandikadon
Safaricom had issued a maintainance notice, probably that is why you did not get the STKPush. But I just tested it out on my device, it works

Hi @jumaallan I have tested with the following values where one account reference has 12 characters and the other has 14 characters. Could you kindly confirm if both return a push or its just me and a bad day. Thanks
12 characters
{
"BusinessShortCode": "174379",
"Password": "MTc0Mzc5YmZiMjc5ZjlhYTliZGJjZjE1OGU5N2RkNzFhNDY3Y2QyZTBjODkzMDU5YjEwZjc4ZTZiNzJhZGExZWQyYzkxOTIwMTgwNzE2MTQwMzUy",
"Timestamp": "20180716140352",
"TransactionType": "CustomerPayBillOnline",
"Amount": "10",
"PartyA": "2547********",
"PartyB": "174379",
"PhoneNumber": "2547********",
"CallBackURL": "http://mycallbackurl.com/checkout.php",
"AccountReference": "457A2715F2D9",
"TransactionDesc": "Mpesa Express STK Push test"
}
14 characters
{
"BusinessShortCode": "174379",
"Password": "MTc0Mzc5YmZiMjc5ZjlhYTliZGJjZjE1OGU5N2RkNzFhNDY3Y2QyZTBjODkzMDU5YjEwZjc4ZTZiNzJhZGExZWQyYzkxOTIwMTgwNzE2MTQwOTA5",
"Timestamp": "20180716140909",
"TransactionType": "CustomerPayBillOnline",
"Amount": "10",
"PartyA": "254712908955",
"PartyB": "174379",
"PhoneNumber": "254712908955",
"CallBackURL": "https://medbit.co.ke/api/web/index.php/booking/mpesacallback",
"AccountReference": "0FD70C4EEA3B09",
"TransactionDesc": "Mpesa Express STK Push test"
}


[ISSUE-766] Remove replace directives

Purpose
Resolves #766
Problem
Make csi-driver go.mod importable and remove replace directive as much as possible
In order to remove all replace we should remove deps which not related to actual driver.
k8s e2e modules isn't importable and imported with replace directive.
Resolution
Move all e2e tests from folder test to its own module csi-baremetal-e2e-tests and require csi-baremetal module as deps for it.
Cleanup deps and run go mod tidy remove all indirect deps.
PR checklist

[x] Add link to the issue
[x] Choose Project
[x] Choose PR label
[ ] New unit tests added
[ ] Modified code has meaningful comments
[ ] All TODOs are linked with the issues
[ ] All comments are resolved

Testing
Provide test details

/ci

/ci

/ci

/ci

/ci

/ci


Checkout commit hash

fix #84

ci test ./...

Pull Request Test Coverage Report for Build 439

30 of 39 (76.92%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 91.896%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

application/service/git/git.go
8
11
72.73%

application/service/runner/runner.go
20
26
76.92%

Totals

Change from base Build 436:
-0.3%

Covered Lines:
601

Relevant Lines:
654

💛  - Coveralls


Draggable disables editing features of TinyMCE

Hi, we want to use vue-draggable-plus in combination with the TinyMCE richtext editor. For this, we place one TinyMCE instance in every draggable div:

We noticed that once you drop such a draggable in a new position, TinyMCE won't be initialized correctly. It does not show its content anymore, and there is also no caret to enter new text. All other TinyMCE instances still work fine, until you drag and drop them (i.e. the surrounding draggable div) as well. The "regular" input fields shown in the screenshot always work, i.e. they are not affected by drag and drop.
So I am wondering how the dropped element is actually re-constructed? Is it a copy of the original element or is it the actual original element itself? And if it is the original element, just moved in the DOM, what might be the reason that the editor stops working?

Please provide an online case about the bug, thx


Fix backport delete action; Adding Badges for Build and Link Checker

Description
updates the pattern of the backport branch name to replace 'backport-' instead of 'backport/'
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closed and reopened so changelog doesn't run

Need a PR that won't kick off changelog action.


Spyder 3.0 does not start on windows 10

I'm using python(x,y). However, it comes with an older Spyder release (version 2.??).
So I tried using pip to upgrade.
The steps I followed are:

use the way mentioned on the spyder website, being "pip install --update spyder". This results in an error, saying that --update does not exist. (potentially a small error on the website??)
use :"pip install --upgrade spyder".  This seems to work. A lot of packages are also upgraded, some other packages removed.

When I select spyder in the windows start menu, the splash screen appears (allowing to confirm it is indeed spyder 3 and not the old one that is starting). The splash screen disappears again, but spyder 3 does not start.
The windows task manager shows 3 processes with the name "pythonw.exe (32 bit)" running.
If I try to start Spyder 3 a second time, the following happens:

splash screen appears
additional warning srceen appears, telling me that spyder crashed during the last session and asking to do a "python spyder --reset".
If I click ok, the splash screen appears again. At the bottom, I can see some modules/ parts are loaded. The last one mentioned before the splash screen disappears, is "loading Ipython console".
Again, three processes "pythonw.exe (32 bit)" are running, but no spyder 3.

Additional things I tried:

Running Spyder 3 via anaconda works, but anaconda unfortunately caused other issues, so was removed again. (and computer completely cleaned to remove all hidden traces of anaconda.)
I tried the proposed "python spyder --reset": no solution
I have a screen calibration tool, which is also called spyder 3. I unloaded it, as you never know there could be a naming conflict. No improvement.
Starting Spyder (light): no splash screen, no warnings or alarm, but also no result.
starting Ipython  console from the windows start menu: this works, even if I have two windows "IPython QT Console" (a dos style box) with 3 warnings, and "Jupyter QtConsole" with the working python console.

I noticed that a Spyder log file is created. You can find it attached below.
Technical info:

Python(x,y)-<IP_ADDRESS>
windows10 pro  anniversary update installed -64 bit
Python 2.7.10
intel I5-3570, 16GB RAM

Issue might be the same as #3509, but #3509 does not provide the necessary info to be sure.
spyder_crash.log.txt

Running Spyder 3 via anaconda works, but anaconda unfortunately caused other issues

Sorry, but that's the only Python distribution we currently support. For other distributions (e.g. PythonXY and WinPython) you need to report errors with them.
And, as you said, Spyder is working with Anaconda. Sorry to hear that Anaconda is causing you other issues, but unfortunately, we can't help you with that :-)

Thanks for the reaction.
I'm somewhat surprised by your answer, saying that you only support Anaconda. Python(x,y) is mentioned as a way to get Spyder on the main Spyder page on Github. (together with anaconda and winpython)
I understand that you have plenty of work with Spyder itself and cannot deal with the different distribution packages. I'll see if I can find a solution somewhere else.

I'm somewhat surprised by your answer, saying that you only support Anaconda

It's true that PythonXY and WinPython come with Spyder, but they are independent projects, with their own maintainers and issue trackers. And among the two, I'd recommend you to use WinPython because it's better maintained and more up to date.
The error you report with PythonXY has been reported before, and it's really due to the fact that PythonXY hasn't been updated in quite some time.
We support Anaconda because we know how it works very well and also because Continuum supports Spyder development.

I have been getting this window, but the spyder interface is not loading up.
Anaconda Navigator 1.8.7
Spyder 3.2.8
Windows 10 64-bit
It seems the spyder is running, but it doesn't show on screen.
Tried everything reset, installing pyqt5, show console, re-installation, spyder upgrade.
Tried opening it with terminal and it doesn't throw any error, rather it showed me the same screen attached image.

Hello, I have the same problem with spyder3 with winpython.
Anyone that can help?

thanks.


clashleaders.model.clan_pre_calculated.DoesNotExist in GET /player/9YCQVRJ0J.json

Error in ClashLeaders
clashleaders.model.clan_pre_calculated.DoesNotExist in GET /player/9YCQVRJ0J.json
ClanPreCalculated matching query does not exist.
View on Bugsnag
Stacktrace
clashleaders/model/clan_pre_calculated.py:155 - find_by_tag
clashleaders/model/player.py:46 - pre_calculated_clan
clashleaders/model/player.py:49 - player_score
clashleaders/views/player.py:34 - player_json

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
clashleaders.model.clan_pre_calculated.DoesNotExist in GET /player/1900-2ygcqu28p

An error linked to this issue has been reopened in Bugsnag
clashleaders.model.clan_pre_calculated.DoesNotExist in GET /player/1900-2ygcqu28p


poetry export --without exports optional dependency groups

This is similar to https://github.com/python-poetry/poetry/issues/4577
if you use --without, then the optional dependencies get exported unless you explicitly use --without on them
[tool.poetry]
name = "aaa"
version = "0.1.0"
description = ""
authors = ["pmav99<EMAIL_ADDRESS>readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"

[tool.poetry.group.test]
optional = true
[tool.poetry.group.foo]
optional = true

[tool.poetry.group.test.dependencies]
pytest= "*"

[tool.poetry.group.foo.dependencies]
black = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

E.g. here we use --without on a non-existing group and we notice that both optional groups got exported.
$ poetry export --without-hashes --without gibberish | ag 'pytest|black'
black==21.9b0; python_full_version >= "3.6.2"
pytest==6.2.5; python_version >= "3.6"

If we explicitly use --without on either one of the optional groups, then they are indeed excluded from the output
$ poetry export --without-hashes --without gibberish --without test| ag 'pytest|black'
black==21.9b0; python_full_version >= "3.6.2"

and
$ poetry export --without-hashes --without gibberish --without foo | ag 'pytest|black'
pytest==6.2.5; python_version >= "3.6"

All the examples above now export nothing, this seems to be fixed.

Indeed. Closing


Input background should be transparent by default

For elements that appear in the workspaces, the text input, textarea background should be transparent unless app designer implicitly sets otherwise

@warpech is this issue is still up to date? I don't see a reason why should <input type="text" /> and <textarea></textarea> be on transparent background.

The reason for this issue was that if I have an <input> and decided to change the grid cell background to orange, I end up with an orange background with a big white rectangle.
But I agree we should not apply any magic.
Our current Bootstrap theme (Bootswatch Paper) actually sets the background to all .form-control to be transparent, so this is indirectly fixed.
Regular Bootstrapp sets .form-control background to #fff though.
Closing this as a non-issue


It is failing to create service by cluster ip in my environment

In GitLab by @luotian-github on Dec 24, 2018, 09:29
May be we can use some words instead of regular expression.

In GitLab by @sokril on Nov 8, 2019, 08:29
closed

In GitLab by @sokril on Nov 8, 2019, 08:29
assigned to @luotian-github


An attempt to build with Visual Studio

Visual Studio solution seems to work locally, but not on AppVeyor. So, submitting this PR in the hopes that someone else can spot something.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

How would MinGW built be done? Worth trying as a third option? Visual Studio way has proved to be painful. Maybe, newer VS versions are OK, as it has been used on other projects, but VC9 is challenging. The problem in this PR may be the manually adapted VC9 recipe. But, as I said above, it seems to be working on my VM. At least, it is not giving me the can't find simd-sse1.h problem. On the VM I get something like this MPI is requested, but no OpenMPI compiler found, but it doesn't complain about files not being found.

Are there any licensing or other concerns about using this CMakeLists? Instead of manually preparing a Visual Studio solution as in this PR, we could generate any VC solutions with CMake.