Thanks! But I'm pretty sure it is. I fail to see why it won't upload.ronie wrote:Package name should be the same as class name e.g. 'AeonMultiSensor' (like it already is in HA /modules) and the structure should look like this:
islipfd19 wrote: index.js
module.json
htdocs\icon.png
lang\de.json
lang\en.json
lang\ru.json
Version 2.2.1 is out
Re: Version 2.2.1 is out
Re: Version 2.2.1 is out
The ZIP in your earlier post isn't correct, the directory level AeonMultiSensor should not be there:islipfd19 wrote:Thanks! But I'm pretty sure it is. I fail to see why it won't upload.
Re: Version 2.2.1 is out
I've tried uploading the attached one as well and it failed.pz1 wrote:The ZIP in your earlier post isn't correct, the directory level AeonMultiSensor should not be there:islipfd19 wrote:Thanks! But I'm pretty sure it is. I fail to see why it won't upload.
- Attachments
-
- AeonMultiSensor.tar.gz
- (44.34 KiB) Downloaded 328 times
Re: Version 2.2.1 is out
Jup upload fails. There seems to be an error during upload that is not handled correctly.
We'll check this. And we'll check the format of your package too.
We'll check this. And we'll check the format of your package too.
Re: Version 2.2.1 is out
Seems that .tar.gz isn't the same as .tar.gz ...
I've packed your package with the programm 7-Zip (first made a .tar and then a .gz from .tar)
And tried to upload it - works without problems.
As you can see also the size is a bit different ...
So how did you pack your module? With an othe programm?
I've packed your package with the programm 7-Zip (first made a .tar and then a .gz from .tar)
And tried to upload it - works without problems.
As you can see also the size is a bit different ...
So how did you pack your module? With an othe programm?
- Attachments
-
- AeonMultiSensor.tar.gz
- (43.72 KiB) Downloaded 349 times
Re: Version 2.2.1 is out
I packed it as tar.gz, not tar and then gz. I'll try that and report back.ronie wrote:Seems that .tar.gz isn't the same as .tar.gz ...
I've packed your package with the programm 7-Zip (first made a .tar and then a .gz from .tar)
And tried to upload it - works without problems.
As you can see also the size is a bit different ...
So how did you pack your module? With an othe programm?
Re: Version 2.2.1 is out
I tried your method with 7-zip form a WIndows PC and still no luck; I get an invalid path. I've even attempted using a zip format.ronie wrote:Seems that .tar.gz isn't the same as .tar.gz ...
I've packed your package with the programm 7-Zip (first made a .tar and then a .gz from .tar)
And tried to upload it - works without problems.
As you can see also the size is a bit different ...
So how did you pack your module? With an othe programm?
Albeit, my attempts at this have been using both a Windows 7 PC with 7-Zip and Ubuntu 15.10!
Re: Version 2.2.1 is out
I did make my package as follows on my Raspberry Pi:
With WinSCP I did transfer the archive to my win7 PC and uploaded it. (actually a couple of weeks ago)
(I did send that recipe to Marcel K for possible inclusion in the manual)
Code: Select all
cd /opt/z-way-server/automation/userModules/PVLogger
sudo tar -cvzf PVLogger.tar.gz *
(I did send that recipe to Marcel K for possible inclusion in the manual)
Re: Version 2.2.1 is out
That's the difference, I was using the folder to create the packages, tar.gz/zip; which is wrong. The files should be used instead as your command illustrates. I've upload my modules without any issue.pz1 wrote:I did make my package as follows on my Raspberry Pi:
With WinSCP I did transfer the archive to my win7 PC and uploaded it. (actually a couple of weeks ago)Code: Select all
cd /opt/z-way-server/automation/userModules/PVLogger sudo tar -cvzf PVLogger.tar.gz *
(I did send that recipe to Marcel K for possible inclusion in the manual)