fbs icon indicating copy to clipboard operation
fbs copied to clipboard

Can't run fbs release

Open KiFi85 opened this issue 6 years ago • 15 comments

OS==Windows 10 Home. Python==3.6.7 fbs==0.8,4 PyInstaller==3.4 PyQt5==5.9.2

I've frozen my app and everything works. I ran pip install fbs[upload] and registered an fbs account. When I run fbs release it tells me that:

GPG key for code signing is not configured. You might want to either 1) run `fbs gengpgkey` or 2) set "gpg_key" and "gpg_pass" in src/build/settings/.

When I try 1 (after installing Docker and adding to PATH) it can't find it. So I generated a gpg key and password using Kleopatra and performed 2)

Now it tells me: This command is not supported on this platform.

I've read and re-read the manual but I'm getting error messages I don't know how to deal with

KiFi85 avatar Jan 23 '20 23:01 KiFi85

I am getting this same error message on Python 3.7.7 on Mac OS 10.15.6 (Catalina). The same error appears on Python 3.6.

bitmorse avatar Aug 18 '20 12:08 bitmorse

I have the same issue with fbs pro 1.0.0 on Mac OS 10.14.6 Mojave with Python 3.7.7

proftc avatar Jul 26 '21 05:07 proftc

I'm sorry but I can't reproduce the issue. I tried on several macOS and Python versions. The latest was with macOS Catalina and Python 3.7.

Firstly, nobody on Windows or Mac should get the messages GPG key not configured or This command is not supported. These messages should only appear on Linux.

To anybody interested in a fix, can you please provide me with the exact steps you can use to reproduce the issue? Ideally, you would send a list of fbs commands, such as:

fbs startproject
fbs login
fbs release

As well as the associated output.

mherrmann avatar Jul 26 '21 15:07 mherrmann

Hi Thanks for looking in to this I’ve attached all the output On MAC I get error 401? and on windows a Docker not found in my path though it is in my venv. I didn’t realize it was needed? Both the dmg files and exe files created with fbs installer work fine! Thanks again! sorry for my lack of knowledge (again!) Terry

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Monday, July 26, 2021 at 4:48 PM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

I'm sorry but I can't reproduce the issue. I tried on several macOS and Python versions. The latest was with macOS Catalina and Python 3.7.

Firstly, nobody on Windows or Mac should get the messages GPG key not configured or This command is not supported.

To anybody interested in a fix, can you please provide me with the exact steps you can use to reproduce the issue? Ideally, you would send a list of fbs commands, such as:

fbs startproject

fbs login

fbs release

As well as the associated output.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-886818852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7CC3BQ2NBXNDA33AUDTZV7WFANCNFSM4KK6ZGLA.

proftc avatar Jul 27 '21 06:07 proftc

Sorry, there is no output attached. Please post it to GitHub instead of replying to the email.

Further, I won't have time to read through long histories of output. The only thing I can use to fix the problem is a clear and minimal set of steps that can be used to reproduce the issue. As I wrote above, I expect this to be of the form

fbs startproject
fbs login
fbs release

I need an example without any custom code. Just the bare-bones app you get from fbs startproject.

mherrmann avatar Jul 27 '21 06:07 mherrmann

OK I’ll do that Terry

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Tuesday, July 27, 2021 at 7:59 AM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

Sorry, there is no output attached. Please post it to GitHub instead of replying to the email.

Further, I won't have time to read through long histories of output. The only thing I can use to fix the problem is a clear and minimal set of steps that can be used to reproduce the issue. As I wrote above, I expect this to be of the form

fbs startproject

fbs login

fbs release

I need an example without any custom code. Just the bare-bones app you get from fbs startproject.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-887262387, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7E3PLHGFVYUDAW5NDTTZZKMTANCNFSM4KK6ZGLA.

proftc avatar Jul 27 '21 08:07 proftc

Hi It’s the same with the FBS starter project as my more complex programs on my MAC. Will try Windows later. Thanks Terry

(New37) IT036317:FBS_Test terry$ fbs startproject

App name [MyApp] : Test

Author [Terry] :

Terry

Mac bundle identifier (eg. com.terry.test, optional):

Created the src/ directory. If you have PyQt5 installed, you can now

do:

fbs run

(RUNS OK)

(New37) IT036317:FBS_Test terry$ fbs login

Username: @.***

Password:

(New37) IT036317:FBS_Test terry$ fbs login

Username: @.***

Password:

Saved your username and password to src/build/settings/secret.json.

(New37) IT036317:FBS_Test terry$ fbs release

(New37) IT036317:FBS_Test terry$ fbs release 1.0

waited 1 seconds for .DS_STORE to be created.

hdiutil: internet-enable: enable succeeded

Received unexpected server response 401:

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Tuesday, July 27, 2021 at 7:59 AM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

Sorry, there is no output attached. Please post it to GitHub instead of replying to the email.

Further, I won't have time to read through long histories of output. The only thing I can use to fix the problem is a clear and minimal set of steps that can be used to reproduce the issue. As I wrote above, I expect this to be of the form

fbs startproject

fbs login

fbs release

I need an example without any custom code. Just the bare-bones app you get from fbs startproject.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-887262387, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7E3PLHGFVYUDAW5NDTTZZKMTANCNFSM4KK6ZGLA.

proftc avatar Jul 28 '21 06:07 proftc

Thanks. It's a cryptic message but the 401 means that you didn't enter the correct user name / password.

mherrmann avatar Jul 28 '21 06:07 mherrmann

Hi That works but the terminal hangs? Thanks Terry

(New37) IT036317:FBS_Test terry$ fbs release 1.0

