You are not logged in.
melik wrote:firecat53 wrote:$ archey File "/usr/bin/archey", line 6 SyntaxError: Non-ASCII character 'Ã' in file /usr/bin/archey on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Is this me, or a problem with the script? Thanks
Scott
Yes I'm getting that too. I'm pushing fix right now.
line 6 is a comment with the letter "ô" in my name
We have a problem, Ubuntu ships with /etc/debian_version, so it outputs twice
Offline
Offline
I'm quite new to Arch (it's my first setup on non-virtual machine) and I encountered a problem. When I was trying to run archey I saw :
http://www.speedyshare.com/files/239604 … _scrot.png
I tried to do something with lsb-release but it can only identify that I'm using Arch and nothing more.
Can anybody help me.
Offline
I'm quite new to Arch (it's my first setup on non-virtual machine) and I encountered a problem. When I was trying to run archey I saw :
http://www.speedyshare.com/files/239604 … _scrot.pngI tried to do something with lsb-release but it can only identify that I'm using Arch and nothing more.
Can anybody help me.
You get this error because the file /etc/lsb-release need to be specific tu ubuntu (remove it from arch pacman -R lsb-release).
The index out of range error is due to the fact on ubuntu system this file have more than only one line.
sudo pacman -R lsb-release
wget -O archey http://paste.projet-libre.org/index.php/view/download/19264872
sed -i 's/\r$//' archey
chmod +x archey
sudo mv archey /usr/bin/
Last edited by jlaunay (2010-08-25 20:31:10)
Offline
Thank You, that was exactly what I was looking for.
BTW thanks for great explanation ;]
Offline
Did some work on Archey.
- Re-did the distro detection; archey now requires 'lsb-release' package.
- Changed the Ubuntu logo as the older one was too large.
Pushed it to github. if any bugs are found, please report it here.
http://omploader.org/vNWNxNw/2010-08-26 … _scrot.png
Last edited by melik (2010-08-27 01:44:24)
Offline
Minor problem. When trying to update from AUR with an AUR helper, it doesn't work as lsb-release does not exist in any the AUR or the Repos.
Offline
cwjiof wrote:Really good work, and I like it.
By the way:
Would you please change your avatar? The small image made me feel uncomfortable.Whats wrong with communism?
There are at least 100 million murdered people who wish they could tell you.
Offline
Yeah, archey won't upgrade for me because lsb-release can't be found, although if I search I can find it in the community repo, but pacman won't get it:
$ sudo pacman -S lsb-release
error: 'lsb-release': could not find or read package
Offline
melik wrote:cwjiof wrote:Really good work, and I like it.
By the way:
Would you please change your avatar? The small image made me feel uncomfortable.Whats wrong with communism?
There are at least 100 million murdered people who wish they could tell you.
Yes because an idea murdered all those people, right? /sarcasm
I will get around to a fix for that lsb-release bug. Thanks for reporting.
Edit: Should be fixed, lemme know if you guys still run into problems.
Last edited by melik (2010-08-27 19:01:37)
Offline
% LC_ALL=C p -Si lsb-release
Repository : community
Name : lsb-release
Version : 1.4-10
URL : http://www.linuxbase.org/
Licenses : GPL2
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 6.05 K
Installed Size : 52.00 K
Packager : Sven-Hendrik Haase <sh@lutzhaase.com>
Architecture : i686
Build Date : Sun Jul 25 22:02:22 2010
MD5 Sum : 5547b4df5a86029df8ad01dbd440d3cc
Description : LSB version query program
Are you folks sure your mirrors are up-to-date and everything? For me pacman -S lsb-release just worked as it should..
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
Well, since I found out about this with an update, yes, they are up to date, at least according to pacman.
EDIT: Switching Mirrors fixed it.
Last edited by kmason (2010-08-28 16:53:41)
Offline
@ melik
Just dropped by to thank you for making "archey" available for other distributions.
Here's a screenie of it running on #! Statler (Debian)
Interesting, I'm NOT running Xfce just OpenBox and using Terminator not xterm (I guess terminator is a shell for xterm)
Once again: Thank you! it's a really nice app.
Offline
@ melik
Just dropped by to thank you for making "archey" available for other distributions.
Here's a screenie of it running on #! Statler (Debian)
Interesting, I'm NOT running Xfce just OpenBox and using Terminator not xterm (I guess terminator is a shell for xterm)
Once again: Thank you! it's a really nice app.
You're welcome Screenie looks good, credits go to Kittykatt for the crunchbang logo.
Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.
And yes Terminator merely emulates xterm.
Offline
You're welcome Screenie looks good, credits go to Kittykatt for the crunchbang logo.
Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.
And yes Terminator merely emulates xterm.
Yes, actually #! Statler comes in two flavours, OpenBox and Xfce, so it makes sense that some xfce would be in the OpenBox version, and it doesn't really bother me, I've been doing some reading up on it and I understand why xfce there.
@ Kittykatt - Thanks for the #! logo in archey.
Offline
melik wrote:You're welcome Screenie looks good, credits go to Kittykatt for the crunchbang logo.
Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.
And yes Terminator merely emulates xterm.
Yes, actually #! Statler comes in two flavours, OpenBox and Xfce, so it makes sense that some xfce would be in the OpenBox version, and it doesn't really bother me, I've been doing some reading up on it and I understand why xfce there.
@ Kittykatt - Thanks for the #! logo in archey.
Welcome. You should check out screenfetch, too. Me and melik bounce each others' scripts off each other all the time for new ideas. xD
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
Welcome. You should check out screenfetch, too. Me and melik bounce each others' scripts off each other all the time for new ideas. xD
But that would be off topic and then I would have to tell you I get an error on line 181 and it doesn't recognize #! Statler.
I couldn't possibly do that in the Archey thread. I do have another screenie of archey doing it's thing though:
Awwww heck, thanks kittykatt - see the Screenfetch thread
Last edited by Sector11 (2010-08-30 12:44:06)
Offline
Hi people.
I kinda rewrote archey. I wanted to make it python3 compatible, and decided to make it object oriented at the same time. You might want to have a look at the code. I didn't include multi distro support, but I've made it very simple to extend. Anyway, if the archey people want to use it, they might find it usefull too look at (much less global data, sane layout of code, user customization without editing the script, much DRYer, etc. etc.). It isn't much prettier, I will readily admit, but imho, it is a stronger platform to go forwards on.
In the face of the upcoming python2->3 migration, it can be found in the aur under archey3.
Thanks,
Laurie
Consistency is not a virtue.
Offline
Hello,
$ pacman -Qi archey3
Nom : archey3
Version : 20100901-1
URL : http://github.com/bluepeppers/archey
Licences : GPL
Groupes : --
Fournit : archey
Dépend de : python3 imagemagick
Dépendances opt. : --
Requis par : --
Est en conflit avec : archey
Remplace : --
Taille (installé) : 44,00 K
Paqueteur : Unknown Packager
Architecture : x86_64
Compilé le : mer. 01 sept. 2010 15:13:08 CEST
Installé le : mer. 01 sept. 2010 15:13:10 CEST
Motif d'installation : Explicitement installé
Script d'installation : Non
Description : Python script to display system infomation alongside
Arch Linux logo - python3k fork
$ archey
File "/usr/bin/archey", line 124
'': 'None',
^
SyntaxError: invalid syntax
Offline
How did I miss that. Fixed, thanks
Consistency is not a virtue.
Offline
As previously stated, checking if xfconfd is running, is not a proper way of detecting Xfce. For example I'm using xfwm4 standalone and it needs Xfce. So, the correct output should be "WM: Xfwm4, DE: None Found".
A proper way of doing this could be checking if xfce4-session is running, which will always be there if the DE is running.
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
As previously stated, checking if xfconfd is running, is not a proper way of detecting Xfce. For example I'm using xfwm4 standalone and it needs Xfce. So, the correct output should be "WM: Xfwm4, DE: None Found".
A proper way of doing this could be checking if xfce4-session is running, which will always be there if the DE is running.
Sorry, I haven't been active lately; been really busy with school.
I pushed your suggested fix up to github, go ahead and run an update from the AUR package; and it should run fine.
Offline
Is there support for musca,I got error:
┌─[ dany @ laptop ] - [ 17:49:33 Fri Sep 24 ] - [ ~ ]
└─[$]> archey
Traceback (most recent call last):
File "/usr/bin/archey", line 304, in <module>
func()
File "/usr/bin/archey", line 185, in distro_display
output('OS', distro)
UnboundLocalError: local variable 'distro' referenced before assignment
Offline
Offline
Offline