> altanis .at. ceid DO.T upatras.gr wrote: > > Actually, now that the other encoding problem reappeared, I can't test > > this on my actual application. Sorry for the excessive email. I might > > revert back a couple of revisions until it gets solved, although I would > > appreciate a solution in the latest version. Thanks > > You need to figure out if the encoding problem reappearing is a result of a dabo > update or of something else different in your data.
The update is what caused it, I changed nothing else, plus I was able to reproduce it by making records with the revision that works, and then update, which corrupted the records and prevented me from making new ones. By corrupting I mean that they appeared as gibberish, whereas before the update they seemed fine (this only happens with greek text). > If you find an exact > revision that causes the problem, we'll be able to narrow down the cause of the problem. > > Thanks > > Paul I made some tests, and it appears this happened somewhere after revision 5097 and 5105. All revisions in between fail to install with this error message: Traceback (most recent call last): File "setup.py", line 7, in <module> from dabo.__version__ import version File "/home/nameless/programs/dabosrc/dabo/dabo/__init__.py", line 138, in <module> from dabo.lib.logger import Log File "/home/nameless/programs/dabosrc/dabo/dabo/lib/__init__.py", line 12, in <module> import profilehooks File "/home/nameless/programs/dabosrc/dabo/dabo/lib/profilehooks.py", line 106, in <module> from profile import Profile ImportError: No module named profile So I don't know the exact one that causes the problem. Also: > altanis (at) ceid .D.OT upatras.gr wrote: > > You're right, that worked! :) Thank you. So now how do I use that to make > > a custom report from my application? I am not using the AppWizard. Thanks > > again. > > I thought you had a report already that was displaying boxes instead of the greek chars? > > You probably have a menu item somewhere that launches the report, or a form that > accepts some user input which in turn launches the report. > > Put that code (import reportlab, etc.) at the beginning of your application, so it > only runs once. > > Paul I tried this with a test cursor, not with actual data. I will browse through the code in the AppWizard and Editor.py to see how I can output my data in a report, although it seems somewhat daunting, my first attempt was unsuccessful. Thank you Alexander _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/35115.94.64.218.71.1241224304.squir...@webmail.ceid.upatras.gr