General chat, help, discussion and ideas about the Mu code editor. Don't be afraid to ask a question. We're friendly! Please follow the Code of Conduct (https://www.python.org/psf/codeofconduct/)
hi all - having an issue with REPL where I can't type anything in it ever since I clicked 'ok' on some prompt that said to switch over to a newly detected ESP.. anyone come across this?
bowtiedfeline
@bowtiedfeline
^ disregard - switching the "Mode" from ESP Micropython to Python 3 did the trick
Hi, I'm going to submit a PR to fix a typo on the Developer Setup page (Addionionally in the Windows Note). Before I do, it lists using Python 3.5 or higher - should I update that to 3.6 as 3.5 reached EOL in 2020?
@jevers76: I appreciate this is somewhat after the event, but we've just noticed that people using the Windows Store version of Python are seeing the same symptom: Mu fails to start but there are no logs. We have a patch for it waiting in the wings. Is it possible that this is your situation?
Carl J. Nobile
@cnobile2012
So I have recently encountered an issue when trying to run code using the RUN button on an ESP32. MU keeps telling me there is a syntax error that doesn't exist. However, it runs fine if I send the code to the REPL through copy and paste or right-clicking a block. Could this be a timing issue or something similar?
Nicholas Tollervey
@ntoll
How is Mu telling you about the syntax error..?
Carl J. Nobile
@cnobile2012
I get a message in the REPL that there's a syntax error on an import statement. The import is in a try/except block.
There are two imports in the try/except block, sometimes its one or the other.
Also delighted to meet you! I can only thank you all!
SJ
@Ambercam
Hello. I am trying to get mu working on my Mac. I have installed it OK but, the software cannot find my python install which, was installed as part of Anaconda. How do I change the config so that MU uses the actual path to the Python interpreter?. I suspect its just a simple edit of a config file...
Carl J. Nobile
@cnobile2012
@Ambercam MU sets up its own Python interpreter, it cannot use one outside of its own install and path.
@Ambercam So you have two choices, one is to put your code in the path that MU uses (I personally don't like this method). And two is to setup a VE for you project outside of MU and just point MU to the files in that path. MU just becomes your editor of choice.
pluto858
@pluto858
Hi, when I highlight text in the Mu Editor, it disappears. Can someone help me please?
Nicholas Tollervey
@ntoll
What operating system are you on..? What version of Mu..?
pluto858
@pluto858
Mac OS Big Sur 11.6.4 Mu Editor 1.1.1
Vasco Mora
@xbecas
I tried with Mu 1.1.1 on Monterey 12 and it worked ok!
On a M1 MacBook Air 2021
carnı
@carnifexx_gitlab
hi friends, do you know where i can change the mu editor font?
searched for a while now
carnı
@carnifexx_gitlab
never mind, found and changed it in "themes.py" \AppData\Local\Programs\Mu Editor\Python\Lib\site-packages\mu\interface
Nicholas Tollervey
@ntoll
Bravo..! Nice job @carnifexx_gitlab
carnı
@carnifexx_gitlab
ty, if you or someone can tell me how i could do the same for the console output it'll be much appreciated =)
Nicholas Tollervey
@ntoll
Hmm... it should be in the same general place.
You could also raise a feature suggestion for making it easy to change font to something installed on the system.
I just submitted a PR to add a tutorial for rp2040 mode. I notice in rp2040 mode the "Files" button is grayed out on a Pico, but if I use ESP Micropython mode, the Files button works. Is it supposed to be unavailable in rp2040 mode and should it be documented?
Does anyone else have the issue where upon changing the theme, the helper text window in REPL is unreadable?
Using the Night or Contrast theme, when I type "print" into the REPL pane, the text box that pops out with additional information regarding "print" is white on white text which makes it unreadable
@BingusLover19_twitter: Ok, do you have the Feather plugged into the USB drive?
It should show up as a CIRCUITPY drive
Open the code.py file on the CIRCUITPY drive in Mu, I think by pressing Load
Then press the Serial button in Mu, and you can see the code running or enter the REPL. You may have to click it to get focus and then ctrl-c and ctrl-d will re-run your code
ahmetutku
@ahmetutku
Hello, I have imported pyintplus using terminal. But my Mu editor cannot find it. How do I fix this?
I left some comments on some documentation related issues, mostly in the website repo. I'm happy to submit some PRs to help with some of those. If anyone has any feedback on wording or phrasing in those issues, please leave a comment.
Nicholas Tollervey
@ntoll
@prcutler:matrix.org thank you..! Just remember we're all volunteers with full time jobs so Mu work is done on a "best effort" basis.
(I.e. if nobody comments, it's not because we're ignoring you, it's probably because we're snowed under with "real job" things)