Dear Massimo , The error is happening to all my applications , after i use the new web2py the login in all my websites start giving me the error massage i showed you , but when i use web2py 1.99.2 everything is working fine , so from where do you want me to start the search , now for the csv problem i cant just use the new import / export function and add the, to the dal of the old web2py ?
Regards, On Friday, October 12, 2012 4:46:50 PM UTC+3, Massimo Di Pierro wrote: > > Any chance I see your application? It could be a bug in web2py but it > could a bug in your app. I cannot say. > > On Friday, 12 October 2012 01:59:49 UTC-5, Hassan Alnatour wrote: >> >> Dear Massimo , >> >> i want to upgrade , but i have that problem with the login i told you >> about , that we didnt solve yet !! Please Help me >> >> >> https://groups.google.com/forum/?hl=en&fromgroups=#!search/Login$20error$20in$20the$20new$20web2py/web2py/mfbktvZp9jQ/f4fvRke5NAAJ >> >> Best Regards, >> >> >> On Wednesday, October 10, 2012 3:18:07 PM UTC+3, Massimo Di Pierro wrote: >>> >>> There are bugs in the export/import functions in 1.99.4. It is almost >>> one year old. You should upgrade before we can help you. >>> >>> On Wednesday, 10 October 2012 01:58:26 UTC-5, Hassan Alnatour wrote: >>>> >>>> Dear Massimo, >>>> >>>> i have web2py >>>> Version 1.99.4 (2011-12-14 14:46:14) stable >>>> >>>> i opend the dal.py and this is what i have in there : >>>> >>>> def import_from_csv_file(self, ifile, id_map=None, null='<NULL>', >>>> unique='uuid', *args, **kwargs): >>>> if id_map is None: id_map={} >>>> for line in ifile: >>>> line = line.strip() >>>> if not line: >>>> continue >>>> elif line == 'END': >>>> return >>>> elif not line.startswith('TABLE ') or not line[6:] in >>>> self.tables: >>>> raise SyntaxError, 'invalid file format' >>>> else: >>>> tablename = line[6:] >>>> self[tablename].import_from_csv_file(ifile, id_map, >>>> null, >>>> unique, *args, >>>> **kwargs) >>>> >>>> >>>> >>>> Regards, >>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> --