Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1611
extendedping: It really should be there!

http://packages.debian.org/squeeze/calibre
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1612
Originally Posted by ishtangli View Post
I love this app!

I'm a web developer and having an installation of PHP and MySQL on a portable device is a big deal for me.

I do have 1 request though. Can we have an option to install an image without all the bloatware? I'm not particularly fond of Open Office, nor do i plan to use Gimp/Firefox. I just need a simple terminal.
You can easily do that yourself. Just de-install everything you don't want, either with synaptic or aptitude. But unless you want to free some space in your image (which itself will have the same size), why would you? Just out of disgust?
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 

The Following User Says Thank You to rebhana For This Useful Post:
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1613
hmm tried again it didnt work I ended up uncommenting the sid stuff and it installed the package but fails starting with

root@deb-m5v3d:~]calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/__init__.py", line 22, in <module>
import mechanize
ImportError: No module named mechanize
[root@deb-m5v3d:~]

and here is my current sources.list

root@deb-m5v3d:/etc/apt]cat sources.list
# Squeeze repos are disabled by default due to problems upgrading
# some packages (gconf especially) in a Maemo 5 chroot.
# Re-enable these repos at your own risk.

deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb http://http.us.debian.org/debian squeeze main contrib non-free
deb http://http.us.debian.org/debian sid main contrib non-free
deb http://www.debian-multimedia.org lenny main
deb http://www.debian-multimedia.org squeeze main
deb http://www.debian-multimedia.org sid main
#deb http://http.us.debian.org/debian experimental main
#deb http://packages.tspre.org lenny main non-free contrib
deb http://packages.tspre.org sid main non-free contrib
#deb-src http://http.us.debian.org/debian lenny main contrib non-free
#deb-src http://http.us.debian.org/debian squeeze main contrib non-free
deb-src http://http.us.debian.org/debian sid main contrib non-free
[root@deb-m5v3d:/etc/apt]

is the answer knock down easy debian reinstall and try again? and how unstable is the extras-devel version? would I have a better shot getting calibre working from the extras-devel version?
 
Posts: 12 | Thanked: 1 time | Joined on Jul 2010
#1614
qole: not really. I just don't have a need for them. also, a bit OCD seeing so many icons on my device that i would never use.

I'm actually fine with just removing them. If you could just list the packages installed, that would be fine as well.

1 other service i plan to run is asterisk. do you think it would install properly?

Btw, side note, i'm fairly new to linux. I've always developed my webapps (PHP) on Windows making sure they'd run properly when on linux.

Last edited by ishtangli; 2010-07-22 at 01:15.
 
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1615
Originally Posted by ishtangli View Post
qole: not really. I just don't have a need for them. also, a bit OCD seeing so many icons on my device that i would never use.

I'm actually fine with just removing them. If you could just list the packages installed, that would be fine as well.

1 other service i plan to run is asterisk. do you think it would install properly?
To just get rid of the icons remove (or move away) the unused .desktop files from Maemo's /usr/share/application/hildon directory.

Also for the list of packages you don't need qole: In Debian chroot do
Code:
dpkg --get-selections
or fire up aptitude or synaptic.

Finally: this is a beta testing thread. So you can contribute by trying out something like asterisk in Easy Debian and reporting back to share what you found or asking for assistance.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log

Last edited by rebhana; 2010-07-23 at 20:02.
 

The Following User Says Thank You to rebhana For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Jul 2010
#1616
Hi I'm a french user of easy debian so excuse for my english.
For me Gramps functione under lxde (office menu) and start from debbie.
On the other hand it doesn't functione with shortcut. I can se my shortcut with icon in my applications, It start then stop.



Here is my gramps.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=gramps
Icon=gramps
Exec=debbie gramps
Type=Application

IHave you got any idea?
Thanks


Originally Posted by rebhana View Post
OK, maybe I'm still a beta tester, too. Although the program in question is most certainly not of wider interest, the problem I ran into with it perhaps is:

