Console

Bug #218458 reported by Adavideo
2
Affects Status Importance Assigned to Milestone
HD Lorean
In Progress
Medium
HD Lorean developers

Bug Description

La consola actualmente no funciona debido a los numerosos cambios en el código durante la primera entrega. Aparte de dejarla de nuevo funcionando, investigaremos formas alternativas de conectarla al backend, pues así evitaríamos depender de D-Bus y la haríamos más resistente a problemas en el sistema, que es precisamente en las ocasiones en que sería más útil.

Adavideo (adavideo)
Changed in hdlorean:
assignee: nobody → ender-dragon
Adavideo (adavideo)
description: updated
Revision history for this message
Adrián (adrianbn) wrote :

I change the status so we start trying console, now that it seems it's working.

Changed in hdlorean:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Adrián (adrianbn) wrote :

All the team should try the console now.

Changed in hdlorean:
assignee: ender-dragon → hdlorean
Revision history for this message
robs (rocafer) wrote : Re: [Bug 218458] Re: Console
  • unnamed Edit (5.3 KiB, text/html; charset=ISO-8859-1)
Download full text (4.4 KiB)

rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -T
Usage: hdlorean.py [options]

hdlorean.py: error: -T option requires an argument
rober@rober-laptop:~/Repo Propio/testing/src/console$

esto tiene un default... pos va a ser q el default es pedir argumento ^^

rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -l
There isn't a hdlorean daemon running. Im gonna start one for you...
Inicializado com.hdlorean.Server
Inicializado dbus
Date: 2008-04-23 11:13:44 Size: 4k Operation: CREATE
Date: 2008-04-23 09:42:07 Size: 4k Operation: USER
Date: 2008-04-23 09:41:58 Size: 4k Operation: CREATE
Date: 2008-04-23 09:25:32 Size: 4k Operation: USER
Date: 2008-04-23 09:24:59 Size: 4k Operation: USER
Date: 2008-04-23 08:58:19 Size: 4k Operation: CREATE
Date: 2008-04-22 09:50:06 Size: 4k Operation: CREATE
Date: 2008-04-22 08:48:36 Size: 4k Operation: CREATE
Date: 2008-04-22 08:45:54 Size: 4k Operation: CREATE
Date: 2008-04-20 23:09:12 Size: 12k Operation: USER
Date: 2008-04-20 23:08:54 Size: 4k Operation: USER
Date: 2008-04-20 21:29:14 Size: 12k Operation: CREATE

vale se hasta la marca de los calzoncillos pero... donde esta el cajon???
(falta el path, corregidme si me equivoco)

Una duda: las preferencias en consola se reducen a tocar a mano el archivo
de config??? No deberia haber una opcion -p que te vaya pidiendo los datos
y los vaya guardando en las preferencias???

rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -t
Traceback (most recent call last):
  File "./hdlorean.py", line 293, in <module>
    console.main()
  File "./hdlorean.py", line 237, in main
    (options, args) = parser.parse_args()
  File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1422, in _process_args
    self._process_short_opts(rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1529, in _process_short_opts
    option.process(opt, value, values, self)
  File "/usr/lib/python2.5/optparse.py", line 782, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.5/optparse.py", line 802, in take_action
    self.callback(self, opt, value, parser, *args, **kwargs)
  File "./hdlorean.py", line 184, in __makeTimestamp
    value=calendar.timegm(value)
  File "/usr/lib/python2.5/calendar.py", line 602, in timegm
    year, month, day, hour, minute, second = tuple[:6]
ValueError: need more than 1 value to unpack

La consola y los valores por defecto no se llevan bien...;)

rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -i
Geting snapshot info
Recoverable paths
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos/poema.odt
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos/poema.odt
/home/rober/Documentos
/home/rober/Documentos
/home/rober/Documentos/poema.odt
/home/rober/Documentos

Si, nuestras UI's duplican paths en un mal endemico de las interfaces de
usuario... :D

rober@rober-laptop:~/Repo Propio/testing/src/c...

Read more...

Revision history for this message
Ender (ender-dragon) wrote :
Download full text (5.1 KiB)

Parcheados todos, excepto el del directorio, porque no recibo suficiente
información de backend, eso está en tareas pendientes de salva, si no me
equivoco.

On Wed, Apr 23, 2008 at 12:31 PM, robs <email address hidden> wrote:

> rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -T
> Usage: hdlorean.py [options]
>
> hdlorean.py: error: -T option requires an argument
> rober@rober-laptop:~/Repo Propio/testing/src/console$
>
>
> esto tiene un default... pos va a ser q el default es pedir argumento ^^
>
> rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -l
> There isn't a hdlorean daemon running. Im gonna start one for you...
> Inicializado com.hdlorean.Server
> Inicializado dbus
> Date: 2008-04-23 11:13:44 Size: 4k Operation: CREATE
> Date: 2008-04-23 09:42:07 Size: 4k Operation: USER
> Date: 2008-04-23 09:41:58 Size: 4k Operation: CREATE
> Date: 2008-04-23 09:25:32 Size: 4k Operation: USER
> Date: 2008-04-23 09:24:59 Size: 4k Operation: USER
> Date: 2008-04-23 08:58:19 Size: 4k Operation: CREATE
> Date: 2008-04-22 09:50:06 Size: 4k Operation: CREATE
> Date: 2008-04-22 08:48:36 Size: 4k Operation: CREATE
> Date: 2008-04-22 08:45:54 Size: 4k Operation: CREATE
> Date: 2008-04-20 23:09:12 Size: 12k Operation: USER
> Date: 2008-04-20 23:08:54 Size: 4k Operation: USER
> Date: 2008-04-20 21:29:14 Size: 12k Operation: CREATE
>
> vale se hasta la marca de los calzoncillos pero... donde esta el cajon???
> (falta el path, corregidme si me equivoco)
>
> Una duda: las preferencias en consola se reducen a tocar a mano el archivo
> de config??? No deberia haber una opcion -p que te vaya pidiendo los
> datos
> y los vaya guardando en las preferencias???
>
>
> rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -t
> Traceback (most recent call last):
> File "./hdlorean.py", line 293, in <module>
> console.main()
> File "./hdlorean.py", line 237, in main
> (options, args) = parser.parse_args()
> File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args
> stop = self._process_args(largs, rargs, values)
> File "/usr/lib/python2.5/optparse.py", line 1422, in _process_args
> self._process_short_opts(rargs, values)
> File "/usr/lib/python2.5/optparse.py", line 1529, in _process_short_opts
> option.process(opt, value, values, self)
> File "/usr/lib/python2.5/optparse.py", line 782, in process
> self.action, self.dest, opt, value, values, parser)
> File "/usr/lib/python2.5/optparse.py", line 802, in take_action
> self.callback(self, opt, value, parser, *args, **kwargs)
> File "./hdlorean.py", line 184, in __makeTimestamp
> value=calendar.timegm(value)
> File "/usr/lib/python2.5/calendar.py", line 602, in timegm
> year, month, day, hour, minute, second = tuple[:6]
> ValueError: need more than 1 value to unpack
>
> La consola y los valores por defecto no se llevan bien...;)
>
>
> rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -i
> Geting snapshot info
> Recoverable paths
> /home/rober/Documentos
> /home/rober/Documentos
> /home/rober/Documentos
> /home/rober/Documentos/poema.odt
> /home/rober/Documentos
> /home/rober/Documentos
> /home/rober/Documentos
> /ho...

Read more...

Revision history for this message
Salva (neo-salvador) wrote :
  • unnamed Edit (7.6 KiB, text/html; charset=ISO-8859-1)
Download full text (5.8 KiB)

Esta noche termino el refactor parcial del history y tendréis una interfaz
como dios manda. Pero no puedo adelantarlo porque ando de PLg que me sale
por las orejas.

On Wed, Apr 23, 2008 at 7:28 PM, Ender <email address hidden> wrote:

> Parcheados todos, excepto el del directorio, porque no recibo suficiente
> información de backend, eso está en tareas pendientes de salva, si no me
> equivoco.
>
>
> On Wed, Apr 23, 2008 at 12:31 PM, robs <email address hidden> wrote:
>
> > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -T
> > Usage: hdlorean.py [options]
> >
> > hdlorean.py: error: -T option requires an argument
> > rober@rober-laptop:~/Repo Propio/testing/src/console$
> >
> >
> > esto tiene un default... pos va a ser q el default es pedir argumento ^^
> >
> > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -l
> > There isn't a hdlorean daemon running. Im gonna start one for you...
> > Inicializado com.hdlorean.Server
> > Inicializado dbus
> > Date: 2008-04-23 11:13:44 Size: 4k Operation: CREATE
> > Date: 2008-04-23 09:42:07 Size: 4k Operation: USER
> > Date: 2008-04-23 09:41:58 Size: 4k Operation: CREATE
> > Date: 2008-04-23 09:25:32 Size: 4k Operation: USER
> > Date: 2008-04-23 09:24:59 Size: 4k Operation: USER
> > Date: 2008-04-23 08:58:19 Size: 4k Operation: CREATE
> > Date: 2008-04-22 09:50:06 Size: 4k Operation: CREATE
> > Date: 2008-04-22 08:48:36 Size: 4k Operation: CREATE
> > Date: 2008-04-22 08:45:54 Size: 4k Operation: CREATE
> > Date: 2008-04-20 23:09:12 Size: 12k Operation: USER
> > Date: 2008-04-20 23:08:54 Size: 4k Operation: USER
> > Date: 2008-04-20 21:29:14 Size: 12k Operation: CREATE
> >
> > vale se hasta la marca de los calzoncillos pero... donde esta el
> cajon???
> > (falta el path, corregidme si me equivoco)
> >
> > Una duda: las preferencias en consola se reducen a tocar a mano el
> archivo
> > de config??? No deberia haber una opcion -p que te vaya pidiendo los
> > datos
> > y los vaya guardando en las preferencias???
> >
> >
> > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -t
> > Traceback (most recent call last):
> > File "./hdlorean.py", line 293, in <module>
> > console.main()
> > File "./hdlorean.py", line 237, in main
> > (options, args) = parser.parse_args()
> > File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args
> > stop = self._process_args(largs, rargs, values)
> > File "/usr/lib/python2.5/optparse.py", line 1422, in _process_args
> > self._process_short_opts(rargs, values)
> > File "/usr/lib/python2.5/optparse.py", line 1529, in
> _process_short_opts
> > option.process(opt, value, values, self)
> > File "/usr/lib/python2.5/optparse.py", line 782, in process
> > self.action, self.dest, opt, value, values, parser)
> > File "/usr/lib/python2.5/optparse.py", line 802, in take_action
> > self.callback(self, opt, value, parser, *args, **kwargs)
> > File "./hdlorean.py", line 184, in __makeTimestamp
> > value=calendar.timegm(value)
> > File "/usr/lib/python2.5/calendar.py", line 602, in timegm
> > year, month, day, hour, minute, second = tuple[:6]
> > ValueError: need more than 1 value to unpack
> >
> >...

