Sphene Community Tools

Community

Copyright © 2007-2009 by Herbert Poul
You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools

Profile for jacob



Name jacob
Email Address Reveal this emailaddress
Posts30
  • Re: I want to delelte article
    Board » General » Feature Discussions
    How is this work going?

    I wonder when I can see the actual working program?

    I hope you are working on this problem and fix it as soon as possible.

    Thanks always
  • I want to delelte article
    Board » General » Feature Discussions
    I already saw how you implement this function, discussed in the previous article (http://sct.sphene.net/board/thread/256/), with annotation function.

    But in the case of notice article which should be shown in the wiki page by macro function is still shown on the wiki page even though I annotated this article by hiding.
    I think it should not be shown on the wiki page as well.

    And I think when we hide a article, this article should not be shown on the list page as well.

    Can you consider to implement this function in the near future?

    --- 최종 수정 jacob 시간 2008-06-26 10:46:27 ---
  • This is updated Korean language file
    Board » General » Feature Discussions
    I updated Korean language file.

    Can you commit kindly? ^.^

    Thanks always.
  • Re: A few question lately by using sphene community tools
    Board » General
    Exception Type: IOError at /ggum/board/post/3/
    Exception Value: [Errno 2] No such file or directory: u'var/sphene/sphwiki/attachment/2008/05/22/_22.jpg'

    It seems that the program doesn't properly make the folder.
    my first guess would be that the webserver user simply has no permission to create the necessary folders..
    have you made sure that the permissions in META_ROOT/var are correct ?
    How do I know what the META_ROOT's value is?

    I run the communitydraft source in the my local machine.

    when I upload the file using communitydraft, it works perfectly.

    But I checked where the uploaded file goes. I found the location of uploaded file is below the static.

    so from these things, what I guess is probablely the META_ROOT is one step above the installed program.

    Based on what I guess, I made the same directory that the program have.

    But still split out the same error.

    help me. :-(
  • Re: A few question lately by using sphene community tools
    Board » General
    hi,

    The first thing is when I upload my avatar from the profile edit screen, I got the some connection error.


    hmm.. a connection error from your browser ? in what environment ? using the development server, mod_python, .. ?

    SCT doesn't do the fileupload itself .. but uses django's mechanism.. so you won't see anything about handling file uploads, but simply a FileField which should do the job..

    that was my web server configuration problem

    I solved that problem

    But I got another one here


    Environment:

    Request Method: POST
    Request URL: http://127.0.0.1/ggum/board/post/3/
    Django Version: 0.97-pre-SVN-7523
    Python Version: 2.5.2
    Installed Applications:
    ['django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'sphene.community',
    'sphene.sphboard',
    'sphene.sphblog',
    'sphene.sphwiki']
    Installed Middleware:
    ('sphene.community.middleware.ThreadLocals',
    'sphene.community.middleware.GroupMiddleware',
    'sphene.community.middleware.LastModified',
    'sphene.community.middleware.PermissionDeniedMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.locale.LocaleMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware')


    Traceback:
    File "/home/jacob/lib/django/django_trunk/django/core/handlers/base.py" in get_response
    82. response = callback(request, *callback_args, **callback_kwargs)
    File "/home/jacob/lib/django/communitytools/sphenecoll/sphene/sphboard/views.py" in post
    308. attachment = attachmentForm.save(commit = False)
    File "/home/jacob/lib/django/django_trunk/django/newforms/models.py" in save
    272. return save_instance(self, self.instance, self._meta.fields, fail_message, commit)
    File "/home/jacob/lib/django/django_trunk/django/newforms/models.py" in save_instance
    44. f.save_form_data(instance, cleaned_data[f.name])
    File "/home/jacob/lib/django/django_trunk/django/db/models/fields/__init__.py" in save_form_data
    847. getattr(instance, "save_%s_file" % self.name)(data.filename, data.content, save=False)
    File "/home/jacob/lib/django/django_trunk/django/db/models/fields/__init__.py" in <lambda>
    809. setattr(cls, 'save_%s_file' % self.name, lambda instance, filename, raw_contents, save=True: instance._save_FIELD_file(self, filename, raw_contents, save))
    File "/home/jacob/lib/django/django_trunk/django/db/models/base.py" in _save_FIELD_file
    470. fp = open(full_filename, 'wb')

    Exception Type: IOError at /ggum/board/post/3/
    Exception Value: [Errno 2] No such file or directory: u'var/sphene/sphwiki/attachment/2008/05/22/_22.jpg'

    It seems that the program doesn't properly make the folder.

    where do I look up the code to fix this problem?

    and the last thing is when I add some field in the community user profile field section.

    Do this program really save the new added field information somewhere in the database?
    yes ... the same way as jabber id, icq uin, etc. is saved.. i just tried it .. and it works for additional fields.. have you had problems with it ?


    yes it works, But I try to find the field in the admin page. But I can't find the information that I update in the admin page so I wonder whether it save or not.

    Lastly, I have suggestion for this program.

    When we see the wiki history, we only can see the whole page history.
    there are already two different views.. although the naming is very troubling :)
    one is the "wiki history" .. which .. should mean .. all recent changes in the whole wiki..: http://sct.sphene.net/wiki/recentchanges/

    the other is the "snip changes" which are only changes to the current snip: http://sct.sphene.net/wiki/history/Start/

    is this what you mean ?



    Yes that's exactly what i meant. I didn't recognize that so far ^.^

    Thanks

  • A few question lately by using sphene community tools
    Board » General
    Hi?

    At these days, I have met some interesting things.

    The first thing is when I upload my avatar from the profile edit screen, I got the some connection error.

    So I roughly look up the code. But I can not find any file uploading routine in the views.py and forms.py. did I miss something?


    and the second thing is when I click the role model in the admin page

    I got this error

    Environment:

    Request Method: GET
    Request URL: http://127.0.0.1:8000/ggum/admin/community/role/
    Django Version: 0.97-pre-SVN-7523
    Python Version: 2.5.2
    Installed Applications:
    ['django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'sphene.community',
    'sphene.sphboard',
    'sphene.sphblog',
    'sphene.sphwiki']
    Installed Middleware:
    ('sphene.community.middleware.ThreadLocals',
    'sphene.community.middleware.GroupMiddleware',
    'sphene.community.middleware.LastModified',
    'sphene.community.middleware.PermissionDeniedMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.locale.LocaleMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware')


    Traceback:
    File "/home/jacob/lib/django/django_trunk/django/core/handlers/base.py" in get_response
    82. response = callback(request, *callback_args, **callback_kwargs)
    File "/home/jacob/lib/django/django_trunk/django/contrib/admin/views/decorators.py" in _checklogin
    62. return view_func(request, *args, **kwargs)
    File "/home/jacob/lib/django/django_trunk/django/views/decorators/cache.py" in _wrapped_view_func
    44. response = view_func(request, *args, **kwargs)
    File "/home/jacob/lib/django/django_trunk/django/contrib/admin/views/main.py" in change_list
    757. cl = ChangeList(request, model)
    File "/home/jacob/lib/django/django_trunk/django/contrib/admin/views/main.py" in __init__
    582. self.get_results(request)
    File "/home/jacob/lib/django/django_trunk/django/contrib/admin/views/main.py" in get_results
    640. result_list = list(self.query_set)
    File "/home/jacob/lib/django/django_trunk/django/db/models/query.py" in __len__
    55. self._result_cache.extend(list(self._iter))
    File "/home/jacob/lib/django/django_trunk/django/db/models/query.py" in iterator
    162. for row in self.query.results_iter():
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in results_iter
    200. for rows in self.execute_sql(MULTI):
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in execute_sql
    1456. sql, params = self.as_sql()
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in as_sql
    247. ordering = self.get_ordering()
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in get_ordering
    583. self.model._meta, default_order=asc):
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in find_ordering_name
    609. alias, False)
    File "/home/jacob/lib/django/django_trunk/django/db/models/sql/query.py" in setup_joins
    1109. "Choices are: %s" % (name, ", ".join(names)))

    Exception Type: FieldError at /ggum/admin/community/role/
    Exception Value: Cannot resolve keyword 'group_id' into field. Choices are: group, id, name, permission_flags, rolemember

    and the last thing is when I add some field in the community user profile field section.

    Do this program really save the new added field information somewhere in the database?

    Lastly, I have suggestion for this program.

    When we see the wiki history, we only can see the whole page history.

    But I think the more page will add, the more time is needed to see the history.

    So I think when we want to see the specific page, what about showing only the page's history they want to see in stead of showing whole page history.

    I think this way is more efficient way in terms of time and performance.

    And also we can provide the whole page wiki history menu somewhere else.

    Many thanks Poul


    --- 최종 수정 jacob 시간 2008-05-22 02:20:25 ---
  • Re: This is korean language file for the community
    Board » General » Feature Discussions
    cool.. thanks :)
    i have just committed all your uploaded language files.. (btw. i think a patch file would be easier .. something like: svn diff > language.patch ... (you can also specify the files after svn diff .. so only the language files are diff'ed and added to the patch) .. this way you don't have to create 5 threads :) )
    OK I will do next time.

    if you like you can tell me your full name, email address/website url (anything you want) so i can add you to the AUTHORS file.


    full name : Young Gyu Park
    email : ygpark2@gmail.com
    website : I don't have at the moment. But I will soon make it.
    As soon as I have the website, I will let you know.

    Thank you.
  • This is korean language file for the link
    Board » General » Feature Discussions
    Thanks
  • This is korean language file for the blog
    Board » General » Feature Discussions
    Thanks
  • This is korean language file for the board
    Board » General » Feature Discussions
    Thanks


Powered by Sphene Community Tools