fulv
2011-06-22 02:43:47 UTC
I successfully installed Go Mobile and Go Mobile Default Theme on a plain
Plone 3.3.4 site.
However, when I go to m.localhost:8080/site, I get what looks like a
plain-text version of the site, i.e. no styling at all (see attached
screenshot). There are no errors in the log.
I'm not sure if I'm misunderstanding how this is supposed to work. Am I
supposed to create a mobile skin from scratch?
This tutorial<http://blog.mfabrik.com/2011/04/11/tutorial-create-and-theme-mobile-plone-site-with-web-and-mobile/>and this
picture<Loading Image...
>seems to suggest that a basic mobile skin should already be installed and
enabled.
What am I missing?
Here is my environment (I had to fight with buildout for a while to get a
version set that would succeffully build):
Plone 3.3.4
Python 2.4.6
Zope-2.10.11-final
mfabrik.webandmobile = 1.0.3
five.localsitemanager = 1.1
grokcore.formlib = 1.4
grokcore.view = 1.12.2
grokcore.viewlet = 1.3
python-dateutil = 1.5
collective.fastview = 0.2.2
five.grok = 1.0
grokcore.annotation = 1.1
grokcore.component = 1.9
grokcore.security = 1.2
grokcore.site = 1.1
martian = 0.11.2
plone.rfc822 = 1.0
httplib2 = 0.7.1
plone.behavior = 1.0.1
plone.postpublicationhook = 1.1
python-Levenshtein = 0.10.2
vobject = 0.8.1c
Also, I found that at first I was not able to quickinstall Go Mobile, as I
would get this error:
Traceback (innermost last):
Module ZPublisherEventsBackport.patch, line 77, in publish
Module ZPublisher.mapply, line 88, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.factory, line 88, in addPloneSite
Module Products.GenericSetup.tool, line 390, in
runAllImportStepsFromProfile
- __traceback_info__: profile-gomobile.mobile:default
Module Products.GenericSetup.tool, line 1179, in
_runImportStepsFromContext
Module Products.GenericSetup.tool, line 1090, in _doRunImportStep
- __traceback_info__: gomobile.mobile-setup
Module gomobile.mobile.setuphandlers, line 36, in importFinalSteps
AttributeError: mobile_properties
/Users/fulvio/.buildout/eggs/gomobile.mobile-1.0.1-py2.4.egg/gomobile/mobile/setuphandlers.py(36)importFinalSteps()
-> site.portal_properties.mobile_properties.image_resizer_secret =
str(random.randint(0, 999999999))
I got around this by first running the portal_properties import step for Go
Mobile in portal_setup. Not sure if this has anything to do with my issue.
Thanks for any insights!
Fulvio Casali
Web Collective
Plone 3.3.4 site.
However, when I go to m.localhost:8080/site, I get what looks like a
plain-text version of the site, i.e. no styling at all (see attached
screenshot). There are no errors in the log.
I'm not sure if I'm misunderstanding how this is supposed to work. Am I
supposed to create a mobile skin from scratch?
This tutorial<http://blog.mfabrik.com/2011/04/11/tutorial-create-and-theme-mobile-plone-site-with-web-and-mobile/>and this
picture<Loading Image...
enabled.
What am I missing?
Here is my environment (I had to fight with buildout for a while to get a
version set that would succeffully build):
Plone 3.3.4
Python 2.4.6
Zope-2.10.11-final
mfabrik.webandmobile = 1.0.3
five.localsitemanager = 1.1
grokcore.formlib = 1.4
grokcore.view = 1.12.2
grokcore.viewlet = 1.3
python-dateutil = 1.5
collective.fastview = 0.2.2
five.grok = 1.0
grokcore.annotation = 1.1
grokcore.component = 1.9
grokcore.security = 1.2
grokcore.site = 1.1
martian = 0.11.2
plone.rfc822 = 1.0
httplib2 = 0.7.1
plone.behavior = 1.0.1
plone.postpublicationhook = 1.1
python-Levenshtein = 0.10.2
vobject = 0.8.1c
Also, I found that at first I was not able to quickinstall Go Mobile, as I
would get this error:
Traceback (innermost last):
Module ZPublisherEventsBackport.patch, line 77, in publish
Module ZPublisher.mapply, line 88, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
Module ZPublisher.Publish, line 42, in call_object
Module Products.CMFPlone.factory, line 88, in addPloneSite
Module Products.GenericSetup.tool, line 390, in
runAllImportStepsFromProfile
- __traceback_info__: profile-gomobile.mobile:default
Module Products.GenericSetup.tool, line 1179, in
_runImportStepsFromContext
Module Products.GenericSetup.tool, line 1090, in _doRunImportStep
- __traceback_info__: gomobile.mobile-setup
Module gomobile.mobile.setuphandlers, line 36, in importFinalSteps
AttributeError: mobile_properties
/Users/fulvio/.buildout/eggs/gomobile.mobile-1.0.1-py2.4.egg/gomobile/mobile/setuphandlers.py(36)importFinalSteps()
-> site.portal_properties.mobile_properties.image_resizer_secret =
str(random.randint(0, 999999999))
I got around this by first running the portal_properties import step for Go
Mobile in portal_setup. Not sure if this has anything to do with my issue.
Thanks for any insights!
Fulvio Casali
Web Collective
--
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gomobile-dev/-/ir_YN_-5DksJ.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.
You received this message because you are subscribed to the Google Groups "gomobile-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gomobile-dev/-/ir_YN_-5DksJ.
To post to this group, send email to gomobile-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to gomobile-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/gomobile-dev?hl=en.