You are not logged in.
Hi,
I am writing qupac, a qt frontend for tupac. from the beggining the idea of tupac was to create a tool to make pacman GUI development more reliable. qupac is a proof of it.
Key features
- Search as you type (live search)
- Drag&Drop queue handling
Planned key features
- Show post-install information before installing packages:
1. It will let you know if a system upgrade will need more time than you can give at that moment, so you can do it some other moment.
2. It will allow people how doesn't know linux (like your family ) to know if they can upgrade system or not without calling you before.
Basic usage: type words (local search). if not satisfied with results, press return (local+AUR search)
Available on aur.
NOTE: Preview reliease. Now it only installs packages. Anything else is ignore (checkboxes, options, removing).
screenshots:
Search results and install
You can see a package being dragged from search results to install queue.
Options and remove
Otions tab and remove queue.
Last edited by Pajaro (2008-01-27 22:38:19)
Offline
Looks really nice, but it doesn't work here yet. When searching the following is displayed in the terminal:
[edgar:~]#> qupac [23:45 : ashren]
Starting tupac
Traceback (most recent call last):
File "/usr/bin//qupac", line 89, in search
packages=self.tupacTalker.getPackageList("s "+words)
File "/usr/bin//qupac", line 66, in getPackageList
resp.append(Package(line))
File "/usr/bin//qupac", line 23, in __init__
self.repo=line[1]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/bin//qupac", line 100, in searchAur
packages=self.tupacTalker.getPackageList("sa "+words)
File "/usr/bin//qupac", line 66, in getPackageList
resp.append(Package(line))
File "/usr/bin//qupac", line 23, in __init__
self.repo=line[1]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/bin//qupac", line 100, in searchAur
packages=self.tupacTalker.getPackageList("sa "+words)
File "/usr/bin//qupac", line 66, in getPackageList
resp.append(Package(line))
File "/usr/bin//qupac", line 23, in __init__
self.repo=line[1]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/bin//qupac", line 100, in searchAur
packages=self.tupacTalker.getPackageList("sa "+words)
File "/usr/bin//qupac", line 66, in getPackageList
resp.append(Package(line))
File "/usr/bin//qupac", line 23, in __init__
self.repo=line[1]
IndexError: list index out of range
Ending tupac
Offline
The problem comes from wrong tupac understanding. I will add a --debug option to qupac. Meanwhile, it would be helpfull for me to know if you have the same versions than me of qupac dependencies:
- extra/pyqt 4.3.3-1
- aur/tupac 0.5.1-1
Thank you in advanve.
Offline
Also,
- extra/python 2.5.1-5
Offline
Looks really nice indeed!
pacman -Q tupac python pyqt
tupac 0.5.1-1 <---just updated to tupac 0.5.1.1-1 ;)
python 2.5.1-5
pyqt 4.3.3-1
Unfortunately it just hangs at 'starting tupac', ctrl-c prints:
[ibendiben@ibendiben-pc ~]$ qupac
Starting tupac
Traceback (most recent call last):
File "/usr/bin/qupac", line 138, in <module>
ui.setupUi(window)
File "/usr/bin/qupac", line 79, in setupUi
self.tupacTalker=TupacTalker()
File "/usr/bin/qupac", line 43, in __init__
self.receive()
File "/usr/bin/qupac", line 50, in receive
resp+=part+self.fromchild.readline()
KeyboardInterrupt
Traceback (most recent call last):
File "/usr/bin/qupac", line 126, in endTupac
self.tupacTalker.end()
AttributeError: tupacTalker
Last edited by ibendiben (2008-01-28 00:28:27)
Offline
i had to stop using almost all python applications i ever used because they would stop working suddently, giving errors... including Deluge... Frist week at python. Gonna digg deeper.
Offline
Unfortunately it just hangs at 'starting tupac'
Have you tried first to run 'sudo tupac' to generate the cache files? I had the same problem.
Offline
ibendiben wrote:Unfortunately it just hangs at 'starting tupac'
Have you tried first to run 'sudo tupac' to generate the cache files? I had the same problem.
Good! I am gonna implement tupac dir detection Though i don't hink it is ibendiben case, since he is developing a tupac dialog in bash.
Offline
ibendiben wrote:Unfortunately it just hangs at 'starting tupac'
Have you tried first to run 'sudo tupac' to generate the cache files? I had the same problem.
Yeah I tried that all ready. Tupac runs normally...
Offline
works here, altho it needs more functionality asap!
Most important feature for gui would be listing and easy removing of installed packages. (bloat removal)
Offline
qupac update 0.1.1:
- Added tupac dir existance verification.
- Set bufsize to 0 on tupac pipe interaction. The stalling was probably caused because of a too big buffer (apparently 1 was to big, so i set buffer size to 0)
Tell me if now it doens't stall.
Offline
works here, altho it needs more functionality asap!
Most important feature for gui would be listing and easy removing of installed packages. (bloat removal)
Yeah, much more functionallity needed!
Offline
0.1.2:
- tupac wasn't getting closed after closing qupac window. killall tupac recommended
Last edited by Pajaro (2008-01-29 00:22:40)
Offline
Just installed both tupac and qupac and I seem to be having the same problem as ibendiben. I have the same version pyqt and python as you listed above and a newer version of tupac.
Offline
Gonna look for computers with the same behaivour in order to be able to fix it.
Offline
hey, didn't work...
I was trying stuff however with the lines it cried about.
changing line 58 in:
resp+=part+self.fromchild.readline(0)
did a trick...
It didn't hang... started the widget...
everything appears to work actually apart from the life search... manually search works however, drag'n'drop works installingworks terribly slow that's all.
Last edited by ibendiben (2008-01-29 09:00:26)
Offline
thank you very much, gonna give it a look. The terribly slow may be cause because there are some tupac instances loaded... it happened to me.
Offline
update 0.1.3:
- Forking added in order to be able to terminate tupac in case the main window gets killed.
- migrate pipe communication to pexpect in an attempt to fix know bugs (i couldn't find any documentation about readline, but i found that for shells pexpect is the easy answer)
I was also able to reproduce first reported bug and fix it.
Apparently all bugs that have been appearing may come from the fact that python has different default behaviours from machine to machine... Or at least this is the only reasonable explanation i find... i never saw before anything so ambiguous in such a little program.
Offline
Done! and pretty fast too
Offline
Is this working nicely yet?
have you got a SVN repo or something to help testing?
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
Hi,
I haven't been developing personal projects for some months for personal reasons, and i still will be out for some other time.
I applied for the creation of a sourforge project of tupac/qupac. Once it gets activated I will tell you. Then you can send me a pm so i give you access to the svn of the project, and explain you the project plannification so it can more become usable as fast as posible.
Though I still can't keep on the delopment, i have a clear image of which are the next few steps to follow. I would really love to see this project grow, because it is close to become more usable, so getting additional development would be fantastic.
Offline
project created:
http://sourceforge.net/projects/tupac/
- Uploaded tupac
- Partially uploaded qupac: the ui files of the qt gui are in a computer that is not working now, but the python source is all uploaded.
Offline
So, how about the project? Has it been discontinued? Why? I'd love to see a nice GUI for Pacman (I find Shaman still a lil' bit immature)
Offline
Almost no features are miplemented. Only the very basic ones.
Its main purpose is to show how tupac helps making guis more responsible and usable. I don't plan to develop it in the next few months. Maybe later i will continue it.
Appart from live search, aur searches and drag and drop, the other main feature i wanted to add to qupac is the predownload of packages while updating the system. This feature would then scan the packages checking if they have any echoes in the post_install script and would show them to the user, so that one can pospone an update if it requires anything more than just pressing enter.
If i remember well, that's all that would make qupac different from other pacman guis.
Offline
Ok, glad to hear you are still working to make it better.
Can you make the AUR link work?
Offline