On Monday 15 December 2008 5:40:24 pm Adrian Klaver wrote:
> On Monday 15 December 2008 5:05:49 pm Ed Leafe wrote:
> > On Dec 15, 2008, at 6:41 PM, Adrian Klaver wrote:
> > > Seems I tickled a possible bug. The first time I ran ClassDesigner
> > > in a new
> > > 0.9 install it would not load because I did not have an Internet
> > > connection.
> > > I saw code in uiApp and dApp that checks for FirstTime and then
> > > gives you an
> > > option to check or not. Seems the code in dApp tries to connect to
> > > dabodev.com before giving you the option to cancel the update. The
> > > only way I
> > > could get CD to run was to set webupdates in settings.py=False.
> >
> >     It should have just returned after the connection timed out. So after
> > the pause while it tried to connect, what happened? It just froze?
> >
> >
> > -- Ed Leafe
>
> It threw an error and the CD did not launch. I will try to replicate the
> error so I can get a traceback.

To replicate
Bring down network 
Do fresh install
Go to ~/dabo/ide
Start ./ClassDesigner.py


Here is the Traceback:

Dabo Error Log: Mon Dec 15 18:10:06 2008: Failed to open 
URL 'http://dabodev.com/frameworkVersions/latest?project=frm'. Error: 
<urlopen error (-2, 'Name or service not known')>
Traceback (most recent call last):
  File "./ClassDesigner.py", line 4144, in <module>
    clsDes = ClassDesigner(f)
  File "./ClassDesigner.py", line 168, in __init__
    self.setup()
  File "/home/aklaver/dabo/dabo/dApp.py", line 302, in setup
    self.uiApp = dabo.ui.getUiApp(self, callback=None)
  File "/home/aklaver/dabo/dabo/ui/uiwx/__init__.py", line 218, in getUiApp
    ret = uiApp(app, callback)
  File "/home/aklaver/dabo/dabo/ui/uiwx/uiApp.py", line 113, in __init__
    wx.App.__init__(self, 0, *args)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7836, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7433, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/home/aklaver/dabo/dabo/ui/uiwx/uiApp.py", line 186, in OnInit
    if not self.checkForUpdates():
  File "/home/aklaver/dabo/dabo/ui/uiwx/uiApp.py", line 208, in 
checkForUpdates
    isFirst, projNames = self.dApp._checkForUpdates(force=force)
  File "/home/aklaver/dabo/dabo/dApp.py", line 564, in _checkForUpdates
    retAvailable = (localVers < vers)
UnboundLocalError: local variable 'vers' referenced before assignment


-- 
Adrian Klaver
[email protected]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to