On 8/25/14, 12:01 PM, Iain Simpson wrote:
I've just decided to re-visit a Dabo project of 3.5 years ago (shame so
long!)

I knew that my system would be very out of date and I decided to reload
the Dabo from scratch and then tried to access the old code.

I've changed Linux distributions 2 or 3 times and therefore had to
reload various python libraries.

When trying to run an old program I get a problem in app.py

  "Please change your self.super() call to super(cls, self)."))
NotImplementedError: Please change your self.super() call to super(cls,
self).

>
> doing this finds 'cls' missing !
>

cls is a placeholder for the actual name of the class. So look at the class definition where you have that 'self.super()' call, and change self.super() to super(<TheNameOfYourClass>, self).<TheNameOfTheMethod>

However when trying to access an old form with
'ClassDesigner.py ui/form.cdxml'

the program fails with 'IndexError: string index out of range'

Please post the full traceback, which should be on the console.

Is there any way of bringing back the old program or do I have to start
again from scratch.

It may be tedious, but should be doable. You could start a new project from scratch just to make sure things will work for you, though.

Are there any revised instructions for using Dabo (I'm still using PyCon
2010 .pdf) ?

Not really. Not too much has changed since then.

Sorry to be a pain.

You aren't being a pain, I'm glad you are back. We are still suffering from a lack of people-power here, though. You've been warned. :)

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.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