Coder Social home page Coder Social logo

goflow's People

goflow's Issues

Status of the project as of 20-05-2012

Hi, I just found the GoFlow project, however, I'm not sure if the projet is 
still beng actively developed, or if it is in active use. I'm going to try to 
use it with Django 1.4. Any information is welcome.

Original issue reported on code.google.com by [email protected] on 20 May 2012 at 11:29

UnboundLocalError in workflow.models

I am trying to add a workitem to a process in leavedemo (programatically, 
not via the web interface).

I found this error on line 315 of goflow.workflow.models:

appname = '%s.%s' % (prefix, appname)

Python throws an UnboundLocalError exception.

This is caught by a generic 'except' which ends up returning None.

Then execute() (line 325) tries to call None, which generates 
a 'NoneType' is not callable error.

This exception then is caught in runtime.models at line 507, sets 
result=None, and calls self.fall_out().

In the end. target_user (line 77 in goflow.runtime.models) gets the value 
of None, and when the log message tries to print 'applicaiton pushed to 
user', it throws an exception because NoneType has no 
attribute 'username.'

So, I believe the error that needs to be fixed in is 
goflow.workflow.models (line 315) so the proper appname is set.

Original issue reported on code.google.com by [email protected] on 8 Sep 2008 at 8:01

queryset bug

Hello,

 the bug queryset yet appears in goflow-0.65.

in sqlite database :
sqlite> select * from runtime_workitem;
1|2008-09-25 13:45:31.875000|1|7|1||0|0|complete
2|2008-09-25 13:45:46.187000|1|8|3|1|0|0|active
3|2008-09-25 14:49:12|1|9|54|2|0|0|complete
4|2008-09-26 09:05:54.765000|1|9|34|3|0|0|active
5|2008-09-29 10:32:26.953000|1|10|1||0|0|complete
6|2008-09-29 10:32:57|1|11|3|5|0|0|active
7|2008-09-29 11:48:14.828000|1|12|54|6|0|0|complete
8|2008-09-29 11:48:14.953000||12|34|7|0|0|inactive
9|2008-09-29 13:32:28.296000|1|13|1||0|0|complete
10|2008-09-29 13:32:37.250000|1|14|3|9|0|0|active
11|2008-09-29 13:32:39.015000|1|15|54|10|0|0|active
12|2008-09-29 16:02:26.078000|1|16|1||0|0|complete
13|2008-09-29 16:02:32.343000|1|17|3|12|0|0|active
14|2008-09-29 16:39:07.750000|1|18|54|13|0|0|active
sqlite>

in the program :
    queryset_vco = WorkItem.objects.filter(activity__title=u'Valid')
    if queryset_vco:
        WorkItemsi_vco = WorkItem.objects.list_safe(user=request.user,
queryset=queryset_vco, status='inactive', notstatus='', noauto=True)

in the result :
id      Status  Action
8       inactive        activate
8       inactive        activate

regards,
Geronimo 

Original issue reported on code.google.com by [email protected] on 30 Sep 2008 at 1:08

models use 'core' keyword argument no longer in Django

I added the goflow.workflow app to my installed apps.

Upon running syncdb, I was told "__init__() got an unexpected keyword 
argument 'core'"  Asking in #django, I was told core is no longer a valid 
keyword.  http://docs.djangoproject.com/en/dev/ref/models/fields/ 
confirms this.

I am was using 0.62beta of Goflow with Django 1.0Beta2, Python 2.5.

I just checked out trunk, and saw the models still use core=True, so the 
issue still exists.

Original issue reported on code.google.com by [email protected] on 28 Aug 2008 at 11:03

Test applications broken

When trying to run syncdb on either the testgoflow or leave application, 
I get the following traceback (granted the paths are different for each 
app):

Problem installing 
fixture 
'/home/jkugler/tmp/goflow-svn/trunk/goflow/testgoflow/../testgoflow/test1/fixtur
es/initial_data.json': 
Traceback (most recent call last):

File 
"/usr/lib/python2.5/site-packages/django/core/management/commands/loaddata.py", 
line 121, in handle
    obj.save()

File "/usr/lib/python2.5/site-packages/django/core/serializers/base.py", 
line 163, in save
    models.Model.save_base(self.object, raw=True)
  File "/usr/lib/python2.5/site-packages/django/db/models/base.py", line 
331, in save_base
    rows = manager.filter(pk=pk_val)._update(values)
  File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 
427, in _update
    return query.execute_sql(None)

File "/usr/lib/python2.5/site-packages/django/db/models/sql/subqueries.py", 
line 117, in execute_sql
    cursor = super(UpdateQuery, self).execute_sql(result_type)
  File "/usr/lib/python2.5/site-packages/django/db/models/sql/query.py", 
line 1652, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", 
line 19, in execute
    return self.cursor.execute(sql, params)

File "/usr/lib/python2.5/site-packages/django/db/backends/sqlite3/base.py", 
line 167, in execute
    return Database.Cursor.execute(self, query, params)
IntegrityError: columns content_type_id, codename are not unique

This is Python 2.5 on Ubuntu. With both apps, the exception is the same.  
This is with revision 139, trunk, by the way.

Original issue reported on code.google.com by [email protected] on 30 Aug 2008 at 12:21

[PATCH] apply smart_unicode

What steps will reproduce the problem?
1. Add in pushapplications.py a pydoc string with a unicode character, for
example 'ó'
2. Load the administration webpage and it will throw a ascii decode error.

What version of the product are you using? On what operating system?
Running on Debian Sid, postgresql 8.4, django 1.0, goflow svn and 0.65.

I'm attaching the fix.

Original issue reported on code.google.com by freyes%[email protected] on 12 Aug 2009 at 10:29

Attachments:

adjust the documentation

In r120,r121,r122, the commit say that you refactory the name of app to
runtime, but in wiki ( hello world ) it appears as instances.

Original issue reported on code.google.com by paulo.ubuntu on 1 Jun 2010 at 12:39

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.