Citadel Generators · Legacy archive

Generators back up and running

Started by Chaosmark Jan 3, 2016 5 posts Locked

  1. Generators back up and running

    #1
    Using the wonders of modern science, the Citadel Generators have returned once more from beyond the veil of the dreaded 404!

    More particularly, they've been moved to an independent server, which will provide a much higher level of uptime than in previous years. Much as the Citadel itself is handy as a server, it's simply too unstable to host a webapp like the generators; the host just does too much fiddling with it to make it usable for this particular piece of code.

    That said, you, dear user, don't have to worry about a thing. It's been set up to be completely transparent, so you can just access it the way you always have: http://strolen.com/generators/listall/

    Get to creating, and let me know if you encounter any bugs!
  2. Re: Generators back up and running

    #2
    It is glorious!!
  3. Re: Generators back up and running

    #3
    They sort of work - I can sometimes get the buttons to edit generators working by refreshing, but that is inconsistent. When it fails, the debug console says:

    jquery.min.js:1 Uncaught Error: No such method "buttonAdd" for Redactorst.extend.error @ jquery.min.js:1(anonymous function) @ VM138:1st.extend.each @ jquery.min.js:1st.fn.st.each @ jquery.min.js:1$.fn.redactor @ VM138:1add_template_var_to_editor_toolbar @ edit_generator.js:3(anonymous function) @ 489:283f @ jquery.min.js:1p.fireWith @ jquery.min.js:1st.extend.ready @ jquery.min.js:1xt @ jquery.min.js:1

  4. Re: Generators back up and running

    #4
    And, dozus just hit the following:


    Traceback:

    File "/var/www/citadel-generators/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
      149.                    response = self.process_exception_by_middleware(e, request)

    File "/var/www/citadel-generators/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
      147.                    response = wrapped_callback(request, *callback_args, **callback_kwargs)

    File "/var/www/citadel-generators/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
      57.        response = view_func(request, *args, **kwargs)

    File "/var/www/citadel-generators/generators_root/src/generators/views.py" in api_get_generator
      282. api_res = generators.api.get_generator(generator_id, options)

    File "/var/www/citadel-generators/generators_root/src/generators/api.py" in get_generator
      17. parsed_item, parsed_metadata = parser.resolve_template(raw_item, metadata)

    File "/var/www/citadel-generators/generators_root/src/generators/template_parser.py" in resolve_template
      43. template_string = formatter.vformat(template_string, (), SafeDict(d2))

    File "/usr/lib/python2.7/string.py" in vformat
      549.        result = self._vformat(format_string, args, kwargs, used_args, 2)

    File "/usr/lib/python2.7/string.py" in _vformat
      571.                obj, arg_used = self.get_field(field_name, args, kwargs)

    File "/usr/lib/python2.7/string.py" in get_field
      632.        obj = self.get_value(first, args, kwargs)

    File "/usr/lib/python2.7/string.py" in get_value
      589.            return args

    Exception Type: IndexError at /g/api/get/494
    Exception Value: tuple index out of range

  5. Re: Generators back up and running

    #5
    I would edit it, but when I try to, it doesn't save. Clicking the button does nothing.  :huh:

Citadel Generators · All categories · Guildhall