Creating a team of python/javascript programmers to fix the <<back>> bug and maybe go further??

130 views
Skip to first unread message

Philip Sutton

unread,
Mar 8, 2012, 7:33:57 AM3/8/12
to Tweecode, Philip...@green-innovations.asn.au
Hi all,

I'm very new to Twine and the Tweecode Google group. So apologies to
the long standing twee/Twine community for butting in. (Please tell
me to pull my head in if the plan of action below is not needed).

I notice that people have been talking about fixing the <<back>> macro
bug for the last 2 years.

I've been talking to Chris Klimas (the developer of Twine/twee), by
email, and he's said he's keen for others to take on the task of
fixing the bug. Chris is obviously busy with the rest of his life, so
we are going to have to bring together the necessary expertise
ourselves.

Twine is written in Python and also uses Javascript (as an output into
the html output game/story files). Because I'm not a programmer
myself, I've just put out a call for Python/Javascript programmers
through a few networks that I'm in. I've had initial expressions of
interest from 3 people (so far). I expect that further expressions of
interest will come in over the next few days.

So.......

I was wondering whether there are any Python/Javascript programmers
who are subscribed to this Tweecode Google Group?

It seems to me it would be good to form a group of programmers who
could work together and share the workload and provide a bit of
support to each other.

I would like to focus initially on the <<back>> macro bug in
**Twine**. If the team succeeds in fixing that in the next few months
then we could consider where to go from there after that?

Does anyone on this list (whether a programmer or not) want to join
the team? (with one caveat, that our first task is the <<back>> macro
bug in Twine).

Cheers,

Philip Sutton

Email: Philip.Sutton @ green-innovations.asn.au
Skype ID: philip_sutton (email me first to set up a time to talk)
(Located in Melbourne, Australia)





Susan Douglas

unread,
Mar 8, 2012, 10:19:57 AM3/8/12
to Tweecode
I am just learning Python.

I am not an expert JavaScripter, but I have used it enough to know my
way around.

I've been programming web applications for over 15 years mostly in
Perl, C, Java, and PHP.

I would love to work on this project.

I have become familiar with the twee code by creating a new output
type compatible with Undum/Vorple. My next trick will be to make it
compatible with Ren'Py.

Susan


On Mar 8, 8:33 am, Philip Sutton <philip.sut...@green-

Philip Sutton

unread,
Mar 8, 2012, 11:41:31 AM3/8/12
to Tweecode, Philip...@green-innovations.asn.au, Susan Douglas
Susan,

Thanks for your keen interest.

I think I might have about 4 people responding, so far, to my call for
help via my personal networks. I'll suggest to the other people that
they join the Tweecode Google group so that everyone can access our
communications.

I also plan to go through the Tweecode group discussion threads and
find people to personally invite to join in.

We need to talk to Chris Klimas to work out how the results of our
work can feed in to him. I'l report back on that as soon as I've got
news.

Let's start with a focus on fixing the <<back>> macro bug in
**Twine**.

The source code for Twine is at:
http://code.google.com/p/twee/source/browse/
http://code.google.com/p/twee/source/checkout

And source code changes can be found at:
http://code.google.com/p/twee/source/list

Twine and Twee have been written with Python. And Twee runs on
Python. I've found two links in the documentation to 2 different
sources of Python.

There's a link to:
http://www.python.org/download/releases/

I think the version to run Twee on is Python 2.7.2 (June 11, 2011).
(The new series 3 Python is most likely not compatible with Twee??)

But somewhere else in the Twine/Twee documentation (can't remember
where now) I found a link to another version of Python:
http://www.wxpython.org/

I've got a feeling that Twine and Twee might have been written with
wxPython. We need to check this with Chris Klimas. I'll report back
when I find out.

The official list of bugs for Twine and Twee can be found at:
http://code.google.com/p/twee/issues/list

As soon as we get a few experienced Python programmers to join the
team, we need to develop a plan for how to diagnose the cause of the
<<back>> macro bug in **Twine**. And then there needs to be a plan
for how to overcome the bug. Since the solution could perhaps have
implications for some parts of the Twine/Twee architecture we need to
have a discussion with Chris Klimas again to work out how to make
decisions on that. I might hold off on this until we know a bit more
about what is causing the bug?? What do you think?

That's about as far ahead my thinking can run right now.

Cheers, Philip

Philip Sutton

unread,
Mar 8, 2012, 8:09:33 PM3/8/12
to Tweecode, Philip...@green-innovations.asn.au
Hi all,

I've just had important emails to me privately from Chris Klimas (the
Twee/Twine developer) and 'Chris' (a long standing member of the Twee/
Twine community) that I'll report to you when I've double checked with
them. So stand by for some encouraging developments in a few hours or
a day (depending on how fast my email conversations turn around). We
have a growing band of Python/JavaScript programmers coming into this
project to move the coding along - welcome to Susan Douglas from the
Twee/Twine community and the new people: Bo Daley, Dave Fregon and
Danny Yee. I'm in discussion with another few people who might get
involved too. I'll introduce them later when it's clearer that they
want contribute.

