Christian SCHWARZ | 3 Jan 2005 15:33

TWikiDraw plugin

Hi,

I am running into troubles similar to those already solved when creating 
images with multi-line code in it.
The original problem was the accidental creation of a "\r\n" string 
instead of a simple "\n". My problem is the creation of a "^M\n" string 
instead of the simple "\n".
I guess, this is because some people use windows to edit the file and 
then the ^M gets inserted for the Linux environment (with apache).
A first solution would be to write single line and use multiple of them, 
but it is a lot of work and not very artistic.
Is there another solution?

Thanks,
Christian

PS: How do I do a simple scale of a resulting image without manually 
editing the image in a separate tool?

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Alexander Schremmer | 3 Jan 2005 17:05
Picon
Favicon

RE: TWikiDraw plugin

Christian SCHWARZ wrote on Monday, January 03, 2005 3:34 PM CEST:

> The original problem was the accidental creation of a "\r\n" string
> instead of a simple "\n". My problem is the creation of a "^M\n"
> string instead of the simple "\n".

MoinMoin 1.2 or 1.3?

> PS: How do I do a simple scale of a resulting image without manually
> editing the image in a separate tool?

See MoinMoin:MacroMarket, there is a macro for your needs.

Kind regards,
Alexander

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Christian SCHWARZ | 3 Jan 2005 17:56

Re: TWikiDraw plugin

> MoinMoin 1.2 or 1.3?
the version is 1.2.4 (at least the tar file has this name)
does updating help?

> See MoinMoin:MacroMarket, there is a macro for your needs.
yep, thanks, the ImageLink looks quite promising. I basically wondered 
whether or not there is already a formatting character or not.

thanks,
Christian

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Alexander Schremmer | 3 Jan 2005 18:09
X-Face
Picon

Re: TWikiDraw plugin

On Mon, 03 Jan 2005 17:56:14 +0100, Christian SCHWARZ wrote:

>> MoinMoin 1.2 or 1.3?
> the version is 1.2.4 (at least the tar file has this name)
> does updating help?

Yes, upgrading would help. In 1.3, the writing of line endings was
refactored completly. It should solve all problems. But be aware that
upgrading to 1.3 is a rather complex process.

Kind regards,
Alexander

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
SourceForge.net | 4 Jan 2005 16:00
Picon
Favicon

[ moin-Patches-1092353 ] Better reStructuredText support

Patches item #1092353, was opened at 2004-12-28 14:17
Message generated for change (Comment added) made by orutherfurd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=308482&aid=1092353&group_id=8482

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Gilbert (mmgilbe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Better reStructuredText support

Initial Comment:
Updated version of my previous patch. This adds much
better reStructuredText support to MoinMoin. It is a
drop in replacement for the existing rst.py. This
version is significantly refactored and has numerous
bug fixes. It supports MoinMoin 1.2.X and 1.3.X and
requires docutils version 0.3.3 or later.

----------------------------------------------------------------------

Comment By: Ollie Rutherfurd (orutherfurd)
Date: 2005-01-04 10:00

Message:
Logged In: YES 
user_id=265596
(Continue reading)

Alan Ezust | 4 Jan 2005 16:26
Picon

[[Navigation(children,2)]] really slow now in 1.3

Hi everybody.

I have a bookmarks page that is supposed to list all of its children pages.
[[Navigation(children,2)]]

In order to perform Navigation(children,2), the operation is now
significantly slower than before. And it makes my hard drive go all
NUTS for like 20 seconds, when it is performed for the first time in a
while.

It could be that the macro can be improved in performance, but it
could also be due to the new file/directory format of data/text, I am
not exactly sure.

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Alan Ezust | 4 Jan 2005 16:32
Picon

how do you debug?

I was just wondering, if you want to step through moin code as it is
running, what is the preferred way to debug it? Do you capture user
interactions to a log file and then re-run moin.cgi with some special
option? I'd like to step through moin code in my debugger (eric3).

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Alan Ezust | 4 Jan 2005 16:41
Picon

Re: how do you debug?

Ah, dunno why I keep forgetting that cgi scripts can be run from the
command line...

But actually I was wondering more specifically about how to debug
twisted mod-python apps. I suppose that would be more appropriately
posted on a twisted or mod-python forum. So you can ignore this post.

On Tue, 4 Jan 2005 10:32:27 -0500, Alan Ezust <alan.ezust <at> gmail.com> wrote:
> I was just wondering, if you want to step through moin code as it is
> running, what is the preferred way to debug it? Do you capture user
> interactions to a log file and then re-run moin.cgi with some special
> option? I'd like to step through moin code in my debugger (eric3).
>

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Philip Neustrom | 4 Jan 2005 23:57
Picon
Favicon

Re: Re: how do you debug?

They can be run from the command line -- but how do
you pass the normal CGI GET/POST to them?

--- Alan Ezust <alan.ezust <at> gmail.com> wrote:

> Ah, dunno why I keep forgetting that cgi scripts can
> be run from the
> command line...
> 
> But actually I was wondering more specifically about
> how to debug
> twisted mod-python apps. I suppose that would be
> more appropriately
> posted on a twisted or mod-python forum. So you can
> ignore this post.
> 
> 
> On Tue, 4 Jan 2005 10:32:27 -0500, Alan Ezust
> <alan.ezust <at> gmail.com> wrote:
> > I was just wondering, if you want to step through
> moin code as it is
> > running, what is the preferred way to debug it? Do
> you capture user
> > interactions to a log file and then re-run
> moin.cgi with some special
> > option? I'd like to step through moin code in my
> debugger (eric3).
> >
> 
> 
(Continue reading)

Alan Ezust | 5 Jan 2005 03:13
Picon

Re: Re: how do you debug?

Actually, I am no longer sure of the answer. I thought that all CGI
apps could be debugged the same way: by pickling the "request" object
and then unpickling it again later, to simulate the user requests.
however, the Moin request object is not picklable.  I was examining it
and noticed it has a lot of references to other objects which also
might not be easily picklable.

So actually, I should have phrased my question in a similar way to yours.

What is the recommended way of capturing the GET/POST request data
from the user so that we can re-feed it to the moin program for
debugging?

Alternately, how does one do remote debugging?

On Tue, 4 Jan 2005 14:57:30 -0800 (PST), Philip Neustrom
<pneustrom <at> yahoo.com> wrote:
> They can be run from the command line -- but how do
> you pass the normal CGI GET/POST to them?

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

Gmane