Em 03/04/2014 09:46, Iasmini - Gmail escreveu:
Em 02/04/2014 15:37, Guillem Barba Domingo escreveu:
El 02/04/2014 20:24, "Iasmini - Gmail" <[email protected]
<mailto:[email protected]>> va escriure:
>
> Em 02/04/2014 15:18, Raimon Esteve escreveu:
>
>> 2014-04-02 20:03 GMT+02:00 Iasmini - Gmail
<[email protected] <mailto:[email protected]>>:
>>>
>>> Hi,
>>>
>>> I've just cloned trytond and tryton to my server using:
>>> hg nclone http://hg.tryton.org/tryton/
>>> hg nclone http://hg.tryton.org/trytond/
>>
>> you download 3.1 (trunk)
>>
>>> And I've just downloaded Tryton client 3.0.2 for windows and when
I'm trying
>>> to creat a new connection profile it is saying: incompatible
version of the
>>> server.
>
> Yesterday I used this commands to clone to server:
>
> hg nclone http://hg.tryton.org/3.0/tryton
> hg nclone http://hg.tryton.org/3.0/trytond
>
> Today I tried to execute tryton client 3.0.2 on windows and showed
me the same error. That's why I recloned today. I thought that there
was a new version compatible with 3.0.2 client.
Iasmini,
Some weeks (months?) ago the tryton repositories was migrated to
Named Branches.
Before that, each tryton version had its own clone => each one had
its own URL
Now, there is only one repo (clone, URL) and to swich to a different
branch than "default" (trunk) you must to do "hg update -c 3.0" after
the clone (3.0 is the name of branch).
I'm not sure now how a "pull & update" should be done wjem you are in
a branch, and I don't know if "hgnested" support branches.
Maybe, it could be useful for you the tryton-utils project that NaN
have in our Bibucket account.
It is a collection of "invoke tasks" to work with tryton (multiple
DCVS, lot pf repos, branches...)
Regards,
Guillem
Hi,
When I try to do "hg update -c 3.0" in .../trytond it says:
uncommited changes
Wich changes? I just cloned! And I don't do any changes directly in
this folder.
The was changes on tryton.conf.
I cloned again and changed to 3.0. Now I can access with windows tryton
client 3.0.2. But, when I try to create a new database it gives me this
error:
Can't create the database, caused by an unknown reason.
If there is a database created, it could be broken. Maybe drop this
database! Please check the error message for possible informations.
Error message:
'module' object has no attribute 'depends'
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 42, in dispatch
res = security.login(database_name, user, session)
File "/trytond/security.py", line 19, in login
pool = _get_pool(dbname)
File "/trytond/security.py", line 13, in _get_pool
pool.init()
File "/trytond/pool.py", line 140, in init
self.start()
File "/trytond/pool.py", line 92, in start
register_classes()
File "/trytond/modules/__init__.py", line 354, in register_classes
mod_file, pathname, description)
File "/trytond/modules/product/__init__.py", line 5, in <module>
from .uom import *
File "/trytond/modules/product/uom.py", line 30, in <module>
class Uom(ModelSQL, ModelView):
File "/trytond/modules/product/uom.py", line 112, in Uom
@fields.depends('factor')
AttributeError: 'module' object has no attribute 'depends'
--
Iasmini Gomes
Sílex Sistemas
www.silexsistemas.com.br
---
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus
está ativa.
http://www.avast.com