-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Augur Install does not display helpful information on failure #908
Comments
I raised another concern, but moved it to #909 |
The are log files under |
This kind of error can occur even when the installation files don't have read/write access. In some OS, when you clone a repo from github, by-default all the access isn't granted. Try granting 777 to all the installation files. |
Huh I had no idea that was a thing, thanks for the call-out @abhinavbajpai2012. That could entirely be what's happening here...what OS are you using @Nebrethar? |
I've tried this with WSL2 and two different ubuntu VMs. One of the VMs had augur previously and one was a fresh install of ubuntu. I tried to chmod (777) all of my augur files, just to make it work, but I'm running into the problem I had with the virtual #909 environment and cannot get past it. I do have a different error this time - I will post it there; we may have to fix that first |
I'm really trying to make something clear:
These are the four main things I'm trying to communicate. I'm glad to help move this in a direction where it's easier to understand and contribute to, but I don't want to be the only one. |
@Nebrethar : Ubuntu 20 was released a few days more than a month ago. I do not have a machine on Ubuntu 20, but I am not experiencing these errors on the last LTS, Ubuntu 18. I cannot say with certainty, but I think there may be a permissions issue as suggested. Also, it looks like you may be running on Ubuntu for Windows, and that is not the same thing as Ubuntu and is likely the core issue here. On Native Ubuntu 18, for sure, Augur installs consistently. In our platforms supported documentation we are pretty clear that we do not try to support Windows installation because its a lot of labor with little demand in the open source community. |
@Nebrethar : I am going to say this in public because its important for everyone to understand: The "Ubuntu" you get in a Microsoft Windows distribution simply does NOT function for development anything like regular Ubuntu. This use of the Ubuntu brand under Windows is confusing, and the source of a great deal of PAIN for students in computer science that I teach, who expect they are getting a OS subsystem that will function EXACTLY LIKE Ubuntu. It simply does not, and frequently creates exactly the kinds of issues you describe for a dozen of the 70 students on Windows in my software engineering class. Seriously: Ubuntu on windows is the most #2020 "OS" out there. :) |
I'll add something to the docs to explicitly mention that WSL is not supported |
@ccarterlandis : I would be as explicit about that as I am in my comment above. The Ubuntu on Windows "Subsystem" is NOT Ubuntu, and does not work like Ubuntu. It confuses a lot of people, and frankly I think its a bit dishonest and misleading. |
(On Microsoft's part) |
I'm sorry you've been having a poor developer experience @Nebrethar, it's definitely not what we're going for. If I'm understanding you correctly, I think the main issue here is our extreme lack of attention to the documentation, which has lead to a confusing, messy and tricky install/user experience. All of your points are 100% valid, and may I say there is no greater wake-up call than being told your open source project feels like an internal one... For context, I'm the only person who works on our documentation and installation with any sort of regularity, and my time I have to do that is often very limited. On top of school and my personal life, It's extremely hard to keep up when everything always falls to me. I can barely keep up with keeping the already written documentation up to date, so when things get tricky or out of date, usually the only way it'll get fixed is if someone notices it's broken and opens an issue. I mean even right now, the docs haven't been updated in months, nothing except for changing some trivial sample output code. There are a lot of docs I would like to write and update, everything from a robust developer guide and a DB schema analysis to common install FAQs and architecture overviews, all of which I think would go a long way in making Augur better. Without additional help however, I can't say when or even if those docs will ever get written. Wrt to the install, I have also worked really hard to make the install more streamlined since last year. I thought it was going well but I am very close to the code so understandably it doesn't seem that bad to me. That being said, I do feel pretty strongly that the install requires too much input from the user and it has been slowly creeping in scope since it started, which doesn't help its complexity. Would love to hear your thoughts on how we can improve this. I think there is also a larger issue of maintainability here. There are a lot of things in Augur that we have "patched up" in not the best way, and most of it was cobbled together to begin with. Much of the application code needs refactoring for robustness, security, stability, clarity, and design. Any code standards we do "follow" (ones we set for ourselves or otherwise) are almost certainly not actually enforced all the time, and we do an abysmal job of commenting too, which does not help. @Nebrethar I appreciate you being vocal about your frustrations and for starting the discussion. It's an important one to have and I am happy to take part in it |
^ Being said, let's keep this thread on track. @Nebrethar do you see ANY log files in the |
Those permission errors in the 2nd picture are almost certainly what's causing the issue. To be honest, I'm not sure why it would be failing...maybe it's got something to do with the script itself not being allowed to create folders/files. Can you create that |
@ccarterlandis regarding Ubuntu 20, I found a "permission denied" error in the log where the pip install of augur could not access the virtual environment folder that I created. Using On 18.04 augur does not have any capability of installing without changing install scripts, and it does not create logs. This comes down to some issues that led to this fiasco:
|
I would argue that This installation of Augur is probably too messed up at this point from all the |
@ccarterlandis @sgoggins I am reinstalling 18.04, will pick this up tomorrow 👍 Tomorrow because I also need some time off of this 😅 |
Recursively giving access to the root Augur directory should have worked. I had a similar error when I tried installing Augur on Deepin 20. As far as I remember, the error code was also the same (40). I just gave full access to the directory and then it started working. Also, WSL doesn't work for Augur. Even if you solve the permission issue, the installation will give some error midway. I installed Ubuntu from the Microsoft Store and tried installing Augur on it and got some error which was something we can't solve. WSL's installation of Python is in some-way connected to the Windows installation on Python. I think there was some problem with OS commands (dir vs cd kind of) but don't remember completely. |
@abhinavbajpai2012 Thanks for your insight. I will respond to your latest comments one-by-one. First please see my comment from earlier.
This is not a good practice when installing software. ...
I've reiterated my solution to this a few times. I was only using WSL for the initial issue comment. After that, I have not been trying or mentioning the install using WSL. I've been working with Ubuntu 18.04 and Ubuntu 20.04. I do appreciate your personal experience with it, though, and the fact that you tried it too. |
I ended up agreeing with this. I've only really worked on local environments most of the time so my use of I will try an install on an environment with minimal sudo usage. Let's see how that goes 😅 |
@Nebrethar I am out of my depth with |
Fixed with latest Augur release. |
Description:
I just tried to perform a dev install of augur. I ran the dev install script
make install-dev
and I get a nondescript error. I don't have any error details to work with.How to reproduce:
make install-dev
Expected behavior:
A clear and concise description of what you expected to happen.
Screenshots
Log files
There are no log files that I can find here.
Software versions:
The text was updated successfully, but these errors were encountered: