Giter Club home page Giter Club logo

enotepad's People

Contributors

aaronps avatar igorclark avatar morabaraba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

enotepad's Issues

./emaker not working on OS X

Hi

Tried it on os x:

x-MacBook-Air:enotepad x$ ./emaker
readlink: illegal option -- e
usage: readlink [-n] [file ...]
escript: Failed to open file: .erl

changed the script

x-MacBook-Air:enotepad x$ git diff
diff --git a/emaker b/emaker
old mode 100644
new mode 100755
index 5d237de..f94983d
--- a/emaker
+++ b/emaker
@@ -1,4 +1,5 @@
 #!/bin/bash

-escript `readlink -en "$0"`.erl $@
+#escript `readlink -en "$0"`.erl $@
+escript emaker.erl $@

and then it worked as seen in this screenshot.

Can I submit the one-liner patch?

screenshot

Can not start enotepad on Windows 10

Hi,

I will be trying to solve this on my own. But thought I would create the issue so-long.

I did a git clone made sure escript is in my %PATH% and tried to start it, to only get the following output.

C:\Users\xxx\prj\enotepad>echo %PATH%
...;C:\Program Files\erl7.2.1\bin

C:\Users\xxx\prj\enotepad>emaker
Making 'ENotepad - Notepad clone using Erlang' Version 1.0.0
Recompile: src/wxFindReplaceDialog_ex
Recompile: src/wxFindDialogEvent_ex
Recompile: src/enotepad_wx
Recompile: src/enotepad_util
Recompile: src/enotepad_text
Recompile: src/enotepad_sup
Recompile: src/enotepad_statusbar
Recompile: src/enotepad_print
Recompile: src/enotepad_menu
Recompile: src/enotepad_font
Recompile: src/enotepad_file
Recompile: src/enotepad_config
Recompile: src/enotepad_app
Recompile: src/enotepad
ok

C:\Users\xxx\prj\enotepad>erl -pa ebin
Eshell V7.2.1  (abort with ^G)
1> enotepad:main().
** exception exit: undef
     in function  filename:basedir/2
        called as filename:basedir(user_config,"ENotepad")
     in call from enotepad_config:load/0 (src/enotepad_config.erl, line 19)
     in call from enotepad_wx:init/1 (src/enotepad_wx.erl, line 110)
     in call from wx_object:init_it/6 (wx_object.erl, line 337)
     in call from proc_lib:init_p_do_apply/3 (proc_lib.erl, line 240)
2>
C:\Users\xxx\prj\enotepad>erl -pa ebin
Eshell V7.2.1  (abort with ^G)
1> application:start(wx), application:start(enotepad).
{error,
    {{shutdown,
         {failed_to_start_child,enotepad,
             {undef,
                 [{filename,basedir,[user_config,"ENotepad"],[]},
                  {enotepad_config,load,0,
                      [{file,"src/enotepad_config.erl"},{line,19}]},
                  {enotepad_wx,init,1,
                      [{file,"src/enotepad_wx.erl"},{line,110}]},
                  {wx_object,init_it,6,[{file,"wx_object.erl"},{line,337}]},
                  {proc_lib,init_p_do_apply,3,
                      [{file,"proc_lib.erl"},{line,240}]}]}}},
     {enotepad_app,start,[normal,[]]}}}

=INFO REPORT==== 21-Nov-2016::18:39:50 ===
    application: enotepad
    exited: {{shutdown,
                 {failed_to_start_child,enotepad,
                     {undef,
                         [{filename,basedir,[user_config,"ENotepad"],[]},
                          {enotepad_config,load,0,
                              [{file,"src/enotepad_config.erl"},{line,19}]},
                          {enotepad_wx,init,1,
                              [{file,"src/enotepad_wx.erl"},{line,110}]},
                          {wx_object,init_it,6,
                              [{file,"wx_object.erl"},{line,337}]},
                          {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,240}]}]}}},
             {enotepad_app,start,[normal,[]]}}
    type: temporary
2>

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.