Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU gdb (GDB) 7.4.1
- Copyright (C) 2012 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-unknown-linux-gnu".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
- (gdb) run /usr/bin/open
- openastro.py* openssl* openvt*
- (gdb) run /usr/bin/openastro.py
- Starting program: /usr/bin/python2 /usr/bin/openastro.py
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/libthread_db.so.1".
- Traceback (most recent call last):
- File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3200.3-gdb.py", line 9, in <module>
- from gobject import register
- File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
- import gdb.backtrace
- ImportError: No module named backtrace
- ** (process:22503): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
- ** (process:22503): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
- ** (process:22503): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
- OpenAstro.org has not yet been translated in your language! Could not load translation...
- -------------------------------
- OpenAstro.org 1.1.24
- -------------------------------
- installing default language
- known home location: Tacoma, Washington, United States 47.25288 -122.44429
- utcToLocal: 2012-06-23 22:42:35 => 2012-06-23 15:42:35 [-07:00]
- /home/shadowkyogre/.themes/Dust TrueDark2/gtk-2.0/gtkrc:85: Murrine configuration option "gradients" is no longer supported and will be ignored.
- Program received signal SIGSEGV, Segmentation fault.
- 0x00007fffeac5b167 in swi_plan_for_osc_elem () from /usr/lib/python2.7/site-packages/swisseph.so
- (gdb) bt
- #0 0x00007fffeac5b167 in swi_plan_for_osc_elem () from /usr/lib/python2.7/site-packages/swisseph.so
- #1 0x00007fffeac3fdfd in ?? () from /usr/lib/python2.7/site-packages/swisseph.so
- #2 0x00007fffeac62fad in ?? () from /usr/lib/python2.7/site-packages/swisseph.so
- #3 0x00007fffeac63c3d in swe_calc () from /usr/lib/python2.7/site-packages/swisseph.so
- #4 0x00007fffeac46ff4 in ?? () from /usr/lib/python2.7/site-packages/swisseph.so
- #5 0x00007ffff7afe02a in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
- #6 0x00007ffff7afeeb5 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
- #7 0x00007ffff7a8f526 in function_call () from /usr/lib/libpython2.7.so.1.0
- #8 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #9 0x00007ffff7a79e68 in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
- #10 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #11 0x00007ffff7af8547 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
- #12 0x00007ffff7a7abda in PyInstance_New () from /usr/lib/libpython2.7.so.1.0
- #13 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #14 0x00007ffff7afab39 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
- #15 0x00007ffff7afeeb5 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
- #16 0x00007ffff7afd12c in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
- #17 0x00007ffff7afeeb5 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
- #18 0x00007ffff7a8f526 in function_call () from /usr/lib/libpython2.7.so.1.0
- #19 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #20 0x00007ffff7a79e68 in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
- #21 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #22 0x00007ffff7af8547 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
- #23 0x00007ffff7a7abda in PyInstance_New () from /usr/lib/libpython2.7.so.1.0
- #24 0x00007ffff7a6b88e in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
- #25 0x00007ffff7afab39 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
- #26 0x00007ffff7afeeb5 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
- #27 0x00007ffff7afef82 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
- #28 0x00007ffff7b17eba in run_mod () from /usr/lib/libpython2.7.so.1.0
- #29 0x00007ffff7b18cb2 in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
- #30 0x00007ffff7b196cb in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.7.so.1.0
- ---Type <return> to continue, or q <return> to quit---
- #31 0x00007ffff7b2a9d2 in Py_Main () from /usr/lib/libpython2.7.so.1.0
- #32 0x00007ffff7486455 in __libc_start_main () from /lib/libc.so.6
- #33 0x0000000000400701 in _start ()
- (gdb) run /usr/bin/openastro.py
- #But in a normal python interactive session...
- Python 2.7.3 (default, Apr 24 2012, 00:00:54)
- [GCC 4.7.0 20120414 (prerelease)] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import swisseph
- >>> swisseph.set_ephe_path('/usr/share/swisseph')
- None
- >>> swisseph.calc(10E5,2)
- (228.34348601496413,
- -1.4412495387824351,
- 0.8762595079565909,
- 0.48569752710978903,
- 0.18620507370096495,
- -0.02520839020568876)
- >>> swisseph.calc_ut(10E5,2)
- (228.57974293939014,
- -1.3395378450750117,
- 0.8629677078427096,
- 0.40741243798384136,
- 0.19862159905074475,
- -0.02506294258656465)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement