I have this program what open a dtml what return a XML page, but I
have error with permisions:
import urllib, urllib2
pagina = "http://10.28.1.239/bitacoras/alta/estado2.html";
datos = {"btipo":"D",
"bholo":87654321,
"bplac":"dd-12345",
"accion":"alta_gasolina",
}
para
ity-policy-implementation python
> verbose-security on
>
> After you have done this, you need to restart zope, try again your
> authentication script, and take a look at your event.log file or
> the error_log object. You may find the reason of why is this failing.
> In case you
Using web browser work fine.
Using wireshark I see what my python program not send WWW-Authentification.
Now I going to python list. But if someone know how can tell me please
2008/4/18, Martijn Jacobs <[EMAIL PROTECTED]>:
> Miguel Beltran R. wrote:
>
> > #Martijn
> >
what my python program not send WWW-Authentification.
>
> Now I going to python list. But if someone know how can tell me please
>
> 2008/4/18, Martijn Jacobs <[EMAIL PROTECTED]>:
>
>
> Miguel Beltran R. wrote:
>
>
>
> #Martijn
> Yes, have role manager
>
Hi List
I remember what old versions from zope haved standard_error using DTML
How can do it the same using ZPT?
I already try:
Thanks
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
__
t;
> Just for independent confirmation he's right, "options" is what you want.
>
> --
> Jeffrey D Peterson
> Webmaster
> Crary Industries, Inc.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Andrew Mil
Thanks
Work now :D
Just need remove the single cuotes ( ' )
2008/11/3 Jeff Peterson <[EMAIL PROTECTED]>
> Try this: tal:attributes="id string:'tr_'${repeat/item/number}"
>
>
>
>
>
>
>
> --
>
> Jeffrey D Peterson
>
>
Hi list
After read http://plope.com/Books/2_7Edition/AppendixA.stx#2-19 I tried use
two dtml-in for get information from zsql diferents, but say "This resource
may be trying to reference a nonexistent object or variable *'x_var_region'*
."
what is missing?
The first dtml-in (prefix="q") only ret
I found a litle solution using (1)
but why not work using ?
(1) http://marc.info/?l=zope-dev&m=103341051405194&w=2
2008/11/6 Miguel Beltran R. <[EMAIL PROTECTED]>
> Hi list
>
> After read http://plope.com/Books/2_7Edition/AppendixA.stx#2-19 I tried
> use two dtml-i
can be saved a zsql query to tuple variable?
exist something like this?
how using scripts ?
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist - Zope@zope.org
http:
sorry I already founded
http://plope.com/Books/2_7Edition/RelationalDatabases.stx#2-74
El 7 de noviembre de 2008 14:38, Miguel Beltran R.
<[EMAIL PROTECTED]>escribió:
> can be saved a zsql query to tuple variable?
> exist something like this?
>
>
>
1.2008 20:53 Uhr, Miguel Beltran R. wrote:
>
>> Hi list
>>
>> After read http://plope.com/Books/2_7Edition/AppendixA.stx#2-19 I tried
>> use two dtml-in for get information from zsql diferents, but say "This
>> resource may be trying to reference a nonexistent
>
> The official message for newbies is likely: use ZPT.
>
> Andreas
>
This is what missing in the first response
My error was not say what I have with my system 4 years
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**
pt KeyError: pass#have 'var-region_nombre and
here is 'sequence-var-region_region'
else:
suffix=key[l+1:]
prefix=key[:l]
All work fine until now
2008/11/10 Miguel Beltran R. <[EMAIL PROTECTED]>
> The application is already desi
Hi list
I have a zsql where made a UPDATE and INSERT, I need know when happen a
error to show.
I using pyodbc 2.0.58, zpyodbcda 1.0.6 and ms sql server 2000
[zsql with error after render: actualiza_info ]
SET XACT_ABORT ON
BEGIN TRANSACTION
UPDATE taller SET
comercial = ''
where taller = 1
insert
I tried to insert data using an zsql, insert fine How manage error with
zsql.
Before
Data inserted!!!
Error type:
Error type:
Now (All files are ZPT)
[index_html]
...
...
[proyecto_alta.html]
tal:condition="context/insert_data.zsql"
tal:content="
I trying the next, but not work say " invalid syntax (Script (Python), line
11)"
2008/12/6 robert rottermann <[EMAIL PROTECTED]>
> hi,
>
> I think you should write in a python script:
>
> try:
> result = context.insert_data.zsql
> msg = 'data inserted'
> except StandardError as e:
>
>
> Whenever you get exceptions, you should look at the error
> description in your "error_log" object (in the Zope "Root Folder" of the
> ZMI).
> There, you can see (in the so called traceback) where the exception
> has been raised. This is invaluable information.
>
> --
> Dieter
>
Thanks, anot
dtml-var have dollars-and-cents to made show numbers this way 0,000,000.00
exist something to do the same with zpt tal:content ?
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zop
2009/1/15 Tres Seaver
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Miguel Beltran R. wrote:
> > dtml-var have dollars-and-cents to made show numbers this way
> 0,000,000.00
> > exist something to do the same with zpt tal:content ?
>
> You c
Hi list,
This is a bug in strftime? add to report to launchpad?
09-01-2009
2009/01/10
can someone confirm this?
using a database postgresql 8.3
zope 2.11.1
windows 2003
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
__
Sorry, I not say clear where is the bug
The original data is year 2009, month 01, day 10
2009/4/20 Miguel Beltran R.
> Hi list,
>
> This is a bug in strftime? add to report to launchpad?
>
>
> 09-01-2009
>
Using strftime show day 09. Here is the error.
> 2009/
>
> 'item.fetcha' is what kind of instance? DateTime? datetime?
>
> How to reproduce the behavior?
>
> We need something that works on any system.
>
I don't know what type is.
How can know?
09-01-2009
2009/01/10
getData is a zsql method what connect to postgresql using zpsycopgda 2.0
con
>
> If you strftime to show the hour and minute too, you will see as I
> previously said it is showing you the time in UTC (as determined by how
> many hours is it out).
>
>
I made a test with date 2009/05/07 using
-- dmYzZ=
-- c= -- x -- X
and show this
-- dmYzZ=06/05/2009 -- c=05/06/09 19:0
>
>
>
> You can't use stftime.
> You have to manually build a string with the format you want using the
> other methods inside DateTime.
>
> e.g. fetcha.aCommonZ() or build up your date using
> components such as; fetcha.day() fetcha.month() fetcha.year()
>
>
I made a script what recive a parame
>
>
>
> Zope is running as user scholarpack who is an administrator on win
> server 2008.
> /
>
usar scholarpack have rights to access postgres?
are you see the logs from postgres? new conecctions?
or logs from zope?
___
Zope maillist - Zope@zope.org
Hi list
I have 2 templates, in second template I need render a only when the
first template have defined a variable.
template1:
template2:
span2
span2
span2
span2
span3
any condition in span not work :(
--
Lo bueno de vi
Hi list
I used before with dtml something like this
The sum is
This is possible to made with ZPT?
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist - Zope@zo
>
>
>
> It is possible...
>
>
>
> but not recommended. The kind of logic you are trying to wedge into the
> template should be pushed out into a Python script, leaving the template
> only with the job of rendering the results.
>
>
> Tres.
> - --
>
I want show tabular data with money and the las
Hi list
I have the next tree
root
\-page1.htm
\-scripts
\-script1_py
|
\-folder1
\-folder1a
\-ZPT1
\-zsql1
I trying made a request from PT1 to page1.htm
page1.htm call to script1_py
I want call from script1_py to zsql1
how can recover
2009/7/14 Andreas Jung
> On 15.07.09 01:14, Miguel Beltran R. wrote:
> > Hi list
> >
> > I have the next tree
> >
> > root
> > \-page1.htm
> > \-scripts
> > \-script1_py
> > |
> > \-folder1
> > \-fo
Hi list
how can do a script what return the relative parent from it self?
I use virtual_hosting and because a configuration I need access to my site
like http://mysite or http://192.168.1.1/mysite.
The problem is I have a _menu_ with absolute path, working fine using
http://mysite but not the oth
I resolve using this script
[getmyroot_py]
request = container.REQUEST
if request.has_key("VirtualRootPhysicalPath"):
s=""
else:
s=request.BASE2
return s
[menu]
Proyecto
Alta
Busqueda
___
Zope maillist - Z
2009/8/25 José Henrique
> 2009/6/26 Miguel Beltran R. :
> > Hi list
> >
> > I used before with dtml something like this
> >
> >
> >
> >
> > The sum is
> >
> > This is possible to made with ZPT?
> > --
I only need valid the password users from active directoy
I ask this because exists various add-ons for this
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist - Zope
sorry, i forgot say
I use Zope 2.11.1
2009/8/31 Miguel Beltran R.
> I only need valid the password users from active directoy
>
> I ask this because exists various add-ons for this
>
> --
>
> Lo bueno de vivir un dia mas
> es sa
2009/8/31 Andreas Jung
> On 01.09.09 00:44, Miguel Beltran R. wrote:
> > I only need valid the password users from active directoy
> >
> > I ask this because exists various add-ons for this
>
> LDAPUSerFolder?
>
> -aj
>
Thanks A.J.
--
__
I tried connect to the server but raise a error
Traceback (innermost last):
- Module ZPublisher.Publish, line 119, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 42, in call_object
- Module Products.LDAPUserFolder.LDAPUserFolder, line 441,
2009/9/2 Jens Vagelpohl
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On Sep 2, 2009, at 04:33 , Miguel Beltran R. wrote:
>
> > OPERATIONS_ERROR: {'info': ': LdapErr: DSID-0C090627,
> > comment: In
> > order to perform this o
Hello List
I need a hosting for a zope2 project, It's a old code but we need it at
least 1 year more.
In that time we want to rework our zope2 project to bluebream.
Someone could give us a list of hosting providers?
If the provider supports postgresql 9.1 will be wonderful.
Thanks
--
2011/5/9 Miguel Beltran R.
> Hello List
>
> I need a hosting for a zope2 project, It's a old code but we need it at
> least 1 year more.
> In that time we want to rework our zope2 project to bluebream.
>
> Someone could give us a list of hosting providers?
>
> If
2012/2/6 Brian Sullivan
> I am attempting to park Zope behind Windows 2008/IIS7 (using its
> mod_rewrite function) and seem to be having some difficulty getting it
> to work.
>
> What I want to do is make directory on Zope website look like it is a
> directory on an IIS7 website. I seem to be clo
2012/2/6 Hugo Ramos
> But this doesn't seem to be the problem because templates encoded as
> utf-8 or iso-8859-1 all have the same problem.
>
> Any more ideas?
>
>
> are you played witth *default-zpublisher-encoding* option in zope.conf?
Lo bueno de viv
Really you need this?
Maybeyou could use a calendar with javascript
just one example http://javascriptcalendar.org/javascript-date-picker.php
I'm sure that exists many more
2013/3/28 Giampiero Benvenuti
> Thanks Johannes and Tres,
>
> the trick you both suggested works!
>
> I am forced to use t
When I started with Zope I loved its Zope Book. It was a super simple amd
well documented book with a lot of examples.
Zope3 and all that came later does not have it in my opinion.
I saw right now jinja2 and doesn't like. insert code between html code in
that way remember me dtml. it was good in
Hi list,
I'm trying to use the make a string using a Template and fill it with the
result of a query, but gime this error
You are not allowed to access 'safe_substitute' in this context
Zope = 2.12
from string import Template
rst=someSQL()[0]
txt=Template("""
""")
newtxt=txt.safe_substitute(rs
Hi list, my system is Zope 2.11.4 with default enconding iso-8859-1 for
in/out and SQL Server 2008.
I'm trying to fix a bad desing with a sql server database. it has a mix of
encodings, traditional_spanish and modern_spanish. And some tables with
both type of fields, unicode and normal (nvarchar a
After search a while, someone can confirm if I undestand it well? the
problem is because it is trying to decode to "ascii" instead of "iso-8859-1"
if it's true, why is doing it? I set to use iso-8859-1 in my conf file
2016-06-28 16:56 GMT-05:00 Miguel Beltran R. :
>
If you want to use pip:
>
> $ ./bin/pip install \
>
>
> https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt
>
>
> Tres.
> - --
>
I have tried to install zope 2.13.23 using this method in Windows 7 but it
give me error with zc.recipe.egg.
The steps are:
1.- Install py
I found the issue
https://github.com/pypa/pip/issues/3028
And just for the record.
(control) N:\zope\control>Scripts\pip.exe -V
pip 8.1.2 from n:\zope\control\lib\site-packages (python 2.7)
(control-emisiones3) N:\zope\control>Scripts\pip.exe list
AccessControl (2.13.13)
Acquisition (2.13.9)
Da
Hi again list,
Using zope 2.13.23
ZPyODBCDA 1.0.9.dev0 ( https://github.com/tcurvelo/Products.ZPyODBCDA )
I have tried to install ZpyODBCDA but when I try to start the instance i
got this error
(control-emisiones3)
N:\zope\control-emisiones3>"N:\zope\control-emisiones3\Scripts\runzope" -C
"N:\zo
2016-06-29 20:46 GMT-05:00 Alberto Berti :
> >>>>> "Miguel" == Miguel Beltran R writes:
>
>
> Miguel> After search a while, someone can confirm if I undestand it
> well? the
> Miguel> problem is because it is trying to decode to "as
the only reasonable ODBC approach for Zope nowadays...forget the other
> old crap.
>
> -aj
>
> On 4 Jul 2016, at 18:08, Miguel Beltran R. wrote:
>
> > Hi again list,
> >
> > Using zope 2.13.23
> > ZPyODBCDA 1.0.9.dev0 ( https://github.com/tcurvelo/Products.ZP
Hi again list
After have setup my zope site and database to use ISO-8859-1, I did some
test and unfortunely it fail with javascript doing AJAX calls because the
standart says that all calls must be UTF8 nevertheless the chatset in the
page.
So now I'm changing to use UTF8, but I have another prob
2016-07-22 16:55 GMT-05:00 Miguel Beltran R. :
>
> * agrega_credencial (zsql method)
> "insert into credencial (nombre) values ( N' type="nb">')"
>
>
>
I did some changes to the zsql method to
"insert into credencial (nombre) values
I have installed zope2 using virtualenv and pip (1) but it's installing the
new version of zope2
>pip list
AccessControl (2.13.14)
Acquisition (2.13.9)
BTrees (4.3.1)
Chameleon (2.25)
DateTime (2.12.8)
DocumentTemplate (2.13.2)
docutils (0.12)
ExtensionClass (2.13.2)
five.globalrequest (1.0)
initg
Also installing Products.ZSQLMethods upgrade zope products to version 4
>pip install Products.ZSQLMethods
Installing collected packages: Products.ZSQLMethods, zope.pagetemplate,
zope.browserpage, AuthEncoding, zExceptions, AccessControl,
zope.browserresource
Found existing installation: zope.p
Ok, I found the solution.
Just download the requirements.txt file and append to the end "Zope2 ==
2.13.24" (without quotes)
This install the correct Zope2 version
after that installing Products.ZSQLMethods with pip install the correct
version
___
Zope
2016-10-03 9:47 GMT-05:00 Gemerson Monteiro Maciel :
> Hi,
>
> I found it.
> but I do not see any statement of the server ip, only the port. So
> imagine you change the ip will have no problem, right?
>
>
> *%define INSTANCEHOME /usr/local/Plone/zinstance/parts/instance*
> *instancehome $INSTANCEH
2016-10-04 7:27 GMT-05:00 Michael Brunnbauer :
>
> hi all,
>
> I used to watch https://pypi.python.org/pypi/Zope2/ for Zope 2 updates.
> Last
> version I updated to was 2.13.24.
>
> Now this page offers version 4.0a2 - the a indicating alpha status - but
>
>
I think this break the intention of
htt
2016-11-07 1:18 GMT-06:00 Michael Howitz :
> Am 04.10.2016 um 22:39 schrieb Miguel Beltran R. :
> > 2016-10-04 7:27 GMT-05:00 Michael Brunnbauer :
> […]
> >> Now this page offers version 4.0a2 - the a indicating alpha status - but
> >
> > I think
2016-11-11 5:20 GMT-06:00 Hanno Schlichting :
> On Thu, Nov 10, 2016, at 09:12, Michael Howitz wrote:
> > You are right, it might look strange to have a Zope2 version 4.x.
> > But renaming the Package on PyPI would cause problems for all packages
> > which depend on Zope 4.x, especially for the on
zope.org dead?
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
Good morning list,Glad to be here again in the list and community
I used zope many years ago until version 2.13 and I want to update to the
new version 4/5 but I have found that the Zope Book is not so useful to me
as before.
I used to do me little systems all in the ZMI using pagetemplate, zsql
64 matches
Mail list logo