#6532 Error on /p/allura/git/forks

42cc (432)
Cory Johns

https://sourceforge.net/p/allura/git/forks/ is currently erroring with:

File '/var/local/allura/Allura/allura/controllers/repository.py', line 94 in forks
  repo_path_parts = f.url().strip('/').split('/')
File '/var/local/allura/Allura/allura/model/repository.py', line 436 in url
  return self.app_config.url()
AttributeError: 'NoneType' object has no attribute 'url'


Tickets: #6532


  • Anton Kasyanov - 2013-08-13

    Created #412 [#6532] Error on /p/allura/git/forks (1cp)



    Tickets: #6532

  • Anton Kasyanov - 2013-08-13
    • status: open --> in-progress
  • Anton Kasyanov - 2013-08-14

    We can't reproduce this bug locally and at sourceforge it seems to be only at allura project (e.g. https://sourceforge.net/p/npppluginmgr/code/forks/ works fine).

    Probably the reason is that one of the fork's Repository is missing app_config.
    Maybe we should just ignore such forks?

  • Dave Brondsema

    Dave Brondsema - 2013-08-14

    Yeah, checking the data for it, it looks like there is one that has an app_config_id value that doesn't exist any more. I'm not sure exactly how it happened - it looks like it used to be a tool on a user-project, and the audit log for that user-project shows the tool was deleted. I can't duplicate it either though.

    Your suggestion to just ignore those sounds good.

  • Anton Kasyanov - 2013-08-19

    Closed #412 Error on /p/allura/git/forks, branch 42cc_6532

  • Anton Kasyanov - 2013-08-19
    • status: in-progress --> code-review
  • Cory Johns - 2013-08-19
    • QA: Cory Johns
  • Cory Johns - 2013-08-19
    • status: code-review --> closed
    • Milestone: forge-backlog --> forge-aug-23

Log in to post a comment.