Git Product home page Git Product logo

django-freshbooks's People

Watchers

 avatar

django-freshbooks's Issues

local variable 'LineFormSet' referenced before assignment

What steps will reproduce the problem?
1. create a sample project
2. follow the installation instructions as per README
3. visit http://localhost:8000/freshbooks/client/list

Most of the time it works but I always on a regular basis hitting this error 
every time I click and 
move around the header or in the case below trying to see details of a client.

Traceback:
File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py" in 
get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/root/Projects/scheduling/django_freshbooks/views.py" in form_justin
  77.         if LineFormSet: formset = LineFormSet()

Exception Type: UnboundLocalError at /freshbooks/client/2/
Exception Value: local variable 'LineFormSet' referenced before assignment



What is the expected output? What do you see instead?

I am guessing list of details about the client.

What version of the product are you using? On what operating system?

I am using django 1.1.1 and ubuntu karmic and sqlite db.

Please provide any additional information below.

I have also found the freshbooks API is very slow or the app is very very 
slow.. I am not really 
sure why this error keeps coming back is it because of I need specific python 
lib for lxml or ??

Thanks


Original issue reported on code.google.com by [email protected] on 1 Feb 2010 at 5:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.