VectorLinux
August 30, 2014, 10:06:19 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: [solved] etm_qt 2.1.5-i586-2vl70  (Read 8321 times)
MarkGrieveson
Vectorian
****
Posts: 531


« on: October 15, 2013, 11:24:12 am »

Hello.  I have a stable system, but I was curious about etm_qt 2.1.5-i586-2vl70, which is in the testing repository (there is no etm_qt in the stable repository).  So, I enabled testing, installed it successfully, and then disabled testing.  However, when trying to run it, I get the following:

Code:
vector:/~
mark:$ etm_qt.py
Traceback (most recent call last):
  File "/usr/bin/etm_qt.py", line 8, in <module>
    import etmQt.etmData as etmData
  File "/usr/lib/python2.7/site-packages/etmQt/etmData.py", line 17, in <module>
    from PyQt4.QtGui import QApplication
RuntimeError: the sip module implements API v9.0 to v9.1 but the PyQt4.QtGui module requires API v8.1
vector:/~
« Last Edit: October 16, 2013, 06:10:45 am by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
sledgehammer
Vectorian
****
Posts: 1421



« Reply #1 on: October 15, 2013, 12:37:44 pm »

I didn't know it was in the testing repository.  I have been installing it with easy install.  

root:# easy_install -U etm_qt