As I said, everything works fine when I start gramps from debbie.

Under LXDE, it just won't start. Launching gramps from a terminal within LXDE, I get the following error messages
Code:
5697: ERROR: gramps.py: line 138: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/gramps.py", line 187, in <module>
    errors = run()
  File "/usr/share/gramps/gramps.py", line 179, in run
    from gui.grampsgui import startgtkloop
  File "/usr/share/gramps/gui/grampsgui.py", line 63, in <module>
    import Utils
  File "/usr/share/gramps/Utils.py", line 49, in <module>
    from GrampsLocale import codeset
  File "/usr/share/gramps/GrampsLocale/__init__.py", line 23, in <module>
    from _GrampsLocale import *
  File "/usr/share/gramps/GrampsLocale/_GrampsLocale.py", line 141, in <module>
    unicode(time.strftime('%B',(0,3,1,1,1,1,1,1,1)),codeset).lower() : 3,
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3: invalid data
How can that be, as there were no errors at all with debbie!

For no good reason I tried again, but started LXDE by
Code:
sudo debian su - user -c xephwm5
instead of just "debbie xephwm5". All of a sudden gramps works without errors! Curiously enough, I didn't need "su -" with debbie for gramps to work...

I guess that supports my previous statement that chroot should be done with "su -" throughout, and all openoffice environment variables set in the image. So that would be something for the next version easy-deb-chroot to consider. (My above suggestions for v3c are of course independent of that.)

Btw, monitoring xephwm5 I noticed an apparently harmless error. The script always produced "trl: command not found". What's that?
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1617
ok again trying to get calibre. I so far I wiped out the default easy debian and installed fresh one from extras-devel

1) uncommented the 2 lines in the sources.list that I saw in the wiki as such
[root@deb-m5v3d: ~]cat /etc/apt/sources.list
# Squeeze repos are disabled by default due to problems upgrading
# some packages (gconf especially) in a Maemo 5 chroot.
# Re-enable these repos at your own risk.

deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb http://http.us.debian.org/debian squeeze main contrib non-free
#deb http://http.us.debian.org/debian sid main contrib non-free
deb http://www.debian-multimedia.org lenny main
deb http://www.debian-multimedia.org squeeze main
#deb http://www.debian-multimedia.org sid main
#deb http://http.us.debian.org/debian experimental main
#deb http://packages.tspre.org lenny main non-free contrib
#deb http://packages.tspre.org sid main non-free contrib
#deb-src http://http.us.debian.org/debian lenny main contrib non-free
#deb-src http://http.us.debian.org/debian squeeze main contrib non-free
#deb-src http://http.us.debian.org/debian sid main contrib non-free

