Problem with Sinastry

Asked by david on 2017-04-07

Hi
I´ll try to use this great project, and found similar bug when try Sinastry. Then edit de openastro.py , in version 1.1.48, and the before bug is OK and correct. UBUNTU 16.0 LTS
Running in terminal give:
sun 13.6235149132 black moon 245.398254721 sun-bm -231.774739808=128.225260192
sbm>120
sun 108.150224139 black moon 306.556496103 sun-bm -198.406271964=161.593728036
sbm>120
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
sun 240.061260095 black moon 240.439433232 sun-bm -0.378173137371=179.621826863
sbm>120
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3068, in doImport
    self.updateChart()
  File "/usr/bin/openastro", line 5423, in updateChart
    openAstro.makeSVG()
  File "/usr/bin/openastro", line 1314, in makeSVG
    t_module_data = ephemeris.ephData(self.t_year,self.t_month,self.t_day,self.t_hour,self.t_geolon,self.t_geolat,self.t_altitude,self.planets,self.zodiac,db.astrocfg)
AttributeError: openAstroInstance instance has no attribute 't_year'
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/openastro", line 3931, in <lambda>
    button.connect("clicked", lambda w: self.openDatabaseSelectReturn(type))
  File "/usr/bin/openastro", line 3954, in openDatabaseSelectReturn
    openAstro.t_name=str(list["name"])
UnboundLocalError: local variable 'list' referenced before assignment
sun 173.84368645 black moon 145.314020274 sun-bm 28.5296661763=28.5296661763
sbm<60
sun 108.150224139 black moon 306.556496103 sun-bm -198.406271964=161.593728036
sbm>120
Can you help me, please?
THXs

Question information

Language:
English Edit question
Status:
Needs information
For:
OpenAstro.org Edit question
Assignee:
Pelle van der Scheer Edit question
Last query:
2017-04-07
Last reply:
2017-04-07

Hi,

Could you give me some more information what you are doing exactly?

Which charts are you trying to combine as a synastry?

Perhaps a screenshot? I haven't been able to reproduce this.

I cannot reproduce this

Can you help with this problem?

Provide an answer of your own, or ask david for more information if necessary.

To post a message you must log in.