Comments (10)
I don't have access to a Windows machine to be able to troubleshoot. But, that is an error raised by GNU make, I believe. If you can't find a version of make for Windows that works, you can try to run the make depends target commands manually. These would be:
python -m pip install -U pip wheel
poetry install --no-root
from ramstk.
First of all, thank you for your answer. I did as you said, but another thorny problem has arisen.When I type the following sentence:”poetry install --no-root“
The following results appear:
Package operations: 1 install, 0 updates, 0 removals
• Installing pygobject (3.42.2)
CalledProcessError
........
Failed to build PyGObject
ERROR: Could not build wheels for PyGObject, which is required to install pyproject.toml-based projects
How can I solve this problem?
from ramstk.
You have to install pygobject not using poetry. The instructions are here.
from ramstk.
Sorry to bother you again , now I'm running on Ubuntu(WSL) . I have installed the ramstk ,but when I run the following order :
$ramstk
The result is :
(ramstk-py3.8) messi@LAPTOP:/home/ramstk-0.19.0$ ramstk
/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/analyses/dormancy.py:16: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
DORMANT_HR_MULT = np.array(
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/bin/ramstk", line 8, in
sys.exit(the_one_ring())
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 322, in the_one_ring
site_configuration = do_read_site_configuration()
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 258, in do_read_site_configuration
do_first_run(_configuration)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 107, in do_first_run
_dialog = RAMSTKDatabaseSelect(
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/views/gtk3/widgets/dialog.py", line 76, in init
super().init(dlgtitle, **kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/views/gtk3/widgets/dialog.py", line 53, in init
super().init()
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 577, in init
self._init(*args, **new_kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/init.py", line 319, in new_init
return super_init_func(self, **new_kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 519, in init
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
(ramstk-py3.8) messi@LAPTOP:/home/ramstk-0.19.0$
What can i do to solve this problem?
from ramstk.
This is a problem with Gtk not finding a display. Are you executing the command from a terminal emulator or are you at the command line?
from ramstk.
I think it should be the command line .
from ramstk.
You need to be running a graphical interface, not the command line. Once you're running a graphical interface, launch a terminal emulator and execute the ramstk command.
from ramstk.
Now I am running on Linux system by using virtual machine . And my linux syetem is centOS7 .When I execute the following order
$make depends
The error arise . That is, the pycairo package download failed.I search the solution to this error online but I did't find out .Meanwhile I read the instrutions which you mentioned eariler ,but it doesn't have the solution of centOS. The instructions are here.
Do you know the solution of the centOS7 ?
from ramstk.
For CentOS, try the Fedora instructions. However, none of the problems you're reporting have anything to do with ramstk. That being the case, I'm closing this issue.
from ramstk.
Ok,thank you very much.
from ramstk.
Related Issues (20)
- Remove if-else Control from RAMSTKBaseTable do_select_all() Method HOT 1
- Raise Error Dialog When RAMSTKModuleBook Switches to Page with No Program Open HOT 1
- Replace Hazards Panel Integer Position List with String Key List HOT 1
- Remove the record_id attribute from RAMSTK Table Models HOT 1
- Use SQL Files in data Directory to Create Test Databases HOT 1
- Drop Python-3.6 support and Add Python-3.9, 3.10 Support HOT 1
- Add Test Logger to Capture Debug Messages During Test Runs
- Add number of columns option to RAMSTKFixedPanel.do_make_panel() method HOT 1
- Migrate from openpyxl to pyexcel for imports/exports HOT 1
- Provide exports in pdf format
- Quality Level Does Not Persist
- gi\gimodule.c: fatal error C1083: Cannot open include file: 'msvc_recommended_pragmas.h': No such file or directory HOT 1
- Hardware module allows adding a sibling to the top-level item HOT 1
- Hazard rate calculations not "rolling up" HOT 1
- Component assessment inputs not loading HOT 1
- Hazard rate multiplier not applied correctly HOT 2
- Verification tree blanks when adding new task HOT 1
- Move Widget Sensitivity Code to New Method in Component Input Panes HOT 1
- Use Database Triggers to Add Records to Related Tables HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ramstk.