Closed stephenedavis closed 11 years ago
you need to configure your hosts in the config.yaml. For example if you are printing using the MapQuest OpenStreetMap provider, then add it to the list of allowed hosts:
hosts:
I'm having the same problem. I've already done modifying the config.yaml but still the problem isn't solved. For details, I installed GeoNode 2.0b on a fresh Ubuntu server 12.04LTS ..
Hi in order to have the printing tool working I had to add all the following to the config.yaml. Now it's working perfectly. Just a remark, the printing tool is currently unable to print not public layers even if the user is authenticated. This feature is not supported by mapfish. If you need printing of private layers there is a kind of workaround I did but has to be used carefully in a production environment.
2013/5/14 jeffytoms notifications@github.com
I'm having the same problem. I've already done modifying the config.yaml but still the problem isn't solved. For details, I installed GeoNode 2.0b on a fresh Ubuntu server 12.04LTS ..
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17859794 .
Simone
All of those urls exist in my configuration file. However, when I add a background layer like the default mapquest openstreetmap and try to print, I get the error. I have found if I remove the background layer, it does not create the error, so it is related to that in some way. I have verified the urls it is using when printing with the mpaquest openstreetmap layer is otile1.mqcdn.com, otile2.... otile3.... and otile4..... So, knowing those urls are in configure.yaml, and I still get the error message when I print, something else seems to be playing a role here.
that is very strange. I have a clean master in dev mode here and is printing perfectly with that yaml configuration... Could you paste more info about the error? like exploring the network response with firebug.
2013/5/14 stephenedavis notifications@github.com
All of those urls exist in my configuration file. However, when I add a background layer like the default mapquest openstreetmap and try to print, I get the error. I have found if I remove the background layer, it does not create the error, so it is related to that in some way. I have verified the urls it is using when printing with the mpaquest openstreetmap layer is otile1.mqcdn.com, otile2.... otile3.... and otile4..... So, knowing those urls are in configure.yaml, and I still get the error message when I print, something else seems to be playing a role here.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17875603 .
Simone
This is the actual error when trapping the network response
Error while generating PDF:
DocumentException: org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://otile1.mqcdn.com/tiles/1.0.0/map/ (java.util.HashMap cannot be cast to org.mapfish.print.config.HostMatcher)
at org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:64)
at org.mapfish.print.map.readers.HTTPMapReader.
the error tells that the config.yaml is missing this entry:
can you also doublecheck the syntax?
2013/5/14 stephenedavis notifications@github.com
This is the actual error when trapping the network response
Error while generating PDF: DocumentException: org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://otile1.mqcdn.com/tiles/1.0.0/map/ (java.util.HashMap cannot be cast to org.mapfish.print.config.HostMatcher) at org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:64) at org.mapfish.print.map.readers.HTTPMapReader.(HTTPMapReader.java:55) at org.mapfish.print.map.readers.TileableMapReader.(TileableMapReader.java:40) at org.mapfish.print.map.readers.OsmMapReader.(OsmMapReader.java:41) at org.mapfish.print.map.readers.OsmMapReader.create(OsmMapReader.java:78) at org.mapfish.print.map.readers.MapReader.create(MapReader.java:56) at org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:98) at org.mapfish.print.ChunkDrawer.render(ChunkDrawer.java:55) at org.mapfish.print.ChunkDrawer.tableLayout(ChunkDrawer.java:49) at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source) at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source) at com.lowagie.text.pdf.ColumnText.goComposite(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at com.lowagie.text.pdf.PdfPRow.writeCells(Unknown Source) at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source) at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source) at com.lowagie.text.pdf.PdfPTable.writeSelectedRows(Unknown Source) at com.lowagie.text.pdf.ColumnText.goComposite(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at com.lowagie.text.pdf.PdfDocument.addPTable(Unknown Source) at com.lowagie.text.pdf.PdfDocument.add(Unknown Source) at com.lowagie.text.Document.add(Unknown Source) at org.mapfish.print.config.layout.Page$1.add(Page.java:67) at org.mapfish.print.config.layout.MapBlock.render(MapBlock.java:66) at org.mapfish.print.config.layout.Page.render(Page.java:65) at org.mapfish.print.config.layout.MainPage.render(MainPage.java:62) at org.mapfish.print.config.layout.Layout.render(Layout.java:59) at org.mapfish.print.MapPrinter.print(MapPrinter.java:144) at org.mapfish.print.servlet.MapPrinterServlet.doCreatePDFFile(MapPrinterServlet.java:275) at org.mapfish.print.servlet.MapPrinterServlet.createPDF(MapPrinterServlet.java:148) at org.mapfish.print.servlet.MapPrinterServlet.doPost(MapPrinterServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geonode.security.GeoNodeAnonymousProcessingFilter.doFilter(GeoNodeAnonymousProcessingFilter.java:76) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.authentication. www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:96) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:97) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: java.util.HashMap cannot be cast to org.mapfish.print.config.HostMatcher at org.mapfish.print.config.Config.validateUri(Config.java:202) at org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:60) ... 116 more
Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17876299 .
Simone
I copied and pasted this section from the file
host: d.tile.openstreetmap.org
It prints my local layers just fine, which means it is reading this file and the entry I put for my local server makes it work for those layers.
Do you see something I am not seeing?
seems correct. Are you using geonode in dev mode? and which printing file are you editing? The correct one is in /geonode_dir/geoserver/data/printing
2013/5/14 stephenedavis notifications@github.com
I copied and pasted this section from the file
host: d.tile.openstreetmap.org
- !dnsMatch host: oatile1.mqcdn.com
- !dnsMatch host: oatile2.mqcdn.com
- !dnsMatch host: oatile3.mqcdn.com
- !dnsMatch host: oatile4.mqcdn.com
- !dnsMatch host: otile1.mqcdn.com
- !dnsMatch host: otile2.mqcdn.com
- !dnsMatch host: otile3.mqcdn.com
- !dnsMatch host: otile4.mqcdn.com
- !dnsMatch
It prints my local layers just fine, which means it is reading this file and the entry I put for my local server makes it work for those layers.
Do you see something I am not seeing?
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17877137 .
Simone
In this particular case it is a clean install of geonode on a test server, not in dev mode. We are trying to get it to work with just all of the defaults as if it was in production.
The only config.yaml file that was installed with the geonode ubuntu package is in [geoserver data directory]/data/printing/config.yaml. That is the correct location according to the geoserver documentation.
Just to see, though, I created the directory in the geonode directory that you specified in your last comment. After looking through the mapfish documentation, when mapfish is being installed for an application, there should be some entries in the web.xml file. However, there were none made on my machine.
So, I guess the best question to ask at this point is where can I go to figure out where it is actually looking for the configuration file for mapfish, because it is not looking in any of the places I have tried?
ok if you installed using the ubuntu package, then the file is here:
/usr/share/geoserver/data/printing/config.yaml
is it the same for you?
2013/5/14 stephenedavis notifications@github.com
In this particular case it is a clean install of geonode on a test server, not in dev mode. We are trying to get it to work with just all of the defaults as if it was in production.
The only config.yaml file that was installed with the geonode ubuntu package is in [geoserver data directory]/data/printing/config.yaml. That is the correct location according to the geoserver documentation.
Just to see, though, I created the directory in the geonode directory that you specified in your last comment. After looking through the mapfish documentation, when mapfish is being installed for an application, there should be some entries in the web.xml file. However, there were none made on my machine.
So, I guess the best question to ask at this point is where can I go to figure out where it is actually looking for the configuration file for mapfish, because it is not looking in any of the places I have tried?
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17880024 .
Simone
yes, that is the file I have edited. I still cannot find anywhere in the installation where it actually tells mapfish to use that location for the config file though
it tells it through the geoserver data dir that points to that location. By the way, have you tried to restart java after the edits?
2013/5/14 stephenedavis notifications@github.com
yes, that is the file I have edited. I still cannot find anywhere in the installation where it actually tells mapfish to use that location for the config file though
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17880697 .
Simone
after making the edits, each time I have restarted tomcat
I verified that I am editing the correct file and that my changes are being picked up by editing the config.yaml file and setting the title of the document to something hard-coded, and once i printed after that, i saw the title i was expecting. However, I still cannot print with a background layer
Hi Stephen, at this point I don't have any other options, I'm sorry. You could try to ask on the mapfish mailing list http://mapfish.org/http://mapfish.org/
2013/5/14 stephenedavis notifications@github.com
I verified that I am editing the correct file and that my changes are being picked up by editing the config.yaml file and setting the title of the document to something hard-coded, and once i printed after that, i saw the title i was expecting. However, I still cannot print with a background layer
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17882232 .
Simone
Hi Simone. I tried pasting your configuration to my "config.yaml" file and the printing seems to work now. BIG THANKS to you! =D However, when I opened the pdf file created for printing, it only shows the base map and does not include the layers on it.. Are there more configurations that I should do?
Regards, Jeff
On Wed, May 15, 2013 at 3:11 PM, Simone Dalmasso notifications@github.comwrote:
Hi Stephen, at this point I don't have any other options, I'm sorry. You could try to ask on the mapfish mailing list http://mapfish.org/http://mapfish.org/
2013/5/14 stephenedavis notifications@github.com
I verified that I am editing the correct file and that my changes are being picked up by editing the config.yaml file and setting the title of the document to something hard-coded, and once i printed after that, i saw the title i was expecting. However, I still cannot print with a background layer
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-17882232> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17923341 .
@jeffytoms glad that you solved. This could be the problem of printing not public layers. The mapfish printing system cannot print layers that are not flagged a read for everyone. Can you check that they are public? I'v written a workaround for this but cannot be put in the GeoNode master, let me know if you need it.
I guess I would really be needing it Simone. We highly need the printing of maps but at the same time we can't allow layers to be accessible to anyone. This project is an inter-agency collaboration in nature or it is a kind of geospatial information sharing among government agencies so we can't allow the public to have access to sensitive data. I've read that you have some work around to resolve it. Please share.
Regards, Jeff
On Wed, May 15, 2013 at 5:33 PM, Simone Dalmasso notifications@github.comwrote:
@jeffytoms https://github.com/jeffytoms glad that you solved. This could be the problem of printing not public layers. The mapfish printing system cannot print layers that are not flagged a read for everyone. Can you check that they are public? I'v written a workaround for this but cannot be put in the GeoNode master, let me know if you need it.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17928660 .
Ok, so the workaround works like this, when you print the map it temporary sets the layers as public for a second and then restores the permissions. We are testing it here in a deployed 2.0 and seems to work fine but has to be use carefully. Of course is not structural workaround. Anyway you can find it here: https://github.com/simod/geonode/tree/print-proxy
I'm so sorry but I didn't pretty much understood what's in there. Am I suppose to copy the files and merge it with the files I have in my server?
On Wed, May 15, 2013 at 5:50 PM, Simone Dalmasso notifications@github.comwrote:
Ok, so the workaround works like this, when you print the map it temporary sets the layers as public for a second and then restores the permissions. We are testing it here in a deployed 2.0 and seems to work fine but has to be use carefully. Of course is not structural workaround. Anyway you can find it here: https://github.com/simod/geonode/tree/print-proxy
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17929398 .
I guess you installed geonode via the apt package. If yes, I think the best way is to clone my repo on your computer and install it. I suggest you to not do the following in a production environment and test it before. You need to have git installed:
sudo apt-get install git-core
Clone the repo in a folder of your convenience:
git clone git://github.com/simod/geonode.git geonode-printing cd geonode-printing git checkout print-proxy sudo pip install . (put the dot also) sudo service apache2 restart
This will overwrite the system geonode with a version updated with the last master repository.
Let us know if it works.
Hi Simone,
What does this line do: git clone git://github.com/simod/geonode.git geonode-printing
What does the "geonode-printing" at the end means? Is it a directory? Can you please show the syntax..I haven't execute those commands you have given though. I just thought I have to be sure before entering those commands.
Regards, Jeff
On Wed, May 15, 2013 at 7:42 PM, Simone Dalmasso notifications@github.comwrote:
I guess you installed geonode via the apt package. If yes, I think the best way is to clone my repo on your computer and install it. I suggest you to not do the following in a production environment and test it before. You need to have git installed:
sudo apt-get install git-core
Clone the repo in a folder of your convenience:
git clone git://github.com/simod/geonode.git geonode-printing cd geonode-printing git checkout print-proxy sudo pip install . (put the dot also) sudo service apache2 restart
This will overwrite the system geonode with a version updated with the last master repository.
Let us know if it works.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17933557 .
Hi Simone,
What does this line do: git clone git://github.com/simod/geonode.git geonode-printing
What does the "geonode-printing" at the end means? Is it a directory? Can you please show the syntax.. Because it seems that the next command after that is to go the "geonode-printing" directory. If I have to create a folder, where should that folder be located then? I haven't executed yet those commands you have given though. I just thought I have to be sure before entering those commands.
Regards, Jeff
On Wed, May 15, 2013 at 7:42 PM, Simone Dalmasso notifications@github.com wrote:
I guess you installed geonode via the apt package. If yes, I think the best way is to clone my repo on your computer and install it. I suggest you to not do the following in a production environment and test it before. You need to have git installed:
sudo apt-get install git-core
Clone the repo in a folder of your convenience:
git clone git://github.com/simod/geonode.git geonode-printing cd geonode-printing git checkout print-proxy sudo pip install . (put the dot also) sudo service apache2 restart
This will overwrite the system geonode with a version updated with the last master repository.
Let us know if it works.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17933557 .
On Wed, May 15, 2013 at 7:42 PM, Simone Dalmasso notifications@github.comwrote:
I guess you installed geonode via the apt package. If yes, I think the best way is to clone my repo on your computer and install it. I suggest you to not do the following in a production environment and test it before. You need to have git installed:
sudo apt-get install git-core
Clone the repo in a folder of your convenience:
git clone git://github.com/simod/geonode.git geonode-printing cd geonode-printing git checkout print-proxy sudo pip install . (put the dot also) sudo service apache2 restart
This will overwrite the system geonode with a version updated with the last master repository.
Let us know if it works.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-17933557 .
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso notifications@github.comwrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18045634 .
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong jeffytoms@gmail.comwrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso <notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18045634 .
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong jeffytoms@gmail.comwrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18387374 .
Simone
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18389015 .
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18389889 .
Simone
Hi Simone,
Thank you for staying with me all this time.. :D
I executed the commands you have given me. And here I wanna show you what happened:
(geonode)jjqt@GeoNode:~/geonode-printing$ sudo pip install -e . [sudo] password for jjqt: Obtaining file:///home/jjqt/geonode-printing Running setup.py egg_info for package from file:///home/jjqt/geonode-printing
Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from GeoNode==2.0.dev20130515094953) Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking gsconfig==0.6.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package gsconfig
Downloading/unpacking OWSLib==0.6.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package OWSLib
Downloading/unpacking Django==1.4.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package Django
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7 in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking pinax-theme-bootstrap==2.2.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap
Downloading/unpacking pinax-theme-bootstrap-account==1.0b2 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap-account
Downloading/unpacking django-user-accounts==1.0b7 (from GeoNode==2.0.dev20130515094953) Downloading django-user-accounts-1.0b7.tar.gz Running setup.py egg_info for package django-user-accounts
Downloading/unpacking django-forms-bootstrap==2.0.3.post1 (from GeoNode==2.0.dev20130515094953) Downloading django-forms-bootstrap-2.0.3.post1.tar.gz Running setup.py egg_info for package django-forms-bootstrap
Downloading/unpacking django-pagination (from GeoNode==2.0.dev20130515094953) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 97, in find_requirement page = self._get_page(main_index_url, req) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 324, in _get_page return HTMLPage.get_page(link, req, cache=self.cache) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 441, in get_page resp = urlopen(url) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call response = urllib2.urlopen(self.get_request(url)) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 438, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) BadStatusLine: ''
Storing complete log in /home/jjqt/.pip/pip.log (geonode)jjqt@GeoNode:~/geonode-printing$ sudo service apache2 restart
Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
After this, I tried to print a map with private layers but still it doesn't work. I tried to make the layers into public and edit it again to make it private but still to no avail.. Can you please go over the process above. I'm not really sure if there's a serious error or failure that I overlooked. I badly need your suggestions on this matter. Thanks
Regards, Jeff
On Fri, May 24, 2013 at 3:39 PM, Simone Dalmasso notifications@github.comwrote:
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634>
.
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374> .
Simone
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015> .
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389889> .
Simone
Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18390755 .
Hi I think the problem is that you used sudo in pip install. You need to have write permissions in the /var/lib/geonode folder and then from the copy of the repo just do "pip install -e ." without sudo.
Ciao
2013/5/28 jeffytoms notifications@github.com
Hi Simone,
Thank you for staying with me all this time.. :D
I executed the commands you have given me. And here I wanna show you what happened:
(geonode)jjqt@GeoNode:~/geonode-printing$ sudo pip install -e . [sudo] password for jjqt: Obtaining file:///home/jjqt/geonode-printing Running setup.py egg_info for package from file:///home/jjqt/geonode-printing
Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from GeoNode==2.0.dev20130515094953) Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking gsconfig==0.6.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package gsconfig
Downloading/unpacking OWSLib==0.6.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package OWSLib
Downloading/unpacking Django==1.4.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package Django
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7 in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking pinax-theme-bootstrap==2.2.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap
Downloading/unpacking pinax-theme-bootstrap-account==1.0b2 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap-account
Downloading/unpacking django-user-accounts==1.0b7 (from GeoNode==2.0.dev20130515094953) Downloading django-user-accounts-1.0b7.tar.gz Running setup.py egg_info for package django-user-accounts
Downloading/unpacking django-forms-bootstrap==2.0.3.post1 (from GeoNode==2.0.dev20130515094953) Downloading django-forms-bootstrap-2.0.3.post1.tar.gz Running setup.py egg_info for package django-forms-bootstrap
Downloading/unpacking django-pagination (from GeoNode==2.0.dev20130515094953) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 97, in find_requirement page = self._get_page(main_index_url, req) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 324, in _get_page return HTMLPage.get_page(link, req, cache=self.cache) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 441, in get_page resp = urlopen(url) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call response = urllib2.urlopen(self.get_request(url)) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 438, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) BadStatusLine: ''
Storing complete log in /home/jjqt/.pip/pip.log (geonode)jjqt@GeoNode:~/geonode-printing$ sudo service apache2 restart
- Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
After this, I tried to print a map with private layers but still it doesn't work. I tried to make the layers into public and edit it again to make it private but still to no avail.. Can you please go over the process above. I'm not really sure if there's a serious error or failure that I overlooked. I badly need your suggestions on this matter. Thanks
Regards, Jeff
On Fri, May 24, 2013 at 3:39 PM, Simone Dalmasso notifications@github.comwrote:
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634>
.
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374>
.
Simone
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015> .
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389889> .
Simone
Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18390755> .
Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18521335 .
Simone
Hi Simone,
I tried your suggestion and I guess the ownership and permission issue of the geonode directory went pretty welll. However, when I did the "pip install -e .", everything seems to work well at first but later on I got a common display error that says something like this:
src/projects.h:434:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
But then, I still restarted apache2 and even tomcat7 with the hope that the operation was still effective despite the error. Unfortunately, I still can't print maps with private layers.. :( ..
Are there other solutions on this? I badly need this to work. Please help. You are very highly appreciated..
Regards, Jeff
On Tue, May 28, 2013 at 2:33 PM, Simone Dalmasso notifications@github.comwrote:
Hi I think the problem is that you used sudo in pip install. You need to have write permissions in the /var/lib/geonode folder and then from the copy of the repo just do "pip install -e ." without sudo.
Ciao
2013/5/28 jeffytoms notifications@github.com
Hi Simone,
Thank you for staying with me all this time.. :D
I executed the commands you have given me. And here I wanna show you what happened:
(geonode)jjqt@GeoNode:~/geonode-printing$ sudo pip install -e . [sudo] password for jjqt: Obtaining file:///home/jjqt/geonode-printing Running setup.py egg_info for package from file:///home/jjqt/geonode-printing
Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from GeoNode==2.0.dev20130515094953) Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking gsconfig==0.6.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package gsconfig
Downloading/unpacking OWSLib==0.6.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package OWSLib
Downloading/unpacking Django==1.4.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package Django
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7 in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking pinax-theme-bootstrap==2.2.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap
Downloading/unpacking pinax-theme-bootstrap-account==1.0b2 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap-account
Downloading/unpacking django-user-accounts==1.0b7 (from GeoNode==2.0.dev20130515094953) Downloading django-user-accounts-1.0b7.tar.gz Running setup.py egg_info for package django-user-accounts
Downloading/unpacking django-forms-bootstrap==2.0.3.post1 (from GeoNode==2.0.dev20130515094953) Downloading django-forms-bootstrap-2.0.3.post1.tar.gz Running setup.py egg_info for package django-forms-bootstrap
Downloading/unpacking django-pagination (from GeoNode==2.0.dev20130515094953) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 97, in find_requirement page = self._get_page(main_index_url, req) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 324, in _get_page return HTMLPage.get_page(link, req, cache=self.cache) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 441, in get_page resp = urlopen(url) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call response = urllib2.urlopen(self.get_request(url)) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 438, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) BadStatusLine: ''
Storing complete log in /home/jjqt/.pip/pip.log (geonode)jjqt@GeoNode:~/geonode-printing$ sudo service apache2 restart
- Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
After this, I tried to print a map with private layers but still it doesn't work. I tried to make the layers into public and edit it again to make it private but still to no avail.. Can you please go over the process above. I'm not really sure if there's a serious error or failure that I overlooked. I badly need your suggestions on this matter. Thanks
Regards, Jeff
On Fri, May 24, 2013 at 3:39 PM, Simone Dalmasso notifications@github.comwrote:
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634>
.
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374>
.
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015>
.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389889> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18390755> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18521335> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-18533419 .
Hi Jeffy,
at the moment this is the only solution I know, I have it in production and it works well.
I just recap here the commands in a slightly different way:
Hope it works.
2013/6/13 jeffytoms notifications@github.com
Hi Simone,
I tried your suggestion and I guess the ownership and permission issue of the geonode directory went pretty welll. However, when I did the "pip install -e .", everything seems to work well at first but later on I got a common display error that says something like this:
src/projects.h:434:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
But then, I still restarted apache2 and even tomcat7 with the hope that the operation was still effective despite the error. Unfortunately, I still can't print maps with private layers.. :( ..
Are there other solutions on this? I badly need this to work. Please help. You are very highly appreciated..
Regards, Jeff
On Tue, May 28, 2013 at 2:33 PM, Simone Dalmasso notifications@github.comwrote:
Hi I think the problem is that you used sudo in pip install. You need to have write permissions in the /var/lib/geonode folder and then from the copy of the repo just do "pip install -e ." without sudo.
Ciao
2013/5/28 jeffytoms notifications@github.com
Hi Simone,
Thank you for staying with me all this time.. :D
I executed the commands you have given me. And here I wanna show you what happened:
(geonode)jjqt@GeoNode:~/geonode-printing$ sudo pip install -e . [sudo] password for jjqt: Obtaining file:///home/jjqt/geonode-printing Running setup.py egg_info for package from file:///home/jjqt/geonode-printing
Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from GeoNode==2.0.dev20130515094953) Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking gsconfig==0.6.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package gsconfig
Downloading/unpacking OWSLib==0.6.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package OWSLib
Downloading/unpacking Django==1.4.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package Django
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7 in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking pinax-theme-bootstrap==2.2.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap
Downloading/unpacking pinax-theme-bootstrap-account==1.0b2 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap-account
Downloading/unpacking django-user-accounts==1.0b7 (from GeoNode==2.0.dev20130515094953) Downloading django-user-accounts-1.0b7.tar.gz Running setup.py egg_info for package django-user-accounts
Downloading/unpacking django-forms-bootstrap==2.0.3.post1 (from GeoNode==2.0.dev20130515094953) Downloading django-forms-bootstrap-2.0.3.post1.tar.gz Running setup.py egg_info for package django-forms-bootstrap
Downloading/unpacking django-pagination (from GeoNode==2.0.dev20130515094953) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 97, in find_requirement page = self._get_page(main_index_url, req) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 324, in _get_page return HTMLPage.get_page(link, req, cache=self.cache) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 441, in get_page resp = urlopen(url) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call response = urllib2.urlopen(self.get_request(url)) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 438, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) BadStatusLine: ''
Storing complete log in /home/jjqt/.pip/pip.log (geonode)jjqt@GeoNode:~/geonode-printing$ sudo service apache2 restart
- Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
After this, I tried to print a map with private layers but still it doesn't work. I tried to make the layers into public and edit it again to make it private but still to no avail.. Can you please go over the process above. I'm not really sure if there's a serious error or failure that I overlooked. I badly need your suggestions on this matter. Thanks
Regards, Jeff
On Fri, May 24, 2013 at 3:39 PM, Simone Dalmasso notifications@github.comwrote:
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634>
.
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374>
.
Simone
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015>
.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389889>
.
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18390755> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18521335> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18533419> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19375874 .
Simone
Hi Jeffy,
just to let you know that Ariel just released GeoNode beta 3 which incorporate the printing proxy functionality. To activate it, uncomment the line 283 in the settings.py MIDDLEWARE_CLASSES.
Let us know if it works.
Regards
2013/6/13 Simone Dalmasso simone.dalmasso@gmail.com
Hi Jeffy,
at the moment this is the only solution I know, I have it in production and it works well.
I just recap here the commands in a slightly different way:
- cd /var/lib/geonode
- source bin/activate
- git clone https://github.com/simod/geonode.git
- cd geonode
- git checkout print-proxy
- pip install .
- sudo service apache2 restart
Hope it works.
2013/6/13 jeffytoms notifications@github.com
Hi Simone,
I tried your suggestion and I guess the ownership and permission issue of the geonode directory went pretty welll. However, when I did the "pip install -e .", everything seems to work well at first but later on I got a common display error that says something like this:
src/projects.h:434:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
But then, I still restarted apache2 and even tomcat7 with the hope that the operation was still effective despite the error. Unfortunately, I still can't print maps with private layers.. :( ..
Are there other solutions on this? I badly need this to work. Please help. You are very highly appreciated..
Regards, Jeff
On Tue, May 28, 2013 at 2:33 PM, Simone Dalmasso notifications@github.comwrote:
Hi I think the problem is that you used sudo in pip install. You need to have write permissions in the /var/lib/geonode folder and then from the copy of the repo just do "pip install -e ." without sudo.
Ciao
2013/5/28 jeffytoms notifications@github.com
Hi Simone,
Thank you for staying with me all this time.. :D
I executed the commands you have given me. And here I wanna show you what happened:
(geonode)jjqt@GeoNode:~/geonode-printing$ sudo pip install -e . [sudo] password for jjqt: Obtaining file:///home/jjqt/geonode-printing Running setup.py egg_info for package from file:///home/jjqt/geonode-printing
Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from GeoNode==2.0.dev20130515094953) Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking gsconfig==0.6.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package gsconfig
Downloading/unpacking OWSLib==0.6.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package OWSLib
Downloading/unpacking Django==1.4.3 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package Django
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7 in /usr/lib/python2.7/dist-packages (from GeoNode==2.0.dev20130515094953) Downloading/unpacking pinax-theme-bootstrap==2.2.1 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap
Downloading/unpacking pinax-theme-bootstrap-account==1.0b2 (from GeoNode==2.0.dev20130515094953) Running setup.py egg_info for package pinax-theme-bootstrap-account
Downloading/unpacking django-user-accounts==1.0b7 (from GeoNode==2.0.dev20130515094953) Downloading django-user-accounts-1.0b7.tar.gz Running setup.py egg_info for package django-user-accounts
Downloading/unpacking django-forms-bootstrap==2.0.3.post1 (from GeoNode==2.0.dev20130515094953) Downloading django-forms-bootstrap-2.0.3.post1.tar.gz Running setup.py egg_info for package django-forms-bootstrap
Downloading/unpacking django-pagination (from GeoNode==2.0.dev20130515094953) Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 97, in find_requirement page = self._get_page(main_index_url, req) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 324, in _get_page return HTMLPage.get_page(link, req, cache=self.cache) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 441, in get_page resp = urlopen(url) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in call response = urllib2.urlopen(self.get_request(url)) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 438, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) BadStatusLine: ''
Storing complete log in /home/jjqt/.pip/pip.log (geonode)jjqt@GeoNode:~/geonode-printing$ sudo service apache2 restart
- Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
After this, I tried to print a map with private layers but still it doesn't work. I tried to make the layers into public and edit it again to make it private but still to no avail.. Can you please go over the process above. I'm not really sure if there's a serious error or failure that I overlooked. I badly need your suggestions on this matter. Thanks
Regards, Jeff
On Fri, May 24, 2013 at 3:39 PM, Simone Dalmasso notifications@github.comwrote:
No you are getting this error while doing import geonode.
What happened when you typed "source bin/activate"? You should have a prompt like (geonode) before the normal prompt.
Now when you are there with a prompt like that, go to the folder you cloned from my repo and do: pip install -e . then restart apache and try the printing.
2013/5/24 jeffytoms notifications@github.com
Is this the kind of error I should get:
"ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined."
So meaning my installation failed.. Do I need to do something like "undo" first before I execute again the commands you have given? Or is it ok to go back and enter again those commands without wiping first the effect on the first time I executed the commands?
On Fri, May 24, 2013 at 2:43 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, yes I have that deployed and is working fine.
To check that is properly installed you can try to execute the following commands:
cd /var/lib/geonode source bin/activate python (to open a python shell) import geonode from geonode.views import print_map
if you get no errors than it's ok and we have to look for something else. If it breaks on the last command then the installation failed.
2013/5/24 jeffytoms notifications@github.com
By the way, I guess the commands executed successfully. I believe there were no error messages in the screen.
On Fri, May 24, 2013 at 1:26 PM, Jeffy John Tomarong < jeffytoms@gmail.com>wrote:
Hi Simone,
Thank you for the clarifications. I tried entering the commands just as the way you posted them above. But unluckily, it doesn't seem to work on me. I still cant print the layers that are not in public. I always get to print the base map without the layers. Did it work on you?
Regards, Jeff
On Fri, May 17, 2013 at 2:19 PM, Simone Dalmasso < notifications@github.com
wrote:
Hi the git clone command creates a copy of my geonode project with the printing fix in a directory called geonode-printing (it creates the directory for you). This name is just for convenience and you can execute this command in your home folder. Once finished all the installation process you can remove that folder.
The process is:
- copy my project locally (it is in sync with the lates geonode master, so is more updated than your current installation)
- install that project, this will change your geonode installation on the system, just the geonode code, it will not touch geoserver nor the database.
If you follow the commands I pasted above as they are you should be fine. Anyway I strongly recommend you to do it in a rest environment before.
Let me know if there is still something unclear . Ciao
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18045634>
.
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18387374>
.
Simone
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-18389015>
.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18389889>
.
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18390755> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18521335> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-18533419> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19375874 .
Simone
Simone
Im still seeing this on 2.0b10 on beta.dev.geonode.org so marking as critical until we are sure it works right in the packages.
Thanks a lot for the info Simone!
Actually, I also received Ariel's post in my email.. And all the updates and enhancements you made are all great and amazing.. However, a concern suddenly popped out in my mind. What if one day, GeoNode will become proprietary or comes with a license to purchase? My point is just that GeoNode is becoming more powerful and Im afraid you guys would be selling it instead.. Well, this is just a thought.. :D Or am i just paranoid?
Regards, Jeff T.
On Mon, Jun 17, 2013 at 12:41 PM, Jeffrey Johnson notifications@github.comwrote:
Im still seeing this on 2.0b10 on beta.dev.geonode.org so marking as critical until we are sure it works right in the packages.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19526062 .
Hi Jeffy,
this is not going to happen :) you should not be concerned. GeoNode is as an open source project born to be lead by the community with the purpose to open code open data. We all are both users and developers and we firmly believe that the more is open the better it will become.
Glad that you are happy and thanks for the interest you have in GeoNode.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks a lot for the info Simone!
Actually, I also received Ariel's post in my email.. And all the updates and enhancements you made are all great and amazing.. However, a concern suddenly popped out in my mind. What if one day, GeoNode will become proprietary or comes with a license to purchase? My point is just that GeoNode is becoming more powerful and Im afraid you guys would be selling it instead.. Well, this is just a thought.. :D Or am i just paranoid?
Regards, Jeff T.
On Mon, Jun 17, 2013 at 12:41 PM, Jeffrey Johnson notifications@github.comwrote:
Im still seeing this on 2.0b10 on beta.dev.geonode.org so marking as critical until we are sure it works right in the packages.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19526062> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19528381 .
Simone
@jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673 .
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673https://github.com/GeoNode/geonode/issues/673.
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19528767 .
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19530892 .
Simone
Jeff,
GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS..
I gave a workshop a few weeks ago precisely to answer this question using part of the stack that GeoNode uses:
http://github.com/ingenieroariel/webandgis/
Check the commit logs (it was about a week of work), that's how I would start building a web based gis if I was asked to do it again.
Also, it has already happened that the people running GeoNode for different reasons stop contributing and others take their place (at least two times if I remember correctly). The Open Source License ensures anyone can just take the code and form a community around it if leadership fails.
Welcome to the open source world!
-a
Hi Simone,
Im kinda curious on these lines:
Wouldn't it install instead GeoNode 1.2 since it was the latest stable release? Im just making sure of things.. It's alright for me to completely wipe-out GeoNode and the database.. The data in there are temporary and for testing purposes anyway..
So uhm... will this really install the latest beta release of GeoNode? Just verifyin'
Regards, Jeff :D
On Mon, Jun 17, 2013 at 4:12 PM, Simone Dalmasso notifications@github.comwrote:
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
- sudo apt-get update
- sudo apt-get install geonode
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19530892> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19531371 .
Hi Jeffy, if I'm not wrong you already installed the 2.0 beta using the ubuntu package so since your repository is set to ppa:geonode/testing, it will install the latest beta. The 1.2 is on the ppa:geonode/release. Is that right?
Yeah right :D I feel so stupid about this.. 'cause I really dont know how linux and GeoNode do things around.. Thanks a lot Simone.. : )
On Wed, Jun 19, 2013 at 5:18 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, if I'm not wrong you already installed the 2.0 beta using the ubuntu package so since your repository is set to ppa:geonode/testing, it will install the latest beta. The 1.2 is on the ppa:geonode/release. Is that right?
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19671745 .
closing as duplicate of https://github.com/GeoNode/geonode/issues/673
Hi simone!
I may look stupid in this question but I just felt I need your professional guidance on this,
How do I update our GeoNode instance without wiping out the database and the customized home page?
Thanks a lot good sir..
Best regards, Jeff T.
On Mon, Jun 17, 2013 at 4:12 PM, Simone Dalmasso notifications@github.comwrote:
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
- sudo apt-get update
- sudo apt-get install geonode
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19530892> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-19531371 .
Hi Jeffy, always make sure to have a backup of your db and the templates. If you installed geonode using the apt-get package then a: sudo apt-get update sudo apt-get install geonode
should do the trick.
Although if you are modifying the look and feel of geonode I suggest you to use the geonode-project https://github.com/GeoNode/geonode-project which allows you to use geonode as a library and has the templates in a separate environment. Here you can find how to deploy it https://groups.google.com/a/opengeo.org/forum/#!topic/geonode-dev/MoaIshMNghI
2013/9/23 jeffytoms notifications@github.com
Hi simone!
I may look stupid in this question but I just felt I need your professional guidance on this,
How do I update our GeoNode instance without wiping out the database and the customized home page?
Thanks a lot good sir..
Best regards, Jeff T.
On Mon, Jun 17, 2013 at 4:12 PM, Simone Dalmasso notifications@github.comwrote:
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
- sudo apt-get update
- sudo apt-get install geonode
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19530892> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19531371> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-24907378 .
Simone
Thanks Simone..
I executed the commands but then I am quite wondering on this:
At the bottom of the home page it says, Powered by GeoNode version 2.0.dev20130515094953..
Should it be, version 2.0b61 as what I can see from the demo site?
What do these two different versions imply?
Thanks a lot!
On Mon, Sep 23, 2013 at 5:45 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, always make sure to have a backup of your db and the templates. If you installed geonode using the apt-get package then a: sudo apt-get update sudo apt-get install geonode
should do the trick.
Although if you are modifying the look and feel of geonode I suggest you to use the geonode-project https://github.com/GeoNode/geonode-project which allows you to use geonode as a library and has the templates in a separate environment. Here you can find how to deploy it
https://groups.google.com/a/opengeo.org/forum/#!topic/geonode-dev/MoaIshMNghI
2013/9/23 jeffytoms notifications@github.com
Hi simone!
I may look stupid in this question but I just felt I need your professional guidance on this,
How do I update our GeoNode instance without wiping out the database and the customized home page?
Thanks a lot good sir..
Best regards, Jeff T.
On Mon, Jun 17, 2013 at 4:12 PM, Simone Dalmasso notifications@github.comwrote:
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
- sudo apt-get update
- sudo apt-get install geonode
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767>
.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19530892> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19531371> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-24907378> .
Simone
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-24908687 .
Hi Jeffy,
Is not that clear to my why apt installed a dev version. @ingenieroariel any ideas? I would not be worried about that though.
2013/9/24 jeffytoms notifications@github.com
Thanks Simone..
I executed the commands but then I am quite wondering on this:
At the bottom of the home page it says, Powered by GeoNode version 2.0.dev20130515094953..
Should it be, version 2.0b61 as what I can see from the demo site?
What do these two different versions imply?
Thanks a lot!
On Mon, Sep 23, 2013 at 5:45 PM, Simone Dalmasso notifications@github.comwrote:
Hi Jeffy, always make sure to have a backup of your db and the templates. If you installed geonode using the apt-get package then a: sudo apt-get update sudo apt-get install geonode
should do the trick.
Although if you are modifying the look and feel of geonode I suggest you to use the geonode-project https://github.com/GeoNode/geonode-project which allows you to use geonode as a library and has the templates in a separate environment. Here you can find how to deploy it
https://groups.google.com/a/opengeo.org/forum/#!topic/geonode-dev/MoaIshMNghI
2013/9/23 jeffytoms notifications@github.com
Hi simone!
I may look stupid in this question but I just felt I need your professional guidance on this,
How do I update our GeoNode instance without wiping out the database and the customized home page?
Thanks a lot good sir..
Best regards, Jeff T.
On Mon, Jun 17, 2013 at 4:12 PM, Simone Dalmasso notifications@github.comwrote:
To install it in a very clean way you can remove everything using "sudo apt-get purge geonode" (be aware that this will also remove the database and the data, so you you need to keep them do a backup before).
Then install the new one:
- sudo apt-get update
- sudo apt-get install geonode
If you prefer to not do the complete wipe out of geonode, we can do something very similar to the previous way.
Ciao
2013/6/17 jeffytoms notifications@github.com
Thanks for the words of Affirmation Simone.. :) GeoNode really saved me.. If it didn't exist, I really really dont know where to start in building a web-based GIS.. Glad to hear that from you :D
Anyway, about the printing thing, If I am going to comment out that certain line you said, it would only affect the printing function of GeoNode right? How about if I am going to install the latest beta release of GeoNode, that would include all the enhancements and fixes, correct? But i dont know how to get and install the latest release of GeoNode. Is it the same procedure you gave me before when I installed GeoNode?
Regards, Jeff T. =D
On Mon, Jun 17, 2013 at 2:52 PM, Simone Dalmasso notifications@github.comwrote:
@jj0hns0n https://github.com/jj0hns0n the error you are seeing is because of the missing entries in the hosts list in the config.yaml for the background. It related to the #673< https://github.com/GeoNode/geonode/issues/673>.
— Reply to this email directly or view it on GitHub<
https://github.com/GeoNode/geonode/issues/872#issuecomment-19528767>
.
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19530892>
.
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-19531371> .
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-24907378> .
Simone
— Reply to this email directly or view it on GitHub< https://github.com/GeoNode/geonode/issues/872#issuecomment-24908687> .
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/872#issuecomment-24973432 .
Simone
When trying to print a map, the following error message is given
Communication Trouble: Status undefined [object, Object]
Verified the yaml file is correct. Issue is reproducible on alpha dev server.