That code: fn = os.path.join(self.here, attachment['uid'])
references here to get the path of the current installation. DemoController subclasses BaseController which subclasses WSGIController, none of which appear to return here as a valid object. from pylons import config fn = os.path.join(config['here'], attachment['uid']) I don't know if older versions of pylons populated the self.here, but, that is probably the issue. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
