Re: [nagare-users:653] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread Henrik Härkönen
Hi all!

I just learned about Nagare and I find it fascinating and want to try it 
out!

But perhaps the Python 3 support would be needed urgently, because I can't 
get Nagare installed with the instructions, even with Stackless 2.7. Seems 
that external dependancies are moving on to Python 3, at least looks like 
it with Sphinx when running easy_install nagare[full] :

File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", line 32
def deprecated_alias(modname: str, objects: Dict, warning: 
"Type[Warning]") -> None:
^
SyntaxError: invalid syntax

Also pip is dropping Python 2 support after this year and also my hosting 
provider... :D

-Henrik
On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:

> The 0.6 is not yet pushed to the public Github repositories
>
>
> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>
>> I'm not sure how to get version 0.6 but the github setup.py is using 
>> Python2 print statements 
>>  and 
>> that was the first problem I ran into when trying to do a Windows install 
>> via easy_install  today.
>>
> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :

 I just noticed setup.py is using Python 2 syntax. Any plans to upgrade 
 to Python 3?

>>>
>>> Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Nagare users" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to nagare-users+unsubscr...@googlegroups.com.
>>
>>
>>> To post to this group, send email to nagare...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/nagare-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/40b56158-300c-43b7-a4b4-d105114893b3n%40googlegroups.com.


Re: [nagare-users:657] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread Henrik Härkönen
I haven't tried to "pip" from GitHub before, but is this how it is supposed 
to work?


* pip install git+https://github.com/nagareproject/core.git*
It installed WebOb and cryptography packages, but after that tried and 
failed to find "nagare-editor":




*Collecting nagare-editor (from nagare==0.5.1.dev56+gcb91550)  ERROR: Could 
not find a version that satisfies the requirement nagare-editor (from 
nagare==0.5.1.dev56+gcb91550) (from versions: none)ERROR: No matching 
distribution found for nagare-editor (from nagare==0.5.1.dev56+gcb91550)*

There seems to be no such repository in GitHub or package in PyPI.

-Henrik
On Wednesday, 5 August 2020 at 14:06:44 UTC+3 Henrik Härkönen wrote:

