Tasslehoff Burrfoot | 22 May 2013 00:28
Picon
Favicon

Problems after Debian upgrade

Hi all, I got some problems on a MoinMoin 1.97 instance running on a Debian box recently upgraded from sqeeze to wheezy.
I installed MoinMoin some weeks before the upgrade following the great guide on the official website and everything worked like a charm, all problems started since the upgrade.
MoinMoin runs on:
- Apache 2.2.22
- mod_wsgi/3.3
- mod_python/3.3.1
- Python/2.7.3
- webserver owner "apache:apache"

I found some references on this url (http://moinmo.in/MoinMoinQuestions/Errors#Internal_Server_Error) but checking permissions all seems ok.
Using python as webserver and test.wsgi results ok, same result running python as root or apache user (http://www.scribd.com/doc/142843621/WSGI-Test-Script-pdf)

--- apache error log
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi (pid=15099): Target WSGI script '/usr/local/share/moin/moin.wsgi' cannot be loaded as Python module.
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi (pid=15099): Exception occurred processing WSGI script '/usr/local/share/moin/moin.wsgi'.
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] Traceback (most recent call last):
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]   File "/usr/local/share/moin/moin.wsgi", line 43, in <module>
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]     from MoinMoin.web.serving import make_application
[Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] ImportError: No module named MoinMoin.web.serving

--- apache permissions on python directory
ritz:/usr/lib# ls -l /usr/lib/ | grep "python" | grep -v "lib"
drwxr-xr-x 20 root root        12264 nov 27  2011 python2.4
drwxr-xr-x 21 root root        13824 nov 29  2011 python2.5
drwxr-xr-x 23 root root        13120 mag  7 03:10 python2.6
drwxr-xr-x 26 root root        13592 mag  7 03:08 python2.7
drwxr-xr-x  3 root root           80 mag  7 01:54 python3
drwxr-xr-x  2 root root          112 mag  7 03:09 python-tz
apache <at> ritz:/usr/lib/python2.7/test$ which python
/usr/bin/python
apache <at> ritz:/usr/lib/python2.7/test$ python -V
Python 2.7.3
apache <at> ritz:/usr/lib/python2.7/test$ ./pystone.py
Pystone(1.1) time for 50000 passes = 6.32
This machine benchmarks at 7911.39 pystones/second

--- apache configuration
WSGIScriptAlias /wiki   /usr/local/share/moin/moin.wsgi
WSGIDaemonProcess moin user=apache group=apache processes=5 threads=10 maximum-requests=1000 umask=0007
WSGIProcessGroup moin

--- /usr/local/share/moin/moin.wsgi sys.path
sys.path.insert(0, '/usr/local/share/moin')

Any suggestion?

Thanks

Tasslehoff Burrfoot

---
Public PGP key block at
http://tasslehoff.burrfoot.it/url/pgp
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Chitrank Dixit | 10 May 2013 06:05
Picon
Gravatar

_test Changes to review

Hello Moin dev

I have made some changes in MoinMoin/_tests folder for the test cases. I have ported them to python3.3 with backward compatibility. There was not a substantial work for that but still this port might not be for Python 3.2 as it does not support unicoded strings.

here is the link to review

P.S. : I have talked on the IRC and got the reply from developers that First we should concentrate on Python 3.3 then other changes can be made afterwards to make the tests compatible for python 3.2

Regards
Chitrank Dixit
IIPS-DAVV
Indore (M.P.) , India 
MCA
trackleech.blogspot.in
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Chitrank Dixit | 3 May 2013 05:17
Picon
Gravatar

Knowing about GSOC project idea Plugin

Hello Moin developers

 I need to know more brief information about the  GSOC project idea named "Plugin" last year one of the student participated with the following project idea but it was not completed. 

so What were the aims of Plugin Project ?  Improving existing plugins , writing new plugins or any different 

Moreover how much work is done I am headed to this page http://moinmo.in/GoogleSoc2012/PluginSystem and found just code reviews and some self explainatory notes on etherpad but what exactly the Plugin system project wants from a student that must be specified well.
Regards
Chitrank Dixit
IIPS-DAVV
Indore (M.P.) , India 
MCA
trackleech.blogspot.in
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Chitrank Dixit | 30 Apr 2013 23:32
Picon
Gravatar

Understanding more about Change in API and UI project Idea

Hello MoinMoin developers

I read about Changing API and UI from the Project Idea page of MoinMoin Wiki but I am still unable yo figure out

"Most of the UI, URLs, API is currently based on using NAMES for identifying an item. But at many places, using a ITEMID or REVID instead or additionally to a name would be better."

Does this means Working over the database with primary key most of the times for Items NAMES but at many places ITEMID or REVID would be better. Please correct me if wrong and please show me some example to make me more clear and aware about the problem.

Regards
Chitrank Dixit
IIPS-DAVV
Indore (M.P.) , India 
MCA
trackleech.blogspot.in
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Thomas Waldmann | 29 Apr 2013 22:03
Picon
Favicon

Mentors and/or Helpers wanted for Google Summer of Code 2013

MoinMoin! ;)

It looks like one of our mentors suddenly has much less time for
mentoring, so we could need some help from the community, see there:

https://moinmo.in/GoogleSoc2013

