incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #1742 Core tests should not require all the tools to be installed
Date Wed, 14 Aug 2013 20:57:05 GMT
Only ForgeWiki should really be required (as a default tool for projects)

Seems like currently ForgeActivity is required, and Tickets, maybe more.  Shouldn't be too
hard to remove them.  Example of tickets:

  File "/private/tmp/allura/Allura/allura/ext/admin/templates/project_admin.html", line 77,
in block "content"
    <img src="{{ g.theme.app_icon_url('Tickets', 48) }}" alt="">
  File "/private/tmp/allura/Allura/allura/lib/", line 847, in app_icon_url
    return g.entry_points['tool'][app].icon_url(size)
  File "/private/tmp/allura/Allura/allura/lib/", line 390, in __getitem__
KeyError: u"'tickets'


** [tickets:#1742] Core tests should not require all the tools to be installed**

**Status:** open
**Labels:** cleanup 
**Created:** Thu Mar 17, 2011 03:00 AM UTC by Dave Brondsema
**Last Updated:** Mon Sep 12, 2011 05:44 PM UTC
**Owner:** nobody

ForgeTracker, ForgeHg, etc, and even their respective dependencies are required just to run
a core test.  Only Allura and AlluraTesting should be required, so it's easier for people
to develop locally without setting up the scm deps.

  File "/Users/brondsem/sf/forge/AlluraTesting/alluratest/", line 51, in setup_functional_test
    setup_basic_test(config, app_name)
  File "/Users/brondsem/sf/forge/AlluraTesting/alluratest/", line 46, in setup_basic_test[test_file])
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 68, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 218, in run
    result = self.command()
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 456, in command
    self, config_file, section, self.sysconfig_install_vars(installer))
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 598, in setup_config
    mod.setup_app, command, filename, section, vars)
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 612, in _call_setup_app
    func(command, conf, vars)
  File "/Users/brondsem/sf/forge/Allura/allura/websetup/", line 19, in setup_app
    bootstrap.bootstrap(command, conf, vars)
  File "/Users/brondsem/sf/forge/Allura/allura/websetup/", line 65, in bootstrap
  File "/Users/brondsem/sf/forge/Allura/allura/websetup/", line 205, in wipe_database['--force', '-u', 'mim:///'])
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/paste/script/",
line 218, in run
    result = self.command()
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/flyway/", line
31, in command
  File "/Users/brondsem/sf/forge_env/lib/python2.6/site-packages/flyway/", line
89, in _load_migrations
  File "build/bdist.linux-i686/egg/", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/brondsem/sf/forge/Allura/allura/", line 15, in <module>
    from forgesvn import model as SVNM
  File "/Users/brondsem/sf/forge/ForgeSVN/forgesvn/model/", line 1, in <module>
    from svn import Repository
  File "/Users/brondsem/sf/forge/ForgeSVN/forgesvn/model/", line 12, in <module>
    import pysvn
ImportError: No module named pysvn


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message