[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [ANN] Pimki 1.4

Mills Thomas (app1tam)

1/17/2005 2:39:00 PM

Hey Assaph,

I am using Markdown and am receiving the following error in my browser when
I try to view my homepage:

Internal Server Error
undefined class/module Engines::Markdown
WEBrick/1.3.1 (Ruby/1.8.2/2004-11-06) at localhost:2500

The following text is in the server shell window:

[2005-01-17 09:35:45] INFO Performing show (drewswiki/show/HomePage)
[2005-01-17 09:35:45] INFO Parameters: {}
[2005-01-17 09:35:45] INFO Cookies: CFID => 0, INFOLIB_USERNAME =>
app1tam, HIDEWELCOMEWINDOW => 1, CFTOK
[2005-01-17 09:35:45] ERROR ArgumentError: undefined class/module
Engines::Markdown
N:/pimki/libraries/madeleine/automatic.rb:230:in `load'
N:/pimki/libraries/madeleine/automatic.rb:230:in `_load'
N:/pimki/libraries/madeleine/automatic.rb:407:in `load'
N:/pimki/libraries/madeleine/automatic.rb:407:in `load'
N:/pimki/libraries/madeleine/automatic.rb:155:in `load'
N:/pimki/libraries/madeleine.rb:210:in `recover_snapshot'
N:/pimki/libraries/madeleine.rb:209:in `open'
N:/pimki/libraries/madeleine.rb:209:in `recover_snapshot'
N:/pimki/libraries/madeleine.rb:53:in `new'
N:/pimki/libraries/madeleine/automatic.rb:272:in `initialize'
N:/pimki/libraries/madeleine_service.rb:51:in `new'
N:/pimki/libraries/madeleine_service.rb:51:in `initialize'
N:/pimki/libraries/madeleine_service.rb:22:in `new'
N:/pimki/libraries/madeleine_service.rb:22:in `instance'
N:/pimki/app/controllers/wiki.rb:624:in `wiki'
N:/pimki/app/controllers/wiki.rb:628:in `web'
N:/pimki/app/controllers/wiki.rb:644:in `authorized?'
N:/pimki/app/controllers/wiki.rb:587:in `before_action'
N:/pimki/libraries/action_controller_servlet.rb:132:in
`perform_action'
N:/pimki/libraries/action_controller_servlet.rb:41:in `do_GET'

D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:3
5:in `__send__'

D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:3
5:in `service'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/httpserver.rb:97:
in `service'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/httpserver.rb:58:
in `run'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:153:in
`start_thread'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:147:in
`start'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:147:in
`start_thread'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:97:in
`start'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:89:in
`each'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:89:in
`start'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:79:in
`start'
D:/Data/app1tam/Projects/ruby/lib/ruby/1.8/webrick/server.rb:79:in
`start'
N:/pimki/libraries/web_controller_server.rb:90:in `start_server'
N:/pimki/libraries/web_controller_server.rb:30:in `initialize'
N:/pimki/pimki.rb:153:in `new'
N:/pimki/pimki.rb:153
127.0.0.1 - - [17/Jan/2005:09:35:45 Eastern Standard Time] "GET
/drewswiki/show/HomePage HTTP/1.1" 500 320
http://localhost:2500/drewswiki/list/ -> /drewswiki/show/HomePage
127.0.0.1 - - [17/Jan/2005:09:35:45 Eastern Standard Time] "GET /favicon.ico
HTTP/1.1" 200 5
- -> /favicon.ico

+------------------------------------------------+
| DREW MILLS | 10101 Linn Station Rd. |
| | Suite 800 |
| tamills@ups.com | Louisville, KY 40223 |
| Technical Specialist | <v> 502-394-7785 |
| United Parcel Service | <f> 502-394-7812 |
+------------------------------------------------+


> -----Original Message-----
> From: Assaph Mehr [mailto:assaph@gmail.com]
> Sent: Saturday, January 15, 2005 9:16 AM
> To: ruby-talk ML
> Subject: [ANN] Pimki 1.4
>
>
> Pimki 1.4.092 highights:
> - Integrated Instiki 0.9.2 fixes and additions
> - Todo@Context
> - Edit on double-click
> - Major/minor edits
> - More customization options
> - The inevitable bug fixes...
>
> Cheers,
> Assaph
>
> ** About
>
> Pimki is my modified Instiki[1], aimed at being a Personal
> Information Manager. Current version is based on latest
> Instiki (0.9.2).
>
> There are some features added to Instiki, features that only
> make sense when you view it as a personal application and not
> as a group oriented application. Some Instiki features were
> suppressed. See below for a full list.
>
> Please feel free to try it to organize your thoughts, email
> me if you have any problems (assaph at gmail). Get it at:
>
http://pimki.ruby...

** Features

Besides all the regular Instiki goodness, Pimki adds:

* Mind Map: a graph of wiki connections (made with GraphViz). All graphs can
be laid-out with the 4 GraphViz engines. Graph contents can be arranged as:
o Page ? linked pages o Authors ? pages o Categories ? pages Requires
that GraphViz be installed and on the PATH to be enabled.
* Bliki: a blog integrated with the wiki. Blog entries are simply wiki-pages
in a special space. Can link from an entry to wiki pages.
* Todo Items & List:
o ‘todo:’ items are highlighted on each page.
o Added a capacity to pull and list todo items from all
pages.
o On main list, items are highlighted & sorted according to date (if there
is one). o Todo items can have (multiple) context and the display can be
fltered based on that context.
* Added capacity to delete & rename pages through
the ‘All Pages’ list.
* Added Left-Side Menu. Content options are:
o Only pages that reference other pages (default)
o All pages: by name
o All pages: recently revised
o All pages: recently visited
o All pages: most often visited
o User definable wiki-text
* Expanded Search:
o Search also tries to match the page names (not just contents). o Now
showing part of sentence around match in search-results page.
* Changed the nav-bar: added links to the Mind Map, Bliki and ToDo. Moved
less relevant links to the bottom of Home Page: RSS, authors and export.

** Installation

Download it from the RubyForge project page or go the gem way and simply
run: gem install pimki

To enable the Mind Map feature, GraphViz[2] must be installed and the bin
directory on the system path.

Run it with the command 'pimki' or install it as a service (see home page
for details).




1 Answer

Assaph Mehr

1/17/2005 9:36:00 PM

0

> I am using Markdown and am receiving the following error in
> my browser when I try to view my homepage:

Hi Drew,

I've changed the Markdown engine options and forgot to handle existing
configurations.
I will fix this for the next release, but if you don't mind a bit of
hacking in the meantime, in pimki/app/models/chunks/engines.rb line 42
change to:

MAP = { :textile => Textile, :red_markdown => RedMarkdown,
:blue_markdown => BlueMarkdown, :rdoc => RDoc, :markdown =>
BlueMarkdown }

Cheers,
Assaph