Cheers, Thomas

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
hari k | 28 Apr 2013 08:20
Picon

How to integrate moin moin with AD & LDAP

Dear All ,

I have managed to authenticate moin moin using both AD & LDAP . I have documented the same here . 



Hope that this will be helpful for some one trying this in future. 

--
Thanks & Regards,
--------------
Hari.K

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Chitrank Dixit | 28 Apr 2013 04:01
Picon
Gravatar

MoinMoin Wiki Project Idea Python 3.x porting

Good Morning

Hello MoinMoin Wiki developers I need to talk about some of the Project Ideas that has been marked with this image  

Are these ideas are subject to any change or removal ?

I am asking this because I am going to apply for GSOC 2013 with one of such ideas that has been marked with this symbol.

Regards
Chitrank Dixit
IIPS-DAVV
Indore (M.P.) , India 
MCA
trackleech.blogspot.in
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Shivansh Srivastava | 28 Apr 2013 00:57
Picon

Moinmoin - GSoC 2013 Application

Hi,

I am Shivansh, pursuing Engineering at BITS Pilani, currently in my Final year.

I am versed in Web Technologies focusing mainly UI, that include HTML5, JavaScripts (jQuery, ExtJs, Sencha), CSS.

I have worked in my college on several websites with the same knowledge. I had also given a talk at the 3rd WikiConference held in Mumbai, India, on "Improving Wiki UI using AJAX & jQuery" & presented 4 ideas/projects with the Wiki community. The mockups of my presentation and the ideas presented in it are here.

I also worked with the Scripps Research Institute on the project - "BioGPS:JQuery-based BioGPS gene-report layout canvas" - under 
Mr. Ian Macleod, as part of GSoC 2012 with a Django/python backend. (Sample Code)

My main aim in any project is improvement of User-Interface, so that the end user is the one who is gains the most by the simplicity and effectiveness of the project.

I browsed through the Ideas list - since I would like to work on a project that enhances the User-interactivity (also since my previous GSoC project was a jQuery based one, I feel comfortable with the same), I would like to work on the idea - "Implement jquery_ui autocomplete on all textfields". 

Apart from this, if there is any jQuery/javascript related project that may help in smooth transition from moin 1.x to moin 2.x or older jquery libraries (1.3.x, 1.4.x, 1.7.x to 1.9.x), please let me know.

Thank you.

With Regards,
Shivansh
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Jérôme Bove | 26 Apr 2013 16:07
Favicon

LDAP authentification and ACL

Hi everyone !
I've managed to get LDAP authentification to work with my MoinMoin installation by using the following code in Apache configuration:

<Location /wiki1>
  AuthName "Wiki wiki1"
  AuthType Basic
  AuthBasicProvider ldap
  AuthLDAPGroupAttribute memberUid
  AuthLDAPGroupAttributeIsDN off
  Require ldap-group cn=dev,ou=Groups,dc=ldap,dc=c2c
  Require ldap-group cn=mapfish,ou=Groups,ou=Externals,dc=ldap,dc=c2c
  Require ldap-group cn=sitev5,ou=Groups,ou=Externals,dc=ldap,dc=c2c
</Location>

I can login with any user from dev, mapfish and sitev5 groups but all users have read write permissions. What I need is readonly permissions for group sitev5. I tried to do this in /var/www/wiki/private/moin-1.9.7/MoinMoin/config/wiki1.py:

    acl_rights_before = u'-sitev5:write,delete,revert'

And nothing changed, I can still edit pages from a user in sitev5 group. So I tried to use the whole ldap dn:
    acl_rights_before = u'-cn=sitev5,ou=Groups,ou=Externals,dc=ldap,dc=c2c:write,delete,revert'

But this is exactly the same.

Does anybody have an idea of how I could achieve to have a readonly group ? No matter for me if it is managed with apache or with moinmoin.

Have a nice weekend,
Jérôme

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Rubén Antón | 20 Apr 2013 11:59
Picon
Gravatar

[GSoC] Network API project

Hi,

I am Rubén Antón, currently 5th year student at University of Alicante, Alicante, Spain.

I would like participe in GSoC 2013 under MoinMoin organization because some of the project ideas seem me amazing, but the idea of designing and building a Network API is which has got all my attention.

I have understood Network API as REST API. This REST API must implement CRUD operations over the wiki items. These implemented operations will be used from different points such as user interface, wiki sync and scripts.

I have been diving into MoinMoin project last days: reading the documentation, following the tutorials to create my first wiki,... The next step is to get familiar with the codebase. If someone can recommend some issue to get started working in the project I will be very grateful.

Thanks in advance,

Rubén
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Philip Colmer | 17 Apr 2013 19:53
Favicon
Gravatar

How do I troubleshoot ACLs?

I'm changing the authentication platform for a moin wiki because the current platform cannot be used after a certain date. I'm switching to LDAP authentication and it is important to stress that the actual authentication is working.

However, ACLs are not working.

I've created pages named after the various groups that are then used in the ACLs, but I'm getting the message "You are not allowed to view this page."

Is there any debugging I can turn on to help me understand the steps that are being taken to check the user's ID against the group page?

Thanks.

Philip

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Moin-user mailing list
Moin-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Gmane