Trelby can't start or install in Manjaro-Linux

323 views
Skip to first unread message

leoni...@gmail.com

unread,
Aug 19, 2015, 6:47:38 PM8/19/15
to Trelby
Hi, I'm a young italian screenwriter and a linux user, I use this fantastic program for my works, I would say thanks to all the developers :-)
I'm here to ask for help. I recently reinstalled my OS (Manjaro-Linux, a derivate from Arch), but I can't install anymore Trelby from AUR, so I downloaded the .tar.gz package from the site. I followed the instructions from the README file ("You have to copy trelby/ to /opt/trelby/. Afterwards you can run the program with the command "/opt/trelby/src/trelby.py".), but when I run the program I get this error:

/opt/trelby/src/trelby.py
  File "/opt/trelby/src/trelby.py", line 131
    os.mkdir(misc.toPath(misc.confPath), 0755)
                                            ^
SyntaxError: invalid token


So I downloaded the git-hub version, run the setup.py file and get another error:

  File "setup.py", line 40
    print line,
             ^
SyntaxError: Missing parentheses in call to 'print'


I think that all dependencies are installed, so I don't know how to solve this problem. Can anyone help me, please?
Thank you.

Anil Gulecha

unread,
Aug 20, 2015, 12:59:24 AM8/20/15
to tre...@googlegroups.com
This is because Trelby is written for Python 2.7, and you're running it with Python 3.

Thanks

--

---
You received this message because you are subscribed to the Google Groups "Trelby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trelby+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

leoni...@gmail.com

unread,
Aug 20, 2015, 4:55:03 AM8/20/15
to Trelby
Ok. I can't run the website package, it asks me to install the wxwidgets2 that I have alrealdy installed. Instead I succesfully installed and started the git-hub package.
For any noob like me, the command is python2 setup.py install, then to start the program python2 /opt/trelby/src/trelby.py
Thank you so much!

baghe...@gmail.com

unread,
Nov 3, 2015, 5:03:57 AM11/3/15
to Trelby, leoni...@gmail.com

davidjos...@gmail.com

unread,
Nov 15, 2015, 2:26:05 PM11/15/15
to Trelby, leoni...@gmail.com, baghe...@gmail.com
Hello, I'm currently running Debian Jessie (8.x) and had the similar dependencies problem as the OP when trying to install Trelby. I tried installing with both the .deb and the .tar.gz from http://www.trelby.org/download, only to get the install error as outlined in this issue.

After a few hours of research I discovered that the fix I needed was pushed to the most recent trunk, so I'm happily running Trelby now after cloning and installing. Which leads to the question that shouldn't someone update the http://www.trelby.org/download page? At least add a link to GitHub with some text like "Did the above linux downloads not work? Try downloading the most recent trunk at https://github.com/oskusalerma/trelby". Not all users would go through the effort of searching through google forums and github issues.

Thanks for the great free (!) software btw :)

Osku Salerma

unread,
Nov 15, 2015, 2:27:43 PM11/15/15
to tre...@googlegroups.com, baghe...@gmail.com, leoni...@gmail.com

Yes, we've needed to do a new release for years now. Lack of manpower...

Reply all
Reply to author
Forward
0 new messages