Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 12 21:24
    carlosperate commented #635
  • Apr 12 18:45
    MichelleStella commented #635
  • Apr 12 18:42
    MichelleStella commented #635
  • Apr 12 17:40
    carlosperate milestoned #1385
  • Apr 12 17:40
    carlosperate commented #635
  • Apr 12 17:38
    carlosperate commented #635
  • Apr 12 17:36
    carlosperate commented #635
  • Apr 12 17:35
    MichelleStella commented #635
  • Apr 12 16:53
    carlosperate commented #635
  • Apr 12 16:45
    carlosperate commented #1449
  • Apr 12 14:34
    katarzynaozik commented #1449
  • Apr 12 13:56
    carlosperate labeled #1471
  • Apr 12 12:28
    carlosperate demilestoned #1391
  • Apr 12 12:28
    carlosperate commented #1391
  • Apr 12 08:03
    carlosperate commented #1454
  • Apr 12 08:02
    carlosperate commented #1341
  • Apr 12 07:30
    carlosperate commented #1471
  • Apr 12 05:16
    bnystrom opened #1471
  • Apr 11 23:42
    theLMGN synchronize #1341
  • Apr 11 23:23
    carlosperate commented #1469
Carlos Pereira Atencio
@carlosperate
Does it open a browser window with the error message? If you could follow the link in that page to open a new GitHub issue, and attach the Mu log to that issue (instructions are in the page), that would be the best way for us to look into it.
katarzynaozik
@katarzynaozik
No, there is no error message. mu-editor/mu#1449 Where can I find Mu logs?
Stuart Elliott
@stuarte83_gitlab
Hi, I just tried to install the Mu editor from the Mu website but it failed to do so with the following error :-
ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device
Stuart Elliott
@stuarte83_gitlab

Could someone please tell me into which directory/partition the packages have been downloaded ?

As the Mu editor is available through Kubuntu's package manager, I was thinking of removing what has already been downloaded and then re-installing Mu from the package manager.

Filelight reports the following usaage stats.

/: 1% used /usr: 11% used /boot: 46% used /tmp: 0% used /var: 9% used /home: 30% used

tjguk
@tjguk:matrix.org
[m]
@stuarte83_gitlab: They're downloaded into the wheels package within Mu's own source tree. So, wherever you're placed the Mu source code -- there. (I'm hoping that the more Linux-savvy folks on the channel will chime in if there's anything specific to that platform but I don't see why there should be)
In case it helps, the code in question is here: https://github.com/mu-editor/mu/blob/master/mu/wheels/__init__.py#L51
I don't know what version Kubuntu's package manager is carrying but I doubt it's particular recent. However, it should still work 🙂 -- you just won't get the more recent features from the beta release.
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org Thanks for such a swift reply. The package manager has Mu version 1.0.2
tjguk
@tjguk:matrix.org
[m]

@stuarte83_gitlab: that's relatively old (not least because it's taken us a long time to get the next release into beta). However, if you're basically looking to start using Python and/or with a pre v2 micro:bit, you'll be fine.

That said, I would like to get to the bottom of the issues you're having with (apparent) lack of file space...

