PhotoTeleport, a new photo uploader

That being said, your repository probably needs a copy of the GPL3 license.

1 Like

Just tried it and:

$ ./PhotoTeleport_0.6-4.AppImage 
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/plugin.cpp 44 Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 84 OAuth2PluginPrivate :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 111 OAuth2Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 164 sendOAuth2AuthRequest : Url =  "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&client_id=261797508896-0asp3so71qd1th0mopsgc9eknb2atbo8.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fwww.mardy.it%2Foauth%2Fteleport&state=1502547649&response_type=code&scope=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2F profile"
Could not find QtWebEngineProcess
[15630:15630:0705/202706.044349:FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid). 
#0 0x7f382ff167be <unknown>
#1 0x7f382ff284ce <unknown>
#2 0x7f382fb88263 <unknown>
#3 0x7f382fb86f5b <unknown>
#4 0x7f382fb874fe <unknown>
#5 0x7f382f84339d <unknown>
#6 0x7f382f846c43 <unknown>
#7 0x7f382f641adf <unknown>
#8 0x7f382f642db5 <unknown>
#9 0x7f382f5dc5b1 QtWebEngineCore::BrowserContextAdapter::defaultContext()
#10 0x7f38358da4c8 QQuickWebEngineProfile::defaultProfile()
#11 0x7f38358e04aa QQuickWebEngineViewPrivate::QQuickWebEngineViewPrivate()
#12 0x7f38358e125b QQuickWebEngineView::QQuickWebEngineView()
#13 0x7f37efbe5470 <unknown>
#14 0x7f383b059243 QQmlType::create()
#15 0x7f383b0c5e84 QQmlObjectCreator::createInstance()
#16 0x7f383b0c6661 QQmlObjectCreator::create()
#17 0x7f383b045b67 QQmlComponentPrivate::beginCreate()
#18 0x7f383b0435e9 QQmlComponent::create()
#19 0x7f383a1273d4 <unknown>
#20 0x7f383a127bd5 <unknown>
#21 0x7f383a125ed1 QQuickViewController::onWindowChanged()
#22 0x7f383a5d4246 QMetaObject::activate()
#23 0x7f383c5aa042 QQuickItem::windowChanged()
#24 0x7f383c5bb800 QQuickItemPrivate::refWindow()
#25 0x7f383c5bbfed QQuickItem::setParentItem()
#26 0x7f383c6526e5 <unknown>
#27 0x7f383b048650 <unknown>
#28 0x7f383b048a35 QQmlEnginePrivate::incubate()
#29 0x7f383b043f16 QQmlComponent::create()
#30 0x7f383c6517ea <unknown>
#31 0x7f383c651968 <unknown>
#32 0x7f383c651c0f <unknown>
#33 0x7f383c6521f4 <unknown>
#34 0x7f383c652620 <unknown>
#35 0x7f383b0841d9 <unknown>
#36 0x7f383b00a0a4 QV4::QObjectMethod::callInternal()
#37 0x7f383b0217bb QV4::Runtime::method_callProperty()
#38 0x7f380807caee <unknown>

I added some photos, clicked next, selected Google photos, next, crash.

Did you chmod a+x app.appimage?

Thanks @Tobias for giving it a try! Can you please tell me which distribution you are using?

Also, are you capable (and willing) to use the Linux console, in case I need you to type some commands to do some debugging?

I’m using Ubuntu 18.04

Sure, no problem.

Yes.

With all those accounts mentioned, I have to wonder: does this store credentials and if so how?

It looks like it’s a problem with the Qt version I’m using. I’ll release a fixed version in the next few days, but meanwhile please run it like this:

QTWEBENGINE_DISABLE_SANDBOX=1 ./PhotoTeleport_0.6-4.AppImage

Please let me know, if this doesn’t help.

Credentials are only stored for the FTP plugin; all others use OAuth authentication, so the only thing which is being stored are the authentication tokens. All these are stored in the user home directory, in some plain text files.

Hi @Tobias !
Could you please try downloading version 0.6-8, and see if it fixes the issue for you?

@mardy
QTWEBENGINE_DISABLE_SANDBOX=1 ./PhotoTeleport_0.6-4.AppImage and version 0.6-8 works.:fu:

One thing that would be nice, if you could add a command line parameter to list the files for uploading.

Good suggestion, I’ve added it to the issue tracker. Feel free to add any more requests in there.

I wanted to try the app, but I get this error message when trying to launch it:
./PhotoTeleport_0.6-8.AppImage: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

I’m running Linux Manjaro.

1 Like

@sguyader, could you please try this one and see if it fixes the problem for you (or if it spits out a slightly different error message)?

And if that doesn’t work, can you try with the workaround suggested here? Fixing ./Stremio+4.0.10.appimage: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var · GitHub

@mardy, the program launched with the 0.6-9 version from your link.

However I encountered another issue, when trying to upload to Google Photos for example, it crashes. Here’s a copy of what shows up in the console:

Before hitting the Next button:

./PhotoTeleport_0.6-9.AppImage 
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!

after hitting the Next button:

qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/plugin.cpp 44 Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 84 OAuth2PluginPrivate :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 111 OAuth2Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 153 sendOAuth2AuthRequest : Url =  "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&client_id=261797508896-0asp3so71qd1th0mopsgc9eknb2atbo8.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fwww.mardy.it%2Foauth%2Fteleport&state=2009896466&response_type=code&scope=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2F profile"
[31629:539:0808/082948.757278:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/sguyader/.pki/nssdb): NSS error code: -8023
[31629:539:0808/082948.757380:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -8023
[31629:539:0808/082948.757389:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7f587e3f874e <unknown>
#1 0x7f587e40a45e <unknown>
#2 0x7f587ebc672d <unknown>
#3 0x7f587ebc6c90 <unknown>
#4 0x7f587eaf2e85 <unknown>
#5 0x7f587e9e39b7 <unknown>
#6 0x7f587e9ada27 <unknown>
#7 0x7f587db0b36a <unknown>
#8 0x7f587db0c926 <unknown>
#9 0x7f587db0eb77 <unknown>
#10 0x7f587dcf8ce7 <unknown>
#11 0x7f587e02e3e0 <unknown>
#12 0x7f587e46e019 <unknown>
#13 0x7f587e412990 <unknown>
#14 0x7f587e4145cd <unknown>
#15 0x7f587e414a85 <unknown>
#16 0x7f587e415f20 <unknown>
#17 0x7f587e411ab2 <unknown>
#18 0x7f587e42e1ea <unknown>
#19 0x7f587dd31945 <unknown>
#20 0x7f587dd31da3 <unknown>
#21 0x7f587e4460b0 <unknown>
#22 0x7f587e4423cd <unknown>
#23 0x7f5886ffb075 start_thread
#24 0x7f5887d5553f __GI___clone

[566:566:0100/000000.657157:ERROR:broker_posix.cc(41)] Invalid node channel message
Received signal 7 BUS_ADRERR 7f2763a05130
Aborted (core dumped)

I tried using the same command as you recommended to Tobias (QTWEBENGINE_DISABLE_SANDBOX=1 ./PhotoTeleport_0.6-9.AppImage) but it produced the same crash:

QTWEBENGINE_DISABLE_SANDBOX=1 ./PhotoTeleport_0.6-9.AppImage 
qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
qt.svg: link SVGID_63_ hasn't been detected!
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/plugin.cpp 44 Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 84 OAuth2PluginPrivate :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 111 OAuth2Plugin :
/home/mardy/src/accounts-sso/libauthentication/plugins/signon-oauth2/src/oauth2plugin.cpp 153 sendOAuth2AuthRequest : Url =  "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&client_id=261797508896-0asp3so71qd1th0mopsgc9eknb2atbo8.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fwww.mardy.it%2Foauth%2Fteleport&state=594593599&response_type=code&scope=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2F profile"
Sandboxing disabled by user.
[4844:4918:0808/083735.024028:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/sguyader/.pki/nssdb): NSS error code: -8023
[4844:4918:0808/083735.024119:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -8023
[4844:4918:0808/083735.024127:FATAL:nss_util.cc(203)] nss_error=-8023, os_error=0
#0 0x7f1c23d3a74e <unknown>
#1 0x7f1c23d4c45e <unknown>
#2 0x7f1c2450872d <unknown>
#3 0x7f1c24508c90 <unknown>
#4 0x7f1c24434e85 <unknown>
#5 0x7f1c243259b7 <unknown>
#6 0x7f1c242efa27 <unknown>
#7 0x7f1c2344d36a <unknown>
#8 0x7f1c2344e926 <unknown>
#9 0x7f1c23450b77 <unknown>
#10 0x7f1c2363ace7 <unknown>
#11 0x7f1c239703e0 <unknown>
#12 0x7f1c23db0019 <unknown>
#13 0x7f1c23d54990 <unknown>
#14 0x7f1c23d565cd <unknown>
#15 0x7f1c23d56a85 <unknown>
#16 0x7f1c23d57f20 <unknown>
#17 0x7f1c23d53ab2 <unknown>
#18 0x7f1c23d701ea <unknown>
#19 0x7f1c23673945 <unknown>
#20 0x7f1c23673da3 <unknown>
#21 0x7f1c23d880b0 <unknown>
#22 0x7f1c23d843cd <unknown>
#23 0x7f1c2c93d075 start_thread
#24 0x7f1c2d69753f __GI___clone

[4926:4926:0100/000000.791181:ERROR:broker_posix.cc(41)] Invalid node channel message
Received signal 7 BUS_ADRERR 7f7a69a9d130
Aborted (core dumped)

Nice, that you had some progress :slight_smile:
Can you please try this one?

Yay! That one worked!
I like the simplicity of this program.

Just one small suggestion, during most of the process we click on the buttons (Previous/Next) at the bottom of the window, but when photos are ready for upload, the start upload button is at the top, I would suggest to place it at the bottom, near the (Previous/Next) buttons, maybe.

Excellent! Thanks for reporting the issue :slight_smile:

I have to admit that that confuses myself too :slight_smile: I don’t want to put it exactly on where the Next button is, because I don’t want people to accidentally press it, but maybe I should put just above it, instead of having it at the top of the screen. I’ll think a bit about it :slight_smile: