pyephem icon indicating copy to clipboard operation
pyephem copied to clipboard

multiple `.copy()` of orbit TLE causes segmentation fault

Open probinso opened this issue 1 year ago • 1 comments

import ephem

line1 = '1 32382U 07061A   17104.91671019 +.00000214 +00000-0 +10000-3 0  9990'
line2 = '2 32382 098.5768 113.4397 0001285 096.3062 323.5664 14.29984323487253'
orb = ephem.readtle('satellite', line1, line21)
orb.copy()
orb.copy()
orb.copy() # segmentation fault

probinso avatar Aug 18 '23 23:08 probinso

Alas, on my system that doesn't produce a segmentation fault. What operating system and Python version are you using? To fix the problem, I would need to create a system setup exactly like yours; we'll see if that's possible once you report back with more information. Thanks!

brandon-rhodes avatar Aug 19 '23 21:08 brandon-rhodes