@stuarte83_gitlab: can you clarify what steps you took to install and run? And I'll try to reproduce on a Kubuntu setup here..
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org When the editor failed to install I saved all the Konsole output to a text file. As this is multiple (!) lines long, would I be infringing forum rules if I just did a copy and paste of that text file ?
tjguk
@tjguk:matrix.org
[m]
Can you put it on a Github gist...? https://gist.github.com/
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org What is a github gist ?
tjguk
@tjguk:matrix.org
[m]
There should be a link next to my question above. (Assuming it hasn't been filtered out in some way). If you go to that, you should be able to upload your text and post a link here...
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org I have just become a member of GitLab, if that is any use ?
tjguk
@tjguk:matrix.org
[m]
@stuarte83_gitlab: I imagine they have something similar; let me have a look to see if I can find it...

Seems that they call it "Snippets". Can you follow those instructions at https://docs.gitlab.com/ee/user/snippets.html#create-snippets and send a link here?

If it's too tricky, let me know and we can come up with something simpler.

Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org OK, I'll try snippets. Please give me a few minutes.
tjguk
@tjguk:matrix.org
[m]
No rush -- I may not get to look into this until later anway, but if you can give us what you've got I hope we'll be able to help.
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org Having a small problem with snippets. In "Write" tab everything is correctly formatted. However, in "Preview" tab everything is just one unformatted block of text.
tjguk
@tjguk:matrix.org
[m]
@stuarte83_gitlab: possible there's some notation you can use to retain formatting. (Using three backticks is quite common). Let's see if I can turn anything up...
Ok; it looks as though it supports markdown. Can you surround the entire text with three backticks? (That's the apostrophe-like character usually to the very top left of the keyboard -- not the apostrophe itself). Put three of them on a first line before your text, and then another three on a final line after your text.
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org OK, the back ticks worked. Now about to try to save snippet and get link.
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org OK, the link is https://gitlab.com/-/snippets/2103437
tjguk
@tjguk:matrix.org
[m]
Thanks @stuarte83_gitlab -- I was on the wrong tack: I assumed you'd already installed the editor and were on the first run (at which point it also tries to download some auxiliary wheels for use by the different modes). But in fact it's failing even to install! So the question is: where does pip store things when it's installing?
I'll see if I can come up with an answer, but I need to disappear in a few minutes to do something else. Presumably it unpacks the (fairly sizeable) Qt wheel into some temp space, which is somehow not enough.

There's some explanation here (with a possible workaround): http://naoko.github.io/pip-install-no-space-left/

Also, according to the filelight report, it doesn't look as though there should be any problem using /tmp itself

Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org I have no idea. I have set up /tmp to use 168 MiB.
tjguk
@tjguk:matrix.org
[m]
Can you try the env var workaround from that article to point TMPDIR to somewhere else (your home directory, for example) to see if it works around the issue?
Ah -- I've just thought of something else. Are you using a virtual environment? Or installing directly against your system Python?
I wonder if it's not really a "not enough space" error, but in fact a permissions error being over-interpreted
I have to drop off at this point, I'm afraid. Hopefully someone else will be able to chime in. I'll look in again later to see if you've managed to get anywhere.
Stuart Elliott
@stuarte83_gitlab
@tjguk:matrix.org No, not using virtualbox or any hypervisor. I will try the TMPDIR workaround and see if that helps. Do you happen to know how much space the install needs ? Thanks very much for all the help. Keep well.
moog83
@moog83:matrix.org
[m]
Hi guys sorry to bother you all. Pretty new linux user trying to install Mu via pip and i just get messages about dependences being satisfied then it returns to shell promt but running Mu-editor just errors with command not found. This is the paste of the output during install via pip3 https://pastebin.pl/view/4e3b7b09
tjguk
@tjguk:matrix.org
[m]
moog83: what command are you using to run the editor?
moog83
@moog83:matrix.org
[m]
I have tried mu-editor as site suggests and various others such as mu, python3 mu-editor ect
tjguk
@tjguk:matrix.org
[m]
Can you try: python3 -m mu, please, just to see what happens?
moog83
@moog83:matrix.org
[m]
sure will, 2 secs
tjguk
@tjguk:matrix.org
[m]
(I'm just going to do a local install-from-pip to remind myself what command we generate 🙂 )
moog83
@moog83:matrix.org
[m]
it loaded! :D
tjguk
@tjguk:matrix.org
[m]
That's good. I've got pulled into something else, but I'm come back later and confirm what command should have worked
moog83
@moog83:matrix.org
[m]
thanks tjguk
tjguk
@tjguk:matrix.org
[m]
moog83: Looks like mu-editor is the command we create. It's possible that the directory which it's installed isn't on your path.
moog83
@moog83:matrix.org
[m]
oh ok
yeah Which is not returning a location for mu-editor or mu
moog83
@moog83:matrix.org
[m]
Weird adding the full path ive found via export method does not seem to make a diff
tjguk
@tjguk:matrix.org
[m]
Hmmm... Not sure then. Hopefully one of the more Linux-savvy devs can chime in. (I'm Windows-based)
moog83
@moog83:matrix.org
[m]
Thanks tjguk. You've been a big help. I can at least get Mu running :)