← Return to Tree.io
login about faq

When I click on anything on the right upper corner bar (contacts/finance/infrastructure/knowledge) I get an ajax error - "something went wrong". When I saw the ajax queries they were of the following format. http://example.com/contacts/.ajax?

I found 3 posts in the forum which talk about the exactly the same problem that I am facing, but none of them solves my problem

  1. http://tree.io/en/community/questions/165/error-on-generated-ajax-name | I dont thing changing | to . is needed

  2. http://tree.io/en/community/questions/178/ajax-errors-on-installation | the patch didnt work

  3. http://tree.io/en/community/questions/108/error-when-clicking-on-contacts-documents-and-knowledge-tabs | does not answer my question

can somebody pls help me out here

This question is marked "community wiki".

asked Feb 20 '12 at 15:07

mdt's gravatar image

mdt
41114


Thanks Adam,

I had tried running update_ve several times, but it did not help, but this debug feature worked wonderfully.

This is how I resolved the error in my case

  • In the traceback I saw some error related to jinja. The python2.6 was referring to wrong Jinja. It was lying in ~/lib/python2.6/. I removed this and once again ran update_ve. This way it installed Jinja in its local environment i.e. treeio/.ve/lib/python2.6/site-packages/jinja

  • now the error changed in debug mode. It was error in html5lib. I applied the patch in http://tree.io/en/community/questions/178/ajax-errors-on-installation

It now works nicely.

BTW, I should say then treeio UI and features are pretty awesome compared to other open-source project managers. Great work !! only thing missing is the time tracking.....i guess they will soon implement that as well

mdt

answered Feb 21 '12 at 07:04

mdt's gravatar image

mdt
41114

Thanks for this @mdt I believe you're not the only person who was experiencing this issue and I'm going to update the install procedure to account for this.

About time tracking we do already have this feature! You can track time and add time on the Task View page and then generate reports in the Reports module showing how much time has been tracked.

(Feb 21 '12 at 10:00) Adam ♦♦

Thanks @Adam

Great that you provide time tracking too! but its less intuitive and difficult to click for a new user. It would be great if this time tracking is made explicit (May be just provide an menu button on front page)

My other suggestion would be not to have popups for everything....its sometime irritating when we need to add smaller tasks....also the popup window overshoots the screen size. I came across http://do.com which has really easy to use interface without pop-ups. But yeah, its not as elaborate as tree.io. I would suggest you to see it once, if you havent done so yet.

(Feb 21 '12 at 10:21) mdt

Hi mdt,

For future reference if you encounter an AJAX error and the "something went wrong message" please do the following:

  1. Make sure that DEBUG = True in your settings.py file. In production this must normally be set to False and you must set your Administrator email where you will receive the Debug messages
  2. View the Debug page by either turning off Javascript or visiting the page without the /#/ e.g. http://example.com/contacts/index
  3. Click Switch to copy-and-paste view
  4. Click the Share this traceback on a public Web site button under the text box
  5. Copy and paste the address of this page to your question here or a GitHub issue e.g. http://dpaste.com/705956/

This will make it much easier to diagnose your issue.

In this particular case I believe this issue is with the contacts filter form and I have made a patch which should fix this. If you are using our GIT repository it has been applied to master and you can just issue git pull otherwise please download this patch file which you can run using the command patch -0 < 0001-Fix-contacts-load-due-to-contact-type-required-on-fi.patch

Adam

answered Feb 20 '12 at 17:53

Adam's gravatar image

Adam ♦♦
1.5k26

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×1
×1
×1

Asked: Feb 20 '12 at 15:07

Seen: 986 times

Last updated: Feb 21 '12 at 10:21

© 2012 Tree.io Ltd. All rights reserved.
Registered in England. Company No. 07416236