waited 1 seconds for .DS_STORE to be created.

hdiutil: internet-enable: enable succeeded

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Wednesday, July 28, 2021 at 7:37 AM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

Thanks. It's a cryptic message but the 401 means that you didn't enter the correct user name / password.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-888051972, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7AIVPQKFCLJNFPSZOTTZ6QSLANCNFSM4KK6ZGLA.

proftc avatar Jul 28 '21 06:07 proftc

I don't know why that would be, sorry. I would try restarting the computer.

mherrmann avatar Jul 28 '21 07:07 mherrmann

Hi On Windows after setting up the FBS example fbs run. (OK) I get the o/p below. I have docker installed in my venv but not in the path? Thanks Terry

(py36_test) C:\Users\TC\Desktop\FBS_Test>fbs login Username: TerryC Password:

Saved your username and password to src/build/settings/secret.json. (py36_test) C:\Users\TC\Desktop\FBS_Test>fbs release 1.0 GPG key for code signing is not configured. You might want to either 1) run fbs gengpgkey or 2) set "gpg_key" and "gpg_pass" in src/build/settings/. (py36_test) C:\Users\TC\Desktop\FBS_Test>fbs gengpgkey Email address: @.*** Real name [Tc] : Tc Key password:

Generating the GPG key. This can take a little... fbs could not find Docker. Is it installed and on your PATH?

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Wednesday, July 28, 2021 at 8:04 AM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

I don't know why that would be, sorry. I would try restarting the computer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-888066402, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7GQKQMHGXUPUS36HG3TZ6TZFANCNFSM4KK6ZGLA.

proftc avatar Jul 28 '21 08:07 proftc

I would again ask for the output including fbs startproject. Your output starts at fbs login.

I would also be interested in the fbs version you are using here. Are you using the latest version of fbs? What does pip freeze say?

Finally, what do you get when you type the following into the command prompt where you had fbs:

python
>>> from fbs_runtime.platform import linux_distribution
>>> linux_distribution()

mherrmann avatar Jul 28 '21 08:07 mherrmann

Hi Sorry I didn’t include all the o/p as it seemed OK Here it is

(py36_test) C:\Users\TC\Desktop\FBS_Test>fbs startproject App name [MyApp] : Test Author [Tc] : Tc Mac bundle identifier (eg. com.tc.test, optional):

Created the src/ directory. If you have PyQt5 installed, you can now do:

fbs run

(py36_test) C:\Users\TC\Desktop\FBS_Test>fbs run OUTPUT OK (py36_test) C:\Users\TC\Desktop\FBS_Test>fbs login Username: TerryC Password:

Saved your username and password to src/build/settings/secret.json.

(py36_test) C:\Users\TC\Desktop\FBS_Test>fbs release 1.0 GPG key for code signing is not configured. You might want to either 1) run fbs gengpgkey or 2) set "gpg_key" and "gpg_pass" in src/build/settings/.

(py36_test) C:\Users\TC\Desktop\FBS_Test>fbs gengpgkey Email address: @.*** Real name [Tc] : Tc Key password:

Generating the GPG key. This can take a little... fbs could not find Docker. Is it installed and on your PATH?

THE OTHER QUESTIONS [1] I’m using fbs 0.9.0 as the PRO version 1.0 (I just bought) produces lots of incomprehensible errors with my vs 3.6.12 python and anaconda so- I’ve parked that for the moment. [2] >>> from fbs_runtime.platform import linux_distribution

(NO OUTPUT) [3] >>> linux_distribution() ''

Hope that helps Thanks again Terry

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Wednesday, July 28, 2021 at 9:59 AM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

I would again ask for the output including fbs startproject. Your output starts at fbs login.

I would also be interested in the fbs version you are using here. Are you using the latest version of fbs? What does pip freeze say?

Finally, what do you get when you type the following into the command prompt where you had fbs:

python

from fbs_runtime.platform import linux_distribution linux_distribution()

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-888139343, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7AQQ2CQE57DUBOB6OTTZ7BGVANCNFSM4KK6ZGLA.

proftc avatar Jul 29 '21 05:07 proftc

I have a hunch that the problem was resolved in fbs 0.9.4. Does the problem persist when you use the latest version of fbs (0.9.8)?

mherrmann avatar Jul 29 '21 11:07 mherrmann

Hi I have a problem that I have 3.7.7 conda installed on my PC and it seems incompatible with the pro release and the free fbs 0.9.8 doesn’t support 3.7. The set up I have does do everything I need for windows except the ‘fbs release’ issue. I do have a separate Windows machine and I will try and set that up fresh with a vanilla python. I’ll let you know how I get on. Best wishes Terry

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Professor Terence Cosgrove TEL +44 (0) 1275 845230 School of Chemistry TEL +1 239 304 5982 Cantock's Close @.*** Bristol BS8 1TS UK http://www.chm.bris.ac.uk/pt/polymer/pig_home.htm ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

From: Michael Herrmann @.> Reply-To: mherrmann/fbs @.> Date: Thursday, July 29, 2021 at 12:56 PM To: mherrmann/fbs @.> Cc: Terence Cosgrove @.>, Comment @.***> Subject: Re: [mherrmann/fbs] Can't run fbs release (#170)

I have a hunch that the problem was resolved in fbs 0.9.4. Does the problem persist when you use the latest version of fbs (0.9.8)?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/mherrmann/fbs/issues/170#issuecomment-889055322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACAXD7DWP3QCYLXFZEGCYRDT2E6YJANCNFSM4KK6ZGLA.

proftc avatar Jul 30 '21 05:07 proftc