Giter Club home page Giter Club logo

plugindevelopment's People

Contributors

inmysocks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugindevelopment's Issues

Error on making first wiki

It seems one needs to make Wikis directory in advance
Run the MakeWiki.sh shows an error like below

Error: Error creating directory './Wikis/nella'
New wiki created in /c/Temp/PluginDevelopment-master/Wikis/ using empty edition

While it says a new wiki is created but it is not correct!

If I make the Wikis manually then it works fine

Error on folders with space in name

Assume you put the PluginDevelopment in a folder like below

C:/Jed Carty/PluginDevelopment

and then run the Setup.sh

It creates new folder asC:/Jed again!

When I removed the space and use the folder like

C:/JedCarty/PluginDevelopment
it works fine. Note to space in Jed Carty

Does not create Plugin Library

To reproduce

  1. Install the PluginDevelopment as described in readme.md
  2. It has its own Tiddlywiki under Tiddlywiki5 folder
  3. Run Setup.sh
  4. Run MakePlugin.sh to create a plugin
  5. Add one macro to new plugin to display Hi World...
  6. Create a Test Wiki, add the new plugin to test and it works fine
  7. Run MakePluginLibrary.sh
  8. A new PluginLibrary/output folder created which has index.html and recipes/library folder and inside that a tiddler.json and nothing else

Setup error

#####@#####-####### MINGW64 ~
$ cd PluginDevelopment

#####@#####-####### MINGW64 ~/PluginDevelopment (master)
$ ./Setup.sh

Welcome to the setup script!

Run this script to help setup your development environment for tiddlywiki 5.
If you move your plugin development folder you must re-run this script.

Checking for newer versions of tiddlywiki
From https://github.com/Jermolene/TiddlyWiki5.git
You have the newest version, v5.1.22

Enter the author name, this will be used as the author name for plugins you
create. It can be changed in the future by reruning this script or editing
Author.txt

Author Name (press enter to leave as DEFAULTAUTHOR):
aaa

#####@#####-####### MINGW64 ~/PluginDevelopment (master)
$ ./MakePlugin.sh PluginTest
New empty plugin created in /c/Users/#####/PluginDevelopment/Plugins/aaa/PluginTest.
Error: Error creating directory 'C:/Users/#####/PluginDevelopment/Wikis/aaa/PluginTest'
Error creating wiki. If you make a bug report please include all the output after you ran MakeWiki.sh
sed: can't read ./Wikis/aaa/PluginTest/tiddlywiki.info: No such file or directory

Any help much appreciated. Thanks

Error in running Setup.sh

This is what I got on the terminal when I run Setup.sh

$ ./Setup.sh                                                                                                                                                                                   
Welcome to the setup script!                                                                                                                                                                   
                                                                                                                                                                                               
Run this script to help setup your development environment for tiddlywiki 5.                                                                                                                   
If you move your plugin development folder you must re-run this script.                                                                                                                        
                                                                                                                                                                                               
Patching tiddlywiki to work with this version of the plugin library                                                                                                                            
creator.                                                                                                                                                                                       
s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.pluginsPath))\;/var pluginsPaths = $tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar);for(var u
=0; u<pluginsPaths.length; u++) {collectPublisherPlugins(pluginsPaths[u]);}/g                                                                                                                  
sed: can't read s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.pluginsPath))\;/var pluginsPaths = $tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsE
nvVar);for(var u=0; u<pluginsPaths.length; u++) {collectPublisherPlugins(pluginsPaths[u]);}/g: No such file or directory                                                                       
sed: can't read s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.themesPath))\;/var themesPaths = $tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVa
r);for(var u=0; u<themesPaths.length; u++) {collectPublisherPlugins(themesPaths[u]);}/g: No such file or directory                                                                             
sed: can't read s/collectPlugins(path.resolve($tw.boot.corePath,$tw.config.languagesPath))\;/var languagesPaths = $tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEn
vVar);for(var u=0; u<languagesPaths.length; u++) {collectPlugins(languagesPaths[u]);}/g: No such file or directory                                                                             
                                                                                                                                                                                               
Enter the author name, this will be used as the author name for plugins you                                                                                                                    
create. It can be changed in the future by reruning this script or editing                                                                                                                     
Author.txt                                                                                                                                                                                     
                                                                                                                                                                                               
Author Name (press enter to leave as DEFAULTAUTHOR):                                                                                                                                           

[BUG] The index.html of plugin library seems incorrect

After successful creating plugins and testing them, I create plugin library using:

./MakePluginLibrary.sh and the output directory with library was created. It has

  • index.html
  • recipes/library

So everything was successful!
Then I used github pages to host static files, and did all configuration
I used the library in tiddlywiki.com but I noticed library is empty.

I investigated the index.html and I see the below

var assetList = ;

/*\
title: $:/plugins/tiddlywiki/pluginlibrary/libraryserver.js
type: application/javascript
module-type: library

A simple HTTP-over-window.postMessage implementation of a standard TiddlyWeb-compatible server. It uses real HTTP to load the individual tiddler JSON files.

\*/
(function(){

While this should be the list of plugins

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.