Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: python setup.py install error
Post: RE: python setup.py install error
(Jan-07-2021, 03:00 AM)snippsat Wrote: You get that message because you use Python 2 which is now over end of life👻
In command line test python3 -V and pip3 -V.
If not install look at Apk add python... |
|
blackclover |
General Coding Help |
2 |
7,942 |
Jan-07-2021, 04:36 AM |
|
|
Thread: python setup.py install error
Post: python setup.py install error
Hi,
while trying to install a python program (Trelby) on Alpine Linux, I get the following error message:
$ sudo python setup.py install
File "setup.py", line 40
print(line, end=' ')
... |
|
blackclover |
General Coding Help |
2 |
7,942 |
Jan-07-2021, 02:25 AM |
|
|
Thread: Error loading Trelby.py
Post: RE: Error loading Trelby.py
Update,
I was able to fix the problem by uninstalling python3 and the reinstalling Trelby. |
|
blackclover |
General Coding Help |
3 |
2,517 |
Jan-05-2021, 10:08 PM |
|
|
Thread: Error loading Trelby.py
Post: RE: Error loading Trelby.py
(Jan-05-2021, 03:47 AM)bowlofred Wrote: Hmm. I don't think you should see that error on 2.7. Perhaps you are invoking a different python version?
But that error is expected on python3. Just chan... |
|
blackclover |
General Coding Help |
3 |
2,517 |
Jan-05-2021, 07:09 AM |
|
|
Thread: Error loading Trelby.py
Post: Error loading Trelby.py
Hi,
I'm trying to run Trelby on Void Linux.
When I run the program from the terminal, I get the following error:
$ trelby
Traceback (most recent call last):
File "/bin/trelby", line 8, in <... |
|
blackclover |
General Coding Help |
3 |
2,517 |
Jan-05-2021, 02:29 AM |
|
|
Thread: Menus and icons changed after upgrade
Post: Menus and icons changed after upgrade
I've been experiencing this problem lately after upgrading my systems (both in debian testing and archlinux).
All python apps menus (geany, trelby, etc) changed the appearance of their menus bars, and... |
|
blackclover |
GUI |
0 |
1,932 |
May-11-2018, 08:14 PM |
|
|
Thread: Clear cache
Post: Clear cache
How do I clear the config files cached in python so that when I modify a config file in a program, python does not load the previous version? |
|
blackclover |
General Coding Help |
0 |
2,782 |
May-09-2018, 12:13 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
this is the same as the trelby.py file in the trelby/src dir of the installed program. see i'm a bit over my head here, LOL. I found the cache references, how would I know which one does what and whic... |
|
blackclover |
GUI |
20 |
9,045 |
May-07-2018, 05:08 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
I think the problem lies in the fact that python seems to have cached the finddlg.py file somewhere and uses the cached one even if I edit the one in /trelby/src/.
In fact trelby runs and has the find... |
|
blackclover |
GUI |
20 |
9,045 |
May-06-2018, 12:50 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
has been suggested that I modify the code this way:
class FindDlg(wx.Dialog):
def __init__(self, parent, ctrl):
wx.Dialog.__init__(self, parent, -1, "Find & Replace", pos=(443, 102),
... |
|
blackclover |
GUI |
20 |
9,045 |
May-05-2018, 07:23 PM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
python2 2.7.14-3.0
Trelby depends on:
python2
python-wxgtk
python-crypto
python-lxml
Note:
The official version of Trelby-2.2 runs with python-wxgtk2.8
If you use python-wxgtk3.0, you need to re... |
|
blackclover |
GUI |
20 |
9,045 |
May-03-2018, 04:55 PM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
you mean it can't be done? |
|
blackclover |
GUI |
20 |
9,045 |
May-03-2018, 08:15 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
here go the files again:
UNDO.PY
import screenplay
import zlib
# Which command uses which undo object:
#
# command type
# ------- ------
#
# removeElementTypes Fu... |
|
blackclover |
GUI |
20 |
9,045 |
May-02-2018, 05:10 PM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
here's the file again.
UNDO.PY
import screenplay
import zlib
# Which command uses which undo object:
#
# command type
# ------- ------
#
# removeElementTypes Full... |
|
blackclover |
GUI |
20 |
9,045 |
May-02-2018, 05:37 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
OK, here is misc.py again
MISC.PY
# -*- coding: iso-8859-1 -*-
import gutil
import opts
import util
import os
import os.path
import sys
if "TRELBY_TESTING" in os.environ:
import mock
wx =... |
|
blackclover |
GUI |
20 |
9,045 |
May-01-2018, 10:48 PM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
I hope I understood you alright and this is what you asked.
I took this code from files in the trelby/src directory
CONFIG.PY
# see fileformat.txt for more detailed information about the various
# d... |
|
blackclover |
GUI |
20 |
9,045 |
May-01-2018, 06:09 PM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
Changed POS to pos.
Now it runs fine, but window pops up in the center as before.
I tried to change the 10,10 values but nothing changed, like the default position is unaffected by the change in the l... |
|
blackclover |
GUI |
20 |
9,045 |
May-01-2018, 08:04 AM |
|
|
Thread: Search window position in Trelby
Post: RE: Search window position in Trelby
Larz60+
Thanks for your answer.
I made the change as indicated (just those 2 lines) on a test partition (better safe than sorry).
The Find windows now does not function and, running Trelby in the term... |
|
blackclover |
GUI |
20 |
9,045 |
May-01-2018, 01:26 AM |
|
|
Thread: Search window position in Trelby
Post: Search window position in Trelby
Hi,
First off, I'm a writer and know nothing about coding and Python.
I use a writing program named Trelby, which is written in Python.
I want to modify the default position of the "find & replace... |
|
blackclover |
GUI |
20 |
9,045 |
Apr-29-2018, 10:49 PM |