installation error: E: Unable to locate package python-oq-engine

343 views
Skip to first unread message

hosei...@gmail.com

unread,
Jul 24, 2017, 2:35:54 PM7/24/17
to OpenQuake Users
Hi

I want to install open-quake engine on Ubuntu 15.04 by these commands:

sudo apt-get install python-software-properties
sudo add-apt-repository -y ppa:openquake/ppa
sudo apt-get update
sudo apt-get install -y python-oq-engine


output of <sudo apt-get update> is:

....Hit http://security.ubuntu.com vivid-security/universe Translation-en                                                                          
Hit http://ir.archive.ubuntu.com vivid-updates/universe Translation-en                                                                         
Ign http://dl.google.com stable/main Translation-en_US                                                                                         
Hit http://ir.archive.ubuntu.com vivid-backports/main Sources                                                                                  
Hit http://ir.archive.ubuntu.com vivid-backports/universe Sources                                                                              
Hit http://ir.archive.ubuntu.com vivid-backports/main amd64 Packages                                                                           
Hit http://ir.archive.ubuntu.com vivid-backports/universe amd64 Packages                                                                       
Hit http://ir.archive.ubuntu.com vivid-backports/main i386 Packages                                                                            
Hit http://ir.archive.ubuntu.com vivid-backports/universe i386 Packages                                                                        
Hit http://ir.archive.ubuntu.com vivid-backports/main Translation-en                                                                           
Hit http://ir.archive.ubuntu.com vivid-backports/universe Translation-en                                                                       
W: Failed to fetch http://ppa.launchpad.net/openquake/ppa/ubuntu/dists/vivid/main/binary-amd64/Packages  404  Not Found                        


E: Some index files failed to download. They have been ignored, or old ones used instead.




Then in <sudo apt-get install python-oq-engine>  this error appears:

E: Unable to locate package python-oq-engine


How can I fix this error?

hosei...@gmail.com

unread,
Jul 24, 2017, 2:44:41 PM7/24/17
to OpenQuake Users, hosei...@gmail.com
Or how can I install oq from source code?
I've downloaded source code of oq engine from http://github.com/gem/oq-engine

Daniele Viganò

unread,
Jul 24, 2017, 2:55:36 PM7/24/17
to openqua...@googlegroups.com

Dear User,

Ubuntu 15.04 isn't supported by the OpenQuake Engine packages for Ubuntu (see https://github.com/gem/oq-engine/blob/engine-2.5/doc/installing/ubuntu.md#installing-the-openquake-engine-on-ubuntu-linux). Ubuntu 15.04 also reached its End-of-Life on Feb. 4th 2016.

You have then two options:

Best regards,
Daniele

--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
DANIELE VIGANÒ | System Administrator | Skype dennyv85 | +39 0382 5169882
GLOBAL EARTHQUAKE MODEL | working together to assess risk

hosei...@gmail.com

unread,
Aug 14, 2017, 8:50:41 AM8/14/17
to OpenQuake Users
Greetings again!


Now I want to run oq with four files :
1- simple_fault_sources 
2-source_model_logic_tree
3-gmpe_logic_tree
4-job.ini

But this error appears:

raise ValueError('expected sourceGroup')
ValueError: node simpleFaultSource: expected sourceGroup, line 4 of /home/mohammad/Desktop/RUN_OQ/Simple_Fault_Sources.xml

And no output is visible.


Could you help me please?

Michele Simionato

unread,
Aug 15, 2017, 5:25:23 AM8/15/17
to OpenQuake Users, hosei...@gmail.com


On Monday, August 14, 2017 at 2:50:41 PM UTC+2, hosei...@gmail.com wrote:
Greetings again!


Now I want to run oq with four files :
1- simple_fault_sources 
2-source_model_logic_tree
3-gmpe_logic_tree
4-job.ini

But this error appears:

raise ValueError('expected sourceGroup')
ValueError: node simpleFaultSource: expected sourceGroup, line 4 of /home/mohammad/Desktop/RUN_OQ/Simple_Fault_Sources.xml

And no output is visible.


Could you help me please?

You are using an inconsistent source model. The format is NRML 0.4 but the tag says nrml/0.5. From where did you download the model? The fix is simply to change from


 in the source model.
Reply all
Reply to author
Forward
0 new messages