-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Repaired luigi build #2033
Repaired luigi build #2033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can anyone else verify this works?
luigi/static/visualiser/index.html
Outdated
@@ -21,11 +21,10 @@ | |||
<script src="lib/jquery.slimscroll.min.js"></script> | |||
<script src="lib/AdminLTE/js/app.min.js"></script> | |||
<script src="lib/datatables/js/jquery.dataTables.min.js"></script> | |||
<script src="lib/URI.js/1.18.2/URI.js"></script> | |||
<script src="lib/URI.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't the issue the URI.js
matching some regex? Do we not have the same issue here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In setup.py it copies the static files with this function:
def get_static_files(path):
return [os.path.join(dirpath.replace("luigi/", ""), ext)
for (dirpath, dirnames, filenames) in os.walk(path)
for ext in [".html", ".js", ".css", ".png",
".eot", ".svg", ".ttf", ".woff", "*.woff2"]]
The URI folder was called URI.js, and the above function fails when it gets this folder extension
luigi/static/visualiser/index.html
Outdated
@@ -21,7 +21,7 @@ | |||
<script src="lib/jquery.slimscroll.min.js"></script> | |||
<script src="lib/AdminLTE/js/app.min.js"></script> | |||
<script src="lib/datatables/js/jquery.dataTables.min.js"></script> | |||
<script src="lib/URI.js"></script> | |||
<script src="lib//URI/1.18.2/URI.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib/URI/1.18.2/URI.js
one too many /
Hi, @dlstadther . Yes. |
I believe this PR would fix the installation problem, that I encountered:
In setup.py, get_static_files will return (among other globs) |
Thanks! |
I have the same error when |
I had the same issue /opt/cloudera/parcels/Anaconda-4.0.0/bin/pip install luigi .... then I download and then pip it. wget https://github.com/spotify/luigi/archive/master.zip and it works for me |
Description
Changed URI.js route
Motivation and Context
Luigi does not build properly, referencing issue #2028
Have you tested this? If so, how?
The project has passed the travis tests, luigid is running properly.