Extension talk:Semantic Tasks
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| There is no result format for 'auto'. | 1 | 16:08, 12 December 2011 |
| Revised | 0 | 15:47, 22 August 2011 |
| Error when sending an email | 1 | 17:58, 3 March 2011 |
| More detail on the "Remind at" property | 2 | 15:03, 26 February 2011 |
| Using Semantic Tasks with Semantic Internal Objects | 5 | 05:15, 16 November 2010 |
| SVN tag for 1.4 missing | 0 | 22:44, 14 September 2010 |
| SVN tag for 1.4 missing | 0 | 22:44, 14 September 2010 |
| Patch to Fix hardcoded path | 2 | 22:28, 5 July 2010 |
| ST_CheckForReminders.php fatal error | 3 | 19:30, 28 June 2010 |
I get the following error when I activate SemanticTasks in the semantic-bundle and clicking the save page button. Can you please let me know if I am missing something?
There is no result format for 'auto'. Backtrace:
- 0 /var/www/html/paxwiki/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(94): SMWQueryProcessor::getResultPrinter('auto', true)
- 1 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(348): SMWQueryProcessor::createQuery('Test Page[[...', Array, true, 'auto', Array)
- 2 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(124): SemanticTasksMailer::getQueryResults('Test Page[[...', Array, false)
- 3 /var/www/html/paxwiki/extensions/SemanticTasks/SemanticTasks.classes.php(20): SemanticTasksMailer::getAssignees('Assigned to', 'Test Page', Object(User))
- 4 [internal function]: SemanticTasksMailer::findOldValues(Object(Article), Object(User), 'Test?d?dsa?dsa?...', , 0, NULL, NULL, 98, Object(Status))
- 5 /var/www/html/paxwiki/includes/Hooks.php(158): call_user_func_array(Array, Array)
- 6 /var/www/html/paxwiki/includes/Article.php(2090): wfRunHooks('ArticleSave', Array)
- 7 /var/www/html/paxwiki/includes/Article.php(1976): Article->doEdit('Test?d?dsa?dsa?...', , 98)
- 8 /var/www/html/paxwiki/includes/EditPage.php(1076): Article->updateArticle('Test?d?dsa?dsa?...', , false, false, false, )
- 9 /var/www/html/paxwiki/includes/EditPage.php(2656): EditPage->internalAttemptSave(false, false)
- 10 /var/www/html/paxwiki/includes/EditPage.php(415): EditPage->attemptSave()
- 11 /var/www/html/paxwiki/includes/EditPage.php(296): EditPage->edit()
- 12 /var/www/html/paxwiki/includes/Wiki.php(522): EditPage->submit()
- 13 /var/www/html/paxwiki/includes/Wiki.php(69): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
- 14 /var/www/html/paxwiki/index.php(114): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
- 15 {main}
I can't send any email, I get an error in the mailer/mediawiki logs:
UserMailer::send: sending mail to "myemail@mydomain.com" <> Sending mail via internal mail() function Mar 3 18:15:45 server postfix/sendmail[6730]: fatal: www-data(33): No recipient addresses found in message header Error sending mail
It seems that it takes my email as the username, and puts nothing in <>
Maybe I didn't specify correctly the 'assigned to' property ? I did the following in a page :
[[Assigned to::myemail@mydomain.com]]
Is the syntax correct ?
- What type (string, number, etc...) does the property "Remind at" have to be?
- How is it interpreted? (e.g. what are some typical values for it for say, being reminded 1 day before?)
-Thanks
Is anyone using Semantic Tasks with Semantic Internal Objects? I've got an "assigned to" has a property of an SIO, and it doesn't seem to produce a notification email. Should it? - Borofkin 02:22, 3 November 2010 (UTC)
I haven't tested with SIO. If you can figure it out, and send a patch, I'll take it, but I'm probably not going to test with SIO. I believe SIO is the kind of functionality that should be a part of SMW, or shouldn't exist. Until it is merged with SMW core, I don't see the purpose in supporting it.
Hi,
Borofkin just let me know about this discussion. I'm surprised that ST doesn't work automatically with SIO, but given that - Ryan, I hope you change your opinion toward SIO. Due to various factors, like the desire to keep SMW small for code review purposes, the current setup of SIO as a separate extension will probably stay for a while. I still think it's a useful extension, though, and that it should be supported when possible.
I have the "assigned to" emails working on regular pages, but I still can't get it to work with an SIO. I'm happy to have a crack at fixing it. Yaron, do you have any initial tips on what could be the problem? What makes an SIO different from a regular article? - Borofkin 07:05, 15 November 2010 (UTC)
I found that running the cronjob for reminders would construct paths that were to the hardcoded string, teamspace.creativecommons.org
I made a fix so that now in the LocalSettings.php file one must now set $wgServerNamePath to a path of the wiki.
I've mailed this to steren
I'm the new maintainer. A while back Steren asked for someone to take over maintenance, so it is unlikely he'll be able to patch it.
The following warning and error are encountered while attempting to execute ST_CheckForReminders.php:
PHP Warning: require_once(/var/lib/mediawiki/extensions/SemanticMediaWikiincludes/SMW_Factbox.php): failed to open stream: No such file or directory in /var/lib/mediawiki/extensions/SemanticTasks/ST_CheckForReminders.php on line 9
PHP Fatal error: require_once(): Failed opening required '/var/lib/mediawiki/extensions/SemanticMediaWikiincludes/SMW_Factbox.php' (include_path='/var/lib/mediawiki:/var/lib/mediawiki/includes:/var/lib/mediawiki/languages:.:/usr/share/php:/usr/share/pear:/usr/share/mediawiki-extensions/include') in /var/lib/mediawiki/extensions/SemanticTasks/ST_CheckForReminders.php on line 9
Any insight as to what might be causing this?
--enterprise_user 18:57, 23 June 2010 (UTC)
Sure do :). That part of the code hasn't been updated yet. I haven't had a chance to get to it. As of right now, it simply doesn't work. I'll try to get to this soon, since I've been getting some time to work on my extensions again.