> Thank you for very quick reply! :)
>
> I'll take a look today! 
>
> -Henrik
>
> On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:
>
>> Hi,
>>
>> The Nagare 0.6 repositories (https://github.com/nagareproject) run on 
>> Python 3 and are installable with Pip.
>>
>> I just push the latest commits if you want to take a look.
>>
>> Best regards
>> Alain
>>
>> Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :
>>
>>> Hi all!
>>>
>>> I just learned about Nagare and I find it fascinating and want to try it 
>>> out!
>>>
>>> But perhaps the Python 3 support would be needed urgently, because I 
>>> can't get Nagare installed with the instructions, even with Stackless 2.7. 
>>> Seems that external dependancies are moving on to Python 3, at least looks 
>>> like it with Sphinx when running easy_install nagare[full] :
>>>
>>> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", line 
>>> 32
>>> def deprecated_alias(modname: str, objects: Dict, warning: 
>>> "Type[Warning]") -> None:
>>> ^
>>> SyntaxError: invalid syntax
>>>
>>> Also pip is dropping Python 2 support after this year and also my 
>>> hosting provider... :D
>>>
>>> -Henrik
>>> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>>>
 The 0.6 is not yet pushed to the public Github repositories


 Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :

> I'm not sure how to get version 0.6 but the github setup.py is using 
> Python2 print statements 
>  and 
> that was the first problem I ran into when trying to do a Windows install 
> via easy_install  today.
>
 Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :
>>>
>>> I just noticed setup.py is using Python 2 syntax. Any plans to 
>>> upgrade to Python 3?
>>>
>>
>> Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "Nagare users" group.
>>
> To unsubscribe from this group and stop receiving emails from it, send 
>> an email to nagare-users...@googlegroups.com.
>
>
>> To post to this group, send email to nagare...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/nagare-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/63d8bf2d-5e26-4565-964e-b6107ca06b45n%40googlegroups.com.


Re: [nagare-users:655] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread apoirier
Hi,

The Nagare 0.6 repositories (https://github.com/nagareproject) run on 
Python 3 and are installable with Pip.

I just push the latest commits if you want to take a look.

Best regards
Alain

Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :

> Hi all!
>
> I just learned about Nagare and I find it fascinating and want to try it 
> out!
>
> But perhaps the Python 3 support would be needed urgently, because I can't 
> get Nagare installed with the instructions, even with Stackless 2.7. Seems 
> that external dependancies are moving on to Python 3, at least looks like 
> it with Sphinx when running easy_install nagare[full] :
>
> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", line 32
> def deprecated_alias(modname: str, objects: Dict, warning: 
> "Type[Warning]") -> None:
> ^
> SyntaxError: invalid syntax
>
> Also pip is dropping Python 2 support after this year and also my hosting 
> provider... :D
>
> -Henrik
> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>
>> The 0.6 is not yet pushed to the public Github repositories
>>
>>
>> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>>
>>> I'm not sure how to get version 0.6 but the github setup.py is using 
>>> Python2 print statements 
>>>  and 
>>> that was the first problem I ran into when trying to do a Windows install 
>>> via easy_install  today.
>>>
>> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :
>
> I just noticed setup.py is using Python 2 syntax. Any plans to upgrade 
> to Python 3?
>

 Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Nagare users" group.

>>> To unsubscribe from this group and stop receiving emails from it, send 
 an email to nagare-users...@googlegroups.com.
>>>
>>>
 To post to this group, send email to nagare...@googlegroups.com.
 Visit this group at https://groups.google.com/group/nagare-users.
 For more options, visit https://groups.google.com/d/optout.

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/a93e343b-56d2-4392-8180-909b7327fc2bn%40googlegroups.com.


Re: [nagare-users:656] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread Henrik Härkönen
Thank you for very quick reply! :)

I'll take a look today! 

-Henrik

On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:

> Hi,
>
> The Nagare 0.6 repositories (https://github.com/nagareproject) run on 
> Python 3 and are installable with Pip.
>
> I just push the latest commits if you want to take a look.
>
> Best regards
> Alain
>
> Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :
>
>> Hi all!
>>
>> I just learned about Nagare and I find it fascinating and want to try it 
>> out!
>>
>> But perhaps the Python 3 support would be needed urgently, because I 
>> can't get Nagare installed with the instructions, even with Stackless 2.7. 
>> Seems that external dependancies are moving on to Python 3, at least looks 
>> like it with Sphinx when running easy_install nagare[full] :
>>
>> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", line 
>> 32
>> def deprecated_alias(modname: str, objects: Dict, warning: 
>> "Type[Warning]") -> None:
>> ^
>> SyntaxError: invalid syntax
>>
>> Also pip is dropping Python 2 support after this year and also my hosting 
>> provider... :D
>>
>> -Henrik
>> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>>
>>> The 0.6 is not yet pushed to the public Github repositories
>>>
>>>
>>> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>>>
 I'm not sure how to get version 0.6 but the github setup.py is using 
 Python2 print statements 
  and 
 that was the first problem I ran into when trying to do a Windows install 
 via easy_install  today.

>>> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :
>>
>> I just noticed setup.py is using Python 2 syntax. Any plans to 
>> upgrade to Python 3?
>>
>
> Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Nagare users" group.
>
 To unsubscribe from this group and stop receiving emails from it, send 
> an email to nagare-users...@googlegroups.com.


> To post to this group, send email to nagare...@googlegroups.com.
> Visit this group at https://groups.google.com/group/nagare-users.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/815dd39a-1f91-4c9b-98bf-82de04282e09n%40googlegroups.com.


[nagare-users:661] Setting up 0.6

2020-08-05 Thread Henrik Härkönen
Hi Alain!

Some another "new user OOBE issues" with setting up the 0.6:

The tutorial in the web page tells to use command

*nagare-admin create-app tutorial*

but seems there is no such command anymore. I then found and installed the 
module 
'commands-app-create' and then used *nagare-admin app create tutorial* but 
the response was

*No module named 'nagare.templates*

So I presume there is some package that has the templates, but perhaps not 
published yet? The commands-app-create package has a reference:

*NAGARE_TEMPLATES_REPOSITORY = 
'https://github.com/nagareproject/nagare-templates.git#{0}' *

but that repository gives 404.

-Henrik

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/9dab0b43-f87b-4e58-a467-9b367e254cfen%40googlegroups.com.


Re: [nagare-users:658] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread Henrik Härkönen
Thanks! I'll give it a go.

Yeah, I was mentally preparing for installing them all by hand, haha 
It's good enough for now when learning the ropes.

-Henrik

On Wed, Aug 5, 2020 at 6:59 PM apoirier  wrote:

> Le mercredi 5 août 2020 à 15:42:01 UTC+2, heha...@gmail.com a écrit :
>
>> I haven't tried to "pip" from GitHub before, but is this how it is
>> supposed to work?
>>
>>
>> * pip install git+https://github.com/nagareproject/core.git
>> *
>> It installed WebOb and cryptography packages, but after that tried and
>> failed to find "nagare-editor":
>>
>>
>>
>>
>> *Collecting nagare-editor (from nagare==0.5.1.dev56+gcb91550)  ERROR:
>> Could not find a version that satisfies the requirement nagare-editor (from
>> nagare==0.5.1.dev56+gcb91550) (from versions: none)ERROR: No matching
>> distribution found for nagare-editor (from nagare==0.5.1.dev56+gcb91550)*
>>
>> There seems to be no such repository in GitHub or package in PyPI.
>>
>
> Right. Repository (https://github.com/nagareproject/editor) pushed now
>
> But, the problem is, without Nagare 0.6 packages available in PyPi yet,
> you will have to manually 'pip install git+...' all the Nagare packages you
> need. Hmmm, doable but not fun ...
>
>
>> -Henrik
>> On Wednesday, 5 August 2020 at 14:06:44 UTC+3 Henrik Härkönen wrote:
>>
>>> Thank you for very quick reply! :)
>>>
>>> I'll take a look today!
>>>
>>> -Henrik
>>>
>>> On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:
>>>
 Hi,

 The Nagare 0.6 repositories (https://github.com/nagareproject) run on
 Python 3 and are installable with Pip.

 I just push the latest commits if you want to take a look.

 Best regards
 Alain

 Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :

> Hi all!
>
> I just learned about Nagare and I find it fascinating and want to try
> it out!
>
> But perhaps the Python 3 support would be needed urgently, because I
> can't get Nagare installed with the instructions, even with Stackless 2.7.
> Seems that external dependancies are moving on to Python 3, at least looks
> like it with Sphinx when running easy_install nagare[full] :
>
> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py",
> line 32
> def deprecated_alias(modname: str, objects: Dict, warning:
> "Type[Warning]") -> None:
> ^
> SyntaxError: invalid syntax
>
> Also pip is dropping Python 2 support after this year and also my
> hosting provider... :D
>
> -Henrik
> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>
>> The 0.6 is not yet pushed to the public Github repositories
>>
>>
>> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>>
>>> I'm not sure how to get version 0.6 but the github setup.py is
>>> using Python2 print statements
>>> 
>>> and that was the first problem I ran into when trying to do a Windows
>>> install via easy_install  today.
>>>
>> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :
>
> I just noticed setup.py is using Python 2 syntax. Any plans to
> upgrade to Python 3?
>

 Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5

 --
 You received this message because you are subscribed to the Google
 Groups "Nagare users" group.

>>> To unsubscribe from this group and stop receiving emails from it,
 send an email to nagare-users...@googlegroups.com.
>>>
>>>
 To post to this group, send email to nagare...@googlegroups.com.
 Visit this group at https://groups.google.com/group/nagare-users.
 For more options, visit https://groups.google.com/d/optout.

>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Nagare users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nagare-users/n3jKZEGPEbc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> nagare-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nagare-users/822ddfe7-466d-419f-98f5-c0c2a51e19bbn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: [nagare-users:660] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread Henrik Härkönen
Well, it was definitely not fun, but made it! :D

*nagare-admin info*

gives:


























*Cpython 3.7.5 Stackless 3.7 (default, Jul 27 2020, 16:37:35) [GCC 8.3.1 
20190518 (for GNAT Community 2019 20190517)]User configuration [NOT FOUND]: 
  /home/henrik/.local/share/nagare/nagare.cfgNagare packages:  
Package  Version    
  nagare   0.5.1.dev56+gcb91550  
nagare-commands  0.6a2.dev5+gbf7c579   nagare-commands-base 
0.6a2.dev12+g919c164  nagare-editor0.1.dev3+g5f15d33 
nagare-renderers-html0.6a2.dev6+gfd008de   nagare-renderers-xml 
0.6a2.dev2+g94a14a7   nagare-server0.6a2.dev19+g6f70ffb  
nagare-server-http   0.6a2.dev16+g8a0e983  nagare-server-mvc
0.6a2.dev16+ge0e66c2  nagare-services  2.0.1.dev7+ga7aca7a   
nagare-services-i18n 0.6a2.dev7+g9774df4   nagare-services-logging  
0.6a2.dev6+g58a8a5a   nagare-services-router   0.6a2.dev2+gd696b78   
nagare-services-sessions 0.1.dev10+gba32e6fnagare-services-statics  
0.6a2.dev7+gceb7774 *

so I guess I'm good to go!

Thanks,
Henrik.

On Wednesday, 5 August 2020 at 19:53:46 UTC+3 Henrik Härkönen wrote:

> Thanks! I'll give it a go.
>
> Yeah, I was mentally preparing for installing them all by hand, haha  
> It's good enough for now when learning the ropes.
>
> -Henrik
>
> On Wed, Aug 5, 2020 at 6:59 PM apoirier  wrote:
>
>> Le mercredi 5 août 2020 à 15:42:01 UTC+2, heha...@gmail.com a écrit :
>>
>>> I haven't tried to "pip" from GitHub before, but is this how it is 
>>> supposed to work?
>>>
>>>
>>> * pip install git+https://github.com/nagareproject/core.git 
>>> *
>>> It installed WebOb and cryptography packages, but after that tried and 
>>> failed to find "nagare-editor":
>>>
>>>
>>>
>>>
>>> *Collecting nagare-editor (from nagare==0.5.1.dev56+gcb91550)  ERROR: 
>>> Could not find a version that satisfies the requirement nagare-editor (from 
>>> nagare==0.5.1.dev56+gcb91550) (from versions: none)ERROR: No matching 
>>> distribution found for nagare-editor (from nagare==0.5.1.dev56+gcb91550)*
>>>
>>> There seems to be no such repository in GitHub or package in PyPI.
>>>
>>
>> Right. Repository (https://github.com/nagareproject/editor) pushed now
>>
>> But, the problem is, without Nagare 0.6 packages available in PyPi yet, 
>> you will have to manually 'pip install git+...' all the Nagare packages you 
>> need. Hmmm, doable but not fun ...
>>  
>>
>>> -Henrik
>>> On Wednesday, 5 August 2020 at 14:06:44 UTC+3 Henrik Härkönen wrote:
>>>
 Thank you for very quick reply! :)

 I'll take a look today! 

 -Henrik

 On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:

> Hi,
>
> The Nagare 0.6 repositories (https://github.com/nagareproject) run on 
> Python 3 and are installable with Pip.
>
> I just push the latest commits if you want to take a look.
>
> Best regards
> Alain
>
> Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :
>
>> Hi all!
>>
>> I just learned about Nagare and I find it fascinating and want to try 
>> it out!
>>
>> But perhaps the Python 3 support would be needed urgently, because I 
>> can't get Nagare installed with the instructions, even with Stackless 
>> 2.7. 
>> Seems that external dependancies are moving on to Python 3, at least 
>> looks 
>> like it with Sphinx when running easy_install nagare[full] :
>>
>> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", 
>> line 32
>> def deprecated_alias(modname: str, objects: Dict, warning: 
>> "Type[Warning]") -> None:
>> ^
>> SyntaxError: invalid syntax
>>
>> Also pip is dropping Python 2 support after this year and also my 
>> hosting provider... :D
>>
>> -Henrik
>> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>>
>>> The 0.6 is not yet pushed to the public Github repositories
>>>
>>>
>>> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>>>
 I'm not sure how to get version 0.6 but the github setup.py is 
 using Python2 print statements 
  
 and that was the first problem I ran into when trying to do a Windows 
 install via easy_install  today.

>>> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a 
> écrit :
>>
>> I just noticed setup.py is using Python 2 syntax. Any plans to 
>> upgrade to Python 3?
>>
>
> Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Nagare 

Re: [nagare-users:658] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread apoirier
Le mercredi 5 août 2020 à 15:42:01 UTC+2, heha...@gmail.com a écrit :

> I haven't tried to "pip" from GitHub before, but is this how it is 
> supposed to work?
>
>
> * pip install git+https://github.com/nagareproject/core.git 
> *
> It installed WebOb and cryptography packages, but after that tried and 
> failed to find "nagare-editor":
>
>
>
>
> *Collecting nagare-editor (from nagare==0.5.1.dev56+gcb91550)  ERROR: 
> Could not find a version that satisfies the requirement nagare-editor (from 
> nagare==0.5.1.dev56+gcb91550) (from versions: none)ERROR: No matching 
> distribution found for nagare-editor (from nagare==0.5.1.dev56+gcb91550)*
>
> There seems to be no such repository in GitHub or package in PyPI.
>

Right. Repository (https://github.com/nagareproject/editor) pushed now

But, the problem is, without Nagare 0.6 packages available in PyPi yet, you 
will have to manually 'pip install git+...' all the Nagare packages you 
need. Hmmm, doable but not fun ...
 

> -Henrik
> On Wednesday, 5 August 2020 at 14:06:44 UTC+3 Henrik Härkönen wrote:
>
>> Thank you for very quick reply! :)
>>
>> I'll take a look today! 
>>
>> -Henrik
>>
>> On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:
>>
>>> Hi,
>>>
>>> The Nagare 0.6 repositories (https://github.com/nagareproject) run on 
>>> Python 3 and are installable with Pip.
>>>
>>> I just push the latest commits if you want to take a look.
>>>
>>> Best regards
>>> Alain
>>>
>>> Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :
>>>
 Hi all!

 I just learned about Nagare and I find it fascinating and want to try 
 it out!

 But perhaps the Python 3 support would be needed urgently, because I 
 can't get Nagare installed with the instructions, even with Stackless 2.7. 
 Seems that external dependancies are moving on to Python 3, at least looks 
 like it with Sphinx when running easy_install nagare[full] :

 File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", 
 line 32
 def deprecated_alias(modname: str, objects: Dict, warning: 
 "Type[Warning]") -> None:
 ^
 SyntaxError: invalid syntax

 Also pip is dropping Python 2 support after this year and also my 
 hosting provider... :D

 -Henrik
 On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:

> The 0.6 is not yet pushed to the public Github repositories
>
>
> Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a écrit :
>
>> I'm not sure how to get version 0.6 but the github setup.py is using 
>> Python2 print statements 
>>  and 
>> that was the first problem I ran into when trying to do a Windows 
>> install 
>> via easy_install  today.
>>
> Le vendredi 9 novembre 2018 17:27:23 UTC+1, Terrence Brannon a écrit :

 I just noticed setup.py is using Python 2 syntax. Any plans to 
 upgrade to Python 3?

>>>
>>> Yep, the 0.6 also runs on Python 2.7 and Python >= 3.5
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Nagare users" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to nagare-users...@googlegroups.com.
>>
>>
>>> To post to this group, send email to nagare...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/nagare-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/822ddfe7-466d-419f-98f5-c0c2a51e19bbn%40googlegroups.com.


[nagare-users:663] Re: Setting up 0.6

2020-08-05 Thread apoirier
The lack of proper documentation is why version 0.6 is not yet published on 
Pypi.

Here is a port of the simple counter example of Nagare 0.5 tutorial part 2 
 and 3 
.

Into the 'examples-counter' directory, register the application with 'pip 
install -e .' then launch it with 'nagare-admin app serve 
counter/conf/counter.cfg'

Hope that will help you to start,

Alain

Le mercredi 5 août 2020 19:27:42 UTC+2, Henrik Härkönen a écrit :
>
> Hi Alain!
>
> Some another "new user OOBE issues" with setting up the 0.6:
>
> The tutorial in the web page tells to use command
>
> *nagare-admin create-app tutorial*
>
> but seems there is no such command anymore. I then found and installed the 
> module 
> 'commands-app-create' and then used *nagare-admin app create tutorial* 
> but the response was
>
> *No module named 'nagare.templates*
>
> So I presume there is some package that has the templates, but perhaps not 
> published yet? The commands-app-create package has a reference:
>
> *NAGARE_TEMPLATES_REPOSITORY = 
> 'https://github.com/nagareproject/nagare-templates.git#{0} 
> ' *
>
> but that repository gives 404.
>
> -Henrik
>

-- 
You received this message because you are subscribed to the Google Groups 
"Nagare users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nagare-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nagare-users/febd40be-5e9a-4519-b6dd-7d254d3aff4do%40googlegroups.com.


examples-counter.tgz
Description: GNU Unix tar archive


Re: [nagare-users:662] Re: Nagare should be upgraded to Python 3?

2020-08-05 Thread apoirier
Le mercredi 5 août 2020 à 19:13:48 UTC+2, heha...@gmail.com a écrit :

> Well, it was definitely not fun, but made it! :D
>
> *nagare-admin info*
>
> gives:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Cpython 3.7.5 Stackless 3.7 (default, Jul 27 2020, 16:37:35) [GCC 8.3.1 
> 20190518 (for GNAT Community 2019 20190517)]User configuration [NOT FOUND]: 
>   /home/henrik/.local/share/nagare/nagare.cfgNagare packages:  
> Package  Version    
>   nagare   0.5.1.dev56+gcb91550  
> nagare-commands  0.6a2.dev5+gbf7c579   nagare-commands-base 
> 0.6a2.dev12+g919c164  nagare-editor0.1.dev3+g5f15d33 
> nagare-renderers-html0.6a2.dev6+gfd008de   nagare-renderers-xml 
> 0.6a2.dev2+g94a14a7   nagare-server0.6a2.dev19+g6f70ffb  
> nagare-server-http   0.6a2.dev16+g8a0e983  nagare-server-mvc
> 0.6a2.dev16+ge0e66c2  nagare-services  2.0.1.dev7+ga7aca7a   
> nagare-services-i18n 0.6a2.dev7+g9774df4   nagare-services-logging  
> 0.6a2.dev6+g58a8a5a   nagare-services-router   0.6a2.dev2+gd696b78   
> nagare-services-sessions 0.1.dev10+gba32e6fnagare-services-statics  
> 0.6a2.dev7+gceb7774 *
>
> so I guess I'm good to go!
>

Nearly ;) You need to choose and add a sessions manager. For example 
'nagare-sessions-memory', which doesn't require an external sessions 
storage. And a HTTP publisher, for example 'nagare-publishers-gunicorn'
 

> Thanks,
> Henrik.
>
> On Wednesday, 5 August 2020 at 19:53:46 UTC+3 Henrik Härkönen wrote:
>
>> Thanks! I'll give it a go.
>>
>> Yeah, I was mentally preparing for installing them all by hand, haha  
>> It's good enough for now when learning the ropes.
>>
>> -Henrik
>>
>> On Wed, Aug 5, 2020 at 6:59 PM apoirier  wrote:
>>
>>> Le mercredi 5 août 2020 à 15:42:01 UTC+2, heha...@gmail.com a écrit :
>>>
 I haven't tried to "pip" from GitHub before, but is this how it is 
 supposed to work?


 * pip install git+https://github.com/nagareproject/core.git 
 *
 It installed WebOb and cryptography packages, but after that tried and 
 failed to find "nagare-editor":




 *Collecting nagare-editor (from nagare==0.5.1.dev56+gcb91550)  ERROR: 
 Could not find a version that satisfies the requirement nagare-editor 
 (from 
 nagare==0.5.1.dev56+gcb91550) (from versions: none)ERROR: No matching 
 distribution found for nagare-editor (from nagare==0.5.1.dev56+gcb91550)*

 There seems to be no such repository in GitHub or package in PyPI.

>>>
>>> Right. Repository (https://github.com/nagareproject/editor) pushed now
>>>
>>> But, the problem is, without Nagare 0.6 packages available in PyPi yet, 
>>> you will have to manually 'pip install git+...' all the Nagare packages you 
>>> need. Hmmm, doable but not fun ...
>>>  
>>>
 -Henrik
 On Wednesday, 5 August 2020 at 14:06:44 UTC+3 Henrik Härkönen wrote:

> Thank you for very quick reply! :)
>
> I'll take a look today! 
>
> -Henrik
>
> On Wednesday, 5 August 2020 at 13:57:13 UTC+3 apoirier wrote:
>
>> Hi,
>>
>> The Nagare 0.6 repositories (https://github.com/nagareproject) run 
>> on Python 3 and are installable with Pip.
>>
>> I just push the latest commits if you want to take a look.
>>
>> Best regards
>> Alain
>>
>> Le mercredi 5 août 2020 à 11:23:22 UTC+2, heha...@gmail.com a écrit :
>>
>>> Hi all!
>>>
>>> I just learned about Nagare and I find it fascinating and want to 
>>> try it out!
>>>
>>> But perhaps the Python 3 support would be needed urgently, because I 
>>> can't get Nagare installed with the instructions, even with Stackless 
>>> 2.7. 
>>> Seems that external dependancies are moving on to Python 3, at least 
>>> looks 
>>> like it with Sphinx when running easy_install nagare[full] :
>>>
>>> File "/tmp/easy_install-LkE8CS/Sphinx-3.1.2/sphinx/deprecation.py", 
>>> line 32
>>> def deprecated_alias(modname: str, objects: Dict, warning: 
>>> "Type[Warning]") -> None:
>>> ^
>>> SyntaxError: invalid syntax
>>>
>>> Also pip is dropping Python 2 support after this year and also my 
>>> hosting provider... :D
>>>
>>> -Henrik
>>> On Sunday, 11 November 2018 at 23:58:03 UTC+2 apoirier wrote:
>>>
 The 0.6 is not yet pushed to the public Github repositories


 Le samedi 10 novembre 2018 02:00:01 UTC+1, Terrence Brannon a 
 écrit :

> I'm not sure how to get version 0.6 but the github setup.py is 
> using Python2 print statements 
>  
> and that was the first problem I ran into when trying to do a Windows