Skip to content
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

Blank Page #1

Open
marcelopalin opened this issue Nov 11, 2017 · 7 comments
Open

Blank Page #1

marcelopalin opened this issue Nov 11, 2017 · 7 comments

Comments

@marcelopalin
Copy link

Hello!

I followed the instructions and accessed the http://127.0.0.1:5000/files/filemanager but I got a blank screen...

can you help?

I used:
Python 3.5.2 with virtualenv.
I used the Pycharm to run your project;

My O.S:
Linux ubuntu 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

@barabasss
Copy link

Moreover, current version is not working.
I used browser dev tools to get console, server can't find some files like
\static\RichFilemanager\scripts\CodeMirror\lib\codemirror.js
and some js.map files. I'm new to web, so cant guess how to fix it.

In explorer I found "._codemirror.js", so I renamed it to codemirror.js. It helped to start RichFilemanager web-interface, but there are a lot of other errors.

@barabasss
Copy link

I found the desicion. Just go to main page of project https://github.com/servocoder/RichFilemanager and download it. Copy the folder "scripts" to folder static/RichFilemanager in your project.

@jsooter
Copy link
Owner

jsooter commented Dec 14, 2017

This project is mainly an example of how to use python and flask to serve the FileManager app with a file management API based on FileManager. I'm sorry I haven't had time to keep it up to date.

@alanswx
Copy link
Collaborator

alanswx commented Jan 16, 2018

I submitted a pull request #2 that I think fixes these issues. Let me know if it works. @BSergius and @marcelopalin if you could test it and let me know if I need to fix any other functions. Move currently seems broken for directories that have files in them. I will take a look at fixing that.

@jsooter
Copy link
Owner

jsooter commented Jan 16, 2018

In the latest update I believe the .gitignore is excluding dist files for javascript libraries that are required. As a result they were not included in the merge. @alanswx would you mind fixing the gitignore and submitting another request? If not I'll get the javascript files added when I can.

Here are the files:
/static/RichFilemanager/scripts/clipboard.js/dist/clipboard.min.js
/static/RichFilemanager/scripts/CodeMirror/lib/codemirror.js

@alanswx
Copy link
Collaborator

alanswx commented Jan 16, 2018

Oops! I was struggling with their gitinclude.

@alanswx
Copy link
Collaborator

alanswx commented Jan 16, 2018

I think it is fixed. There are .gitinclude files everywhere!

jsooter pushed a commit that referenced this issue Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants