Error when adding rule on a filter

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
nivssrtt
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 17 Oct 2016, 21:15

Error when adding rule on a filter

Postby nivssrtt » 17 Oct 2016, 21:31

Hi everyone,

When I add a rule on a filter, I get this error : Exception: TypeError, dojo.create is not a function
Stack trace :

Code: Select all

createNewRuleElement/<[email protected]://myserver/tt-rss/prefs.php:153:147
Ajax.Request<[email protected]://myserver/tt-rss/lib/prototype.js?1473351226:1817:8
Ajax.Request<[email protected]://myserver/tt-rss/lib/prototype.js?1473351226:1747:7


Here is my setup :
- tt-rss git 6687cb9927cf6bef4440115676dd8bdf716041f4
- debian 7.4
- Aapache : Server version: Apache/2.4.20 (Debian) Server built: 2016-04-10T12:03:41
- mysql Ver 14.14 Distrib 5.5.40, for debian-linux-gnu (armv7l) using readline 6.2
- PHP 7.0.7-1

Any ideas ?

Vincent
Last edited by nivssrtt on 19 Oct 2016, 06:49, edited 1 time in total.

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Error when adding rule on a filter

Postby sleeper_service » 17 Oct 2016, 21:42

what rule?

nivssrtt
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 17 Oct 2016, 21:15

Re: Error when adding rule on a filter

Postby nivssrtt » 17 Oct 2016, 22:04

I've search again this error on Internet, and find out that dojo.create is deprecated on early version of dojo.
So I've downgrade it to 1.7.2, ie :

Code: Select all

apt-get install libjs-dojo-core=1.7.2+dfsg-1

and it solve the problem (I'd 1.11.0+dfsg-1 before)

Thanks anyway.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Error when adding rule on a filter

Postby fox » 17 Oct 2016, 22:18

tt-rss git includes correct and tested build of dojo/dijit, you shouldn't be using dojo packages (not that you even could without somehow hacking the code/httpd aliases)

please don't post in support until you unfuck your install because whatever is that you're running i'm not going to touch with a ten foot pole, regardless of whether it seemingly works or not; any more issues reported will result in a probation for violating subforum rules

nivssrtt
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 17 Oct 2016, 21:15

Re: Error when adding rule on a filter

Postby nivssrtt » 17 Oct 2016, 22:41

I think I've found where this bug come from : I've installed debian sid version of tt-rss along with git's version of tt-rss. I thought I've running the git version.
The debian sid's version use libjs-dojo-core v1.11.0 (so this version have dojo.create bug)
https://packages.debian.org/unstable/main/tt-rss

When I've downgrade libjs-dojo-core, it uninstalled debian's tt-rss. Where I'd access tt-rss, it asks me to configure it, like it was a new install. So I never used the git version.

Sorry, for trouble.

Regards

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Error when adding rule on a filter

Postby fox » 17 Oct 2016, 22:46

now you understand why i have no interest in supporting any of this crap - they split libraries from your software and then arbitrary upgrade them without checking whether stuff actually works

anyway, uninstall all the prehistoric debian crap, use the up-to-date git version and you'll be fine (not probated even!)


Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests