Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Error during template rendering #11

Closed
Lebanon opened this issue Dec 5, 2015 · 7 comments
Closed

Error during template rendering #11

Lebanon opened this issue Dec 5, 2015 · 7 comments
Assignees
Labels

Comments

@Lebanon
Copy link

Lebanon commented Dec 5, 2015

Hello,

I'm trying to run ninecms (starter package) and I'm getting error. I appreciate if you can give me a clue on the cause of the error.

Note that I've followed the instructions (step by step).

Follow are my settings & error.

If you need additional info, let me know.

Thank you,

Ahmad

Name Version
Admin_Bootstrapped_Plus 0.1.1.2
Debug Toolbar 1.4
Django 1.8
Guardian 1.3.2
Mptt 0.7.4
Nine CMS 0.5.2.2
Python 3.4.3

In template C:\Python34\lib\site-packages\ninecms\templates\admin
error
\ninecms\index.html, error at line 84

@Wtower
Copy link
Owner

Wtower commented Dec 5, 2015

Hello and thanks for your contribution.

I see that you are using Windows. We have not yet evaluated the latest version with Windows, so this is obviously a bug of 9cms.

It seems that the error is thrown on the Django administration index page, where the status report is generated. I can think of a couple of possible reasons why this error is thrown, probably because some status test is not OS-agnostic.

At the moment I do not have access to a Windows box unfortunately, I will evaluate it on Monday. Meanwhile, is it possible that you paste the full traceback of the error?

@Wtower Wtower added the bug label Dec 5, 2015
@Wtower Wtower self-assigned this Dec 5, 2015
@Wtower
Copy link
Owner

Wtower commented Dec 7, 2015

Ok, I have identified the error in ninecms/utils/status.py and I am working on to releasing a new version (5.3) tomorrow.

@Wtower
Copy link
Owner

Wtower commented Dec 7, 2015

This is caused when 9cms tries to check if Imagemagick is installed. Imagemagick is used to manipulate image styles. Until tomorrow, alternatively, you can install Imagemagick for Windows.

@Lebanon
Copy link
Author

Lebanon commented Dec 7, 2015

George,

Thank you for the update. Looking forward for the new version.

Regards,

Ahmad

On Mon, Dec 7, 2015 at 3:23 PM, George Karakostas notifications@github.com
wrote:

Ok, I have identified the error in ninecms/utils/status.py and I am
working on to releasing a new version (5.3) tomorrow.


Reply to this email directly or view it on GitHub
#11 (comment)
.

@Wtower Wtower closed this as completed in a2069de Dec 8, 2015
Wtower added a commit that referenced this issue Dec 8, 2015
Fixing "Error in template rendering" #11
@Wtower
Copy link
Owner

Wtower commented Dec 8, 2015

In order to get the fix locally, you can:

pip uninstall django-ninecms

And then

pip install git+https://github.com/Wtower/django-ninecms.git

I am still waiting for a small change before releasing officially v0.5.3, which will probably happen in the day or tomorrow.

Thanks again for the contribution!

Wtower added a commit that referenced this issue Dec 9, 2015
What's new

- Added feature: remove uploaded file (and any image styles-thumbnails) when the relevant record is removed.
- Improved documentation
- Improvements
- Upgraded to Django 1.9

All changes

- Fix #11
- Added help texts to models with reference to documentation
- Added images to the project
- Added more blocks in ``base.html``.
- Fixes #8
- Added feature: remove uploaded file (and any image styles-thumbnails) when the relevant record is removed.
- Added pre-delete signal.
- It appears that multiple pre-delete functions with decorators do not get called, so merged function with
  previous ``delete_guardian_group_perms``.
- Using added function in media.py to search for all files with the same name, below the path, in order to trace
  all thumbnails and then remove all.
- Updated tests to cover new feature.
- Minor update in readme.
- Modified code that returns the path of an uploaded media file be OS-agnostic
- Improved test to allow different title in admin (still containing "administration")
- Improved documentation
- Added class to index.html to improve navigation in inspector
- Added reference to django-ninecms-starter on readme
- Improved documentation
@Wtower Wtower mentioned this issue Dec 9, 2015
@Wtower
Copy link
Owner

Wtower commented Dec 9, 2015

New version 0.5.3 available at PyPi

pip install -U django-ninecms

Wtower added a commit that referenced this issue Dec 9, 2015
Wtower added a commit that referenced this issue Dec 9, 2015
Fixed regression in #11 with wrong packaged file
@Wtower
Copy link
Owner

Wtower commented Dec 9, 2015

There has been a regression, fixed with new release 0.5.3.1 available at PyPi. This should be ok now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants