API moordyn bug
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by reproducing the two reports from Moorpy/examples/dynamic.py and the attached demo1.txt and lines.txt under Python 3.13.11, checking the missing plot window/log output and the dynamicSolve unpacking error. Done means both reported runs behave as expected without the ValueError.
Written by the indexing model from the issue text.
Description
Hello moorPy team:
i have 2 exercises with issues:
Description
1 ) Don't show image when i run this API code from CMD
attach files
- error when run "Moorpy/examples/dynamic.py"
Current behaviour
!) …there is no image displayed , also Not log message
- T_nodes_psd_fd,T_nodes_std_fd,s,r_static,r_dynamic,r_total,X = ms.lineList[1].dynamicSolve(omegas,S_zeta,RAO_A=0,RAO_B=RAO_fl,depth=-ms.depth,kbot=kbot,cbot=cbot, seabed_tol=1e-4, tol=0.01, iters=100, w=0.8)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 7)
Expected behaviour
-
Should be shown a window with the plot image…
-
the function seems incompatible with my python version
Code versions
SO: Windows 10
Python --v 3.13.11
Mooordyn 2.4 (precompiled pypi version)
MoorPy 1.2.1
- …
- Dominant language
- Python
- Stars
- 53
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NatLabRockies/MoorPy
-
Wrong comment Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NatLabRockies/MoorPy#43 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NatLabRockies/MoorPy#22 · 4 comments ·
-
NatLabRockies/MoorPy#64 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
NatLabRockies/MoorPy#63 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
NatLabRockies/MoorPy#59 · 2 comments ·
All issues in NatLabRockies/MoorPy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100