Read more...

Revision history for this message
gnufede (gnu.fede) wrote :
  • unnamed Edit (9.2 KiB, text/html; charset=ISO-8859-1)
Download full text (6.7 KiB)

One more thing: De toda la vida si quieres cambiar la config se edita el
fichero de configuración, que para eso hay cientos de editores. Si queréis
hacer un wizard no me parece mal, pero suele ser otro ejecutable, y habrá
que terminar tambien el de GUI.

On Wed, Apr 23, 2008 at 7:52 PM, Salva <email address hidden> wrote:

> Esta noche termino el refactor parcial del history y tendréis una interfaz
> como dios manda. Pero no puedo adelantarlo porque ando de PLg que me sale
> por las orejas.
>
> On Wed, Apr 23, 2008 at 7:28 PM, Ender <email address hidden> wrote:
>
> > Parcheados todos, excepto el del directorio, porque no recibo suficiente
> > información de backend, eso está en tareas pendientes de salva, si no me
> > equivoco.
> >
> >
> > On Wed, Apr 23, 2008 at 12:31 PM, robs <email address hidden> wrote:
> >
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -T
> > > Usage: hdlorean.py [options]
> > >
> > > hdlorean.py: error: -T option requires an argument
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$
> > >
> > >
> > > esto tiene un default... pos va a ser q el default es pedir argumento
> ^^
> > >
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -l
> > > There isn't a hdlorean daemon running. Im gonna start one for you...
> > > Inicializado com.hdlorean.Server
> > > Inicializado dbus
> > > Date: 2008-04-23 11:13:44 Size: 4k Operation: CREATE
> > > Date: 2008-04-23 09:42:07 Size: 4k Operation: USER
> > > Date: 2008-04-23 09:41:58 Size: 4k Operation: CREATE
> > > Date: 2008-04-23 09:25:32 Size: 4k Operation: USER
> > > Date: 2008-04-23 09:24:59 Size: 4k Operation: USER
> > > Date: 2008-04-23 08:58:19 Size: 4k Operation: CREATE
> > > Date: 2008-04-22 09:50:06 Size: 4k Operation: CREATE
> > > Date: 2008-04-22 08:48:36 Size: 4k Operation: CREATE
> > > Date: 2008-04-22 08:45:54 Size: 4k Operation: CREATE
> > > Date: 2008-04-20 23:09:12 Size: 12k Operation: USER
> > > Date: 2008-04-20 23:08:54 Size: 4k Operation: USER
> > > Date: 2008-04-20 21:29:14 Size: 12k Operation: CREATE
> > >
> > > vale se hasta la marca de los calzoncillos pero... donde esta el
> > cajon???
> > > (falta el path, corregidme si me equivoco)
> > >
> > > Una duda: las preferencias en consola se reducen a tocar a mano el
> > archivo
> > > de config??? No deberia haber una opcion -p que te vaya pidiendo los
> > > datos
> > > y los vaya guardando en las preferencias???
> > >
> > >
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -t
> > > Traceback (most recent call last):
> > > File "./hdlorean.py", line 293, in <module>
> > > console.main()
> > > File "./hdlorean.py", line 237, in main
> > > (options, args) = parser.parse_args()
> > > File "/usr/lib/python2.5/optparse.py", line 1378, in parse_args
> > > stop = self._process_args(largs, rargs, values)
> > > File "/usr/lib/python2.5/optparse.py", line 1422, in _process_args
> > > self._process_short_opts(rargs, values)
> > > File "/usr/lib/python2.5/optparse.py", line 1529, in
> > _process_short_opts
> > > option.process(opt, value, values, self)
> > > File "/usr/lib/python2.5/optparse.py", line 782, in process
> > > ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.