Comments (2)
Hey Yuriiz,
The django-agenda up has not been maintained for a VERY long time.
However, it seems that this problem is related to the vobject module, as
I'm pretty sure I'm not using threads anywhere in the code. Did you try
upgrading vobject with pip install --upgrade vobject
?
Kind regards,
Mathijs de Bruin
Op 12-07-11 09:39, yuriiz schreef:
Attempt to use it with Python 2.6/Django 1.3 fails:
TemplateSyntaxError at /admin/agenda/event/1/ Caught ViewDoesNotExist while rendering: Could not import agenda.views.vobject_django. Error was: No module named _thread
Have tried in two environments:
> python Python 2.6.7 (r267:88850, Jul 12 2011, 11:28:50) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd8 Type "help", "copyright", "credits" or "license" for more information. >>> import _thread Traceback (most recent call last): File "<stdin>", line 1, in<module> ImportError: No module named _thread
# python Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import _thread Traceback (most recent call last): File "<stdin>", line 1, in<module> ImportError: No module named _thread
from django-agenda.
Hi,
I've found a problem. It was not in django-agenda itself but in dateutil.rrule module used by django-agenda. It uses _thread module which is available only in Python 3. Changing it to use thread.Lock() fixed the problem.
Thanks,
Yurii
from django-agenda.
Related Issues (6)
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 django-agenda.