Comments (2)
Nov 20 10:01:00 weatherpi weewx[3462]: reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.Che etahGenerator' Nov 20 10:01:00 weatherpi weewx[3462]: **** [Errno 2] No such file or directory: '/usr/share/php/wxobs_weewx.inc' Nov 20 10:01:00 weatherpi weewx[3462]: **** Traceback (most recent call last): Nov 20 10:01:00 weatherpi weewx[3462]: **** File "/usr/share/weewx/weewx/reportengine.py", line 204, in run Nov 20 10:01:00 weatherpi weewx[3462]: **** obj.start() Nov 20 10:01:00 weatherpi weewx[3462]: **** File "/usr/share/weewx/weewx/reportengine.py", line 300, in start Nov 20 10:01:00 weatherpi weewx[3462]: **** self.run() Nov 20 10:01:00 weatherpi weewx[3462]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 157, in run Nov 20 10:01:00 weatherpi weewx[3462]: **** self.initExtensions(gen_dict[section_name]) Nov 20 10:01:00 weatherpi weewx[3462]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 201, in initE xtensions Nov 20 10:01:00 weatherpi weewx[3462]: **** self.search_list_objs.append(class_(self)) Nov 20 10:01:00 weatherpi weewx[3462]: **** File "/usr/share/weewx/user/wxobs.py", line 461, in __init__ Nov 20 10:01:00 weatherpi weewx[3462]: **** php_inc = open(self.include_file, 'w') Nov 20 10:01:00 weatherpi weewx[3462]: **** IOError: [Errno 2] No such file or directory: '/usr/share/php/wxobs_wee wx.inc' Nov 20 10:01:00 weatherpi weewx[3462]: **** Generator terminated Nov 20 10:01:00 weatherpi weewx[3462]: copygenerator: copied 0 files to /var/www/html/weewx/wxobs
What's the weewx version that you are running, and what's the linux installation / flavor? (eg: Raspian, CentOS, Debian etc ??)
[Errno 2] No such file or directory: '/usr/share/php/wxobs_weewx.inc'
Basically, the include file is missing. Either it's not being generated (unlikely), or...
File write permissions may be preventing it from being written to that location ( at /usr/share/php), (more likely).
The directory also may not exist (unlikely but some variations of linux may have dropped the base directory).
There is a directive within the wxobs/skin.conf file that allows it to be relocated...
[wxobs] # This shouldn't need changing, but if it does then /tmp is a good # starting point. This will most likely be used with remote servers # using sqlite databases, see [Remote] below # include_path = '/tmp'
If you uncomment (remove the '#') on the include _path entry above (about line number 30) then the include file will be written to /tmp
include_path = '/tmp'
You can put the file virtually anywhere but it also needs to be visible to the webserver which means that /var/www/html is also a valid location (but possibly less secure for an exposed, to the internet, webserver.)
from weewx-wxobs.
v0.7.1 has been released.
This will fix a missing /usr/share/php directory that some installations have, assuming that was the cause in this case.
A default installation should now go back to its 'working out of the box' state.
from weewx-wxobs.
Related Issues (5)
- Negative number of Wind Chill HOT 4
- wxobs fatal error HOT 5
- page link issue HOT 6
- weewx-wxobs & weewx 5.01 compatibility HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-wxobs.