[Plone-IT] calendario prenotazione risorse a pagamento

Massimiliano De Ruosi max.deruosi a uniud.it
Mer 19 Set 2012 14:01:41 UTC


guardando la descrizione del prodotto, PloneBooking sembrerebbe molto  
interessante. Purtroppo con Plone 4.2.1 l'installazione da qualche  
errore, e zope si rifiuta di partire: secondo voi sbaglio qualcosa di  
ovvio, oppure dovrei sottoporre un ticket agli sviluppatori  
(ingeniweb, se non erro)?

Allego gli errori durante su bin/buildout e bin/instance fg

Quoting Luca Fabbri <keul a redturtle.it>:

> 2012/9/18 Massimiliano De Ruosi <max.deruosi a uniud.it>:
>> Ciao a tutti,
>>
>> in questo periodo mi sto cimentando nella realizzazione di un sito per una
>> societÓ sportiva, e mi serve un sistema di prenotazioni, possibilmente
>> collegato ad un carrello, in modo da permettere all'utente registrato sul
>> sito di prenotare e pagare il tavolo da gioco online. I requisiti sono
>> grossomodo:
>>
>> - Un calendario che gestisca un certo numero di risorse (i tavoli da gioco),
>> prenotabili per intervalli di tempo preconfigurati (ad es. ogni ora, dalle
>> 9:00 alle 22:00)
>> - Pagamento con paypal
>> - Prenotazione solo per utenti registrati
>> - Visualizzazione pubblica delle prenotazioni
>>
>> Avete suggerimenti? Esistono prodotti che vanno vicini alla mia esigenza?
>>
>
> PloneBooking si potrebbe avvicinare abbastanza al comportamento di
> calendario che descrivi. Le prenotazioni possono essere sottoposte ad
> una "revisione", quindi un'accettazione da parte di un amministratore.
>
> Ovviamente manca completamente la parte di integrazione con il pagamento.
>
> --
> Saluti/Regards
>
> Luca Fabbri - RedTurtle Technology
> E-mail: luca.fabbri a redturtle.it
> Web Site: http://www.redturtle.it/
> Phone: +39 0532 1915958
> Fax: +39 0532 287070
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>

Massimiliano De Ruosi


----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine
-------------- parte successiva --------------
hp-max:zinstance$ bin/buildout 
Uninstalling zopeskel.
Uninstalling zopepy.
Uninstalling instance.
Installing instance.
Getting distribution for 'Products.PloneBooking'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/PloneBooking/skins/plonebooking_scripts/plonebooking_add.py', 63, None, 'return response.redirect(redirect_url)'))

SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/PloneBooking/skins/plonebooking_scripts/booking_periodicity_create.py', 22, None, 'return \'<div class="portalMessage">The periodicity end date is not valid</div>\'\n'))

SyntaxError: ("'return' outside function", ('build/bdist.linux-x86_64/egg/Products/PloneBooking/skins/plonebooking_scripts/getPeriodicityResult.py', 34, None, 'return html_message\n'))

SyntaxError: ("'return' outside function", ('/home/max/plone-test/buildout-cache/eggs/tmpDQBtdC/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/skins/plonebooking_scripts/plonebooking_add.py', 63, None, 'return response.redirect(redirect_url)'))

SyntaxError: ("'return' outside function", ('/home/max/plone-test/buildout-cache/eggs/tmpDQBtdC/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/skins/plonebooking_scripts/booking_periodicity_create.py', 22, None, 'return \'<div class="portalMessage">The periodicity end date is not valid</div>\'\n'))

SyntaxError: ("'return' outside function", ('/home/max/plone-test/buildout-cache/eggs/tmpDQBtdC/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/skins/plonebooking_scripts/getPeriodicityResult.py', 34, None, 'return html_message\n'))

Got Products.PloneBooking 2.2.3.
Generated script '/home/max/plone-test/zinstance/bin/instance'.
Installing zopepy.
Generated interpreter '/home/max/plone-test/zinstance/bin/zopepy'.
Installing zopeskel.
Generated script '/home/max/plone-test/zinstance/bin/zopeskel'.
Generated script '/home/max/plone-test/zinstance/bin/paster'.
Updating backup.
Updating chown.
chown: Running echo Dummy references to force this to execute after referenced parts
echo /home/max/plone-test/zinstance/var/backups 
chmod 600 .installed.cfg
find /home/max/plone-test/zinstance/var -type d -exec chmod 700 {} \;
chmod 744 /home/max/plone-test/zinstance/bin/*
Dummy references to force this to execute after referenced parts
/home/max/plone-test/zinstance/var/backups
Updating repozo.
Updating unifiedinstaller.
*************** PICKED VERSIONS ****************
[versions]
Products.PloneBooking = 2.2.3

*************** /PICKED VERSIONS ***************
hp-max:zinstance$ bin/instance fg
2012-09-19 14:55:05 INFO ZServer HTTP server started at Wed Sep 19 14:55:05 2012
	Hostname: 0.0.0.0
	Port: 8080
2012-09-19 14:55:06 WARNING SecurityInfo Conflicting security declarations for "setText"
2012-09-19 14:55:06 WARNING SecurityInfo Class "ATTopic" had conflicting security declarations
2012-09-19 14:55:06 ERROR Application Could not import Products.PloneBooking
Traceback (most recent call last):
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/OFS/Application.py", line 606, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/__init__.py", line 47, in <module>
    from Products.PloneBooking import content
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/content/__init__.py", line 28, in <module>
    import Booking
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/content/Booking.py", line 51, in <module>
    from Products.generator import i18n
ImportError: cannot import name i18n
Traceback (most recent call last):
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
    run()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/Startup/run.py", line 22, in run
    starter.prepare()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
    self.startZope()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/Startup/__init__.py", line 259, in startZope
    Zope2.startup()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/Zope2/App/startup.py", line 67, in startup
    OFS.Application.import_products()
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/OFS/Application.py", line 583, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "/home/max/plone-test/buildout-cache/eggs/Zope2-2.13.16-py2.7.egg/OFS/Application.py", line 606, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/__init__.py", line 47, in <module>
    from Products.PloneBooking import content
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/content/__init__.py", line 28, in <module>
    import Booking
  File "/home/max/plone-test/buildout-cache/eggs/Products.PloneBooking-2.2.3-py2.7.egg/Products/PloneBooking/content/Booking.py", line 51, in <module>
    from Products.generator import i18n
ImportError: cannot import name i18n



Maggiori informazioni sulla lista Plone-IT