2) did apt-get update
[root@deb-m5v3d: ~]apt-get update
Get:1 http://www.backports.org lenny-backports Release.gpg [189B]
Ign http://www.backports.org lenny-backports/main Translation-en_US
Ign http://www.backports.org lenny-backports/contrib Translation-en_US
Ign http://www.backports.org lenny-backports/non-free Translation-en_US
Get:2 http://www.backports.org lenny-backports Release [56.1kB]
Get:3 http://www.debian-multimedia.org lenny Release.gpg [198B]
Get:4 http://www.debian-multimedia.org lenny/main Translation-en_US [14B]
Get:5 http://www.debian-multimedia.org squeeze Release.gpg [198B]
Get:6 http://www.debian-multimedia.org squeeze/main Translation-en_US [14B]
Get:7 http://www.debian-multimedia.org lenny Release [26.5kB]
Get:8 http://www.debian-multimedia.org squeeze Release [29.4kB]
Get:9 http://www.debian-multimedia.org lenny/main Packages/DiffIndex [2,023B]
Ign http://www.backports.org lenny-backports/main Packages/DiffIndex
Get:10 http://www.debian-multimedia.org lenny/main Packages [57.1kB]
Ign http://www.backports.org lenny-backports/contrib Packages/DiffIndex
Ign http://www.backports.org lenny-backports/non-free Packages/DiffIndex
Get:11 http://www.backports.org lenny-backports/main Packages [382kB]
Get:12 http://www.debian-multimedia.org squeeze/main Packages [58.4kB]
Get:13 http://http.us.debian.org lenny Release.gpg [1,033B]
Ign http://http.us.debian.org lenny/main Translation-en_US
Ign http://http.us.debian.org lenny/contrib Translation-en_US
Ign http://http.us.debian.org lenny/non-free Translation-en_US
Get:14 http://http.us.debian.org squeeze Release.gpg [835B]
Ign http://http.us.debian.org squeeze/main Translation-en_US
Ign http://http.us.debian.org squeeze/contrib Translation-en_US
Ign http://http.us.debian.org squeeze/non-free Translation-en_US
Get:15 http://http.us.debian.org lenny Release [73.8kB]
Get:16 http://http.us.debian.org squeeze Release [89.9kB]
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Get:17 http://http.us.debian.org squeeze/main Packages [6,481kB]
Hit http://www.backports.org lenny-backports/contrib Packages
Get:18 http://www.backports.org lenny-backports/non-free Packages [5,553B]
Get:19 http://http.us.debian.org squeeze/contrib Packages [46.9kB]
Get:20 http://http.us.debian.org squeeze/non-free Packages [82.4kB]
Get:21 http://http.us.debian.org lenny/main Packages [5,042kB]
Get:22 http://http.us.debian.org lenny/contrib Packages [64.0kB]
Get:23 http://http.us.debian.org lenny/non-free Packages [72.6kB]
Fetched 12.6MB in 4min 40s (44.8kB/s)
Reading package lists... Done

3) looked for calibre
[root@deb-m5v3d: ~]apt-cache search calire

nothing shows up...what am I doing wrong?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1618
extendedping: I see a typo, 'calire' instead of 'calibre' ...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1619
ah thanks, I restarted debian, typed it correctly and it fails to start. it is looking for module mechanize. I don't know that that means but I did an apt-cache search mechanize (see below) and if one of these packages can fix the issue I have no idea which one...

[root@deb-m5v3d: ~]calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/__init__.py", line 22, in <module>
import mechanize
ImportError: No module named mechanize


[root@deb-m5v3d: ~]apt-cache search mechanize
libhttp-recorder-perl - Record interaction with websites
libtest-www-mechanize-cgiapp-perl - Test CGI::Application apps using WWW::Mechanize
libwww-mechanize-ruby1.9 - Automate interaction with websites (Ruby 1.9)
doclifter - Convert troff to DocBook
funkload - web testing tool
libtest-www-declare-perl - declarative testing for your web app
libtest-www-mechanize-catalyst-perl - module for automated testing for Catalyst applications
libtest-www-mechanize-perl - module for testing web applications
libwww-bugzilla-perl - Perl module to manipulate a Bugzilla database
libwww-mechanize-formfiller-perl - framework to automate HTML forms
libwww-mechanize-gzip-perl - Perl module to fetch webpages with gzip-compression
libwww-mechanize-perl - module to automate interaction with websites
libwww-mechanize-ruby-doc - Documentation for libwww-mechanize-ruby
libwww-mechanize-ruby1.8 - Automate interaction with websites (Ruby 1.8)
libwww-mechanize-ruby1.9.1 - Automate interaction with websites (Ruby 1.9.1)
libwww-mechanize-ruby - Ruby library to automate interaction with websites
libwww-mechanize-shell-perl - interactive shell for WWW::Mechanize
libwww-mechanize-treebuilder-perl - Perl module integrating WWW::Mechanize and HTML::TreeBuilder
python-mechanize - stateful programmatic web browsing
[root@deb-m5v3d: ~]
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1620
It looks like calibre is a Python app. Try installing python-mechanize and see if it works.

Code:
apt-get install python-mechanize
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze


 
Forum Jump


All times are GMT. The time now is 02:25.