Cheers, Philip
Message has been deleted

Philip Sutton

unread,
Mar 8, 2012, 11:26:56 PM3/8/12
to Tweecode
Hi all,

I'd like to float two related ideas.

Ho about we create a single Twine document to hold all our ideas for
the development of Twine - all the divergent alternative ideas and
their reasons and rationale, and their pros and cons? Using Twine for
design/strategy purposes might help us imagine new functionality that
could be built in or be available through plug-ins.

And how about using the Twine author's document GUI to map the modular
structure (and data flows?) of the Twine software - currently and
under alternative scenarios?

Cheers, Philip

maanto

unread,
Mar 8, 2012, 11:39:55 PM3/8/12
to Tweecode
Hi. In response to your OP, I'd like to say I am somewhat of a
programmer and a writer, but neither a master.
That said, I'd like to help in any way, however I've been up to my
eyes lately balancing 2 jobs, a family, a side project, etc.
However, I will pop in now and then to offer any amount of advice or
comment wherever I can help out.
So, sadly I'll have to cheer on from the sidelines currently.
I do want to take this opportunity to say that I do believe Twee/Twine
is really amazing and from what I've seen from this community, other
creations, and the source docs, I really do think it's one of the best
interactive literary tools we have access to. I'm really glad to be
even a small part of it.

Anyway, I am not very familiar with Python, but I do know a fair
amount of JS, HTML and other web codey-stuff.
However, after some troubleshooting of my own a while ago, I do
believe you're right about wxPython, as I had to install that exact
library to get Twee to work at one point.
Also, one thing I noticed about the <<back>> macro that might be
helpful (hopefully not a red herring) is that it didn't work in IE,
but did work in Chrome and Firefox when I compiled a story with Twee.
Maybe that's worth looking into at some point, maybe not. I haven't
figured out what it means yet if anything or if it's just an
incompatibility that a specific older version of IE will always have
(I'll check it tomorrow when I have access to that exact browser
again).

On Mar 8, 5:09 pm, Philip Sutton <philip.sut...@green-

Philip Sutton

unread,
Mar 9, 2012, 12:11:59 AM3/9/12
to Tweecode
Hi all,

A suggested TASK:

Would anyone have time in the next week or so to go through the list
of members of this Tweecode list to extract their email addresses? I
puled off 8 email addresses for people who seemd to be engaging mainly
in programmer/developer mode. But there are 143 people on the list.

I propose we use this email list **twice** and then delete it.

I think we should email everyone on the list .....

the first time, to say that we are developing an active Twine/Twee
community and that participation is welcome - to develop the user 'how
to' guides and user templates, code, ideas etc. (as well as
programming),

and the second time, to announce the creation of the first new version
of Twine in 2 years!

Cheers, Philip

FireWally

unread,
Mar 9, 2012, 4:23:42 AM3/9/12
to twee...@googlegroups.com, Philip...@green-innovations.asn.au
Hi all,
i just wanted to say, that i learned something like basics of python while developing a plugin for OCTGN2 program.
So I'm ready to help

Maciej (aka. FireWally)

Philip Sutton

unread,
Mar 9, 2012, 5:19:46 AM3/9/12
to Tweecode
Hi all,

I've started to develop a Twine document to contain all the
information we need to drive the Twine/Twee development/recovery
program.

You can download it from my dropbox:

Twine file: http://dl.dropbox.com/u/25549414/Twine%20development.tws

Html: http://dl.dropbox.com/u/25549414/Twine%20development.html

I've scoped things out but haven't captured all the information that's
being flying around in emails over the last few days. It will take me
some hours to do that.

The files are updated instantaneously as I work.

Philip Sutton

unread,
Mar 10, 2012, 2:00:32 AM3/10/12
to Tweecode
Hi all,

The action plan for Twine has been substantially enhanced.
If anyone wants to be involved could they read the doc. there's also
a personal page for people to include details of their skills and
interests - check under "People"

Cheers, Philip


On Mar 9, 9:19 pm, Philip Sutton <philip.sut...@green-
Message has been deleted

Philip Sutton

unread,
Mar 11, 2012, 11:39:57 AM3/11/12
to Tweecode
I just wanted to make a pre-announcement announcement. Susan Douglas
has just worked out how to fix the <<back>> macro bug and this has
been confirmed by Bo Daley. So a new version of Twine/Twee will be
available shortly. We will work with Chris Klimas to get the fixed
version up on his site as soon as possible.

Susan will give a fuller report shortly (I hope! :) when she gets a
moment.

M. C. DeMarco

unread,
Mar 13, 2012, 6:16:29 PM3/13/12
to twee...@googlegroups.com
I'm looking forward to the fix. You inspired me to experiment with
using jQuery Mobile to make a mobile version of my twee stories. So
far it's going better than I expected. Let me know if you're
interested in integrating that sort of thing with the current story
formats or making a new mobile story format. I should be able to post
an example in a day or two.

