0.6 Nightly Builds

Suggestions and discussion of future versions
reddy.shyam
New User
New User
Posts: 8
Joined: Sat Jan 19, 2008 11:25 am

Re: 0.6 Nightly Builds

Post by reddy.shyam »

andar wrote:
reddy.shyam wrote:Hi,

Same error with Apr 5th's nightly build.
It looks like you may need to enable the universe repo.
Hi andar,

Thanks for your reply. I could install Apr 1st's 3058 release. Has anything changed after that. And yes, my universe repo is enabled.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Nightly Builds

Post by andar »

reddy.shyam wrote:
andar wrote:
reddy.shyam wrote:Hi,

Same error with Apr 5th's nightly build.
It looks like you may need to enable the universe repo.
Hi andar,

Thanks for your reply. I could install Apr 1st's 3058 release. Has anything changed after that. And yes, my universe repo is enabled.
Not really. Nothing that would affect the deb dependencies.. I haven't changed the build scripts since I started making nightly builds.
Tjuh
New User
New User
Posts: 6
Joined: Sun Apr 06, 2008 1:51 pm

Re: 0.6 Nightly Builds

Post by Tjuh »

Can someone please make a PKGBUILD for the svn version of Deluge, the one in AUR is broken.

It would be greatly appreciated!
User avatar
irfan
Leecher
Leecher
Posts: 70
Joined: Sun Jun 03, 2007 5:36 pm
Location: Poland

Re: 0.6 Nightly Builds

Post by irfan »

PKGBUILD:

Code: Select all

pkgname=deluge-0.6
pkgver=3072
pkgrel=2
pkgdesc="A bittorrent client written with python and pygtk"
arch=('i686' 'x86_64')
url="http://deluge-torrent.org/"
license=('GPL2')
depends=('pygtk' 'boost' 'pyxdg' 'dbus-python' 'librsvg' 'desktop-file-utils'
         'hicolor-icon-theme' 'setuptools' 'patch')
makedepends=('subversion' 'intltool')
conflicts=('deluge')
provides=('deluge')
options=('!emptydirs')
#install=deluge.install
source=()
md5sums=()

_svntrunk="http://svn.deluge-torrent.org/branches/deluge-0.6"
_svnmod="deluge-0.6"

build() {
  cd $startdir/src

  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r $pkgver)
  else
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  fi

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  echo -e "154c\n\t'boost_thread-mt',\n.\n" | patch -e setup.py
  python setup.py build
  python setup.py install --root=$startdir/pkg

  rm  -rf  $startdir/src/$_svnmod-build
}
Tjuh
New User
New User
Posts: 6
Joined: Sun Apr 06, 2008 1:51 pm

Re: 0.6 Nightly Builds

Post by Tjuh »

Worked like a charm!

Thnx for the quick reply.
reddy.shyam
New User
New User
Posts: 8
Joined: Sat Jan 19, 2008 11:25 am

Re: 0.6 Nightly Builds

Post by reddy.shyam »

andar wrote:
reddy.shyam wrote:
Hi andar,

Thanks for your reply. I could install Apr 1st's 3058 release. Has anything changed after that. And yes, my universe repo is enabled.
Not really. Nothing that would affect the deb dependencies.. I haven't changed the build scripts since I started making nightly builds.
Hi andar,

I am terribly sorry. It was my mistake. I was installing hardy's build on gutsy. Everything is working as expected. Thankyou again.
hotice
Member
Member
Posts: 10
Joined: Fri Mar 07, 2008 10:21 am

Re: 0.6 Nightly Builds

Post by hotice »

i'm using 3119 WebUi and when i click on 'details' i get this error on every active torrent:

Code: Select all

--Deluge Error--
KeyError : 'progress'
path : /torrent/info/b31432e77a579b0509bca2e8ff305139cacd18b4
file : /var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py in h_getitem, line 616

--Input--
<Storage {}>

--Versions--
WebUi : rev.185
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 52, in deco
    return func(self, name) #check_session:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 70, in deco
    return func(self, name) #check_connected:ok
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 25, in deco
    res = func(self, name) #deluge_page_noauth
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 120, in deco
    return func(self, name) #auto_refreshed
  File "/var/lib/python-support/python2.5/deluge/ui/webui/page_decorators.py", line 110, in deco
    return func (self, torrent) #torrent
  File "/var/lib/python-support/python2.5/deluge/ui/webui/pages.py", line 153, in GET
    return render.torrent_info(torrent)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 498, in __call__
    return f.go()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 760, in go
    self.output._str = ''.join(map(self.h, self.parsetree))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 728, in h_for
    out.extend(self.h_lines(i[BODY]))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 756, in h_lines
    return map(self.h, lines)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 684, in h_line
    o = self.h(x[NAME])
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 611, in h_call
    return call(*args, **kw)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 498, in __call__
    return f.go()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 760, in go
    self.output._str = ''.join(map(self.h, self.parsetree))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 728, in h_for
    out.extend(self.h_lines(i[BODY]))
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 756, in h_lines
    return map(self.h, lines)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 684, in h_line
    o = self.h(x[NAME])
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 587, in h_paren
    return self.h(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 620, in h_expr
    item = self.h(i[THING])
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 552, in h
    return getattr(self, 'h_' + item[WHAT])(item)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/template.py", line 617, in h_getitem
    return thing[item]



oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: 0.6 Nightly Builds

Post by oshiri »

Same problem with svn3135.

Only template deluge affected.
Template white and advanced works ok.
GGLucas
New User
New User
Posts: 3
Joined: Thu Feb 21, 2008 1:14 pm

Re: 0.6 Nightly Builds

Post by GGLucas »

Using the PKGBUILD posted by hotice, I get the following compile error:

building 'libtorrent' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c ./libtorrent/src/lazy_bdecode.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/lazy_bdecode.o -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -O2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/src/lazy_bdecode.cpp: In member function ‘libtorrent::lazy_entry* libtorrent::lazy_entry::dict_append(const char*)’:
./libtorrent/src/lazy_bdecode.cpp:188: error: ‘memcpy’ is not a member of ‘std’
./libtorrent/src/lazy_bdecode.cpp: In member function ‘libtorrent::lazy_entry* libtorrent::lazy_entry::list_append()’:
./libtorrent/src/lazy_bdecode.cpp:300: error: ‘memcpy’ is not a member of ‘std’
error: command 'gcc' failed with exit status 1

Am I missing a dependency?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.6 Nightly Builds

Post by andar »

GGLucas wrote:Using the PKGBUILD posted by hotice, I get the following compile error:

building 'libtorrent' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c ./libtorrent/src/lazy_bdecode.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/lazy_bdecode.o -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -O2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/src/lazy_bdecode.cpp: In member function ‘libtorrent::lazy_entry* libtorrent::lazy_entry::dict_append(const char*)’:
./libtorrent/src/lazy_bdecode.cpp:188: error: ‘memcpy’ is not a member of ‘std’
./libtorrent/src/lazy_bdecode.cpp: In member function ‘libtorrent::lazy_entry* libtorrent::lazy_entry::list_append()’:
./libtorrent/src/lazy_bdecode.cpp:300: error: ‘memcpy’ is not a member of ‘std’
error: command 'gcc' failed with exit status 1

Am I missing a dependency?
GCC 4.3? I'll commit the fix for this problem tonight.
Post Reply