Bug 486777 - Moodle incompatible with magpierss
Summary: Moodle incompatible with magpierss
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: moodle
Version: 9
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-22 03:18 UTC by junk
Modified: 2009-03-13 12:33 UTC (History)
3 users (show)

Fixed In Version: 1.9.4-3.fc10
Clone Of:
Environment:
Last Closed: 2009-03-09 22:51:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description junk 2009-02-22 03:18:52 UTC
Description of problem:
Using the "Remote RSS Feed" in a course results in the following error:
Fatal error: Cannot redeclare error() (previously declared in /var/www/moodle/web/lib/deprecatedlib.php:1629) in /usr/share/php/magpierss/rss_fetch.inc on line 240

Version-Release number of selected component (if applicable):
Up to and including Moodle 1.9.4 (Build: 20090128)


How reproducible:
Always


Steps to Reproduce:
1. Add "Remote RSS Feed" block to course, with any RSS feed provided.
2. View Course
3.
  
Actual results:
Error message above.

Expected results:
Course displays without error, RSS content is displayed


Additional info:

The incompatibility between Moodle and the canonical Magpie is discussed here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375290

and here:

http://tracker.moodle.org/browse/MDL-7045

Moodle contains its own version of Magpie, at /www/lib/magpie. In the RPM, this has been replaced by a link to /usr/share/php/magpie. Replacing this link with the Moodle version of Magpie fixes the error.

Comment 1 Gwyn Ciesla 2009-02-23 14:08:27 UTC
After reviewing the above, I'll put out releases putting back the bundled magpieRSS.

Comment 2 Gwyn Ciesla 2009-02-23 19:10:10 UTC
Update coming for F-10 and F-9.

Comment 3 Fedora Update System 2009-02-24 20:45:23 UTC
moodle-1.9.4-2.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update moodle'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1958

Comment 4 Fedora Update System 2009-02-24 20:46:50 UTC
moodle-1.9.4-2.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update moodle'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-1966

Comment 5 Bruno Wolff III 2009-02-27 18:12:51 UTC
Somewhat related to this is that there are file conflicts in rawhide between moodle and php-magpierss.
Transaction Check Error:
  file /usr/share/php/magpierss/rss_fetch.inc conflicts between attempted installs of php-magpierss-0.72-5.fc11.noarch and moodle-1.9.4-4.fc11.noarch

Similar stuff was happening with 1.9.4-2.

Comment 6 Fedora Update System 2009-02-27 21:08:55 UTC
moodle-1.9.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/moodle-1.9.4-3.fc10

Comment 7 Fedora Update System 2009-02-27 21:09:05 UTC
moodle-1.9.4-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/moodle-1.9.4-3.fc9

Comment 8 Fedora Update System 2009-02-28 03:23:00 UTC
moodle-1.9.4-3.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update moodle'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2174

Comment 9 Fedora Update System 2009-02-28 03:27:53 UTC
moodle-1.9.4-3.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update moodle'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-2196

Comment 10 Bruno Wolff III 2009-03-04 10:40:18 UTC
Now I am not seeing this even though the versions of php-magpierss and moodle haven't changed since my last test.

Comment 11 Gwyn Ciesla 2009-03-04 14:47:04 UTC
You don't see it in update-stesting?

Comment 12 Gwyn Ciesla 2009-03-04 14:47:19 UTC
Or even updates-testing?  :)

Comment 13 Bruno Wolff III 2009-03-04 15:09:47 UTC
I suspect we are referring to different its.
I was talking about the file conflict I was seeing in rawhide. About the only difference in what I tested last night, was that I installed moodle and php--magpierss one at a time and didn't also install all of the language specific packages.
The current version of moodle doesn't even provide that file, so maybe it was really a yum bug. Maybe the file was owned by a previous version of moodle and a conflict was detected that was really moot.

Comment 14 Gwyn Ciesla 2009-03-04 16:15:26 UTC
So what you're getting at is, the version is updates-testing is fine as far as you can tell?

Comment 15 Bruno Wolff III 2009-03-09 09:13:15 UTC
I have not done anything with the version in updates-testing. I have two machines that run rawhide and another that runs f9 + updates, but none currently that use F? + updates-testing.

Comment 16 Fedora Update System 2009-03-09 22:51:01 UTC
moodle-1.9.4-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2009-03-09 22:55:04 UTC
moodle-1.9.4-3.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Rahul Bhalerao 2009-03-13 12:33:31 UTC
This update fails with following following error on f10:
___
Transaction Check Error:
  file /var/www/moodle/web/lib/magpie/rss_fetch.inc from install of moodle-1.9.4-3.fc10.noarch conflicts with file from package php-magpierss-0.72-4.fc10.noarch
___

Any solutions please?


Note You need to log in before you can comment on or make changes to this bug.