Thanks,
mary

On Sun, Mar 11, 2012 at 12:25 AM, Philip Sutton
<philip...@green-innovations.asn.au> wrote:
> I just wanted to make a pre-announcement announcement.  Susan Douglas
> has just worked out how to fix the <<back>> macro bug and this has
> been confirmed by Bo Daley.  So a new version of Twine/Twee will be

> available shortly.  We will work with Chris Klimas to get the fied


> version up on his site as soon as possible.
>

> Susan will give a fuller report shortly (I hope! :) when she get a
> moment.


>
> Cheers,
>
> Philip Sutton
>
> Email: Philip.Sutton   @  green-innovations.asn.au
> Skype ID: philip_sutton   (email me first to set up a time to talk)
> (Located in Melbourne, Australia)
>

> --
> You received this message because you are subscribed to the Google Groups "Tweecode" group.
> To post to this group, send email to twee...@googlegroups.com.
> To unsubscribe from this group, send email to tweecode+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tweecode?hl=en.
>

--
___________________
mcde...@gmail.com
http://gplus.to/mcdemarco
http://www.mcdemarco.net
http://twitter.com/mcdemarco

Måns

unread,
Mar 14, 2012, 4:00:59 AM3/14/12
to Tweecode
Hi Philip

I'd want to say that this is a great initiative - which already shows
that there are a lot of gifted people who show interest in making
Twine work as intended - and develop it further..

Undum output - mobile app - online hosting ... what will be next :-)

Good job! Congratulations..
Very inspiring development indeed!!

Thanks.

Cheers Måns Mårtensson

On 8 Mar., 13:33, Philip Sutton <philip.sut...@green-

Philip Sutton

unread,
Mar 14, 2012, 7:55:16 AM3/14/12
to twee...@googlegroups.com
Måns,

> Undum output - mobile app - online hosting ... what will be next :-)

Maybe this? (from Strangelander)

Thanks for your encouragement too.  :)

Cheers, Philip




Date sent:                   Wed, 14 Mar 2012 01:00:59 -0700 (PDT)
Subject:                      [tweecode] Re: Creating a team of python/javascript programmers to
                                  fix the <<back>> bug and maybe go further??
From:                          Måns <huma...@gmail.com>
To:                              Tweecode <twee...@googlegroups.com>
Send reply to:              twee...@googlegroups.com

Stormrose

unread,
Apr 12, 2012, 7:57:40 AM4/12/12
to Tweecode / Twine
I might be of some use. I'm okay with HTML, CSS, JavaScript - and
this would be a good chance to learn Python.

A question: The http://code.google.com/p/twee/ group lets us download
sourecode but not upload it. How will our changes be
1) uploaded
2) vetted and accepted?

On Mar 9, 12:33 am, Philip Sutton <philip.sut...@green-

Bo Daley

unread,
Apr 12, 2012, 8:11:36 AM4/12/12
to twee...@googlegroups.com
Hi Stormrose,

We figured this might be a good time to get the code moved across to
github, which makes it easier for developers to fork the code, make
modifications, and request to have their changes merged back into the
master branch.

Twine is here: https://github.com/tweecode/twine

the other packages are here: https://github.com/tweecode

Some work has gone into identifying bugs and and possible improvements
here: https://github.com/tweecode/twine/issues

hope that helps..

bo.

> --
> You received this message because you are subscribed to the Google Groups "Tweecode / Twine" group.

Stormrose

unread,
Apr 12, 2012, 8:29:44 AM4/12/12
to twee...@googlegroups.com
Thanks. I just found Philip's announcement on this here:  
http://dl.dropbox.com/u/25549414/Twine-development.html#24.2r.15.3o 

I'm new to this github thing (though I've done sourceforge and used VC systems before). Hello World time.

> To unsubscribe from this group, send email to tweecode+unsubscribe@googlegroups.com.

M. C. DeMarco

unread,
Apr 12, 2012, 10:15:32 AM4/12/12
to twee...@googlegroups.com
If you're on a mac, GitHub for mac is very helpful. I'm usually a
command-line person, but I like the GUI. It's made learning git as I
go much easier.

mary

>> > tweecode+u...@googlegroups.com.


>> > For more options, visit this group at
>> > http://groups.google.com/group/tweecode?hl=en.
>> >
>

> --
> You received this message because you are subscribed to the Google Groups
> "Tweecode / Twine" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/tweecode/-/XSgfC6KdZVAJ.


>
> To post to this group, send email to twee...@googlegroups.com.
> To unsubscribe from this group, send email to

> tweecode+u...@googlegroups.com.


> For more options, visit this group at
> http://groups.google.com/group/tweecode?hl=en.

--

Reply all
Reply to author
Forward
0 new messages