[MSNoise] Troubles to get the admin page (v1.4.1, windows 7, python 2.7)

MATHIEU LE BRETON mathieu.le-breton at univ-grenoble-alpes.fr
Mon Feb 13 08:50:19 UTC 2017


Hi Tom, 

It seems to be working now :) 
Thanks a lot ! 

Mathieu 


De: "Thomas Lecocq" <Thomas.Lecocq at seismology.be> 
À: msnoise at mailman-as.oma.be 
Envoyé: Vendredi 10 Février 2017 20:44:33 
Objet: Re: [MSNoise] Troubles to get the admin page (v1.4.1, windows 7, python 2.7) 

Hi Mathieu, 

The problem comes with a recent version of werkzeug, the web engine 
behind flask, the framework of the admin... All this to say: if you are 
just starting with msnoise, install the master version from github: 

pip uninstall msnoise 

pip install http://msnoise.org/master.zip 

This will install the latest dev version which corrects this little 
bug/incompatibility. 

Note, the doc of the master is : http://msnoise.org/doc/master/ 

Let me know how it goes, 

Cheers 

Tom 


On 10/02/2017 18:38, MATHIEU LE BRETON wrote: 
> Dear Thomas Lecoq and everyone, 
> Greetings from Grenoble, France 
> 
> I have just installed Msnoise 1.4.1, and I am having trouble to use the admin interface. Would you have an idea of the reason ? 
> 
> === Example === 
> ============= 
> 
> (msnoise) C:\Users\lebremat> msnoise admin 
> c:\programdata\anaconda3\envs\msnoise\lib\site-packages\flask\exthook.py:71: ExtDeprecationWarning: Importing flask.ext.admin is deprecated, use flask_admin instead. 
> .format(x=modname), ExtDeprecationWarning 
> c:\programdata\anaconda3\envs\msnoise\lib\site-packages\flask\exthook.py:71: ExtDeprecationWarning: Importing flask.ext.admin.contrib is deprecated, use flask_admin.contrib instead. 
> .format(x=modname), ExtDeprecationWarning 
> c:\programdata\anaconda3\envs\msnoise\lib\site-packages\flask\exthook.py:71: ExtDeprecationWarning: Importing flask.ext.admin.contrib.sqla is deprecated, use flask_admin.contrib.sqla instead. 
> .format(x=modname), ExtDeprecationWarning 
> c:\programdata\anaconda3\envs\msnoise\lib\site-packages\flask\exthook.py:71: ExtDeprecationWarning: Importing flask.ext.admin.actions is deprecated, use flask_admin.actions instead. 
> .format(x=modname), ExtDeprecationWarning 
> c:\programdata\anaconda3\envs\msnoise\lib\site-packages\flask\exthook.py:71: ExtDeprecationWarning: Importing flask.ext.admin.babel is deprecated, use flask_admin.babel instead. 
> .format(x=modname), ExtDeprecationWarning 
> 2017-02-10 18:17:21 [INFO] * Restarting with stat 
> c:\programdata\anaconda3\envs\msnoise\python.exe: can't open file 'C:\ProgramData\Anaconda3\envs\msnoise\Scripts\msnoise': [Errno 2] No such file or directory 
> 
> When trying to acces http://localhost:5000/ or http://127.0.0.1:5000/ there is a white page 
> (same when writing : msnoise admin -p 5000) 
> 
> 
> === My config === 
> ============== 
> 
> I have installed msnoise 1.4 on windows 7, with a python 2.7 dedicated environment under anaconda that I called 'msnoise' 
> 
> Installation process : 
> conda create --name msnoise python=2.7 obspy flask-admin markdown folium pymysql cython 
> Microsoft Visual C++ Compiler for Python 
> GnuWin, with the PATH to the bins. 
> Scikits.samplerates 
> EasyPhP 
> pip install msnoise 
> Sqlite database 
> 
> 
> Thank you for the help ! 
> 
> Mathieu 
> _______________________________________________ 
> MSNoise mailing list 
> MSNoise at mailman-as.oma.be 
> http://mailman-as.oma.be/mailman/listinfo/msnoise 

_______________________________________________ 
MSNoise mailing list 
MSNoise at mailman-as.oma.be 
http://mailman-as.oma.be/mailman/listinfo/msnoise 


More information about the MSNoise mailing list