[pmwiki-users] Re: Bug in PmWikiDraw?

Ciaran ciaranj at gmail.com
Thu Mar 17 06:05:14 CST 2005


Hmm, I've never actually used a clean-url system setup so its
perfectly possible that it doesn't work in this environment, can you
point to details on how to setup one in a similar way to yours and
I'll try to replicate the behaviour please ?
-ciaran


On Thu, 17 Mar 2005 12:51:10 +0100, chr at home.se <chr at home.se> wrote:
> On Mon, 14 Mar 2005, Ciaran wrote:
> 
> > Hmm, that all looks fine, the biut where you 'snipped' the wiki page
> > would it be possible to leave that in at all ?
> 
> See below, I've removed irrelevant parts though.
> 
> > if you do a search on your website for *.draw does anythign show up ?
> 
> I only find some old files from when I tried it a while back, nothing
> new..
> 
> I suspect the problem is that I'm using clean URIs... a page URI is
> typically http://XXX.se/Main/HomePage, while pmwiki.php is located at
> http://XXX.se/wiki/pmwiki.php
> 
> /Christian
> 
> Here's the full output, but redacted:
> ---------------------------
> 
> - Opera Java Console --
> 
> Java vendor: Sun Microsystems Inc.
> Java version: 1.4.2_06
> 
> type 'h' for help
> 
> --
> PmWikiDraw v2.36
> java.io.IOException: Connection failed.
> at com.opera.OperaURLConnection.connect(OperaURLConnection.java:103)
> at
> com.opera.OperaURLConnection.getInputStream(OperaURLConnection.java:111)
> at java.net.URL.openStream(Unknown Source)
> at
> com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.readFromStorableInput(Unknown
> Source)
> at com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.readDrawing(Unknown
> Source)
> at com.wombatinvasion.pmwikidraw.PmWikiDrawFrame.loadDrawing(Unknown
> Source)
> at com.wombatinvasion.pmwikidraw.PmWikiDraw.init(Unknown Source)
> at com.opera.PluginPanel.run(PluginPanel.java:441)
> at java.lang.Thread.run(Unknown Source)
> PageName:Main.WikiSandbox1
> Saving .draw file testDrawing.draw
> converting data to GIF...
> conversion to GIF successful.
> Current drawing baseTime:1111059853
> Actual URL:http://devel.XXX.se
> --89692781418184
> Content-Disposition: form-data; name="pagename"
> 
> Main.WikiSandbox1
> --89692781418184
> Content-Disposition: form-data; name="authpw"
> 
> --89692781418184
> Content-Disposition: form-data; name="drawingname"
> 
> testDrawing
> --89692781418184
> Content-Disposition: form-data; name="action"
> 
> postDrawing
> --89692781418184
> Content-Disposition: form-data; name="noredirect"
> 
> fish
> --89692781418184
> Content-Disposition: form-data; name="redirect"
> 
> 0
> --89692781418184
> Content-Disposition: form-data; name="drawingbasetime"
> 
> 1111059853
> --89692781418184
> Content-Disposition: form-data; name="uploadDrawing";
> filename="testDrawing.draw"
> Content-Type: text/plain
> 
>     com.wombatinvasion.pmwikidraw.PmWikiDrawing 2 1
>         org.jhotdraw.figures.RectangleFigure "attributes" "attributes" 2
> "FillColor" "Color" 112 219 147 "FrameColor" "Color" 0 0 0 110 60 110 110
> --89692781418184
> Content-Disposition: form-data; name="uploadMap";
> filename="testDrawing.map"
> Content-Type: text/plain
> 
> <map name="testDrawing" id="testDrawing "><area shape="rect"
> coords="0,0,230,5" href="$editImageUrl" alt="Click to edit the image"
> title="Click to edit the image"  />
> <area shape="rect" coords="0,0,5,180" href="$editImageUrl" alt="Click to
> edit the image" title="Click to edit the image"  />
> <area shape="rect" coords="225,0,230,180" href="$editImageUrl" alt="Click
> to edit the image" title="Click to edit the image"  />
> <area shape="rect" coords="0,175,230,180" href="$editImageUrl" alt="Click
> to edit the image" title="Click to edit the image"  />
> </map>
> --89692781418184
> Content-Disposition: form-data; name="uploadImage";
> filename="testDrawing.gif"
> Content-Type: image/gif
> Content-Transfer-Encoding: binary
> 
> GIF89a?
> Wrote 2526 bytes to
> com.opera.HttpURLConnection:http://devel.XXX.se
> REPLY:<!DOCTYPE html
> REPLY:    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> REPLY:    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> REPLY:<html>
> REPLY:<head>
> REPLY:  <title>Int | XXX / XXX </title>
> REPLY:  <link rel='stylesheet'
> href='http://devel.XXX.se/wiki/pub/skins/pmwiki/pmwiki.css'
> type='text/css' />
> REPLY:  <!--HeaderText--><style type='text/css'><!--
> REPLY:  ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
> REPLY:  code { white-space: nowrap; }
> REPLY:  .vspace { margin-top:1.33em; }
> REPLY:  .indent { margin-left:40px; }
> REPLY:  .outdent { margin-left:40px; text-indent:-40px; }
> REPLY:  a.createlinktext { text-decoration:none; border-bottom:1px dotted
> gray; }
> REPLY:  a.createlink { text-decoration:none; position:relative;
> top:-0.5em;
> REPLY:    font-weight:bold; font-size:smaller; border-bottom:none; }
> REPLY:
> REPLY:span.anchor {
> REPLY:float: left;
> REPLY:font-size: 10px;
> REPLY:margin-left: -10px;
> REPLY:width: 10px;
> REPLY:    position:relative; top:-0.2em;
> REPLY:text-align: center;
> REPLY:}
> REPLY:span.anchor a { text-decoration: none; }
> REPLY:span.anchor a:hover { text-decoration: underline; }
> REPLY:ol.toc { text-indent:-30px; list-style: none; }
> REPLY:div.toc { font-size: smaller; }
> REPLY:  div.markup { border:2px dotted #ccf;
> REPLY:    margin-left:30px; margin-right:30px;
> REPLY:    padding-left:10px; padding-right:10px; }
> REPLY:  div.markup pre { border-bottom:1px solid #ccf;
> REPLY:    padding-top:10px; padding-bottom:10px; }
> REPLY:  p.question { font-weight:bold; }
> REPLY:  .editconflict { color:green; font-style:italic;
> REPLY:  margin-top:1.33em; margin-bottom:1.33em; }
> REPLY:a.varlink { text-decoration:none; }
> REPLY:
> REPLY:--></style>  <meta name='robots' content='index,follow' />
> REPLY:
> REPLY:</head>
> REPLY:<body>
> REPLY:<!--PageHeaderFmt--><!--/PageHeaderFmt-->
> REPLY:  <table id='wikimid' width='100%' cellspacing='0'
> cellpadding='0'><tr>
> REPLY:<!--PageLeftFmt--><!--/PageLeftFmt-->
> REPLY:      <td id='wikibody' valign='top'>
> REPLY:<!--PageTitleFmt-->
> REPLY:        <table width='100%' cellspacing='0' cellpadding='0'
> border='0'><tr>
> REPLY:        <td id='wikititle'>
> REPLY:          <div class='pagegroup'><a
> href='http://devel.XXX.se/XXX'>XXX</a> /</div>
> REPLY:          <div class='pagetitle'><a
> href='http://devel.XXX.se/XXX/XXX'>XXX</a></div></td>
> REPLY:        <td id='wikicmds'>
> REPLY:          <a href='http://devel.XXX.se/XXX/RecentChanges'>Recent
> Changes</a>
> REPLY:          <a href='http://devel.XXX.se/XXX/XXX?action=print'
> target='_blank'>Printable View</a>
> REPLY:          <a href='http://devel.XXX.se/XXX/XXX?action=diff'>Page
> History</a>
> REPLY:          <a href='http://devel.XXX.se/XXX/XXX?action=edit'>Edit
> Page</a></td></tr></table>
> REPLY:<!--PageText-->
> REPLY:<div id='wikitext'>
> REPLY:<p class='vspace'></p><h1>XXX</h1>
> REPLY:<p class='vspace'></p><p>This is the main group for XXX development.
> ...
> REPLY:</p></div>
> REPLY:
> REPLY:<!--PageFooterFmt--><!--/PageFooterFmt-->
> REPLY:</body>
> REPLY:</html>
> 
> --
> Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users
> 


-- 
- Ciaran
(I now have far too many G-Mail invites available, anyone who wants
one, gets one)




More information about the pmwiki-users mailing list