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
> > > 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/console$ ./hdlorean.py -H
> > > /home/rober/Documentos/
> > > ERROR:dbus.connection:Unable to set arguments
> > > (['/home/rober/Documentos/'],)
> > > according to signature u's': <type 'exceptions.TypeError'>: Expected a
> > > string or unicode object
> > > Traceback (most recent call last):
> > > File "./hdlorean.py", line 293, in <module>
> > > console.main()
> > > File "./hdlorean.py", line 268, in main
> > > self.getHistory(options.historyPaths)
> > > File "./hdlorean.py", line 81, in getHistory
> > > datos=self.__frontend.getHistorical(path)
> > > File "/home/rober/Repo Propio/testing/src/console/FrontendProxy.py",
> > line
> > > 354, in getHistorical
> > > return self.__serverSnapshotManager.getHistorical(path)
> > > File "/var/lib/python-support/python2.5/dbus/proxies.py", line 63, in
> > > __call__
> > > return self._proxy_method(*args, **keywords)
> > > File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135,
> in
> > > __call__
> > > **keywords)
> > > File "/var/lib/python-support/python2.5/dbus/connection.py", line
> 593,
> > in
> > > call_blocking
> > > message.append(signature=signature, *args)
> > > TypeError: Expected a string or unicode object
> > >
> > >
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -s
> > > rober@rober-laptop:~/Repo Propio/testing/src/console$ ./hdlorean.py -k
> > >
> > > Como el que oye llover...
> > >
> > >
> > > Pos nada aqui estan las cositas que he encontrao en la consola.
> > >
> > >
> > > ** Attachment added: "unnamed"
> > > http://launchpadlibrarian.net/13836058/unnamed
> > >
> > > --
> > > Console
> > > https://bugs.launchpad.net/bugs/218458
> > > You received this bug notification because you are a member of HD
> Lorean
> > > developers, which is a bug assignee.
> > >
> >
> > ** Attachment added: "unnamed"
> > http://launchpadlibrarian.net/13839359/unnamed
> >
> > --
> > Console
> > https://bugs.launchpad.net/bugs/218458
> > You received this bug notification because you are subscribed to HD
> > Lorean.
> >
>
>
> ** Attachment added: "unnamed"
> http://launchpadlibrarian.net/13839546/unnamed
>
> --
> Console
> https://bugs.launchpad.net/bugs/218458
> You received this bug notification because you are a member of HD Lorean
> developers, which is a bug assignee.
>
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 laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -T laptop: ~/Repo Propio/ testing/ src/console$ laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -l laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -t python2. 5/optparse. py", line 1378, in parse_args args(largs, rargs, values) python2. 5/optparse. py", line 1422, in _process_args short_opts( rargs, values) python2. 5/optparse. py", line 1529, in python2. 5/optparse. py", line 782, in process python2. 5/optparse. py", line 802, in take_action timegm( value) python2. 5/calendar. py", line 602, in timegm laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -i Documentos Documentos Documentos Documentos/ poema.odt Documentos Documentos Documentos Documentos Documentos Documentos Documentos/ poema.odt Documentos Documentos Documentos/ poema.odt Documentos laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -H Documentos/ connection: Unable to set arguments rober/Documento s/'],) TypeError' >: Expected a (options. historyPaths) __frontend. getHistorical( path) testing/ src/console/ FrontendProxy. py", serverSnapshotM anager. getHistorical( path) python- support/ python2. 5/dbus/ proxies. py", line 63, in method( *args, **keywords) python- support/ python2. 5/dbus/ proxies. py", line 135, python- support/ python2. 5/dbus/ connection. py", line append( signature= signature, *args) laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -s laptop: ~/Repo Propio/ testing/ src/console$ ./hdlorean.py -k launchpadlibrar ian.net/ 13836058/ unnamed /bugs.launchpad .net/bugs/ 218458 launchpadlibrar ian.net/ 13839359/ unnamed /bugs.launchpad .net/bugs/ 218458 launchpadlibrar ian.net/ 13839546/ unnamed /bugs.launchpad .net/bugs/ 218458
> 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-
> > > Usage: hdlorean.py [options]
> > >
> > > hdlorean.py: error: -T option requires an argument
> > > rober@rober-
> > >
> > >
> > > esto tiene un default... pos va a ser q el default es pedir argumento
> ^^
> > >
> > > rober@rober-
> > > 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-
> > > 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/
> > > stop = self._process_
> > > File "/usr/lib/
> > > self._process_
> > > File "/usr/lib/
> > _process_short_opts
> > > option.process(opt, value, values, self)
> > > File "/usr/lib/
> > > self.action, self.dest, opt, value, values, parser)
> > > File "/usr/lib/
> > > self.callback(self, opt, value, parser, *args, **kwargs)
> > > File "./hdlorean.py", line 184, in __makeTimestamp
> > > value=calendar.
> > > File "/usr/lib/
> > > 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-
> > > Geting snapshot info
> > > Recoverable paths
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > > /home/rober/
> > >
> > >
> > > Si, nuestras UI's duplican paths en un mal endemico de las interfaces
> de
> > > usuario... :D
> > >
> > >
> > > rober@rober-
> > > /home/rober/
> > > ERROR:dbus.
> > > (['/home/
> > > according to signature u's': <type 'exceptions.
> > > string or unicode object
> > > Traceback (most recent call last):
> > > File "./hdlorean.py", line 293, in <module>
> > > console.main()
> > > File "./hdlorean.py", line 268, in main
> > > self.getHistory
> > > File "./hdlorean.py", line 81, in getHistory
> > > datos=self.
> > > File "/home/rober/Repo Propio/
> > line
> > > 354, in getHistorical
> > > return self.__
> > > File "/var/lib/
> > > __call__
> > > return self._proxy_
> > > File "/var/lib/
> in
> > > __call__
> > > **keywords)
> > > File "/var/lib/
> 593,
> > in
> > > call_blocking
> > > message.
> > > TypeError: Expected a string or unicode object
> > >
> > >
> > > rober@rober-
> > > rober@rober-
> > >
> > > Como el que oye llover...
> > >
> > >
> > > Pos nada aqui estan las cositas que he encontrao en la consola.
> > >
> > >
> > > ** Attachment added: "unnamed"
> > > http://
> > >
> > > --
> > > Console
> > > https:/
> > > You received this bug notification because you are a member of HD
> Lorean
> > > developers, which is a bug assignee.
> > >
> >
> > ** Attachment added: "unnamed"
> > http://
> >
> > --
> > Console
> > https:/
> > You received this bug notification because you are subscribed to HD
> > Lorean.
> >
>
>
> ** Attachment added: "unnamed"
> http://
>
> --
> Console
> https:/
> You received this bug notification because you are a member of HD Lorean
> developers, which is a bug assignee.
>