Questions tagged [mu]

Mu is a small, simple editor for beginner Python programmers. Written in Python and Qt5.

Mu is a simple code editor for beginner programmers based on extensive feedback from teachers and learners. Having said that, Mu is for anyone who wants to use a simple “no frills” editor. It is available on pypi.

69 questions
0
votes
0 answers

Weird encoding in python's pygame. Why do i need to encode in latin-1 and then decode in utf-8 to get the right characters?

So, i'm trying out pygame with Mu and started with a very simple code that creates a window and gives a caption to a window. I'm brazilian so i´ve got words with accents in this caption, and when i run the code the letters got all messed up. The…
0
votes
1 answer

Should I downgrade mu version for emacs mailing?

I am setting up my new desktop and I get this error message on emacs when I try to open mu4e: error in process filter: mu4e-error: [mu4e] mu server has version 1.2.0, but we need 1.1.0 error in process filter: [mu4e] mu server has version 1.2.0, but…
Ngahy Be
  • 545
  • 1
  • 4
  • 10
0
votes
1 answer

Problem with mu building "error while loading shared libraries: libxapian.so.30"

I just built Mu in order to read my mails in emacs with mu4e. For this I had also to install GMIME 3.0 and Xapian 1.4 who are dependencies of mu. The build of mu didn't give any error, but when calling "mu server" in the command line I get the…
JuanPabloMF
  • 397
  • 1
  • 3
  • 14
0
votes
1 answer

minimalize rosenbrock function mu,lambda ES strategy convergence

I cannot find error in my code to converge on minimum value for Rosenbrock function with mu, lambda ES. My code is def rosenbrock(x): return np.sum((1-x[:-1])**2 + 100*(x[1:] - x[:-1]**2)**2, axis=0) def ES(N=5, mu=2, lambda_=100,…
0
votes
1 answer

ImportError about PyQt5/QtCore.so while starting mu-editor

I have installed Python 3.6.5, GCC 7.2.0, and mu-editor. While I was tring to start mu-editor, the terminal shows some error messages as follow: seifert@seifert-ThinkPad-T410 /usr/local/bin $ mu-editor Traceback (most recent call last): File…
Seifert Han
  • 47
  • 1
  • 4
0
votes
1 answer

Forbidden You don't have permission to access /wp-includes/ms-files.php on this server

After a moving a existing WordPress multi site installation to a new VPS the images stopped working for subsites. The domain is mapped to the new IP address, so if you try out the url in the image you will be hitting thte old/current web server.…
Webking
  • 1,822
  • 2
  • 20
  • 28
0
votes
1 answer

WPMU create weblog in php code not work

I want to make a new blog in php code. Blog is created, but is disabled or not available. I've even set options but still not active blog. No example of how to create a blog by WPMU found on the Internet my code: function createweblog($domain,…
Admin File3
  • 119
  • 10
0
votes
1 answer

Line 48 syntax error

I'm trying to program a game type thing in mu. But when I run the program it says line 48 syntax error and it doesn't matter what I put there. from microbit import * while True: if button_a.is_pressed(): i = 1 while True: …
0
votes
1 answer

wordpress mu infiny loop on global admin

I'm working on a wordpress mu 4.0.1 I migrated it from a dev server to a prod server and now I'm having infinite 302 Moved Temporarily loop when accessing the global site admin menu. All path seem to be correct. Everything works fine in dev server.…
Pierre M
  • 11
  • 1
  • 5
0
votes
0 answers

Error plotting an ellipse in R

I am trying to plot an ellipse in R but getting an error message. Here is my code: library(mixtools) ###I also tried…
0
votes
1 answer

Webkit not found on OSX

I'm trying to compile mu that uses the headers webkit/webkitwebview.h and webkit/webkitwebresource.h. The OSX version of webkit framework located in /System/Library/Frameworks doesn't seem to have it, the headers are different and use NS data types…
Felix D.
  • 2,180
  • 1
  • 23
  • 37
0
votes
1 answer

Merging two class structures which each rely on complex inheritance c#

We have a massive code set, so each of the classes is of the form: public class A : DPM public class B: DPM
disruptive
  • 5,687
  • 15
  • 71
  • 135
0
votes
1 answer

WP multi-site setup on IIS server

I just setup Multi-site on my IIS demo server but it is not working. Anyone give me the steps to setup wp multi-site on IIS. FYI : Below are the link of the site and multi -site. http://medcells.wsisites.net/ Multi-site link :…
0
votes
1 answer

Libgdx Box2d friction - can't climb shallow slope - is friction like high-school mu?

firstly, is bod2d friction like mu in high-school physics? I have a compound body with two wheels on revolute joints one of which has a motor. When I try to drive it up an 30 degree slope my driven wheel spins and i don't get up. I have set…
0
votes
1 answer

mu4e how to change lookup directory fro mu4e-action-view-as-pdf function

I'm trying to get to work the view as pdf function in mu4e, and I guess that the problem is the lookup directory of the executable msg2pdf. From the function definition I see (defvar mu4e-msg2pdf "/usr/bin/msg2pdf" "Path to the msg2pdf…
drkg4b
  • 377
  • 3
  • 14