xan, this is fixed in the latest version of deseb. (v0.2.2)
feel free to pm me if you have any further problems, or join: http://groups.google.com/group/deseb-discuss or use the issue tracker at: http://code.google.com/p/deseb/ thanks, derek Xan wrote: > Okay. Say something.... > If you need some files, I will be charmed to give > > Regards, > Xan. > > On Oct 11, 9:53 pm, Derek Anderson <[EMAIL PROTECTED]> wrote: >> your previous bug was a standard import issue unrelated to deseb. >> however this looks like it may be a real one. let me look into it. >> >> derek >> >> >> >> Xan wrote: >> >>> On Oct 11, 5:13 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> >>> wrote: >>>> On Thu, 2007-10-11 at 07:21 -0700, Xan wrote: >>>> [...] >>>>> Perhaps I have to read python doc, but my intention is only follow >>>>> deseb/django documentation. If normal user have to read python doc, >>>>> then django became not simple, I think >>>> Django is a framework for *Python programmers*. You do need to have some >>>> understanding of Python in order to be able to diagnose anything but the >>>> most trivial problems. It would be redundant for us to repeat >>>> information that is already in the Python documentation, so if your >>>> expectations are that you will never have to read anything beyond >>>> Django's documentation, then you are going to find things fairly >>>> difficult. >>>> Even if the required knowledge is only how import paths work and how to >>>> configure them, you need to do some background work here. We aren't >>>> going to cover a lot of that information in Django's documentation >>>> because it is so fundamental to the way Python works that it is covered >>>> in the standard docs already. >>>> The concept of a "normal user" is fairly nebulous, since that could mean >>>> somebody developing with Django or just using a Django application (an >>>> installer -- the role you are playing -- would not typically be the >>>> normal target audience for something like this). Unless you are >>>> installing pre-packaged versions of everything (which you aren't), you >>>> at least need to have a sys-admin's understanding of Python (which means >>>> knowing about standard import paths, etc) to get things working. >>>> I'm also a bit concerned about what you expect to happen at the end of >>>> this project. Something like deseb is *only* useful if you are >>>> developing with Django, and only in semi-advanced situations. Which >>>> means writing Python code. It's not really a tool for somebody just >>>> starting out. >>> I don't want to discuss for discuss, but I'm not in agreement with you >>> with this last paragraph. deseb is useful for database evolution (for >>> example for adding models to modeles file), that I think it's very >>> frequent request for normal users, not only developers. >>> For this reason is for that I want to install deseb. For migrate my >>> database more easyly >>> For the other hand, how do you know that my error using deseb is path >>> python error?. After I put "import deseb" in settings.py and run >>> "python manage sqlevolve analisi" I get the following error: >>> python manage.py sqlevolve analisi >>> BEGIN; >>> Traceback (most recent call last): >>> File "manage.py", line 11, in <module> >>> execute_manager(settings) >>> File "/var/lib/python-support/python2.5/django/core/management.py", >>> line 1672, in execute_manager >>> execute_from_command_line(action_mapping, argv) >>> File "/usr/lib/python2.5/site-packages/deseb/__init__.py", line 90, >>> in inner >>> return func(*args, **kwargs) >>> File "/var/lib/python-support/python2.5/django/core/management.py", >>> line 1632, in execute_from_command_line >>> output = action_mapping[action](mod) >>> File "/usr/lib/python2.5/site-packages/deseb/__init__.py", line 83, >>> in inner >>> return schema_evolution.get_sql_evolution_v0_96(*args, **kwargs) >>> File "/usr/lib/python2.5/site-packages/deseb/schema_evolution.py", >>> line 242, in get_sql_evolution_v0_96 >>> return get_sql_evolution(app, management.style) >>> File "/usr/lib/python2.5/site-packages/deseb/schema_evolution.py", >>> line 248, in get_sql_evolution >>> return get_sql_evolution_detailed(app, style)[2] >>> File "/usr/lib/python2.5/site-packages/deseb/schema_evolution.py", >>> line 334, in get_sql_evolution_detailed >>> sql, references = _get_sql_model_create(model, seen_models, style) >>> File "/usr/lib/python2.5/site-packages/deseb/schema_evolution.py", >>> line 413, in _get_sql_model_create >>> style.SQL_FIELD(ops.quote_name(f.rel.to._meta.get_field(f.rel.field_name).column)) >>> + ')' #+ >>> AttributeError: DatabaseOperations instance has no attribute >>> 'quote_name' >>> If you see, it appears that deseb is starting (BEGIN line). So, the >>> path seems to be good (at least it detects deseb). Isn't ? >>> How can I know if it's path problem or another thing? >>> Thanks in advance, and sorry for long thread but I'm newbee user (yes, >>> django users include newbees ;-)) >>> Xan. >>> PS: My export command output is: >>> export >>> declare -x COLORTERM="Terminal" >>> declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus- >>> xp4BcYOtii,guid=915223fcae6fa13470f8cc00470e66b6" >>> declare -x DESKTOP_SESSION="xfce4" >>> declare -x DISPLAY=":0.0" >>> declare -x GDMSESSION="xfce4" >>> declare -x GDM_XSERVER_LOCATION="local" >>> declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-oidSB3/socket" >>> declare -x HISTCONTROL="ignoredups" >>> declare -x HOME="/home/xan" >>> declare -x LANG="[EMAIL PROTECTED]" >>> declare -x LANGUAGE="[EMAIL PROTECTED]" >>> declare -x LESSCLOSE="/usr/bin/lesspipe %s %s" >>> declare -x LESSOPEN="| /usr/bin/lesspipe %s" >>> declare -x LOGNAME="xan" >>> declare -x >>> LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:" >>> declare -x OLDPWD >>> declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ >>> sbin:/bin:/usr/bin/X11:/usr/games" >>> declare -x PWD="/home/xan/anadoc/analitzador" >>> declare -x SESSION_MANAGER="local/servidor:/tmp/.ICE-unix/5499" >>> declare -x SHELL="/bin/bash" >>> declare -x SHLVL="1" >>> declare -x SSH_AGENT_PID="5444" >>> declare -x SSH_AUTH_SOCK="/tmp/ssh-PVyFfc5326/agent.5326" >>> declare -x TERM="xterm" >>> declare -x USER="xan" >>> declare -x USERNAME="xan" >>> declare -x WINDOWID="41945425" >>> declare -x XAUTHORITY="/tmp/.gdmPERKZT" >>> declare -x XDG_DATA_DIRS="/etc/xdg/xubuntu:/usr/share:/usr/local/ >>> share:/usr/share" >>>> Regards, >>>> Malcolm >> -- >> looking to buy or sell anything? >> >> try:http://allurstuff.com >> >> it's a classified ads service that >> shows on a map where the seller is >> (think craigslist + google maps) >> >> plus it's 100% free :) > > > > > -- looking to buy or sell anything? try: http://allurstuff.com it's a classified ads service that shows on a map where the seller is (think craigslist + google maps) plus it's 100% free :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---