Code Monkey home page Code Monkey logo

isp's Issues

Error installing on RHEL

Hello,

Trying to install your program on RHEL with miniconda3. The only thing I changed was the install file just to send the environment to a different location within the mininconda3/envs folder (--prefix), although I don't know that it's relevant to this error.

Trying an internet search, perhaps it is that I do not have root permissions. If this is so, is there a way to run without root?

Thank you.

(isp) bash-4.2$ python start_isp.py
Database started at the url: sqlite:////ISP/ISP/isp/Gui/isp_test.db
libpng warning: iCCP: known incorrect sRGB profile
Missing colon in file 'ISP/ISP/isp/Gui/StyleLib/isp.mplstyle', line 12 ('figure.constrained_layout.use = True')
2023-09-07 15:21:22,949 - logger - INFO - ISP GUI Started
2023-09-07 15:21:22,950 - logger - INFO - User preferences is at: /home/user/.config/isp/user_pref.conf
[9505:9586:0907/152123.068250:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/user/.pki/nssdb): NSS error code: -8023
[9505:9586:0907/152123.068462:ERROR:nss_util.cc(154)] Error initializing NSS without a persistent database: NSS error code: -8023
[9505:9586:0907/152123.068477:FATAL:nss_util.cc(156)] nss_error=-8023, os_error=0
Trace/breakpoint trap (core dumped)

ppsd "save DB" errors..

First of all, thank you so much for making such a great program.

While I was installing and using this program, I found one problem.

In the PPSD session, for example, if I set the HHZ component and press the "process" button to complete the process, I cannot save.
If you click save DB as shown in the attached picture,
I was able to select only "directories" instead of "file"...
is it originally like that?
PPSD_save DB

Or is there another SAVE function? I would appreciate it if you could let me know.

does not install

I am trying to install it on windows with WSL, but when I run the ./ISP_installer.sh it takes a long time and doesn't create the isp environment. it sends error messages and obsolescent functions in Numpy. I am using anaconda 2022.10. Attached screenshots
isp_1
isp_2

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

I just installed WSL 2 and Ubuntu 20.4Lite and I installed windows X launcher as per sed and I run the command in my window run. After that, I change the required data in the ISP_installer.sh file and I install it. But after that typing 'isp' the following error is coming, I just tried so many times like uninstalling and reinstalling. But still, this error is coming
ERROR_ISP_INSTALL
. What should I do to solve this issue?

Database started at the url: sqlite:////home/jithin/ISP/isp/Gui/isp_test.db
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

/home/jithin/ISP/install/../isp.sh: line 17: 30287 Aborted python start_isp.py

Can't install ISP in the WSL2.

I have created a virtual environment by typing "conda create --name isp python=3.8" in my WSL2 with Ubuntu 20.4.

I have already installed VcXsrv.

In the environment isp, I have installed all the requirements except the mtspec which was installed unsuccessfully by typing "pip install mtspect" under python 3.8.

I go to ./ISP/install and type: ./ISP_installer.sh, but it does not work as shown below:

QQ截图20221218164438

gfortran error running elemse in GitHub on Mac

Error message:

(ISP) sph1r17@NOCS04167J-2 green_source % ./elemse
dyld[2992]: Library not loaded: /usr/local/lib/libgfortran.4.dylib
Referenced from: /Users/sph1r17/programs/ISP/isp/mti/green_source/elemse
Reason: tried: '/usr/local/lib/libgfortran.4.dylib' (no such file), '/usr/lib/libgfortran.4.dylib' (no such file)
zsh: abort ./elemse

Solution:

  1. locate libgfortran.4.dylib
    Output:

/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/SRCtest/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/eqcorrscan/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/hypoddpy/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/obspy/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/py2.7/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/envs/pygmt/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/pkgs/libgfortran-4.0.0-0/lib/libgfortran.4.dylib
/Users/Shared/Previously Relocated Items/Security/anaconda3/pkgs/libgfortran-4.0.0-2/lib/libgfortran.4.dylib
/Users/sph1r17/opt/anaconda3/envs/isp/lib/libgfortran.4.dylib
/Users/sph1r17/opt/anaconda3/envs/rsudp/lib/libgfortran.4.dylib

  1. ln -s /Users/sph1r17/opt/anaconda3/envs/isp/lib/libgfortran.4.dylib /usr/local/lib/libgfortran.4.dylib

AttributeError: 'dict' object has no attribute 'get_coordinates' []

Dear ISP team,
I meet this error when I import the metadata at the moment tensor inversion module:
AttributeError: 'dict' object has no attribute 'get_coordinates' [].
Maybe there is an error in my stationxml file so that the module can't extract the station's coordinates, how can l do with it?
Here is my stationxml file.
stations.xml.zip
Could you give me some suggestions?
Thank you

Erroe when open Earthquake Location module

Traceback (most recent call last):
File "/Users/mppisaba/Documents/ISP/isp/Gui/controllers/window_controller.py", line 57, in open_earthquake_window
self.earthquake_analysis_frame = EarthquakeAnalysisFrame()
File "/Users/mppisaba/Documents/ISP/isp/Gui/Frames/main.py", line 10, in call
obj = type.call(cls, *args, **kwargs)
File "/Users/mppisaba/Documents/ISP/isp/Gui/Frames/earthquake_frame.py", line 110, in init
self.canvas.register_on_select(self.on_select, rectprops=dict(alpha=0.2, facecolor='red'))
File "/Users/mppisaba/Documents/ISP/isp/Gui/Frames/matplotlib_frame.py", line 200, in register_on_select
ExtendSpanSelector(
File "/Users/mppisaba/Documents/ISP/isp/Gui/Utils/matplotlib_util.py", line 114, in init
super().init(ax, onselect, direction, onmove_callback=self.__on_move, **kwargs)
TypeError: init() got an unexpected keyword argument 'props'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.