can't add watershred_declination app

8 views
Skip to first unread message

ji...@chapman.edu

unread,
Jun 5, 2019, 7:36:18 PM6/5/19
to Tethys Platform
hello,

after I installed tethys platform on centos 7, it worked fine, but when I tried to add watershed_delin app, it showed the following errors,  can anybody help? thanks a lot!

(tethys) [jetli@Josh-PC tethys_dev]$ ls
tethys_watershed_delin
(tethys) [jetli@Josh-PC tethys_dev]$ cd tethys_watershed_delin
(tethys) [jetli@Josh-PC tethys_watershed_delin]$ ls
__init__.py  setup.py  tethysapp
(tethys) [jetli@Josh-PC tethys_watershed_delin]$ python setup.py develop
Loading Tethys Extensions...
Loading Tethys Apps...
ERROR:tethys.tethys_apps.harvester:App watershed_delin not loaded because of the following error:
Traceback (most recent call last):
  File "/home/jetli/tethys/src/tethys_apps/harvester.py", line 222, in _harvest_app_instances
    app_module = __import__(app_module_name, fromlist=[''])
ModuleNotFoundError: No module named 'tethys_apps.tethysapp.watershed_delin'
Tethys Apps Loaded:

running develop
Creating Symbolic Link to App Package: /home/jetli/tethys/tethys_dev/tethys_watershed_delin/tethysapp/watershed_delin to /home/jetli/tethys/src/tethys_apps/tethysapp/watershed_delin
Traceback (most recent call last):
  File "/home/jetli/tethys/src/tethys_apps/app_installation.py", line 82, in _run_develop
    os.symlink(self.app_package_dir, destination_dir)
FileExistsError: [Errno 17] File exists: '/home/jetli/tethys/tethys_dev/tethys_watershed_delin/tethysapp/watershed_delin' -> '/home/jetli/tethys/src/tethys_apps/tethysapp/watershed_delin'

During handling of the above exception, another exception occurred:


Dan Ames

unread,
Jun 6, 2019, 9:12:09 AM6/6/19
to ji...@chapman.edu, Tethys Platform
I think this is a version issue. The watershed app was written under Tethys 1...
**********************************************************************
Daniel P. Ames, Ph.D., P.E.
Professor, Civil & Environmental Engineering,Brigham Young University, Provo, Utah, USA
President, International Environmental Modelling & Software Society
Editor-in-Chief, Environmental Modelling & Software

**********************************************************************


--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/a034bba4-9e0d-402a-aab3-5c3dbbe35b3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brown, Dustin T ERDC-RDE-CHL-MS CIV

unread,
Jun 6, 2019, 9:35:59 AM6/6/19
to ji...@chapman.edu, Tethys Platform

Hi there,

 

I haven’t ran into this before, but I have a few suggestions that may work:

 

Solution 1: Try deleting the symbolic link for the app at “/home/jetli/tethys/src/tethys_apps/tethysapp/watershed_delin” and then attempt the installation again.

 

Solution 2: It seems for some reason that it is already looking for the app even though you haven’t installed it yet?  Try running tethys uninstall (insert app name) and then trying the install again maybe? (I feel like the uninstall will have an error, but it’s worth a try.) 

 

If these don’t work, what happens when you run “tethys manage start”(tms)?  Do any apps show up on the webpage?  Or does it just error out?

 

Thanks,

Dustin Brown

--

You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.

Xiaohui (Sherry) Qiao

unread,
Jun 6, 2019, 10:16:47 AM6/6/19
to Brown, Dustin T ERDC-RDE-CHL-MS CIV, ji...@chapman.edu, tethysp...@googlegroups.com
Agree with Dr.Ames. I think it's a version issue. The tethys_watershed_delin app (https://github.com/danames/tethys_watershed_delin.git) is developed based on Tethys 1.4. It is not updated to work with Tethys 2. 

ji...@chapman.edu

unread,
Jun 6, 2019, 1:25:05 PM6/6/19
to Tethys Platform
Thank you guys, I'm going to ignore it.

To unsubscribe from this group and stop receiving emails from it, send an email to tethysp...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysp...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages