Coder Social home page Coder Social logo

pydayone's Introduction

pyDayOne

A Windows based python app to show your Day One entries and let you make new ones. Tested in Windows 7.

FAQ

Q. Why?

Ans. Because Windows Day One support is sad (read: non-existant).

Q. Hasn't this been done before on BitBucket

Ans. Yes and No. The bitbucket one is in .NET. Very sucky. Python is cross-platform and has everything you need.

Q. Bugs exist

Ans. Probably.

Requirements

The following python modules need to be installed -

  1. pyGTK

How to Run this?

  1. You can run it from command prompt/terminal with the command - "python pyDayOne.py"
  2. You can compile it into an exe/app and if you do, you can give it to me too, so I can distribute it to people. :)

Major Bugs -

  1. Doesn't support many languages like Chinese (utf-8 encoding only)

Bitdeli Badge

Bitdeli Badge

pydayone's People

Contributors

bitdeli-chef avatar nitinthewiz 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pydayone's Issues

Changes required for running in Linux

What changes in this code would need to be made to get it to run in Linux?

I started to look myself and changed a few things but haven't had much luck. It tends to get hung up on not being able to find the journal entries even when I point it in the correct location.

I'm guessing it's something to do with path names and \ vs /.

Requires wxPython

Upon trying to start the app with python, I kept getting an error that read no module named wx, which I learned was related to my not having wxPython installed.

May want to mention within the README that this requires wxPython.

Ran in IDLE, got error

Traceback (most recent call last):
  File "C:\Users\tenkabuto\Desktop\pyDayOne.py", line 222, in <module>
    app = MyApp(0)
  File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\Users\tenkabuto\Desktop\pyDayOne.py", line 217, in OnInit
    frame = MyFrame(None, -1, 'pyDayOne')
  File "C:\Users\tenkabuto\Desktop\pyDayOne.py", line 86, in __init__
    tree = ET.parse(self.directory+file)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1177, in parse
    tree.parse(source, parser)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 653, in parse
    parser.feed(data)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1624, in feed
    self._raiseerror(v)
  File "C:\Python27\lib\xml\etree\ElementTree.py", line 1488, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 1, column 7

TypeError: String or Unicode type require

This sounds like a life saver, but alas I cannot get it to run, it returns the following.

Traceback (most recent call last):
File "C:\Users\username\Desktop\pyDayOne.py", line 222, in
app = MyApp(0)
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7981, in init
self._BootstrapApp()
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7555, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "C:\Users\username\Desktop\pyDayOne.py", line 217, in OnInit
frame = MyFrame(None, -1, 'pyDayOne')
File "C:\Users\username\Desktop\pyDayOne.py", line 118, in init
self.text.SetValue(self.sorted_dict[single_entry])
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_controls.py", line 1754, in SetValue
return controls.TextCtrl_SetValue(_args, *_kwargs)
TypeError: String or Unicode type required

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.