If you get on the etm_qt web site (http://people.duke.edu/~dgraham/etmqt/), there are some instructions.  I think I had to install python qt or some such but can't recall.

You can also post a question on the etm forum: https://groups.google.com/forum/?fromgroups#!forum/eventandtaskmanager

John




« Last Edit: October 15, 2013, 12:39:26 pm by sledgehammer » Logged

VL7.0 xfce4 Samsung RF511
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #2 on: October 15, 2013, 04:37:47 pm »

Mark,

what version of sip and PyQt you having?
Logged
sledgehammer
Vectorian
****
Posts: 1421



« Reply #3 on: October 15, 2013, 06:53:35 pm »

Mark,

Also, the latest  etm version is 2.3.0.

Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #4 on: October 15, 2013, 07:47:32 pm »

Hello hata_ph.  I have pyqt4 version 4.8.3-i486-1vl70 installed and I have sip version 4.14.2-i586-1vl70 installed.  I do not have PyQt installed, so I shall try installing that now (version 4.9.6-i586-1vl70) and see.  It's telling me that doing this will remove pyqt4, so I'm going ahead.

Okay, it did work after this.  But the cursor-messages are really light and hard to see.
Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #5 on: October 15, 2013, 07:50:21 pm »

Hi John.  I tried converting the source of 2.3.0 with vpackager, but that didn't work.  It created a package, but the only files were a couple of documents.  Perhaps I'll try the link you've given, though I generally prefer to install actual Vector packages.
Logged

I am using VL7.0 standard with XFCE
sledgehammer
Vectorian
****
Posts: 1421



« Reply #6 on: October 15, 2013, 08:26:46 pm »

For what its worth, I have sip 4.14.2 (from the vl7.0 repository) and PyQt 4.9.6, also from the vl7.0 repository. 

You need to delete  pyqt4 version 4.8.3-i486-1vl70 and install PyQt 4.9.6.
Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #7 on: October 16, 2013, 06:10:25 am »

Hi John.  Okay, I did as you suggested, and it works now.  Also, the cursor messages are now black text rather than white, so I can see them now, which is good -- seems that the cursor messages are white when the program is run via "etm_qt.py" on the command line, whereas when run from the menu it's fine.  Anyway, it looks like it could be a useful program.  I look forward to checking it out.
Logged

I am using VL7.0 standard with XFCE
sledgehammer
Vectorian
****
Posts: 1421



« Reply #8 on: October 16, 2013, 08:48:53 pm »

Mark,

I forgot to mention that if you want to use etm with conky (which I find quite helpful...conky is in the repositories), you have to add the following line in the .etm/etm.cfg file (replacing the existing action_status line):

Quote
action_status: {paused: 'echo !summary!: !time!, paused > ~/.etm/timer_status.text', running: 'echo !summary!: !time!, running > ~/.etm/timer_status.text', stopped: 'echo  > ~/.etm/timer_status.text'}

The necessary conky code is found at "xfce4 always on top" in the VL forum "software"

Quote

Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #9 on: October 19, 2013, 05:23:54 am »

There is no action_status line in my etm.cfg file.  All the lines in the file are preceded with !!python/unicode.  Anyway, I'll try installing conky and adding the line you've given, and see.

Did that.  I'm not sure what exactly I'm supposed to see, though.  Conky is present, listing processes.  ETM works, though I'm not completely sure how exactly to use it.  I had created a new event or task, and timed something, and saved it, but unlike most applications, there doesn't seem to be a "file open" option.  I'll keep looking at it.  Likely the best advice for me is to read the manual.
Logged

I am using VL7.0 standard with XFCE
sledgehammer
Vectorian
****
Posts: 1421



« Reply #10 on: October 19, 2013, 09:31:22 pm »

Mark,

Here is the line which conky needs, from my etm.cfg:

action_status: {paused: 'echo !summary!: !time!, paused > ~/.etm/timer_status.text', running: 'echo !summary!: !time!, running > ~/.etm/timer_status.text', stopped: 'echo  > ~/.etm/timer_status.text'}

I have posted the contents of my conky file on another thread (always on top or something like that, if I recall).

Perhaps you are not using etm_qt 2.3.0 or perhaps I misnamed the file in my earlier email.  Regarding the rest of your email, yes, looking over the directions is helpful, as is following along and posting in the etm forum:

https://groups.google.com/forum/?fromgroups#!forum/eventandtaskmanager

The directions will explain mercurial, which is crucial for long-term use.  Perhaps someone will someday package etm with conky and mercurial.  That would be helpful.

Anyway, for now, disorganized folks like me find etm_qt quite helpful.  For me, the significant and continuing learning curve is worth it (and I have still just scratched the etm surface, i.e. I am just now getting my feet wet with its  hierarchical feature). 



Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #11 on: October 23, 2013, 04:13:47 pm »

John, could you post a screenshot of your conky/etm_qt setup?  I'm curious what it looks like, because when I enter the line you suggested for etm.cfg, I get no difference when running the applications.
Logged

I am using VL7.0 standard with XFCE
sledgehammer
Vectorian
****
Posts: 1421



« Reply #12 on: October 23, 2013, 08:03:19 pm »

Can't get screenshot of .etm/etm.cfg as its more than one page.  So here is a copy of the contents of etm.cfg:

Quote
action_interval: 1
action_markups: {default: 1.0}
action_minutes: 6
action_rates: {default: 300.0}
action_status: {paused: 'echo !summary!: !time!, paused > ~/.etm/timer_status.text', running: 'echo !summary!: !time!, running > ~/.etm/timer_status.text', stopped: 'echo  > ~/.etm/timer_status.text'}

action_template: '!hours! $!value!) !label! (!count!)'
action_timer: {paused: '', running: ''}
agenda_colors: 2
agenda_days: 4
agenda_indent: 2
agenda_width1: 24
agenda_width2: 8
alert_default: [m]
alert_displaycmd: ''
alert_soundcmd: ''
alert_template: '!time_span!

  !l!


  !d!'
alert_voicecmd: ''
alert_wakecmd: ''
ampm: true
auto_completions: /home/johwhi/.etm/completions.cfg
calendars: []
current_htmlfile: ''
current_indent: 3
current_opts: ''
current_textfile: ''
current_width1: 50
current_width2: 17
datadir: /home/johwhi/.etm/data
dayfirst: false
email_template: '!time_span!

  !l!


  !d!'
etmdir: /home/johwhi/.etm
filechange_alert: ''
fontsize: 10
hg_commit: /usr/bin/hg commit -q -A -R {repo} -m "{mesg}"
hg_history: '/usr/bin/hg log --style compact --template "{rev}: {desc}\n" -R {repo}
  -p -r "tip":0 {file}'
hg_init: /usr/bin/hg init {0}
local_timezone: US/Pacific
monthly: monthly
report_begin: '1'
report_colors: 2
report_end: +1/1
report_indent: 2
report_specifications: /home/johwhi/.etm/reports.cfg
report_width1: 30
report_width2: 17
show_finished: 1
sms_from: ''
sms_message: '!summary!'
sms_phone: ''
sms_pw: ''
sms_server: ''
sms_subject: '!time_span!'
smtp_from: john@lawquest.com
smtp_id: Pta00053
smtp_pw: gtnr3c
smtp_server: mail.greatbasin.net
smtp_to: john@lawquest.com
sundayfirst: false
sunmoon_location: [Reno, NV]
vcal_exportfile: ''
weather_location: USNV0076&u=f
weeks_after: 52
window_height: 428
window_width: 464
yearfirst: true

Now here is a screenshot of .conkyrc

Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #13 on: October 24, 2013, 04:59:11 am »

Your etm.cfg file is different from mine.  Mine looks like this:

Quote
!!python/unicode 'action_interval': 1
!!python/unicode 'action_minutes': 6
!!python/unicode 'action_rates': {!!python/unicode 'default': 100.0}
!!python/unicode 'action_template': !!python/unicode '!hours!h $!value!) !label! (!count!)'
!!python/unicode 'action_timercmd': !!python/unicode ''
!!python/unicode 'agenda_colors': 2
!!python/unicode 'agenda_days': 4
!!python/unicode 'agenda_indent': 2
!!python/unicode 'agenda_width1': 24
!!python/unicode 'agenda_width2': 8
!!python/unicode 'alert_default': [!!python/unicode 'm']
!!python/unicode 'alert_displaycmd': !!python/unicode ''
!!python/unicode 'alert_soundcmd': !!python/unicode ''
!!python/unicode 'alert_template': !!python/unicode '!time_span!

  !l!


  !d!'
!!python/unicode 'alert_voicecmd': !!python/unicode ''
!!python/unicode 'alert_wakecmd': !!python/unicode ''
!!python/unicode 'ampm': true
!!python/unicode 'auto_completions': !!python/unicode '/home/mark/.etm/completions.cfg'
!!python/unicode 'calendars': []
!!python/unicode 'current_htmlfile': !!python/unicode ''
!!python/unicode 'current_indent': 3
!!python/unicode 'current_opts': !!python/unicode ''
!!python/unicode 'current_textfile': !!python/unicode ''
!!python/unicode 'current_width1': 50
!!python/unicode 'current_width2': 17
!!python/unicode 'datadir': !!python/unicode '/home/mark/.etm/data'
!!python/unicode 'email_template': !!python/unicode '!time_span!

  !l!


  !d!'
!!python/unicode 'etmdir': !!python/unicode '/home/mark/.etm'
!!python/unicode 'filechange_alert': !!python/unicode ''
!!python/unicode 'fontsize': 10
!!python/unicode 'hg_commit': !!python/unicode '/usr/bin/hg commit -q -A -R {repo}
  -m "{mesg}"'
!!python/unicode 'hg_history': !!python/unicode '/usr/bin/hg log --style compact --template
  "{rev}: {desc}\n" -R {repo} -p -r "tip":0 {file}'
!!python/unicode 'hg_init': !!python/unicode '/usr/bin/hg init {0}'
!!python/unicode 'local_timezone': !!python/unicode 'America/Toronto'
!!python/unicode 'monthly': !!python/unicode 'personal/monthly'
!!python/unicode 'report_begin': !!python/unicode '1'
!!python/unicode 'report_colors': 2
!!python/unicode 'report_end': !!python/unicode '+1/1'
!!python/unicode 'report_indent': 2
!!python/unicode 'report_specifications': !!python/unicode '/home/mark/.etm/reports.cfg'
!!python/unicode 'report_width1': 30
!!python/unicode 'report_width2': 17
!!python/unicode 'show_finished': 1
!!python/unicode 'sms_from': !!python/unicode ''
!!python/unicode 'sms_message': !!python/unicode '!summary!'
!!python/unicode 'sms_phone': !!python/unicode ''
!!python/unicode 'sms_pw': !!python/unicode ''
!!python/unicode 'sms_server': !!python/unicode ''
!!python/unicode 'sms_subject': !!python/unicode '!time_span!'
!!python/unicode 'smtp_from': !!python/unicode ''
!!python/unicode 'smtp_id': !!python/unicode ''
!!python/unicode 'smtp_pw': !!python/unicode ''
!!python/unicode 'smtp_server': !!python/unicode ''
!!python/unicode 'smtp_to': !!python/unicode ''
!!python/unicode 'sundayfirst': false
!!python/unicode 'sunmoon_location': []
!!python/unicode 'vcal_exportfile': !!python/unicode ''
!!python/unicode 'weather_location': !!python/unicode ''
!!python/unicode 'weeks_after': 52
!!python/unicode 'window_height': 428
!!python/unicode 'window_width': 464

Perhaps if I preface the line you suggested with "!!python/unicode", then it will work.

I'm assuming the "work on derian amendment:  120, running" aspect of the screenshot is what occurs with conky if the inserted line in etm.cfg is successfully working.  I'll give the code a try with the amendment for my file.
Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #14 on: October 24, 2013, 05:53:58 am »

Well, tried inserting it in slightly altered formats, but kept getting either errors or no results.  The most common error was "expected <block end>, but found '<scalar>'".  Anyway, it's not important.

The program looks interesting for organizing stuff.  So, I'll give it try and see if I can figure out how to use it.  I'll try watching the video that I mentioned in an earlier post and see if I can make sense of the program.

Thanks for your suggestions.
Logged

I am using VL7.0 standard with XFCE
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!