Comments (4)
trunk/sampleproject does not generate this error, by the wya.
Original comment by [email protected]
on 30 Aug 2008 at 12:25
from goflow.
you should remove auth.permissions items from initial_data.json.
rev141: auth.permissions removed
Original comment by [email protected]
on 30 Aug 2008 at 8:24
- Changed state: Fixed
from goflow.
I have downloaded the latest checkout from svn, but Im still getting this
error.
Original comment by [email protected]
on 25 Aug 2009 at 1:45
from goflow.
This is my error log file when i try to run python manange.py syncdb --noinput
D:\work\sigma\leavedemo>python manage.py syncdb --noinput
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table workflow_activity
Creating table workflow_process
Creating table workflow_application
Creating table workflow_pushapplication
Creating table workflow_transition
Creating table workflow_userprofile
Creating table graphics2_processimage
Creating table graphics2_activityposition
Creating table runtime_processinstance
Creating table runtime_workitem
Creating table runtime_event
Creating table apptools_defaultappmodel
Creating table apptools_image
Creating table apptools_icon
Creating table apptools_imagebutton
Creating table leave_leaverequest
Creating table leave_manager
Creating table leave_account
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for workflow.Activity model
Installing index for workflow.Process model
Installing index for workflow.Transition model
Installing index for graphics2.ProcessImage model
Installing index for graphics2.ActivityPosition model
Installing index for runtime.ProcessInstance model
Installing index for runtime.WorkItem model
Installing index for runtime.Event model
Installing index for apptools.ImageButton model
Installing index for leave.LeaveRequest model
Installing index for leave.Manager model
Installing index for leave.Account model
Installing json fixture 'initial_data' from 'C:\Python25\lib\site-packages\goflo
w\workflow\fixtures'.
Installing json fixture 'initial_data' from 'C:\Python25\lib\site-packages\goflo
w\apptools\fixtures'.
Installing json fixture 'initial_data' from 'D:\work\sigma\leavedemo\..\leavedem
o\leave\fixtures'.
Problem installing fixture 'D:\work\sigma\leavedemo\..\leavedemo\leave\fixtures\
initial_data.json': Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\django\core\management\commands\loaddata.p
y", line 153, in handle
obj.save()
File "C:\Python25\Lib\site-packages\django\core\serializers\base.py", line 163
, in save
models.Model.save_base(self.object, raw=True)
File "C:\Python25\Lib\site-packages\django\db\models\base.py", line 495, in sa
ve_base
result = manager._insert(values, return_id=update_pk)
File "C:\Python25\Lib\site-packages\django\db\models\manager.py", line 177, in
_insert
return insert_query(self.model, values, **kwargs)
File "C:\Python25\Lib\site-packages\django\db\models\query.py", line 1087, in
insert_query
return query.execute_sql(return_id)
File "C:\Python25\Lib\site-packages\django\db\models\sql\subqueries.py", line
320, in execute_sql
cursor = super(InsertQuery, self).execute_sql(None)
File "C:\Python25\Lib\site-packages\django\db\models\sql\query.py", line 2369,
in execute_sql
cursor.execute(sql, params)
File "C:\Python25\Lib\site-packages\django\db\backends\util.py", line 19, in e
xecute
return self.cursor.execute(sql, params)
File "C:\Python25\Lib\site-packages\django\db\backends\mysql\base.py", line 84
, in execute
return self.cursor.execute(query, args)
File "C:\Python25\Lib\site-packages\MySQLdb\cursors.py", line 166, in execute
self.errorhandler(self, exc, value)
File "C:\Python25\Lib\site-packages\MySQLdb\connections.py", line 35, in defau
lterrorhandler
raise errorclass, errorvalue
IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constrai
nt fails (`leavedemo`.`workflow_activity`, CONSTRAINT `process_id_refs_id_2a8fbd
c0` FOREIGN KEY (`process_id`) REFERENCES `workflow_process` (`id`))')
Original comment by [email protected]
on 26 Aug 2009 at 4:38
from goflow.
Related Issues (11)
- edit-model: saving an object without forwarding HOT 1
- mail notification on worklist update
- testgoflow: question_process: simulation history cleared on last activity HOT 1
- models use 'core' keyword argument no longer in Django HOT 2
- UnboundLocalError in workflow.models HOT 5
- queryset bug HOT 2
- [PATCH] apply smart_unicode
- adjust the documentation
- a url promblem caused by a extra dot in goflow.urls file
- Status of the project as of 20-05-2012
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goflow.